From cd478d226e183efc30939fb13f797bd012117405 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Fri, 10 May 2013 10:44:47 -0400 Subject: Bug 850135 - hide the textarea custom fields by default with an (edit) link r=glob,a=LpSolit --- template/en/default/bug/field.html.tmpl | 27 ++++++++++++++++++++++++--- 1 file changed, 24 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 a77f9087c..c086a04f7 100644 --- a/template/en/default/bug/field.html.tmpl +++ b/template/en/default/bug/field.html.tmpl @@ -142,9 +142,30 @@ [% 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 %] [% '