summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en/default/hook/bug_modal/attachments-actions.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BMO/template/en/default/hook/bug_modal/attachments-actions.html.tmpl')
-rw-r--r--extensions/BMO/template/en/default/hook/bug_modal/attachments-actions.html.tmpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/extensions/BMO/template/en/default/hook/bug_modal/attachments-actions.html.tmpl b/extensions/BMO/template/en/default/hook/bug_modal/attachments-actions.html.tmpl
new file mode 100644
index 000000000..97d0ed739
--- /dev/null
+++ b/extensions/BMO/template/en/default/hook/bug_modal/attachments-actions.html.tmpl
@@ -0,0 +1,13 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[% RETURN IF !user.in_group("bounty-team") || has_bounty_attachment %]
+<button type="button" class="minor"
+ onclick="document.location='page.cgi?id=attachment_bounty_form.html&bug_id=[% bug.id FILTER none %]'">
+ Add Bounty Tracking Attachment
+</button>