summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/field-help.none.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/bug/field-help.none.tmpl')
-rw-r--r--template/en/default/bug/field-help.none.tmpl18
1 files changed, 11 insertions, 7 deletions
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. %]