summaryrefslogtreecommitdiffstats
path: root/extensions/Needinfo/template/en/default/hook
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Needinfo/template/en/default/hook')
-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 %]