ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged...
[gitredmine.git] / app / views / feeds / issues.rxml
blob70398f4217ad83f0951908ab257e3b549e5ce455
1 xml.instruct!
2 xml.rss "version" => "2.0", "xmlns:dc" => "http://purl.org/dc/elements/1.1/" do
3   xml.channel do
4     xml.title @title
5     xml.link url_for(:controller => 'welcome', :only_path => false)
6     xml.pubDate CGI.rfc1123_date(@issues.first ? @issues.first.created_on : Time.now)
7     xml.description l(:label_reported_issues)
8     @issues.each do |issue|
9       xml.item do
10         xml.title "#{issue.project.name} - #{issue.tracker.name} ##{issue.id}: #{issue.subject}"
11         url = url_for(:controller => 'issues' , :action => 'show', :id => issue, :only_path => false)
12         xml.link url
13         xml.description h(issue.description)
14         xml.pubDate CGI.rfc1123_date(issue.created_on)
15         xml.guid url
16         xml.author h(issue.author.name)
17       end
18     end
19   end
20 end