summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorSimon Green <sgreen@redhat.com>2014-08-19 01:31:37 +0200
committerSimon Green <sgreen@redhat.com>2014-08-19 01:31:37 +0200
commitc8c1e1984247d1f8d61b90fe4b772240f4fb7977 (patch)
tree4ea67113d746bfe5c104a199ebc030cbdcb9e181 /template/en
parent8623918d2a418dd037c04b835078857098c850a3 (diff)
downloadbugzilla-c8c1e1984247d1f8d61b90fe4b772240f4fb7977.tar.gz
bugzilla-c8c1e1984247d1f8d61b90fe4b772240f4fb7977.tar.xz
Bug 1054165 - Don't show parenthesis if there is no alias
r=glob, a=glob
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/bug/show-header.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/bug/show-header.html.tmpl b/template/en/default/bug/show-header.html.tmpl
index 3b1f27252..6e1244fa0 100644
--- a/template/en/default/bug/show-header.html.tmpl
+++ b/template/en/default/bug/show-header.html.tmpl
@@ -19,7 +19,7 @@
[% subheader = filtered_desc %]
[% title = "$bug.bug_id &ndash; " %]
-[% IF bug.alias != '' %]
+[% IF bug.alias.size %]
[% title = title _ "($filtered_alias) " %]
[% END %]
[% title = title _ filtered_desc %]
@@ -33,7 +33,7 @@
[% header = "$terms.Bug&nbsp;$bug.bug_id" %]
[% header_addl_info = "Last modified: $filtered_timestamp" %]
[% unfiltered_title = "$bug.bug_id – " %]
- [% IF bug.alias != '' %]
+ [% IF bug.alias.size %]
[% unfiltered_title = unfiltered_title _ "(" _ bug.alias.join(', ') _ ") " %]
[% END %]
[% unfiltered_title = unfiltered_title _ bug.short_desc %]