diff options
author | guy.pyrzak%gmail.com <> | 2008-11-05 02:17:02 +0100 |
---|---|---|
committer | guy.pyrzak%gmail.com <> | 2008-11-05 02:17:02 +0100 |
commit | 6708131d92db5ef5201a7c70b5e49b846761bec6 (patch) | |
tree | 1132bfae2a2b54badceb69b24d3ffbaa83cb7712 | |
parent | bbb4f51a42c6c313898de9474af7d89fbcd64448 (diff) | |
download | bugzilla-6708131d92db5ef5201a7c70b5e49b846761bec6.tar.gz bugzilla-6708131d92db5ef5201a7c70b5e49b846761bec6.tar.xz |
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
-rw-r--r-- | skins/standard/show_bug.css | 5 | ||||
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 17 | ||||
-rw-r--r-- | template/en/default/bug/knob.html.tmpl | 1 |
3 files changed, 22 insertions, 1 deletions
diff --git a/skins/standard/show_bug.css b/skins/standard/show_bug.css index 80c4513d6..4fded9a95 100644 --- a/skins/standard/show_bug.css +++ b/skins/standard/show_bug.css @@ -57,6 +57,11 @@ .bz_time_tracking_table .bz_summarize_time { text-align: right; } + #summary tr td { vertical-align:top; } + +#status { + margin-bottom: 3ex; +} diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index fc74bcfb2..a3367fe87 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -258,6 +258,8 @@ cols = constants.COMMENT_COLS %] <br> + <a name="bug_status_bottom"></a> + [% PROCESS bug/knob.html.tmpl %] <div id="knob-buttons"> <input type="submit" value="Commit" id="commit"> [% IF bug.user.canmove %] @@ -427,7 +429,20 @@ <b><a href="page.cgi?id=fields.html#status">Status</a></b>: </td> <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> </tr> [% END %] diff --git a/template/en/default/bug/knob.html.tmpl b/template/en/default/bug/knob.html.tmpl index b984410e0..038e6cbb3 100644 --- a/template/en/default/bug/knob.html.tmpl +++ b/template/en/default/bug/knob.html.tmpl @@ -23,6 +23,7 @@ [% PROCESS global/variables.none.tmpl %] <div id="status"> + <a name="bug_status"></a> [% initial_action_shown = 0 %] [% show_resolution = 0 %] [% bug_status_select_displayed = 0 %] |