From 1221394e0533b3145c97a5d13c4463fb53f1dd9e Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Wed, 11 Dec 2013 12:09:06 -0500 Subject: Bug 885148 - Commenting via patch details does not clear needinfo flag r=glob --- .../hook/attachment/create-form_before_submit.html.tmpl | 1 - .../hook/attachment/edit-after_comment_textarea.html.tmpl | 1 - .../template/en/default/hook/global/header-start.html.tmpl | 12 ++++++++++++ extensions/Needinfo/web/styles/needinfo.css | 10 ++++++++++ 4 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 extensions/Needinfo/template/en/default/hook/global/header-start.html.tmpl create mode 100644 extensions/Needinfo/web/styles/needinfo.css (limited to 'extensions/Needinfo') 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 @@ [% PROCESS bug/needinfo.html.tmpl bug => bug - is_attachment => 1 %] 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; +} -- cgit v1.2.3-24-g4f1b