Commit 6708131d authored by guy.pyrzak%gmail.com's avatar guy.pyrzak%gmail.com

Bug 452888: The status selector is too far from the comment box, leading to a…

Bug 452888: The status selector is too far from the comment box, leading to a serious usability problem Patch By Guy Pyrzak <guy.pyrzak@gmail.com> r=mkanat, a=mkanat
parent bbb4f51a
...@@ -57,6 +57,11 @@ ...@@ -57,6 +57,11 @@
.bz_time_tracking_table .bz_summarize_time { .bz_time_tracking_table .bz_summarize_time {
text-align: right; text-align: right;
} }
#summary tr td { #summary tr td {
vertical-align:top; vertical-align:top;
} }
#status {
margin-bottom: 3ex;
}
...@@ -258,6 +258,8 @@ ...@@ -258,6 +258,8 @@
cols = constants.COMMENT_COLS cols = constants.COMMENT_COLS
%] %]
<br> <br>
<a name="bug_status_bottom"></a>
[% PROCESS bug/knob.html.tmpl %]
<div id="knob-buttons"> <div id="knob-buttons">
<input type="submit" value="Commit" id="commit"> <input type="submit" value="Commit" id="commit">
[% IF bug.user.canmove %] [% IF bug.user.canmove %]
...@@ -427,7 +429,20 @@ ...@@ -427,7 +429,20 @@
<b><a href="page.cgi?id=fields.html#status">Status</a></b>: <b><a href="page.cgi?id=fields.html#status">Status</a></b>:
</td> </td>
<td id="bz_field_status"> <td id="bz_field_status">
[% PROCESS bug/knob.html.tmpl %] <span id="static_bug_status">
[% get_status(bug.bug_status) FILTER html %]
[% IF bug.resolution %]
[%+ get_resolution(bug.resolution) FILTER html %]
[% IF bug.dup_id %]
<span id="duplicate_display">of
[% "${terms.bug} ${bug.dup_id}" FILTER bug_link(bug.dup_id) FILTER none %]</span>
[% END %]
[% END %]
[% IF bug.user.canedit || bug.user.isreporter %]
(<a href="#bug_status_bottom"
onclick="document.getElementById('bug_status').focus();return false;">edit</a>)
[% END %]
</span>
</td> </td>
</tr> </tr>
[% END %] [% END %]
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
[% PROCESS global/variables.none.tmpl %] [% PROCESS global/variables.none.tmpl %]
<div id="status"> <div id="status">
<a name="bug_status"></a>
[% initial_action_shown = 0 %] [% initial_action_shown = 0 %]
[% show_resolution = 0 %] [% show_resolution = 0 %]
[% bug_status_select_displayed = 0 %] [% bug_status_select_displayed = 0 %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment