From 380a0f8742e23868e01cd31aca113efb8ceb72f5 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Fri, 10 May 2013 10:57:48 -0400 Subject: Bug 850135 - hide the textarea custom fields by default with an (edit) link --- template/en/default/bug/field.html.tmpl | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'template/en/default/bug') diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl index e157a80ed..74f632c54 100644 --- a/template/en/default/bug/field.html.tmpl +++ b/template/en/default/bug/field.html.tmpl @@ -181,9 +181,28 @@ [% CASE constants.FIELD_TYPE_TEXTAREA %] - [% INCLUDE global/textarea.html.tmpl - id = field.name name = field.name minrows = 4 maxrows = 8 - cols = 60 defaultcontent = value mandatory = field.is_mandatory %] +
+
+ (edit) +
+ [% IF value %] +
[% value FILTER html %]
+ [% END %] +
+
+ [% INCLUDE global/textarea.html.tmpl + id = field.name name = field.name minrows = 4 maxrows = 8 + cols = 60 defaultcontent = value mandatory = field.is_mandatory %] +
+ [% CASE constants.FIELD_TYPE_BUG_URLS %] [% '