diff options
author | Simon Green <sgreen@redhat.com> | 2014-08-30 09:15:18 +1000 |
---|---|---|
committer | Simon Green <sgreen@redhat.com> | 2014-08-30 09:15:18 +1000 |
commit | 51fa7ceacb74fb2c8717f565169ccd78ddb91ff5 (patch) | |
tree | 0f3da5aa0cf995a5c78b88f227666116f1b20f86 /template | |
parent | ec5caa57cc14a328b8b994d49cb8def8eb95aea7 (diff) | |
download | bugs-51fa7ceacb74fb2c8717f565169ccd78ddb91ff5.tar bugs-51fa7ceacb74fb2c8717f565169ccd78ddb91ff5.tar.gz bugs-51fa7ceacb74fb2c8717f565169ccd78ddb91ff5.tar.bz2 bugs-51fa7ceacb74fb2c8717f565169ccd78ddb91ff5.tar.xz bugs-51fa7ceacb74fb2c8717f565169ccd78ddb91ff5.zip |
Bug 1060233 - Aliases are not displayed correctly in some places
r=dkl, a=sgreen
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/bug/link.html.tmpl | 4 | ||||
-rw-r--r-- | template/en/default/bug/show-multiple.html.tmpl | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/template/en/default/bug/link.html.tmpl b/template/en/default/bug/link.html.tmpl index 40031e16f..b63093302 100644 --- a/template/en/default/bug/link.html.tmpl +++ b/template/en/default/bug/link.html.tmpl @@ -32,8 +32,8 @@ [% IF user.can_see_bug(bug) %] [% link_title = link_title _ ' - ' _ bug.short_desc %] - [% IF use_alias && bug.alias %] - [% link_text = bug.alias %] + [% IF use_alias && bug.alias.size %] + [% link_text = bug.alias.join(', ') %] [% END %] [% END %] diff --git a/template/en/default/bug/show-multiple.html.tmpl b/template/en/default/bug/show-multiple.html.tmpl index e09860201..960746d40 100644 --- a/template/en/default/bug/show-multiple.html.tmpl +++ b/template/en/default/bug/show-multiple.html.tmpl @@ -48,9 +48,10 @@ <h1> [% terms.Bug %] <a href="show_bug.cgi?id=[% bug.bug_id FILTER html %]">[% bug.bug_id FILTER html %]</a> - [% IF bug.alias AND NOT bug.error %] - (<a href="show_bug.cgi?id=[% bug.alias FILTER uri %]"> - [% bug.alias FILTER html %]</a>) + [% IF bug.alias AND NOT bug.error %] ( + [%- FOREACH alias IN bug.alias %]<a href="show_bug.cgi?id=[% alias FILTER uri %]"> + [% alias FILTER html %]</a>[% UNLESS loop.last %], [% END %] + [%- END %]) [% END %] </h1> |