зеркало из https://github.com/mozilla/pjs.git
Patch for bug 14887: put <label> tags in forms; patch by Jeffrey Baker <jwbaker@acm.org>; r=gerv; a=justdave.
This commit is contained in:
Родитель
1b6b7da6b9
Коммит
6544135b94
|
@ -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">
|
||||||
|
<label for="knob-leave">
|
||||||
Leave as <b>[% bug.bug_status FILTER html %]
|
Leave as <b>[% bug.bug_status FILTER html %]
|
||||||
[% bug.resolution FILTER html %]</b>
|
[% 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">
|
||||||
|
<label for="knob-confirm">
|
||||||
Confirm [% terms.bug %] (change status to <b>NEW</b>)
|
Confirm [% terms.bug %] (change status to <b>NEW</b>)
|
||||||
|
</label>
|
||||||
<br>
|
<br>
|
||||||
[% knum = knum + 1 %]
|
[% knum = knum + 1 %]
|
||||||
[% END %]
|
[% END %]
|
||||||
|
@ -43,22 +47,28 @@
|
||||||
[% 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">
|
||||||
|
<label for="knob-accept">
|
||||||
Accept [% terms.bug %] (
|
Accept [% terms.bug %] (
|
||||||
[% IF bug.isunconfirmed %]confirm [% terms.bug %], [% END %]change
|
[% IF bug.isunconfirmed %]confirm [% terms.bug %], [% END %]change
|
||||||
status to <b>ASSIGNED</b>)
|
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">
|
||||||
|
<label for="knob-clear">
|
||||||
Clear the resolution (remove the current resolution of
|
Clear the resolution (remove the current resolution of
|
||||||
<b>[% bug.resolution FILTER html %]</b>)<br>
|
<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">
|
||||||
|
<label for="knob-resolve">
|
||||||
Resolve [% terms.bug %], changing
|
Resolve [% terms.bug %], changing
|
||||||
<a href="page.cgi?id=fields.html#resolution">resolution</a> to
|
<a href="page.cgi?id=fields.html#resolution">resolution</a> to
|
||||||
<select name="resolution"
|
<select name="resolution"
|
||||||
|
@ -67,18 +77,22 @@
|
||||||
<option value="[% r FILTER html %]">[% r FILTER html %]</option>
|
<option value="[% r FILTER html %]">[% r FILTER html %]</option>
|
||||||
[% END %]
|
[% END %]
|
||||||
</select>
|
</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">
|
||||||
|
<label for="knob-duplicate">
|
||||||
Resolve [% terms.bug %], mark it as duplicate of [% terms.bug %] #
|
Resolve [% terms.bug %], mark it as duplicate of [% terms.bug %] #
|
||||||
<input name="dup_id" size="6"
|
<input name="dup_id" size="6"
|
||||||
onchange="if (this.value != '')
|
onchange="if (this.value != '')
|
||||||
{document.changeform.knob[[% knum %]].checked=true}">
|
{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">
|
||||||
|
<label for="knob-reassign">
|
||||||
<a href="page.cgi?id=fields.html#assigned_to">Reassign</a>
|
<a href="page.cgi?id=fields.html#assigned_to">Reassign</a>
|
||||||
[% terms.bug %] to
|
[% terms.bug %] to
|
||||||
<input name="assigned_to" size="32"
|
<input name="assigned_to" size="32"
|
||||||
|
@ -93,9 +107,11 @@
|
||||||
and confirm [% terms.bug %] (change status to <b>NEW</b>)
|
and confirm [% terms.bug %] (change status to <b>NEW</b>)
|
||||||
<br>
|
<br>
|
||||||
[% END %]
|
[% 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">
|
||||||
|
<label for="knob-reassign-cmp">
|
||||||
Reassign [% terms.bug %] to owner
|
Reassign [% terms.bug %] to owner
|
||||||
[% " and QA contact" IF Param('useqacontact') %]
|
[% " and QA contact" IF Param('useqacontact') %]
|
||||||
of selected component
|
of selected component
|
||||||
|
@ -105,22 +121,32 @@
|
||||||
and confirm [% terms.bug %] (change status to <b>NEW</b>)
|
and confirm [% terms.bug %] (change status to <b>NEW</b>)
|
||||||
<br>
|
<br>
|
||||||
[% END %]
|
[% 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 %]
|
||||||
|
|
Загрузка…
Ссылка в новой задаче