summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/field-descs.none.tmpl
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2011-03-02 09:41:16 +0100
committerMax Kanat-Alexander <mkanat@bugzilla.org>2011-03-02 09:41:16 +0100
commite81b9d51399792035e10c2cd6d1b32f75879c3ec (patch)
treef96af118014c417b5d0c026df5b689957e29bbf1 /template/en/default/global/field-descs.none.tmpl
parent7d90eaa8770c0b29567b78b89d81334211fa2482 (diff)
downloadbugzilla-e81b9d51399792035e10c2cd6d1b32f75879c3ec.tar.gz
bugzilla-e81b9d51399792035e10c2cd6d1b32f75879c3ec.tar.xz
Bug 624414: BUGZILLA.value_descs was always empty in the JS, and display_value
wasn't translating values. r=glob, a=mkanat
Diffstat (limited to 'template/en/default/global/field-descs.none.tmpl')
-rw-r--r--template/en/default/global/field-descs.none.tmpl22
1 files changed, 3 insertions, 19 deletions
diff --git a/template/en/default/global/field-descs.none.tmpl b/template/en/default/global/field-descs.none.tmpl
index e85ebbee1..479944ff9 100644
--- a/template/en/default/global/field-descs.none.tmpl
+++ b/template/en/default/global/field-descs.none.tmpl
@@ -62,25 +62,9 @@
} %]
[% IF in_template_var %]
-
- [%# You can use this hash to localize (translate) the values displayed
- # for drop-down and multiple-select fields. Lines starting with "#"
- # are comments.
- #%]
- [% value_descs = {
- "bug_status" => {
- # "UNCONFIRMED" => "UNCO",
- # "CONFIRMED" => "ITSABUG",
- },
-
- "resolution" => {
- "" => "---",
- # "FIXED" => "NO LONGER AN ISSUE",
- # "WORKSFORME" => "NOTMYPROBLEM!",
- },
- } %]
-
- [% vars.terms = terms %]
+ [% PROCESS "global/value-descs.none.tmpl" %]
+ [% SET vars.value_descs = value_descs %]
+ [% SET vars.terms = terms %]
[%# field_descs is loaded as a global template variable and cached
# across all templates--see VARIABLES in Bugzilla/Template.pm.