From 92059de568ef17628928a6cf19d6fca3ee505f2b Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 28 Apr 2015 12:44:41 +0800 Subject: Bug 1149659: crash signature not linking to signature summary on socorro --- extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl | 1 + extensions/BugModal/template/en/default/bug_modal/field.html.tmpl | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'extensions/BugModal/template') diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl index 54ae9bec0..6649399e1 100644 --- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl @@ -857,6 +857,7 @@ [% FOREACH field IN custom_fields; NEXT IF field.type != constants.FIELD_TYPE_TEXTAREA; + Hook.process('custom_field-' _ field.name); NEXT IF rendered_custom_fields.exists(field.name); INCLUDE bug_modal/field.html.tmpl field = field diff --git a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl index d89c22868..089543c39 100644 --- a/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/field.html.tmpl @@ -220,7 +220,11 @@ END; [%# text area %] - [% value FILTER html FILTER html_line_break %] + [% IF content.defined && !append_content %] + [% content FILTER none %] + [% ELSE %] + [% value FILTER html FILTER html_line_break %] + [% END %] -- cgit v1.2.3-24-g4f1b