knob template: scroll down list of users
Dave Williss
dwilliss at microimages.com
Fri Jun 10 19:52:59 UTC 2005
I believe there's also a bug that I logged a while back that it would be
nice if you could specify a user group for each of the dropdowns and
it would only show users who are in that "group". For example, I only
want programmers in the "assigned to" dropdown and only QA people
in the QA dropdown.
The group would have to be per-product because different products
may have different programmer/QA teams.
----- Original Message -----
From: "Colin Ogilvie" <bugzilla at colinogilvie.co.uk>
To: <developers at bugzilla.org>
Sent: Friday, June 10, 2005 11:16 AM
Subject: Re: knob template: scroll down list of users
> Martin d'Anjou wrote:
>
>>Hi,
>>
>>Please tell me if I understand this right. I want the "Reassign bug to"
>>knob to be a pull down menu of all the login_names (or real names) instead
>>of a text box. The way I figured out to do this is the following:
>>
>>1) modify process_bug.cgi and add the list of names to $vars
>> e.g. get a list of users from the database and
>> $vars->{'users'} = \@users
>>
>>2) modify the knob.html.tmpl file and build the HTML menu with a
>> [% FOREACH u = users %] loop.
>>
>>Am I on the right track here? Other suggestions are welcome as well.
>>
> In the current CVS tip version, which will become 2.20, there is a
> "usemenuforusers" paramater which will change this for you. You can see
> details in https://bugzilla.mozilla.org/show_bug.cgi?id=251669 which is
> the bug for implementing it.
>
> Colin
>
> -
> To view or change your list settings, click here:
> <http://bugzilla.org/cgi-bin/mj_wwwusr?user=dwilliss@microimages.com>
More information about the developers
mailing list