Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
8e9520eb
Commit
8e9520eb
authored
Jan 28, 2005
by
travis%sedsystems.ca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 272658 : Add user dropdowns to editcomponents.cgi
Patch by GavinS <bugzilla@chimpychompy.org> r=glob a=myk
parent
27e28372
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
10 deletions
+44
-10
create.html.tmpl
template/en/default/admin/components/create.html.tmpl
+21
-4
edit.html.tmpl
template/en/default/admin/components/edit.html.tmpl
+20
-6
userselect.html.tmpl
template/en/default/global/userselect.html.tmpl
+3
-0
No files found.
template/en/default/admin/components/create.html.tmpl
View file @
8e9520eb
...
...
@@ -45,13 +45,30 @@
</td>
</tr>
<tr>
<th align="right">Initial Owner:</th>
<td><input size="64" maxlength="64" name="initialowner" value=""></td>
<th align="right"><label for="initialowner">Initial Owner:</label></th>
<td>
[% INCLUDE global/userselect.html.tmpl
name => "initialowner"
id => "initialowner"
value => ""
size => 64
emptyok => 1
%]
</td>
</tr>
[% IF Param('useqacontact') %]
<tr>
<th align="right">Initial QA Contact:</th>
<td><input size="64" maxlength="64" name="initialqacontact" value=""></td>
<th align="right">
<label for="initialqacontact">Initial QA Contact:</label></th>
<td>
[% INCLUDE global/userselect.html.tmpl
name => "initialqacontact"
id => "initialqacontact"
value => ""
size => 64
emptyok => 1
%]
</td>
</tr>
[% END %]
</table>
...
...
template/en/default/admin/components/edit.html.tmpl
View file @
8e9520eb
...
...
@@ -55,16 +55,30 @@
</td>
</tr>
<tr>
<td valign="top">Initial owner:</td>
<td><input size="64" maxlength="64" name="initialowner" value="
[%- initialowner FILTER html %]"></td>
<td valign="top"><label for="initialowner">Initial owner:</label></td>
<td>
[% INCLUDE global/userselect.html.tmpl
name => "initialowner"
id => "initialowner"
value => initialowner
size => 64
emptyok => 1
%]
</td>
[% IF Param('useqacontact') %]
</tr>
<tr>
<td valign="top">Initial QA contact:</td>
<td><input size="64" maxlength="64" name="initialqacontact" value="
[%- initialqacontact FILTER html %]"></td>
<td valign="top"><label for="initialqacontact">Initial QA contact:</label></td>
<td>
[% INCLUDE global/userselect.html.tmpl
name => "initialqacontact"
id => "initialqacontact"
value => initialqacontact
size => 64
emptyok => 1
%]
</td>
[% END %]
</tr>
...
...
template/en/default/global/userselect.html.tmpl
View file @
8e9520eb
...
...
@@ -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") %]
<select name="[% name FILTER html %]"
[% IF id %] id="[% id FILTER html %]" [% END %]
[% IF onchange %] onchange="[% onchange FILTER html %]" [% END %]
[% IF disabled %] disabled="[% disabled FILTER html %]" [% END %]
[% IF accesskey %] accesskey="[% accesskey FILTER html %]" [% END %]
...
...
@@ -54,6 +56,7 @@
[% IF disabled %] disabled="[% disabled FILTER html %]" [% END %]
[% IF accesskey %] accesskey="[% accesskey FILTER html %]" [% END %]
[% IF size %] size="[% size FILTER html %]" [% END %]
[% IF id %] id="[% id FILTER html %]" [% END %]
>
[% END %]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment