summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default/hook
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-10-24 18:45:43 +0200
committerDavid Lawrence <dkl@mozilla.com>2014-10-24 18:45:43 +0200
commit883791b3dc130fb3575a07b9936e41af5a04ff46 (patch)
tree7ad82013dbc41a60c80160d18d9a5d10b04cf13b /extensions/BMO/template/en/default/hook
parentb9465e11b70ad16a7e9a26d08efef196230f0aad (diff)
downloadbugzilla-883791b3dc130fb3575a07b9936e41af5a04ff46.tar.gz
bugzilla-883791b3dc130fb3575a07b9936e41af5a04ff46.tar.xz
Bug 1084052: Only show "Add bounty tracking attachment" links to people who actually might do that (not everyone in core-security)
Diffstat (limited to 'extensions/BMO/template/en/default/hook')
-rw-r--r--extensions/BMO/template/en/default/hook/bug/show-header-end.html.tmpl2
-rw-r--r--extensions/BMO/template/en/default/hook/global/user-error-auth_failure_object.html.tmpl2
2 files changed, 3 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 ff2438ffd..b7ce8675e 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,7 @@
[% style_urls.push('extensions/BMO/web/styles/edit_bug.css') %]
[% javascript_urls.push('extensions/BMO/web/js/edit_bug.js') %]
-[% IF user.is_insider %]
+[% IF user.in_group('bounty-team') %]
[% javascript_urls.push('extensions/BMO/web/js/attachment_bounty_form.js') %]
[% yui.push('selector') %]
[% END %]
diff --git a/extensions/BMO/template/en/default/hook/global/user-error-auth_failure_object.html.tmpl b/extensions/BMO/template/en/default/hook/global/user-error-auth_failure_object.html.tmpl
index bf46ed895..7fae9d1b0 100644
--- a/extensions/BMO/template/en/default/hook/global/user-error-auth_failure_object.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/global/user-error-auth_failure_object.html.tmpl
@@ -14,4 +14,6 @@
the product security report
[% ELSIF object == 'comments' %]
comments
+[% ELSIF object == 'bounty_attachments' %]
+ bounty attachments
[% END %]