From: travis%sedsystems.ca <> Date: Fri, 28 Jan 2005 03:09:39 +0000 (+0000) Subject: Bug 272658 : Add user dropdowns to editcomponents.cgi X-Git-Tag: bugzilla-2.19.3~375 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e9520eb5dd1623948ba8e8f09ef75fd0f8ffd83;p=thirdparty%2Fbugzilla.git Bug 272658 : Add user dropdowns to editcomponents.cgi Patch by GavinS r=glob a=myk --- diff --git a/template/en/default/admin/components/create.html.tmpl b/template/en/default/admin/components/create.html.tmpl index 0c6a8b335c..c8838eea6e 100644 --- a/template/en/default/admin/components/create.html.tmpl +++ b/template/en/default/admin/components/create.html.tmpl @@ -45,13 +45,30 @@ - Initial Owner: - + + + [% INCLUDE global/userselect.html.tmpl + name => "initialowner" + id => "initialowner" + value => "" + size => 64 + emptyok => 1 + %] + [% IF Param('useqacontact') %] - Initial QA Contact: - + + + + [% INCLUDE global/userselect.html.tmpl + name => "initialqacontact" + id => "initialqacontact" + value => "" + size => 64 + emptyok => 1 + %] + [% END %] diff --git a/template/en/default/admin/components/edit.html.tmpl b/template/en/default/admin/components/edit.html.tmpl index 0a85079174..580008008e 100644 --- a/template/en/default/admin/components/edit.html.tmpl +++ b/template/en/default/admin/components/edit.html.tmpl @@ -55,16 +55,30 @@ - Initial owner: - + + + [% INCLUDE global/userselect.html.tmpl + name => "initialowner" + id => "initialowner" + value => initialowner + size => 64 + emptyok => 1 + %] + [% IF Param('useqacontact') %] - Initial QA contact: - + + + [% INCLUDE global/userselect.html.tmpl + name => "initialqacontact" + id => "initialqacontact" + value => initialqacontact + size => 64 + emptyok => 1 + %] + [% END %] diff --git a/template/en/default/global/userselect.html.tmpl b/template/en/default/global/userselect.html.tmpl index 91692fd212..24b16c9ecf 100644 --- a/template/en/default/global/userselect.html.tmpl +++ b/template/en/default/global/userselect.html.tmpl @@ -18,6 +18,7 @@ # 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 # onchange: optional; onchange attribute value # disabled: optional; if true, the field is disabled @@ -30,6 +31,7 @@ [% IF Param("usemenuforusers") %]