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 --- template/en/default/admin/fieldvalues/list.html.tmpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'template/en/default/admin/fieldvalues/list.html.tmpl') diff --git a/template/en/default/admin/fieldvalues/list.html.tmpl b/template/en/default/admin/fieldvalues/list.html.tmpl index 9e3da3c64..dd96d4872 100644 --- a/template/en/default/admin/fieldvalues/list.html.tmpl +++ b/template/en/default/admin/fieldvalues/list.html.tmpl @@ -20,7 +20,7 @@ # - sortkey: number; The sortkey used to order the value when # displayed to the user in a list. # - # field: string; the name of the field we are editing values for. + # field: object; the field we are editing values for. # static: array; list of values which cannot be renamed nor deleted. #%] @@ -29,16 +29,16 @@ [% PROCESS global/variables.none.tmpl %] -[% title = BLOCK %]Select value for the - '[% field FILTER html %]' field[% END %] +[% title = BLOCK %]Select value for the '[% field.description FILTER html %]' + ([% field.name FILTER html %]) field[% END %] [% PROCESS global/header.html.tmpl title = title %] [% edit_contentlink = BLOCK %]editvalues.cgi?action=edit&field= - [%- field FILTER url_quote %]&value=%%name%%[% END %] + [%- field.name FILTER url_quote %]&value=%%name%%[% END %] [% delete_contentlink = BLOCK %]editvalues.cgi?action=del&field= - [%- field FILTER url_quote %]&value=%%name%%[% END %] + [%- field.name FILTER url_quote %]&value=%%name%%[% END %] [% columns = [ -- cgit v1.2.3-24-g4f1b