From: Simon Green Date: Mon, 18 Aug 2014 23:31:37 +0000 (+1000) Subject: Bug 1054165 - Don't show parenthesis if there is no alias X-Git-Tag: bugzilla-4.5.6~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8c1e1984247d1f8d61b90fe4b772240f4fb7977;p=thirdparty%2Fbugzilla.git Bug 1054165 - Don't show parenthesis if there is no alias r=glob, a=glob --- diff --git a/template/en/default/bug/show-header.html.tmpl b/template/en/default/bug/show-header.html.tmpl index 3b1f272526..6e1244fa0c 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 – " %] -[% IF bug.alias != '' %] +[% IF bug.alias.size %] [% title = title _ "($filtered_alias) " %] [% END %] [% title = title _ filtered_desc %] @@ -33,7 +33,7 @@ [% header = "$terms.Bug $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 %]