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 --- .../en/default/admin/custom_fields/edit.html.tmpl | 48 ++++++++++++++-------- 1 file changed, 30 insertions(+), 18 deletions(-) (limited to 'template/en/default/admin/custom_fields/edit.html.tmpl') diff --git a/template/en/default/admin/custom_fields/edit.html.tmpl b/template/en/default/admin/custom_fields/edit.html.tmpl index 55863f2ec..a1d739365 100644 --- a/template/en/default/admin/custom_fields/edit.html.tmpl +++ b/template/en/default/admin/custom_fields/edit.html.tmpl @@ -76,24 +76,17 @@ [%- ' checked="checked"' IF field.is_mandatory %]> - [% IF field.type == constants.FIELD_TYPE_BUG_ID %] - - - - - -
- Use this label for the list of [% terms.bugs %] that link to - [%+ terms.abug %] with this - [%+ field_types.${constants.FIELD_TYPE_BUG_ID} FILTER html %] field. - For example, if the description is "Is a duplicate of", - the reverse description would be "Duplicates of this [% terms.bug %]". - Leave blank to disable the list for this field. - - [% ELSE %] -   - [% END %] + Long Description: + + [% INCLUDE global/textarea.html.tmpl + name = 'long_desc' + id = 'long_desc' + minrows = 3 + maxrows = 5 + cols = 46 + defaultcontent = field.long_desc + %] + @@ -128,6 +121,25 @@ + [% IF field.type == constants.FIELD_TYPE_BUG_ID %] + + + + + + +
+ Use this label for the list of [% terms.bugs %] that link to + [%+ terms.abug %] with this + [%+ field_types.${constants.FIELD_TYPE_BUG_ID} FILTER html %] field. + For example, if the description is "Is a duplicate of", + the reverse description would be "Duplicates of this [% terms.bug %]". + Leave blank to disable the list for this field. + +   + + [% END %] [% IF field.is_select %]   -- cgit v1.2.3-24-g4f1b