summaryrefslogtreecommitdiffstats
path: root/template/en/default/list
diff options
context:
space:
mode:
authorReed Loden <reed@reedloden.com>2010-02-28 21:14:26 +0100
committerReed Loden <reed@reedloden.com>2010-02-28 21:14:26 +0100
commitbb2b0198824b22e7d333f7938494be4a5a4ef7c0 (patch)
treee316e064e40a76a525ad186b3ee94eb06932741c /template/en/default/list
parentda55a3048f6baeda85846d0592bf496f154f12db (diff)
downloadbugzilla-bb2b0198824b22e7d333f7938494be4a5a4ef7c0.tar.gz
bugzilla-bb2b0198824b22e7d333f7938494be4a5a4ef7c0.tar.xz
Bug 537834 - "Buglist results using atom ctype do not display users with empty real names"
[r=LpSolit a=LpSolit]
Diffstat (limited to 'template/en/default/list')
-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>