diff options
Diffstat (limited to 'template/en/default/admin/fieldvalues/footer.html.tmpl')
-rw-r--r-- | template/en/default/admin/fieldvalues/footer.html.tmpl | 13 |
1 files changed, 6 insertions, 7 deletions
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 @@ <p> [% UNLESS no_add_link %] - <a title="Add a value for the '[% field FILTER html %]' field." + <a title="Add a value for the '[% field.description FILTER html %]' field." href="editvalues.cgi?action=add&field= - [%- field FILTER url_quote %]">Add</a> a value. + [%- field.name FILTER url_quote %]">Add</a> a value. [% END %] [% IF value && !no_edit_link %] Edit value <a title="Edit value '[% value FILTER html %]' for the ' - [%- field FILTER html %]' field" + [%- field.name FILTER html %]' field" href="editvalues.cgi?action=edit&field= - [%- field FILTER url_quote %]&value=[% value FILTER url_quote %]"> + [%- field.name FILTER url_quote %]&value=[% value FILTER url_quote %]"> '[% value FILTER html %]'</a>. [% END %] [% UNLESS no_edit_other_link %] Edit other values for the <a href="editvalues.cgi?field= - [%- field FILTER url_quote %]">'[% field FILTER html %]'</a> field. + [%- field.name FILTER url_quote %]">'[% field.description FILTER html %]'</a> field. [% END %] |