From a22401a72e7addce908ea92988200134ff7f9560 Mon Sep 17 00:00:00 2001
From: Frédéric Buclin
@@ -47,129 +45,11 @@ YAHOO.util.Event.onDOMReady(function() {onChangeType(document.getElementById('ty
diff --git a/template/en/default/admin/custom_fields/edit-common.html.tmpl b/template/en/default/admin/custom_fields/edit-common.html.tmpl
new file mode 100644
index 000000000..adf8d3ec4
--- /dev/null
+++ b/template/en/default/admin/custom_fields/edit-common.html.tmpl
@@ -0,0 +1,193 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[%# INTERFACE:
+ # field: Bugzila::Field; the current field being edited
+ #%]
+
+[% PROCESS "global/field-descs.none.tmpl" %]
+
+
+
diff --git a/template/en/default/admin/custom_fields/edit.html.tmpl b/template/en/default/admin/custom_fields/edit.html.tmpl
index a1d739365..7cc09e6ec 100644
--- a/template/en/default/admin/custom_fields/edit.html.tmpl
+++ b/template/en/default/admin/custom_fields/edit.html.tmpl
@@ -10,8 +10,6 @@
# field: Bugzila::Field; the current field being edited
#%]
-[% PROCESS "global/field-descs.none.tmpl" %]
-
[% title = BLOCK %]
Edit the Custom Field '[% field.name FILTER html %]' ([% field.description FILTER html %])
[% END %]
@@ -34,145 +32,8 @@
+
+
+
+
+ [% IF field %]
+ [% field.name FILTER html %]
+ [% ELSE %]
+
+ [% END %]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [% IF field %]
+ [% field_types.${field.type} FILTER html %]
+ [% ELSE %]
+
+ [% END %]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [% IF !field || field.is_select || field.type == constants.FIELD_TYPE_BUG_ID %]
+ Long Description:
+
+ [% INCLUDE global/textarea.html.tmpl
+ name = 'long_desc'
+ id = 'long_desc'
+ minrows = 3
+ maxrows = 5
+ cols = 46
+ defaultcontent = field.long_desc
+ %]
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [% IF field.is_select %]
+
+ [% END %]
+
+
+ Edit legal values for this field.
+
+ [% ELSE %]
+
+
+
+
+
+
+ [% END %]
+
+ [% IF !field || field.is_select %]
+
+ 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 %]
+