]> git.openstreetmap.org Git - rails.git/blob - app/views/changeset_comments/feeds/_comment.rss.builder
Merge remote-tracking branch 'upstream/pull/5434'
[rails.git] / app / views / changeset_comments / feeds / _comment.rss.builder
1 xml.item do
2   xml.title t(".comment", :author => comment.author.display_name, :changeset_id => comment.changeset.id.to_s)
3
4   xml.link changeset_url(comment.changeset, :anchor => "c#{comment.id}")
5   xml.guid changeset_url(comment.changeset, :anchor => "c#{comment.id}")
6
7   xml.description do
8     xml.cdata! render(:partial => "comment", :object => comment, :formats => [:html])
9   end
10
11   xml.dc :creator, comment.author.display_name if comment.author
12
13   xml.pubDate comment.created_at.to_fs(:rfc822)
14 end