[%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # Contributor(s): Frédéric Buclin #%] [%# INTERFACE: # 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 %] [% javascript = BLOCK %] [% INCLUDE "admin/custom_fields/cf-js.js.tmpl" %] [% END %] [% PROCESS global/header.html.tmpl title = title onload = "toggleCheckbox(document.getElementById('enter_bug'), 'new_bugmail');" javascript_urls = [ 'js/util.js' ] doc_section = "custom-fields.html#edit-custom-fields" style_urls = ['skins/standard/admin.css'] %]

Descriptions are a very short string describing the field and will be used as the label for this field in the user interface.

[% IF field.type == constants.FIELD_TYPE_BUG_ID %] [% ELSE %] [% END %] [% IF field.is_select %] [% END %]
Name: [% field.name FILTER html %]
Type: [% field_types.${field.type} FILTER html %]

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.
 
  Edit legal values for this field.

[% IF field.obsolete %]

Remove this custom field from the database.
This action will only be successful if the custom field has never been used in [% terms.abug %].

[% END %]

Back to the list of existing custom fields

[% PROCESS global/footer.html.tmpl %]