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
45664663
Commit
45664663
authored
Apr 05, 2004
by
jocuri%softhome.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch for bug 14887: put <label> tags in forms; patch by Jeffrey Baker…
Patch for bug 14887: put <label> tags in forms; patch by Jeffrey Baker <jwbaker@acm.org>; r=gerv; a=justdave.
parent
ab5342c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
80 additions
and
54 deletions
+80
-54
knob.html.tmpl
template/en/default/bug/knob.html.tmpl
+80
-54
No files found.
template/en/default/bug/knob.html.tmpl
View file @
45664663
...
@@ -25,17 +25,21 @@
...
@@ -25,17 +25,21 @@
[%# *** Knob *** %]
[%# *** Knob *** %]
<br>
<br>
<input type="radio" name="knob" value="none" checked="checked">
<input type="radio" id="knob-leave" name="knob" value="none" checked="checked">
Leave as <b>[% bug.bug_status FILTER html %]
<label for="knob-leave">
[% bug.resolution FILTER html %]</b>
Leave as <b>[% bug.bug_status FILTER html %]
[% bug.resolution FILTER html %]</b>
</label>
<br>
<br>
[% knum = 1 %]
[% knum = 1 %]
[% IF bug.bug_status == "UNCONFIRMED" &&
[% IF bug.bug_status == "UNCONFIRMED" &&
bug.user.canconfirm %]
bug.user.canconfirm %]
<input type="radio" name="knob" value="confirm">
<input type="radio" id="knob-confirm" name="knob" value="confirm">
Confirm [% terms.bug %] (change status to <b>NEW</b>)
<label for="knob-confirm">
Confirm [% terms.bug %] (change status to <b>NEW</b>)
</label>
<br>
<br>
[% knum = knum + 1 %]
[% knum = knum + 1 %]
[% END %]
[% END %]
...
@@ -43,84 +47,106 @@
...
@@ -43,84 +47,106 @@
[% IF bug.user.canedit %]
[% IF bug.user.canedit %]
[% IF bug.isopened %]
[% IF bug.isopened %]
[% IF bug.bug_status != "ASSIGNED" && bug.user.canconfirm %]
[% IF bug.bug_status != "ASSIGNED" && bug.user.canconfirm %]
<input type="radio" name="knob" value="accept">
<input type="radio" id="knob-accept" name="knob" value="accept">
Accept [% terms.bug %] (
<label for="knob-accept">
[% IF bug.isunconfirmed %]confirm [% terms.bug %], [% END %]change
Accept [% terms.bug %] (
status to <b>ASSIGNED</b>)
[% IF bug.isunconfirmed %]confirm [% terms.bug %], [% END %]change
status to <b>ASSIGNED</b>)
</label>
<br>
<br>
[% knum = knum + 1 %]
[% knum = knum + 1 %]
[% END %]
[% END %]
[% IF bug.resolution %]
[% IF bug.resolution %]
<input type="radio" name="knob" value="clearresolution">
<input type="radio" id="knob-clear" name="knob" value="clearresolution">
Clear the resolution (remove the current resolution of
<label for="knob-clear">
<b>[% bug.resolution FILTER html %]</b>)<br>
Clear the resolution (remove the current resolution of
<b>[% bug.resolution FILTER html %]</b>)
</label>
<br>
[% knum = knum + 1 %]
[% knum = knum + 1 %]
[% END %]
[% END %]
<input type="radio" name="knob" value="resolve">
<input type="radio" id="knob-resolve" name="knob" value="resolve">
Resolve [% terms.bug %], changing
<label for="knob-resolve">
<a href="page.cgi?id=fields.html#resolution">resolution</a> to
Resolve [% terms.bug %], changing
<select name="resolution"
<a href="page.cgi?id=fields.html#resolution">resolution</a> to
onchange="document.changeform.knob[[% knum %]].checked=true">
<select name="resolution"
[% FOREACH r = bug.choices.resolution %]
onchange="document.changeform.knob[[% knum %]].checked=true">
<option value="[% r FILTER html %]">[% r FILTER html %]</option>
[% FOREACH r = bug.choices.resolution %]
[% END %]
<option value="[% r FILTER html %]">[% r FILTER html %]</option>
</select>
[% END %]
</select>
</label>
<br>
<br>
[% knum = knum + 1 %]
[% knum = knum + 1 %]
<input type="radio" name="knob" value="duplicate">
<input type="radio" id="knob-duplicate" name="knob" value="duplicate">
Resolve [% terms.bug %], mark it as duplicate of [% terms.bug %] #
<label for="knob-duplicate">
<input name="dup_id" size="6"
Resolve [% terms.bug %], mark it as duplicate of [% terms.bug %] #
onchange="if (this.value != '')
<input name="dup_id" size="6"
{document.changeform.knob[[% knum %]].checked=true}">
onchange="if (this.value != '')
{document.changeform.knob[[% knum %]].checked=true}">
</label>
<br>
<br>
[% knum = knum + 1 %]
[% knum = knum + 1 %]
<input type="radio" name="knob" value="reassign">
<input type="radio" id="knob-reassign" name="knob" value="reassign">
<a href="page.cgi?id=fields.html#assigned_to">Reassign</a>
<label for="knob-reassign">
[% terms.bug %] to
<a href="page.cgi?id=fields.html#assigned_to">Reassign</a>
<input name="assigned_to" size="32"
[% terms.bug %] to
onchange="if ((this.value != '[% bug.assigned_to.email FILTER js %]') &&
<input name="assigned_to" size="32"
(this.value != '')) {
onchange="if ((this.value != '[% bug.assigned_to.email FILTER js %]') &&
document.changeform.knob[[% knum %]].checked=true;
(this.value != '')) {
}"
document.changeform.knob[[% knum %]].checked=true;
value="[% bug.assigned_to.email FILTER html %]">
}"
<br>
value="[% bug.assigned_to.email FILTER html %]">
[% IF bug.isunconfirmed && bug.user.canconfirm %]
<input type="checkbox" name="andconfirm">
and confirm [% terms.bug %] (change status to <b>NEW</b>)
<br>
<br>
[% END %]
[% IF bug.isunconfirmed && bug.user.canconfirm %]
<input type="checkbox" name="andconfirm">
and confirm [% terms.bug %] (change status to <b>NEW</b>)
<br>
[% END %]
</label>
[% knum = knum + 1 %]
[% knum = knum + 1 %]
<input type="radio" name="knob" value="reassignbycomponent">
<input type="radio" id="knob-reassign-cmp" name="knob" value="reassignbycomponent">
Reassign [% terms.bug %] to owner
<label for="knob-reassign-cmp">
[% " and QA contact" IF Param('useqacontact') %]
Reassign [% terms.bug %] to owner
of selected component
[% " and QA contact" IF Param('useqacontact') %]
<br>
of selected component
[% IF bug.isunconfirmed && bug.user.canconfirm %]
<input type="checkbox" name="compconfirm">
and confirm [% terms.bug %] (change status to <b>NEW</b>)
<br>
<br>
[% END %]
[% IF bug.isunconfirmed && bug.user.canconfirm %]
<input type="checkbox" name="compconfirm">
and confirm [% terms.bug %] (change status to <b>NEW</b>)
<br>
[% END %]
</label>
[% knum = knum + 1 %]
[% knum = knum + 1 %]
[% ELSE %]
[% ELSE %]
[% IF bug.resolution != "MOVED" ||
[% IF bug.resolution != "MOVED" ||
(bug.resolution == "MOVED" && bug.user.canmove) %]
(bug.resolution == "MOVED" && bug.user.canmove) %]
<input type="radio" name="knob" value="reopen"> Reopen [% terms.bug %]
<input type="radio" id="knob-reopen" name="knob" value="reopen">
<label for="knob-reopen">
Reopen [% terms.bug %]
</label>
<br>
<br>
[% knum = knum + 1 %]
[% knum = knum + 1 %]
[% END %]
[% END %]
[% IF bug.bug_status == "RESOLVED" %]
[% IF bug.bug_status == "RESOLVED" %]
<input type="radio" name="knob" value="verify">
<input type="radio" id="knob-verify" name="knob" value="verify">
Mark [% terms.bug %] as <b>VERIFIED</b><br>
<label for="knob-verify">
Mark [% terms.bug %] as <b>VERIFIED</b>
</label>
<br>
[% knum = knum + 1 %]
[% knum = knum + 1 %]
[% END %]
[% END %]
[% IF bug.bug_status != "CLOSED" %]
[% IF bug.bug_status != "CLOSED" %]
<input type="radio" name="knob" value="close">
<input type="radio" id="knob-close" name="knob" value="close">
Mark [% terms.bug %] as <b>CLOSED</b><br>
<label for="knob-close">
Mark [% terms.bug %] as <b>CLOSED</b>
</label>
<br>
[% knum = knum + 1 %]
[% knum = knum + 1 %]
[% END %]
[% END %]
[% 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