diff options
author | lpsolit%gmail.com <> | 2007-05-30 21:08:10 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-05-30 21:08:10 +0200 |
commit | 4e4bfa3f76d565dd27b4d1a8903430b7c0b14140 (patch) | |
tree | c80a25bed01ee04643e2d5266795252ca9f475c0 /template/en/default/admin/fieldvalues/edit.html.tmpl | |
parent | d67e20bc205e305ed2b086c8a8d144ebab4bbe83 (diff) | |
download | bugzilla-4e4bfa3f76d565dd27b4d1a8903430b7c0b14140.tar.gz bugzilla-4e4bfa3f76d565dd27b4d1a8903430b7c0b14140.tar.xz |
Bug 369987: Display real field names in editvalues.cgi - Patch by Frédéric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
Diffstat (limited to 'template/en/default/admin/fieldvalues/edit.html.tmpl')
-rw-r--r-- | template/en/default/admin/fieldvalues/edit.html.tmpl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/template/en/default/admin/fieldvalues/edit.html.tmpl b/template/en/default/admin/fieldvalues/edit.html.tmpl index e19b7c0b5..919ac090c 100644 --- a/template/en/default/admin/fieldvalues/edit.html.tmpl +++ b/template/en/default/admin/fieldvalues/edit.html.tmpl @@ -17,13 +17,15 @@ [%# INTERFACE: # value: string; The field value we are editing. # sortkey: number; Sortkey of the field value we are editing. - # field: string; The field this value belongs to. + # field: object; The field this value belongs to. #%] [% PROCESS global/variables.none.tmpl %] -[% title = BLOCK %]Edit Value '[% value FILTER html %]' ' - [%- field FILTER html %]'[% END %] +[% title = BLOCK %] + Edit Value '[% value FILTER html %]' for the '[% field.description FILTER html %]' + ([% field.name FILTER html %]) field +[% END %] [% PROCESS global/header.html.tmpl title = title %] @@ -54,7 +56,7 @@ <input type="hidden" name="valueold" value="[% value FILTER html %]"> <input type="hidden" name="sortkeyold" value="[% sortkey FILTER html %]"> <input type="hidden" name="action" value="update"> - <input type="hidden" name="field" value="[% field FILTER html %]"> + <input type="hidden" name="field" value="[% field.name FILTER html %]"> <input type="hidden" name="token" value="[% token FILTER html %]"> <input type="submit" id="update" value="Update"> </form> |