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/footer.html.tmpl | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'template/en/default/admin/fieldvalues/footer.html.tmpl') diff --git a/template/en/default/admin/fieldvalues/footer.html.tmpl b/template/en/default/admin/fieldvalues/footer.html.tmpl index 27428f66d..440376239 100644 --- a/template/en/default/admin/fieldvalues/footer.html.tmpl +++ b/template/en/default/admin/fieldvalues/footer.html.tmpl @@ -16,8 +16,7 @@ [%# INTERFACE: # value: string; the value being inserted/edited. - # field: string; the name of the field which the value - # belongs/belonged to + # field: object; the field which the value belongs/belonged to. # # no_XXX_link: boolean; if defined, then don't show the corresponding # link. Supported parameters are: @@ -32,24 +31,24 @@

[% UNLESS no_add_link %] - Add a value. + [%- field.name FILTER url_quote %]">Add a value. [% END %] [% IF value && !no_edit_link %] Edit value + [%- field.name FILTER url_quote %]&value=[% value FILTER url_quote %]"> '[% value FILTER html %]'. [% END %] [% UNLESS no_edit_other_link %] Edit other values for the '[% field FILTER html %]' field. + [%- field.name FILTER url_quote %]">'[% field.description FILTER html %]' field. [% END %] -- cgit v1.2.3-24-g4f1b