summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-12-18 00:06:14 +0100
committerlpsolit%gmail.com <>2009-12-18 00:06:14 +0100
commit95b16ee99af37bb2d3e5bd15fa63c6197c399dbe (patch)
tree8059547dc473e0d172761b45684696062f88c8a6 /template/en/default
parentefa03357139f331e05e1ace0928447d06867f5d3 (diff)
downloadbugzilla-95b16ee99af37bb2d3e5bd15fa63c6197c399dbe.tar.gz
bugzilla-95b16ee99af37bb2d3e5bd15fa63c6197c399dbe.tar.xz
Bug 465930: Some fields have no description in the user auto-completion form - Patch by Frédéric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/global/confirm-user-match.html.tmpl26
1 files changed, 20 insertions, 6 deletions
diff --git a/template/en/default/global/confirm-user-match.html.tmpl b/template/en/default/global/confirm-user-match.html.tmpl
index f961ee0b9..40dccc6b5 100644
--- a/template/en/default/global/confirm-user-match.html.tmpl
+++ b/template/en/default/global/confirm-user-match.html.tmpl
@@ -38,6 +38,22 @@
[%# use the global field descs %]
[% PROCESS "global/field-descs.none.tmpl" %]
+[%# This lists fields which use the user auto-completion feature and which
+ # are not listed in field_descs. %]
+[% field_labels = { # Used by editcomponents.cgi
+ "initialcc" => "Default CC List",
+ "initialowner" => "Default Assignee",
+ "initialqacontact" => "Default QA Contact",
+ # Used by process_bug.cgi
+ "masscc" => "CC List",
+ # Used by request.cgi
+ "requester" => "Requester",
+ "requestee" => "Requestee",
+ # Used by userprefs.cgi
+ "new_watchedusers" => "Watch List",
+
+ }
+%]
[% IF matchsuccess == 1 %]
[% PROCESS global/header.html.tmpl title="Confirm Match" %]
@@ -169,14 +185,12 @@
[% BLOCK field_names %]
- [% IF field_descs.${field_name} %]
- [% field_descs.${field_name} FILTER html -%]
-
- [%-# ELSIF for things that don't belong in the field_descs hash here -%]
-
+ [% IF field_descs.$field_name %]
+ [% field_descs.$field_name FILTER html %]
+ [% ELSIF field_labels.$field_name %]
+ [% field_labels.$field_name FILTER html %]
[% ELSIF field_name.match("^requestee") %]
[% fields.${field_name}.flag_type.name %] requestee
-
[% ELSE %]
[% field_name FILTER html %]
[% END %]