##// END OF EJS Templates
Display status change before subject of issue on the activity view otherwise it may be truncated....
Display status change before subject of issue on the activity view otherwise it may be truncated. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1505 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1477:4db45b8ceddf
r1491:2e8b2d5e1312
Show More
feed.atom.rxml
27 lines | 1.2 KiB | text/plain | TextLexer
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 xml.instruct!
xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
Jean-Philippe Lang
Fixed: changesets titles should not be multiline in atom feeds (#1356)....
r1477 xml.title truncate_single_line(@title, 100)
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 xml.link "rel" => "self", "href" => url_for(params.merge({:format => nil, :only_path => false}))
xml.link "rel" => "alternate", "href" => url_for(:controller => 'welcome', :only_path => false)
xml.id url_for(:controller => 'welcome', :only_path => false)
xml.updated((@items.first ? @items.first.event_datetime : Time.now).xmlschema)
xml.author { xml.name "#{Setting.app_title}" }
Jean-Philippe Lang
Added Redmine::Info to store various information about the application....
r671 xml.generator(:uri => Redmine::Info.url, :version => Redmine::VERSION) { xml.text! Redmine::Info.versioned_name; }
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 @items.each do |item|
xml.entry do
Jean-Philippe Lang
Activity enhancements:...
r1213 url = url_for(item.event_url(:only_path => false))
Jean-Philippe Lang
Fixed: changesets titles should not be multiline in atom feeds (#1356)....
r1477 xml.title truncate_single_line(item.event_title, 100)
Jean-Philippe Lang
Activity enhancements:...
r1213 xml.link "rel" => "alternate", "href" => url
xml.id url
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 xml.updated item.event_datetime.xmlschema
Jean-Philippe Lang
Fixed: Atom feeds don't provide author section for repository revisions (#1348)....
r1471 author = item.event_author if item.respond_to?(:event_author)
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 xml.author do
Jean-Philippe Lang
Atom feeds:...
r1140 xml.name(author)
xml.email(author.mail) if author.respond_to?(:mail) && !author.mail.blank?
Jean-Philippe Lang
Merged 0.6 branch into trunk....
r663 end if author
xml.content "type" => "html" do
xml.text! textilizable(item.event_description)
end
end
end
end