aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorReed Loden <reed@reedloden.com>2010-02-28 14:14:26 -0600
committerReed Loden <reed@reedloden.com>2010-02-28 14:14:26 -0600
commitbb2b0198824b22e7d333f7938494be4a5a4ef7c0 (patch)
treee316e064e40a76a525ad186b3ee94eb06932741c /template
parentda55a3048f6baeda85846d0592bf496f154f12db (diff)
downloadbugs-bb2b0198824b22e7d333f7938494be4a5a4ef7c0.tar
bugs-bb2b0198824b22e7d333f7938494be4a5a4ef7c0.tar.gz
bugs-bb2b0198824b22e7d333f7938494be4a5a4ef7c0.tar.bz2
bugs-bb2b0198824b22e7d333f7938494be4a5a4ef7c0.tar.xz
bugs-bb2b0198824b22e7d333f7938494be4a5a4ef7c0.zip
Bug 537834 - "Buglist results using atom ctype do not display users with empty real names"
[r=LpSolit a=LpSolit]
Diffstat (limited to 'template')
-rw-r--r--template/en/default/list/list.atom.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/list/list.atom.tmpl b/template/en/default/list/list.atom.tmpl
index 3c504f9c9..6be1d7436 100644
--- a/template/en/default/list/list.atom.tmpl
+++ b/template/en/default/list/list.atom.tmpl
@@ -48,7 +48,7 @@
[%- bug.bug_id FILTER xml %]"/>
<id>[% urlbase FILTER xml %]show_bug.cgi?id=[% bug.bug_id FILTER xml %]</id>
<author>
- <name>[% bug.reporter_realname FILTER xml %]</name>
+ <name>[% bug.reporter_realname ? bug.reporter_realname : bug.reporter FILTER xml %]</name>
</author>
<updated>[% bug.changedtime FILTER time("%Y-%m-%dT%H:%M:%SZ", "UTC") FILTER xml %]</updated>
<summary type="html">
@@ -65,10 +65,10 @@
<td>[% bug.component FILTER html %]</td>
</tr><tr class="bz_feed_assignee">
<td>[% columns.assigned_to_realname.title FILTER html %]</td>
- <td>[% bug.assigned_to_realname FILTER html %]</td>
+ <td>[% bug.assigned_to_realname ? bug.assigned_to_realname : bug.assigned_to FILTER html %]</td>
</tr><tr class="bz_feed_reporter">
<td>[% columns.reporter_realname.title FILTER html %]</td>
- <td>[% bug.reporter_realname FILTER html %]</td>
+ <td>[% bug.reporter_realname ? bug.reporter_realname : bug.reporter FILTER html %]</td>
</tr><tr class="bz_feed_bug_status">
<td>[% columns.bug_status.title FILTER html %]</td>
<td>[% display_value("bug_status", bug.bug_status) FILTER html %]</td>