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 --- .../en/default/hook/bug/create/create-custom_field.html.tmpl | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 extensions/UserStory/template/en/default/hook/bug/create/create-custom_field.html.tmpl (limited to 'extensions/UserStory/template/en/default/hook/bug/create/create-custom_field.html.tmpl') diff --git a/extensions/UserStory/template/en/default/hook/bug/create/create-custom_field.html.tmpl b/extensions/UserStory/template/en/default/hook/bug/create/create-custom_field.html.tmpl new file mode 100644 index 000000000..4d809e4a2 --- /dev/null +++ b/extensions/UserStory/template/en/default/hook/bug/create/create-custom_field.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. + #%] + +[%# user story gets custom handling %] +[% IF field.name == 'cf_user_story' %] + [% field.hidden = 1 %] +[% END %] -- cgit v1.2.3-24-g4f1b