From: rojanu Date: Wed, 16 May 2012 23:22:41 +0000 (+0200) Subject: Bug 728138: Custom fields should have a "Long Description" attribute to better unders... X-Git-Tag: bugzilla-4.3.2~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=629f2c959658c50ec2f4790b80bfe5ff30e3cd82;p=thirdparty%2Fbugzilla.git Bug 728138: Custom fields should have a "Long Description" attribute to better understand what they are used for r/a=LpSolit --- diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 9ac54b9179..b096cc3bbf 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -156,6 +156,7 @@ use Memoize; MAX_MILESTONE_SIZE MAX_COMPONENT_SIZE MAX_FIELD_VALUE_SIZE + MAX_FIELD_LONG_DESC_LENGTH MAX_FREETEXT_LENGTH MAX_BUG_URL_LENGTH MAX_POSSIBLE_DUPLICATES @@ -537,6 +538,9 @@ use constant MAX_COMPONENT_SIZE => 64; # The maximum length for values of -
- 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. + [% INCLUDE global/textarea.html.tmpl + name = 'long_desc' + id = 'long_desc' + minrows = 3 + maxrows = 5 + cols = 46 + defaultcontent = defaultcontent + %] @@ -134,7 +132,19 @@ YAHOO.util.Event.onDOMReady(function() {onChangeType(document.getElementById('ty -   + + + + + +
+ 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. +