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 --- template/en/default/bug/create/create.html.tmpl | 28 +++---------------------- 1 file changed, 3 insertions(+), 25 deletions(-) (limited to 'template/en/default/bug') diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index d1de42eb9..d41dc9d35 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -647,11 +647,8 @@ TUI_hide_default('attachment_text_field'); [% FOREACH field = Bugzilla.active_custom_fields(product=>product) %] [% NEXT IF field.type == constants.FIELD_TYPE_EXTENSION %] [% NEXT UNLESS field.enter_bug %] - [%# crash-signature gets custom handling %] - [% IF field.name == 'cf_crash_signature' %] - [% show_crash_signature = 1 %] - [% NEXT %] - [% END %] + [% Hook.process('custom_field', 'bug/create/create.html.tmpl') %] + [% NEXT IF field.hidden %] [% SET value = ${field.name}.defined ? ${field.name} : "" %] [% INCLUDE bug/field.html.tmpl @@ -661,26 +658,7 @@ TUI_hide_default('attachment_text_field'); [% END %] -[%# crash-signature handling %] -[% IF show_crash_signature %] - - - - - - - - None - (edit) - - - - - - - -[% END %] +[% Hook.process('after_custom_fields') %] [% display_flags = 0 %] [% any_flags_requesteeble = 0 %] -- cgit v1.2.3-24-g4f1b