summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/edit.html.tmpl
diff options
context:
space:
mode:
authorguy.pyrzak%gmail.com <>2008-04-10 23:33:15 +0200
committerguy.pyrzak%gmail.com <>2008-04-10 23:33:15 +0200
commitd06db94e9793766ba8b67fcf6602f6d87bd624d4 (patch)
tree6d2045b1abb60d2fbd0fd86d77ecb57f23794366 /template/en/default/bug/edit.html.tmpl
parent09e9e8b9dba58ae262c0ce664561373f4380205f (diff)
downloadbugzilla-d06db94e9793766ba8b67fcf6602f6d87bd624d4.tar.gz
bugzilla-d06db94e9793766ba8b67fcf6602f6d87bd624d4.tar.xz
Bug 414236 Ð show_bug.cgi: Remove the knob in favor of normal <select> boxes
Patch By Guy Pyrzak<guy.pyrzak@gmail.com> r=mkanat, a=LpSolit. Removes knob from edit single and edit multiple bugs.
Diffstat (limited to 'template/en/default/bug/edit.html.tmpl')
-rw-r--r--template/en/default/bug/edit.html.tmpl53
1 files changed, 24 insertions, 29 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index 8e4cc9e15..2b70b03a3 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -242,7 +242,13 @@
maxrows = 25
cols = constants.COMMENT_COLS
%]
- [% PROCESS bug/knob.html.tmpl %]
+ <br>
+ <div id="knob-buttons">
+ <input type="submit" value="Commit" id="commit">
+ [% IF bug.user.canmove %]
+ <input type="submit" name="action" id="action" value="[% Param("move-button-text") %]">
+ [% END %]
+ </div>
[% ELSE %]
<fieldset>
<legend>Note</legend>
@@ -357,9 +363,9 @@
<td class="field_label">
<label for="component" accesskey="m">
<b><a href="describecomponents.cgi?product=[% bug.product FILTER url_quote %]">
- Co<u>m</u>ponent</a>
+ Co<u>m</u>ponent</a>:
</b>
- </label>:
+ </label>
</td>
[% PROCESS select selname => "component" %]
</tr>
@@ -404,14 +410,7 @@
<b><a href="page.cgi?id=fields.html#status">Status</a></b>:
</td>
<td id="bz_field_status">
-
- [% get_status(bug.bug_status) FILTER html %]&nbsp;&nbsp;
- [% get_resolution(bug.resolution) FILTER html %]
-
- [% IF bug.resolution == "DUPLICATE" %]
- of [% terms.bug %] [%+ "${bug.dup_id}" FILTER bug_link(bug.dup_id) FILTER none %]
- [% END %]
-
+ [% PROCESS bug/knob.html.tmpl %]
</td>
</tr>
[%###############################################################%]
@@ -422,24 +421,20 @@
<label for="priority" accesskey="i"><b><u>I</u>mportance</b></label>:
</td>
<td>
- <table>
- <tr>
- [% PROCESS select selname => "priority" %]
- [% PROCESS select selname = "bug_severity" %]
- [% IF bug.use_votes %]
- <td>
- [% IF bug.votes %]
- with
- <a href="votes.cgi?action=show_bug&amp;bug_id=[% bug.bug_id %]">
- [% bug.votes %] vote[%IF bug.votes > 1 %]s[% END %]
- </a>.
- [% END %]
- (<a href="votes.cgi?action=show_user&amp;bug_id=
- [% bug.bug_id %]#vote_[% bug.bug_id %]">vote</a>)
- </td>
- [% END %]
- </tr>
- </table>
+ [% PROCESS select selname => "priority" no_td=>1 %]
+ [% PROCESS select selname = "bug_severity" no_td=>1 %]
+ [% IF bug.use_votes %]
+ <span id="votes_container">
+ [% IF bug.votes %]
+ with
+ <a href="votes.cgi?action=show_bug&amp;bug_id=[% bug.bug_id %]">
+ [% bug.votes %] vote[%IF bug.votes > 1 %]s[% END %]
+ </a>.
+ [% END %]
+ (<a href="votes.cgi?action=show_user&amp;bug_id=
+ [% bug.bug_id %]#vote_[% bug.bug_id %]">vote</a>)
+ </span>
+ [% END %]
</td>
</tr>