Defect #3408 ยป feed-mail-fix.diff
app/views/common/feed.atom.rxml (Arbeitskopie) | ||
---|---|---|
21 | 21 |
author = item.event_author if item.respond_to?(:event_author) |
22 | 22 |
xml.author do |
23 | 23 |
xml.name(author) |
24 |
xml.email(author.mail) if author.respond_to?(:mail) && !author.mail.blank? |
|
24 |
xml.email(author.mail) if author.respond_to?(:mail) && !author.mail.blank? && !author.pref.hide_mail
|
|
25 | 25 |
end if author |
26 | 26 |
xml.content "type" => "html" do |
27 | 27 |
xml.text! textilizable(item.event_description, :only_path => false) |
app/views/issues/changes.rxml (Arbeitskopie) | ||
---|---|---|
15 | 15 |
xml.updated change.created_on.xmlschema |
16 | 16 |
xml.author do |
17 | 17 |
xml.name change.user.name |
18 |
xml.email(change.user.mail) |
|
18 |
xml.email(change.user.mail) if !change.user.pref.hide_mail
|
|
19 | 19 |
end |
20 | 20 |
xml.content "type" => "html" do |
21 | 21 |
xml.text! '<ul>' |