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