diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-11-30 16:53:02 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-11-30 16:53:02 +0100 |
commit | d83a1c136214a5663a09987c48d66f9a527e7798 (patch) | |
tree | 4ffebb3ab48d2f0fef2e3c4e464f786941305bf4 /extensions/BMO/template/en/default | |
parent | 0309b1599d3444db3a3d29c3c3f3dfcab7fc4c89 (diff) | |
download | bugzilla-d83a1c136214a5663a09987c48d66f9a527e7798.tar.gz bugzilla-d83a1c136214a5663a09987c48d66f9a527e7798.tar.xz |
Bug 816266 - Bug alias should be present in bug's <title>
r=glob
Diffstat (limited to 'extensions/BMO/template/en/default')
-rw-r--r-- | extensions/BMO/template/en/default/hook/bug/show-header-end.html.tmpl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/extensions/BMO/template/en/default/hook/bug/show-header-end.html.tmpl b/extensions/BMO/template/en/default/hook/bug/show-header-end.html.tmpl index e903b811d..5ab189045 100644 --- a/extensions/BMO/template/en/default/hook/bug/show-header-end.html.tmpl +++ b/extensions/BMO/template/en/default/hook/bug/show-header-end.html.tmpl @@ -8,7 +8,11 @@ [% style_urls.push('extensions/BMO/web/styles/edit_bug.css') %] [% javascript_urls.push('extensions/BMO/web/js/edit_bug.js') %] -[% title = "$bug.bug_id – $filtered_desc" %] +[% title = "$bug.bug_id – " %] +[% IF bug.alias != '' %] + [% title = title _ "($bug.alias) " %] +[% END %] +[% title = title _ filtered_desc %] [% javascript = javascript _ "document.title = document.title.replace(/^" _ terms.Bug _ " /, '');" %] |