##// END OF EJS Templates
Fixed: Atom feeds don't provide author section for repository revisions (#1348)....
Jean-Philippe Lang -
r1471:870e8654b4dd
parent child
Show More
@@ -14,7 +14,7 xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
14 xml.link "rel" => "alternate", "href" => url
14 xml.link "rel" => "alternate", "href" => url
15 xml.id url
15 xml.id url
16 xml.updated item.event_datetime.xmlschema
16 xml.updated item.event_datetime.xmlschema
17 author = item.event_author if item.respond_to?(:author)
17 author = item.event_author if item.respond_to?(:event_author)
18 xml.author do
18 xml.author do
19 xml.name(author)
19 xml.name(author)
20 xml.email(author.mail) if author.respond_to?(:mail) && !author.mail.blank?
20 xml.email(author.mail) if author.respond_to?(:mail) && !author.mail.blank?
General Comments 0
You need to be logged in to leave comments. Login now