diff options
5 files changed, 23 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 %] diff --git a/extensions/Needinfo/web/styles/needinfo.css b/extensions/Needinfo/web/styles/needinfo.css new file mode 100644 index 000000000..e375ba610 --- /dev/null +++ b/extensions/Needinfo/web/styles/needinfo.css @@ -0,0 +1,10 @@ +/* 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. */ + +#needinfo_container label { + font-weight: normal !important; +} diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 85dabbcb7..740a9da45 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -267,6 +267,7 @@ wrap = 'soft' classes = classNames %] + [% Hook.process('after_comment_textarea') %] </div> [% END %] <div id="attachment_flags"> |