##// END OF EJS Templates
Allow longer version names (#711, closes #712)....
Allow longer version names (#711, closes #712). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1220 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1171:942091f9e844
r1206:66594d46b20d
Show More
changes.rxml
29 lines | 1.3 KiB | text/plain | TextLexer
Jean-Philippe Lang
ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index...
r874 xml.instruct!
xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
xml.title @title
Jean-Philippe Lang
Display links to Atom feeds (closes #496, #750)....
r1171 xml.link "rel" => "self", "href" => url_for(:format => 'atom', :key => User.current.rss_key, :only_path => false)
xml.link "rel" => "alternate", "href" => home_url(:only_path => false)
Jean-Philippe Lang
ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index...
r874 xml.id url_for(:controller => 'welcome', :only_path => false)
Jean-Philippe Lang
Display links to Atom feeds (closes #496, #750)....
r1171 xml.updated((@journals.first ? @journals.first.event_datetime : Time.now).xmlschema)
Jean-Philippe Lang
ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index...
r874 xml.author { xml.name "#{Setting.app_title}" }
Jean-Philippe Lang
Display links to Atom feeds (closes #496, #750)....
r1171 @journals.each do |change|
Jean-Philippe Lang
ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index...
r874 issue = change.issue
xml.entry do
xml.title "#{issue.project.name} - #{issue.tracker.name} ##{issue.id}: #{issue.subject}"
xml.link "rel" => "alternate", "href" => url_for(:controller => 'issues' , :action => 'show', :id => issue, :only_path => false)
xml.id url_for(:controller => 'issues' , :action => 'show', :id => issue, :journal_id => change, :only_path => false)
xml.updated change.created_on.xmlschema
xml.author do
xml.name change.user.name
xml.email(change.user.mail)
end
xml.content "type" => "html" do
xml.text! '<ul>'
change.details.each do |detail|
xml.text! '<li>' + show_detail(detail, false) + '</li>'
end
xml.text! '</ul>'
xml.text! textilizable(change.notes) unless change.notes.blank?
end
end
end
end