summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/userselect.html.tmpl
diff options
context:
space:
mode:
authorReed Loden <reed@reedloden.com>2010-07-13 05:21:08 +0200
committerReed Loden <reed@reedloden.com>2010-07-13 05:21:08 +0200
commit2ca9968dd1a1a018708a29c452d3969f16114a86 (patch)
tree9f4b4452a09f2767bea825ea4b0c74244e7d3bcf /template/en/default/global/userselect.html.tmpl
parent88e8e01b2d6b5e81020730962f8e8e999b5b5ae8 (diff)
downloadbugzilla-2ca9968dd1a1a018708a29c452d3969f16114a86.tar.gz
bugzilla-2ca9968dd1a1a018708a29c452d3969f16114a86.tar.xz
Bug 578253 - Add autocomplete support to the requester and requestee fields on request.cgi
[r=mkanat a=mkanat] https://bugzilla.mozilla.org/show_bug.cgi?id=578254
Diffstat (limited to 'template/en/default/global/userselect.html.tmpl')
-rw-r--r--template/en/default/global/userselect.html.tmpl12
1 files changed, 9 insertions, 3 deletions
diff --git a/template/en/default/global/userselect.html.tmpl b/template/en/default/global/userselect.html.tmpl
index 2a2d2cd52..5924e0723 100644
--- a/template/en/default/global/userselect.html.tmpl
+++ b/template/en/default/global/userselect.html.tmpl
@@ -13,6 +13,7 @@
# Contributor(s): Byron Jones <bugzilla@glob.com.au>
# Frédéric Buclin <LpSolit@gmail.com>
# Guy Pyrzak <guy.pyrzak@gmail.com>
+ # Reed Loden <reed@reedloden.com>
#%]
[%# INTERFACE:
@@ -23,9 +24,11 @@
# disabled: optional; if true, the field is disabled
# accesskey: optional, input only; accesskey attribute value
# size: optional, input only; size attribute value
- # emptyok: optional, select only; if true, prepend menu option to start of select
+ # emptyok: optional, select only; if true, prepend menu option for "" to start of select
+ # hyphenok: optional, select only; if true, prepend menu option for "-" to start of select
# multiple: optional, do multiselect box, value is size (height) of box
# custom_userlist: optional, specify a limited list of users to use
+ # title: optional, extra information to display as a tooltip
#%]
[% IF Param("usemenuforusers") %]
@@ -35,10 +38,14 @@
[% IF disabled %] disabled="[% disabled FILTER html %]" [% END %]
[% IF accesskey %] accesskey="[% accesskey FILTER html %]" [% END %]
[% IF multiple %] multiple="multiple" size="[% multiple FILTER html %]" [% END %]
+ [% IF title %] title="[% title FILTER html %]" [% END %]
>
[% IF emptyok %]
<option value=""></option>
[% END %]
+ [% IF hyphenok %]
+ <option value="-">-</option>
+ [% END %]
[% UNLESS custom_userlist %]
[% custom_userlist = user.get_userlist %]
@@ -79,6 +86,7 @@
[% IF onchange %] onchange="[% onchange FILTER html %]" [% END %]
[% IF disabled %] disabled="[% disabled FILTER html %]" [% END %]
[% IF accesskey %] accesskey="[% accesskey FILTER html %]" [% END %]
+ [% IF title %] title="[% title FILTER html %]" [% END %]
[% IF size %] size="[% size FILTER html %]" [% END %]
[% IF id %] id="[% id FILTER html %]" [% END %]
>
@@ -95,5 +103,3 @@
</script>
[% END %]
[% END %]
-
-