]> git.openstreetmap.org Git - rails.git/blob - app/views/changeset_comments/_comments.rss.builder
Allow user_blocks to be created for longer periods
[rails.git] / app / views / changeset_comments / _comments.rss.builder
1 comments.each do |comment|
2   xml.item do
3     xml.title t(".comment", :author => comment.author.display_name, :changeset_id => comment.changeset.id.to_s)
4
5     xml.link url_for(:controller => "browse", :action => "changeset", :id => comment.changeset.id, :anchor => "c#{comment.id}", :only_path => false)
6     xml.guid url_for(:controller => "browse", :action => "changeset", :id => comment.changeset.id, :anchor => "c#{comment.id}", :only_path => false)
7
8     xml.description do
9       xml.cdata! render(:partial => "comment", :object => comment, :formats => [:html])
10     end
11
12     xml.dc :creator, comment.author.display_name if comment.author
13
14     xml.pubDate comment.created_at.to_s(:rfc822)
15   end
16 end