summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/field-descs.none.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/global/field-descs.none.tmpl')
-rw-r--r--template/en/default/global/field-descs.none.tmpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/template/en/default/global/field-descs.none.tmpl b/template/en/default/global/field-descs.none.tmpl
index 7a2725121..ba6f675e4 100644
--- a/template/en/default/global/field-descs.none.tmpl
+++ b/template/en/default/global/field-descs.none.tmpl
@@ -69,6 +69,17 @@
"votes" => "Votes",
"work_time" => "Hours Worked"} %]
+[%# Also include any custom fields or fields which don't have a
+ Description here, by copying their Description from the
+ database. If you want to override this for your language
+ or your installation, just use a hook. %]
+
+[% USE Bugzilla %]
+[% FOREACH field = Bugzilla.get_fields() %]
+ [% SET field_descs.${field.name} = field.description
+ IF !field_descs.${field_name}.exists %]
+[% END %]
+
[% status_descs = { "UNCONFIRMED" => "UNCONFIRMED",
"NEW" => "NEW",
"ASSIGNED" => "ASSIGNED",