Patch #1528 » atom_author_in_content.patch
| app/views/common/feed.atom.rxml (working copy) | ||
|---|---|---|
|
xml.email(author.mail) if author.respond_to?(:mail) && !author.mail.blank?
|
||
|
end if author
|
||
|
xml.content "type" => "html" do
|
||
|
xml.text! textilizable(item.event_description)
|
||
|
xml.text! author + textilizable(item.event_description) if author.is_a?(String)
|
||
|
xml.text! author.name(:username) + textilizable(item.event_description) if author.is_a?(User)
|
||
|
end
|
||
|
end
|
||
|
end
|
||
- « Previous
- 1
- 2
- 3
- Next »