Commit 5321b1f3 authored by Dave Lawrence's avatar Dave Lawrence

Bug 816266 - Bug alias should be present in bug's <title>

r=glob, a=LpSolit
parent 2667d363
......@@ -16,13 +16,21 @@
[% filtered_desc = bug.short_desc FILTER html %]
[% subheader = filtered_desc %]
[% filtered_timestamp = bug.delta_ts FILTER time %]
[% title = "$terms.Bug $bug.bug_id &ndash; $filtered_desc" %]
[% title = "$terms.Bug $bug.bug_id &ndash; " %]
[% IF bug.alias != '' %]
[% title = title _ "($bug.alias) " %]
[% END %]
[% title = title _ filtered_desc %]
[% header = "$terms.Bug&nbsp;$bug.bug_id" %]
[% header_addl_info = "Last modified: $filtered_timestamp" %]
[% yui = ['autocomplete', 'calendar'] %]
[% javascript_urls = [ "js/util.js", "js/field.js" ] %]
[% IF bug.defined %]
[% unfiltered_title = "$terms.Bug $bug.bug_id – $bug.short_desc" %]
[% unfiltered_title = "$terms.Bug $bug.bug_id – " %]
[% IF bug.alias != '' %]
[% unfiltered_title = unfiltered_title _ "($bug.alias) " %]
[% END %]
[% unfiltered_title = unfiltered_title _ bug.short_desc %]
[% javascript = BLOCK %]
if (history && history.replaceState) {
if(!document.location.href.match(/show_bug\.cgi/)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment