diff options
author | lpsolit%gmail.com <> | 2005-07-08 07:35:58 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-07-08 07:35:58 +0200 |
commit | c5065860be60634eb89a06364ff4abf72a41da9d (patch) | |
tree | f92e7150f62f626923e1bf0072589b06401883eb /template | |
parent | 0c49003e66abc5e52979f4a4c65ee1aea2cbdd0c (diff) | |
download | bugzilla-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')
-rw-r--r-- | template/en/default/global/confirm-user-match.html.tmpl | 20 |
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 %]"> |