summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/confirm-user-match.html.tmpl
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-11-08 10:35:36 +0100
committermyk%mozilla.org <>2002-11-08 10:35:36 +0100
commit8f8766ab97ba1e4f55c0254e65131b5585c19a2e (patch)
tree285bf5a43424996e491779c9ac6d9004717ee4c3 /template/en/default/global/confirm-user-match.html.tmpl
parent34c5c3b6bed3d8640d8671844e0cf0c0830c9afc (diff)
downloadbugzilla-8f8766ab97ba1e4f55c0254e65131b5585c19a2e.tar.gz
bugzilla-8f8766ab97ba1e4f55c0254e65131b5585c19a2e.tar.xz
Fix for bug 172518: makes the request tracker use the generic user matching code
r=not_erik,joel a=justdave
Diffstat (limited to 'template/en/default/global/confirm-user-match.html.tmpl')
-rw-r--r--template/en/default/global/confirm-user-match.html.tmpl15
1 files changed, 10 insertions, 5 deletions
diff --git a/template/en/default/global/confirm-user-match.html.tmpl b/template/en/default/global/confirm-user-match.html.tmpl
index 2c1d0d2bd..4a12f44a9 100644
--- a/template/en/default/global/confirm-user-match.html.tmpl
+++ b/template/en/default/global/confirm-user-match.html.tmpl
@@ -23,13 +23,15 @@
[%# INTERFACE:
# form: hash; the form values submitted to the script
# mform: hash; the form multi-values submitted to the script
+ # fields: hash/record; the fields being matched, each of which has:
+ # type: single|multi: whether or not the user can select multiple matches
+ # flag_type: for flag requestee fields, the type of flag being requested
# matches: hash; Hierarchical. The levels go like this:
# field_name {
# pattern_text {
- # 'users' = @user_list (user objects)
- # 'selecttype' = single|multi (selectbox type)
- # 'status' = success|fail|trunc (result of search.
- # 'trunc' (truncated) means max was reached)
+ # 'users' = @user_list (user objects)
+ # 'status' = success|fail|trunc (result of search.
+ # 'trunc' (truncated) means max was reached)
# }
# }
# script: string; The name of the calling script, used to create a
@@ -90,7 +92,7 @@
</font>
Please go back and try again with a more specific
name/address.
- [% ELSIF query.value.selecttype == 'single' %]
+ [% ELSIF fields.${field.key}.type == 'single' %]
matched:<br>
<select name="[% field.key FILTER html %]"
id="[% field.key FILTER html %]">
@@ -173,6 +175,9 @@
[%- # ELSIF for things that don't belong in the field_descs hash here -%]
+ [% ELSIF field_name.match("^requestee") %]
+ [% fields.${field_name}.flag_type.name %] requestee
+
[% ELSE %]
[% field_name FILTER html %]
[% END %]