summaryrefslogtreecommitdiffstats
path: root/extensions/Needinfo/template/en/default
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-12-11 18:09:06 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-12-11 18:09:06 +0100
commit1221394e0533b3145c97a5d13c4463fb53f1dd9e (patch)
tree14b54b6dd14f0d40deb10b9bafb41e07339d27a6 /extensions/Needinfo/template/en/default
parent428c3d0873e9817156c19f45763117b4701d6e5d (diff)
downloadbugzilla-1221394e0533b3145c97a5d13c4463fb53f1dd9e.tar.gz
bugzilla-1221394e0533b3145c97a5d13c4463fb53f1dd9e.tar.xz
Bug 885148 - Commenting via patch details does not clear needinfo flag
r=glob
Diffstat (limited to 'extensions/Needinfo/template/en/default')
-rw-r--r--extensions/Needinfo/template/en/default/hook/attachment/create-form_before_submit.html.tmpl1
-rw-r--r--extensions/Needinfo/template/en/default/hook/attachment/edit-after_comment_textarea.html.tmpl1
-rw-r--r--extensions/Needinfo/template/en/default/hook/global/header-start.html.tmpl12
3 files changed, 12 insertions, 2 deletions
diff --git a/extensions/Needinfo/template/en/default/hook/attachment/create-form_before_submit.html.tmpl b/extensions/Needinfo/template/en/default/hook/attachment/create-form_before_submit.html.tmpl
index ea9c17bd5..81b6d57ea 100644
--- a/extensions/Needinfo/template/en/default/hook/attachment/create-form_before_submit.html.tmpl
+++ b/extensions/Needinfo/template/en/default/hook/attachment/create-form_before_submit.html.tmpl
@@ -11,7 +11,6 @@
<td>
[% PROCESS bug/needinfo.html.tmpl
bug => bug
- is_attachment => 1
%]
</td>
</tr>
diff --git a/extensions/Needinfo/template/en/default/hook/attachment/edit-after_comment_textarea.html.tmpl b/extensions/Needinfo/template/en/default/hook/attachment/edit-after_comment_textarea.html.tmpl
index 8f03fc752..cb6ddf30e 100644
--- a/extensions/Needinfo/template/en/default/hook/attachment/edit-after_comment_textarea.html.tmpl
+++ b/extensions/Needinfo/template/en/default/hook/attachment/edit-after_comment_textarea.html.tmpl
@@ -8,5 +8,4 @@
[% PROCESS bug/needinfo.html.tmpl
bug => attachment.bug
- is_attachment => 1
%]
diff --git a/extensions/Needinfo/template/en/default/hook/global/header-start.html.tmpl b/extensions/Needinfo/template/en/default/hook/global/header-start.html.tmpl
new file mode 100644
index 000000000..7f2095e3d
--- /dev/null
+++ b/extensions/Needinfo/template/en/default/hook/global/header-start.html.tmpl
@@ -0,0 +1,12 @@
+[%# 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.
+ #%]
+
+[% IF template.name == 'attachment/create.html.tmpl'
+ || template.name == 'attachment/edit.html.tmpl' %]
+ [% style_urls.push('extensions/Needinfo/web/styles/needinfo.css') %]
+[% END %]