summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-03-10 06:13:49 +0100
committerByron Jones <glob@mozilla.com>2015-03-10 06:13:49 +0100
commit887524670413292b71448bd0c67ab2b786c78b49 (patch)
tree794e276bdc45f081b681357069d61e8aa05be464 /template/en/default/bug
parentef96ae157223b3309f7703798b32b0b386b2edff (diff)
downloadbugzilla-887524670413292b71448bd0c67ab2b786c78b49.tar.gz
bugzilla-887524670413292b71448bd0c67ab2b786c78b49.tar.xz
Bug 1139749: backport bug 1128853 to bmo (Bugzilla shouldn't try to write API tokens into the shadow DB)
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/create/create.html.tmpl1
-rw-r--r--template/en/default/bug/show-header.html.tmpl1
-rw-r--r--template/en/default/bug/summarize-time.html.tmpl1
3 files changed, 3 insertions, 0 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index 4e37e20bf..e258a0d73 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -30,6 +30,7 @@
[% PROCESS global/header.html.tmpl
title = title
+ generate_api_token = 1
yui = [ 'autocomplete', 'calendar', 'datatable', 'button' ]
style_urls = [ 'skins/standard/attachment.css',
'skins/standard/enter_bug.css',
diff --git a/template/en/default/bug/show-header.html.tmpl b/template/en/default/bug/show-header.html.tmpl
index 062e1aa82..4fc1ebe0f 100644
--- a/template/en/default/bug/show-header.html.tmpl
+++ b/template/en/default/bug/show-header.html.tmpl
@@ -36,6 +36,7 @@
[% title = title _ "($bug.alias) " %]
[% END %]
[% title = title _ filtered_desc %]
+[% generate_api_token = 1 %]
[% header = "$terms.Bug&nbsp;$bug.bug_id" %]
[% header_addl_info = "Last modified: $filtered_timestamp" %]
[% yui = ['autocomplete', 'calendar'] %]
diff --git a/template/en/default/bug/summarize-time.html.tmpl b/template/en/default/bug/summarize-time.html.tmpl
index 21c26e8c8..0166539ea 100644
--- a/template/en/default/bug/summarize-time.html.tmpl
+++ b/template/en/default/bug/summarize-time.html.tmpl
@@ -29,6 +29,7 @@
[% PROCESS global/header.html.tmpl
title = title
+ generate_api_token = 1
header = header
style_urls = ["skins/standard/summarize-time.css"]
doc_section = "timetracking.html"