diff options
Diffstat (limited to 'template/en/default/admin/fieldvalues')
6 files changed, 22 insertions, 22 deletions
diff --git a/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl b/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl index 088154120..8abc7e148 100644 --- a/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl +++ b/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl @@ -20,7 +20,7 @@ #%] [% title = BLOCK %] - Delete Value '[% value.name FILTER html %]' from the + Delete Value '[% value.name FILTER html %]' from the '[% field.description FILTER html %]' ([% field.name FILTER html %]) field [% END %] @@ -63,11 +63,11 @@ [% IF value.is_default || value.bug_count || (value_count == 1) || value.controls_visibility_of_fields.size - || value.controlled_values_array.size + || value.controlled_values_array.size %] <p>Sorry, but the '[% value.name FILTER html %]' value cannot be deleted - from the '[% field.description FILTER html %]' field for the following + from the '[% field.description FILTER html %]' field for the following reason(s):</p> <ul class="warningmessages"> @@ -85,7 +85,7 @@ [% IF value.bug_count %] <li> [% IF value.bug_count > 1 %] - There are [% value.bug_count FILTER html %] [%+ terms.bugs %] + There are [% value.bug_count FILTER html %] [%+ terms.bugs %] with this field value. [% ELSE %] There is 1 [% terms.bug %] with this field value. @@ -97,7 +97,7 @@ href="buglist.cgi?[% field.name FILTER uri %]= [%- value.name FILTER uri %]"> [% IF value.bug_count > 1 %] - those [% terms.bugs %] + those [% terms.bugs %] [% ELSE %] that [% terms.bug %] [% END %] @@ -117,7 +117,7 @@ [% FOREACH field = value.controls_visibility_of_fields %] <a href="editfields.cgi?action=edit&name= [%- field.name FILTER uri %]"> - [%- field.description FILTER html %] + [%- field.description FILTER html %] ([% field.name FILTER html %])</a><br> [% END %] </li> @@ -158,4 +158,4 @@ no_edit_link = 1 +%] -[% PROCESS global/footer.html.tmpl %] +[% PROCESS global/footer.html.tmpl %] diff --git a/template/en/default/admin/fieldvalues/create.html.tmpl b/template/en/default/admin/fieldvalues/create.html.tmpl index 019831489..c96111f22 100644 --- a/template/en/default/admin/fieldvalues/create.html.tmpl +++ b/template/en/default/admin/fieldvalues/create.html.tmpl @@ -17,7 +17,7 @@ [%# INTERFACE: # field: object; the field the value is being created for #%] - + [% title = BLOCK %] Add Value for the '[% field.description FILTER html %]' ([% field.name FILTER html %]) field [% END %] @@ -26,7 +26,7 @@ %] <p> - This page allows you to add a new value for the + This page allows you to add a new value for the '[% field.description FILTER html %]' field. </p> @@ -47,7 +47,7 @@ <tr> <th align="right"><label for="is_open">Status Type:</label></th> <td> - <input type="radio" id="open_status" name="is_open" value="1" + <input type="radio" id="open_status" name="is_open" value="1" checked="checked"> <label for="open_status">Open</label><br> <input type="radio" id="closed_status" name="is_open" value="0"> @@ -65,7 +65,7 @@ [% IF field.value_field %] <tr> <th align="right"> - <label for="visibility_value_id">Only appears when + <label for="visibility_value_id">Only appears when [%+ field.value_field.description FILTER html %] is set to: </label> </th> diff --git a/template/en/default/admin/fieldvalues/edit.html.tmpl b/template/en/default/admin/fieldvalues/edit.html.tmpl index 9c42ce639..8d20e1e41 100644 --- a/template/en/default/admin/fieldvalues/edit.html.tmpl +++ b/template/en/default/admin/fieldvalues/edit.html.tmpl @@ -21,7 +21,7 @@ [% PROCESS global/variables.none.tmpl %] [% title = BLOCK %] - Edit Value '[% value.name FILTER html %]' for the + Edit Value '[% value.name FILTER html %]' for the '[% field.description FILTER html %]' ([% field.name FILTER html %]) field [% END %] [% PROCESS global/header.html.tmpl @@ -49,7 +49,7 @@ </tr> <tr> <th align="right"><label for="sortkey">Sortkey:</label></th> - <td><input id="sortkey" size="6" maxlength="6" name="sortkey" + <td><input id="sortkey" size="6" maxlength="6" name="sortkey" value="[%- value.sortkey FILTER html %]"></td> </tr> [% IF field.name == "bug_status" %] @@ -71,7 +71,7 @@ [% FOREACH field_value = field.value_field.legal_values %] [% NEXT IF field_value.name == '' %] <option value="[% field_value.id FILTER none %]" - [% ' selected="selected"' + [% ' selected="selected"' IF field_value.id == value.visibility_value.id %]> [% IF field.value_field.name == 'component' %] [% field_value.product.name FILTER html %]: @@ -86,7 +86,7 @@ [% END %] <tr> <th align="right"><label for="is_active">Enabled for [% terms.bugs %]:</label></th> - <td><input id="is_active" name="is_active" type="checkbox" value="1" + <td><input id="is_active" name="is_active" type="checkbox" value="1" [%+ 'checked="checked"' IF value.is_active %] [%+ 'disabled="disabled"' IF value.is_default OR value.is_static %]> [% IF value.is_default %] diff --git a/template/en/default/admin/fieldvalues/footer.html.tmpl b/template/en/default/admin/fieldvalues/footer.html.tmpl index 7d4a41d47..1b94b5c0e 100644 --- a/template/en/default/admin/fieldvalues/footer.html.tmpl +++ b/template/en/default/admin/fieldvalues/footer.html.tmpl @@ -36,7 +36,7 @@ [% END %] [% IF value.defined && !no_edit_link %] - Edit value <a + Edit value <a title="Edit value '[% value.name FILTER html %]' for the ' [%- field.name FILTER html %]' field" href="editvalues.cgi?action=edit&field= @@ -46,7 +46,7 @@ [% END %] [% UNLESS no_edit_other_link %] - Edit other values for the <a + Edit other values for the <a href="editvalues.cgi?field= [%- field.name FILTER uri %]">'[% field.description FILTER html %]'</a> field. diff --git a/template/en/default/admin/fieldvalues/list.html.tmpl b/template/en/default/admin/fieldvalues/list.html.tmpl index 2b6aedb6f..d84f9a59d 100644 --- a/template/en/default/admin/fieldvalues/list.html.tmpl +++ b/template/en/default/admin/fieldvalues/list.html.tmpl @@ -16,7 +16,7 @@ [%# INTERFACE: # values: array of hashes having the following properties: # - name: string; The value. - # - sortkey: number; The sortkey used to order the value when + # - sortkey: number; The sortkey used to order the value when # displayed to the user in a list. # # field: object; the field we are editing values for. @@ -41,12 +41,12 @@ [% columns = [ - { + { name => "name" heading => "Edit field value..." contentlink => edit_contentlink }, - { + { name => "sortkey" heading => "Sortkey" }, diff --git a/template/en/default/admin/fieldvalues/select-field.html.tmpl b/template/en/default/admin/fieldvalues/select-field.html.tmpl index 3704d42aa..33f6f656b 100644 --- a/template/en/default/admin/fieldvalues/select-field.html.tmpl +++ b/template/en/default/admin/fieldvalues/select-field.html.tmpl @@ -16,7 +16,7 @@ [%# INTERFACE: # fields: Array of hashes. Each hash contains only one key, "name." - # The names are the same as the keys from field_descs + # The names are the same as the keys from field_descs # (see global/field-descs.html.tmpl). #%] @@ -30,7 +30,7 @@ %] [% columns = [ - { + { name => "name" heading => "Edit field values for..." content_use_field = 1 |