knob template: scroll down list of users
Martin d'Anjou
Martin.Danjou at neterion.com
Fri Jun 10 16:07:43 UTC 2005
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.
Regards,
Martin
More information about the developers
mailing list