summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-07-08 07:35:58 +0200
committerlpsolit%gmail.com <>2005-07-08 07:35:58 +0200
commitc5065860be60634eb89a06364ff4abf72a41da9d (patch)
treef92e7150f62f626923e1bf0072589b06401883eb /template/en/default
parent0c49003e66abc5e52979f4a4c65ee1aea2cbdd0c (diff)
downloadbugzilla-c5065860be60634eb89a06364ff4abf72a41da9d.tar.gz
bugzilla-c5065860be60634eb89a06364ff4abf72a41da9d.tar.xz
Bug 216028: User::match_field() displays no warning when the maximum number of matches is reached - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=myk
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/global/confirm-user-match.html.tmpl20
1 files changed, 6 insertions, 14 deletions
diff --git a/template/en/default/global/confirm-user-match.html.tmpl b/template/en/default/global/confirm-user-match.html.tmpl
index fd09f89a6..93a249254 100644
--- a/template/en/default/global/confirm-user-match.html.tmpl
+++ b/template/en/default/global/confirm-user-match.html.tmpl
@@ -90,16 +90,6 @@
</font>
Please go back and try again with a more specific
name/address.
- [% ELSIF fields.${field.key}.type == 'single' %]
- matched:<br>
- <select name="[% field.key FILTER html %]"
- id="[% field.key FILTER html %]">
- [% FOREACH match = query.value.users %]
- <option value="[% match.login FILTER html %]">
- [%- match.identity FILTER html -%]
- </option>
- [% END %]
- </select>
[% ELSE %]
[% IF query.value.status == 'trunc' %]
matched
@@ -110,10 +100,12 @@
[% END %]
<select name="[% field.key FILTER html %]"
id="[% field.key FILTER html %]"
- [% IF query.value.users.size > 5 %]
- multiple="multiple" size="5">
- [% ELSE %]
- multiple="multiple" size="[% query.value.users.size %]">
+ [% IF fields.${field.key}.type == 'multi' %]
+ [% IF query.value.users.size > 5 %]
+ multiple="multiple" size="5">
+ [% ELSE %]
+ multiple="multiple" size="[% query.value.users.size %]">
+ [% END %]
[% END %]
[% FOREACH match = query.value.users %]
<option value="[% match.login FILTER html %]">