From c8c1e1984247d1f8d61b90fe4b772240f4fb7977 Mon Sep 17 00:00:00 2001 From: Simon Green Date: Tue, 19 Aug 2014 09:31:37 +1000 Subject: Bug 1054165 - Don't show parenthesis if there is no alias r=glob, a=glob --- template/en/default/bug/show-header.html.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'template/en/default') 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 – " %] -[% 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 %] -- cgit v1.2.3-24-g4f1b