summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-04-13 19:53:23 +0000
committerlpsolit%gmail.com <>2007-04-13 19:53:23 +0000
commitb3630da125fa112e04f6e6a15328f64e13a874c5 (patch)
treecf8467997f277e2b97a89a5db9c7ebd0f42fcf7e /template/en/default/global/userselect.html.tmpl
parentBug 375191: Remove ChangeStatus() and ChangeResolution() from process_bug.cgi... (diff)
downloadbugzilla-b3630da125fa112e04f6e6a15328f64e13a874c5.tar.gz
bugzilla-b3630da125fa112e04f6e6a15328f64e13a874c5.tar.bz2
bugzilla-b3630da125fa112e04f6e6a15328f64e13a874c5.zip
Bug 92552: Separate reassignment from bug status change (they are now independent) - Patch by Frédéric Buclin <LpSolit@gmail.com> r=gerv a=LpSolit
Diffstat (limited to 'template/en/default/global/userselect.html.tmpl')
-rw-r--r--template/en/default/global/userselect.html.tmpl11
1 files changed, 8 insertions, 3 deletions
diff --git a/template/en/default/global/userselect.html.tmpl b/template/en/default/global/userselect.html.tmpl
index 7a46891ab..398300b52 100644
--- a/template/en/default/global/userselect.html.tmpl
+++ b/template/en/default/global/userselect.html.tmpl
@@ -15,8 +15,6 @@
#%]
[%# INTERFACE:
- # userlist: select only; array reference with list of users and identities
- # userlist is built by Bugzilla::User::get_userlist()
# name: mandatory; field name
# id: optional; field id
# value: optional; default field value/selection
@@ -26,7 +24,7 @@
# size: optional, input only; size attribute value
# emptyok: optional, select only; if true, prepend menu option to start of select
# multiple: optional, do multiselect box, value is size (height) of box
- #
+ # do_not_change: optional, contains the string meaning "do not alter this role"
#%]
[% IF Param("usemenuforusers") %]
@@ -40,6 +38,13 @@
[% IF emptyok %]
<option value=""></option>
[% END %]
+
+ [% IF do_not_change %]
+ <option value="[% do_not_change FILTER html %]">
+ [% do_not_change FILTER html %]
+ </option>
+ [% END %]
+
[% FOREACH tmpuser = user.get_userlist %]
[% IF tmpuser.visible OR value.match("\\b$tmpuser.login\\b") %]
<option value="[% tmpuser.login FILTER html %]"