From 629f2c959658c50ec2f4790b80bfe5ff30e3cd82 Mon Sep 17 00:00:00 2001 From: rojanu Date: Thu, 17 May 2012 01:22:41 +0200 Subject: Bug 728138: Custom fields should have a "Long Description" attribute to better understand what they are used for r/a=LpSolit --- template/en/default/bug/field-help.none.tmpl | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'template/en/default/bug') diff --git a/template/en/default/bug/field-help.none.tmpl b/template/en/default/bug/field-help.none.tmpl index f76fa9639..4b32410cd 100644 --- a/template/en/default/bug/field-help.none.tmpl +++ b/template/en/default/bug/field-help.none.tmpl @@ -214,13 +214,17 @@ email1 => [%# Add help for custom fields. %] [% IF !vars.help_html.${help_field}.defined %] - [% SET field_type = bug_fields.${help_field}.type %] - [% field_type_desc = BLOCK -%] - [% field_types.$field_type FILTER html %] - [%- END %] - [% vars.help_html.${help_field} = - "A custom $field_type_desc field in this installation" - _ " of ${terms.Bugzilla}." %] + [% IF bug_fields.${help_field}.long_desc %] + [% vars.help_html.${help_field} = bug_fields.${help_field}.long_desc %] + [% ELSE %] + [% SET field_type = bug_fields.${help_field}.type %] + [% field_type_desc = BLOCK -%] + [% field_types.$field_type FILTER html %] + [%- END %] + [% vars.help_html.${help_field} = + "A custom $field_type_desc field in this installation" + _ " of ${terms.Bugzilla}." %] + [% END %] [% END %] [%# Add help for the search types, for query.cgi. %] -- cgit v1.2.3-24-g4f1b