From c4da32d7639e12f7c9e07f95f093cadca8b23b42 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Mon, 28 Apr 2014 14:30:33 +0000 Subject: Bug 963793 - fix to have user story field available on bug creation r=glob --- .../create/create-after_custom_fields.html.tmpl | 30 ++++++++++++++++++++++ .../hook/bug/create/create-custom_field.html.tmpl | 13 ++++++++++ 2 files changed, 43 insertions(+) create mode 100644 extensions/BMO/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl create mode 100644 extensions/BMO/template/en/default/hook/bug/create/create-custom_field.html.tmpl (limited to 'extensions/BMO/template') diff --git a/extensions/BMO/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl b/extensions/BMO/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl new file mode 100644 index 000000000..47d86bd58 --- /dev/null +++ b/extensions/BMO/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl @@ -0,0 +1,30 @@ +[%# 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. + #%] + +[%# crash-signature handling %] +[% IF show_crash_signature %] + + + + + + + + None + (edit) + + + + + + + +[% END %] + + diff --git a/extensions/BMO/template/en/default/hook/bug/create/create-custom_field.html.tmpl b/extensions/BMO/template/en/default/hook/bug/create/create-custom_field.html.tmpl new file mode 100644 index 000000000..afbb2947c --- /dev/null +++ b/extensions/BMO/template/en/default/hook/bug/create/create-custom_field.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. + #%] + +[%# crash-signature gets custom handling %] +[% IF field.name == 'cf_crash_signature' %] + [% field.hidden = 1 %] + [% show_crash_signature = 1 %] +[% END %] -- cgit v1.2.3-24-g4f1b