From 4e4bfa3f76d565dd27b4d1a8903430b7c0b14140 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 30 May 2007 19:08:10 +0000 Subject: Bug 369987: Display real field names in editvalues.cgi - Patch by Frédéric Buclin r=ghendricks a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/fieldvalues/confirm-delete.html.tmpl | 26 ++++++++++++---------- 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'template/en/default/admin/fieldvalues/confirm-delete.html.tmpl') diff --git a/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl b/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl index 4cd001476..c5baf3658 100644 --- a/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl +++ b/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl @@ -19,13 +19,15 @@ # bug_count: number; The number of bugs that have this field value. # value_count: number; The number of values left for this field, including # this value. - # field: string; The name of the field. + # field: object; the field the value is being deleted from. # param_name: string; The name of the parameter (defaultxxx) associated # with the field. #%] -[% title = BLOCK %]Delete Value '[% value FILTER html %]' from the - '[% field FILTER html %]' field[% END %] +[% title = BLOCK %] + Delete Value '[% value FILTER html %]' from the '[% field.description FILTER html %]' + ([% field.name FILTER html %]) field +[% END %] [% PROCESS global/header.html.tmpl title = title @@ -39,7 +41,7 @@ Field Name: - [% field FILTER html %] + [% field.description FILTER html %] Field Value: @@ -49,9 +51,9 @@ [% terms.Bugs %]: [% IF bug_count %] - [% bug_count FILTER html %] + href="buglist.cgi?[% field.name FILTER url_quote %]=[%- value FILTER url_quote %]">[% bug_count FILTER html %] [% ELSE %] None [% END %] @@ -64,12 +66,12 @@ [% IF (param_name.defined && Param(param_name) == value) || bug_count || (value_count == 1) %]

Sorry, but the '[% value FILTER html %]' value cannot be deleted - from the '[% field FILTER html %]' field for the following reason(s):

+ from the '[% field.description FILTER html %]' field for the following reason(s):

@@ -109,7 +111,7 @@
- +
-- cgit v1.2.3-24-g4f1b