From: Dave Lawrence Date: Wed, 18 Sep 2013 15:57:56 +0000 (-0400) Subject: Bug 578434 - Bug group checkboxes lay out poorly beside attachment field X-Git-Tag: bugzilla-4.5.1~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=190b8649d0669b9445b143d40b5a44f2fff819dc;p=thirdparty%2Fbugzilla.git Bug 578434 - Bug group checkboxes lay out poorly beside attachment field r/a=glob --- diff --git a/skins/standard/global.css b/skins/standard/global.css index 51d7c29db8..5b1aa532e4 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -286,7 +286,7 @@ div#docslinks { } .bz_comment_text { - width: 50em; + max-width: 60em; } .bz_comment_user, .bz_comment_time, .bz_comment_number, @@ -299,14 +299,6 @@ div#docslinks { float: right; } -.bz_collapse_expand_comments { - padding: 0; - margin: 0 0 0 1em; - list-style-type: none; -} -.bz_collapse_expand_comments li { - margin-bottom: .5em; -} .bz_collapse_comment { text-decoration: none; } @@ -555,6 +547,19 @@ input.required, select.required, span.required_explanation { margin-left: -1px; } +#bz_big_form_parts #left { + float: left; + min-width: 55em; + margin-right: 1em; + margin-bottom: 1em; +} + +#bz_big_form_parts #right { + float: left; + width: auto; + max-width: 35em; +} + /*******************/ /* Form Validation */ /*******************/ @@ -575,4 +580,4 @@ form th { } th.left { text-align: left; -} \ No newline at end of file +} diff --git a/skins/standard/show_bug.css b/skins/standard/show_bug.css index b776b60bce..fe2e6abb33 100644 --- a/skins/standard/show_bug.css +++ b/skins/standard/show_bug.css @@ -66,10 +66,6 @@ table#flags { vertical-align: top; } -.bz_group_visibility_section { - margin-left: 1em; -} - .bz_group_visibility_section .instructions { font-style: italic; } diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index 61d1c67e07..2ea0c3c4c3 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -55,11 +55,28 @@ [% sort_order = "oldest_to_newest" %] [% END %] - - + +
+[% IF mode == "edit" %] + + + +[% END %] + -
+
+ Collapse All Comments | + Expand All Comments + [% IF user.settings.comment_box_position.value == "after_comments" && user.id %] + | + Add Comment + [% END %] +
+
- [% FOREACH comment = comments %] [% IF comment.count >= start_at %] [% PROCESS a_comment %] @@ -80,21 +97,6 @@ #%] [% Hook.process("aftercomments") %] - - [% IF mode == "edit" %] - - [% END %]
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 683d6ed4a7..9af8ee6271 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -119,43 +119,54 @@ - - - -
- [% IF user.is_timetracker %] - [% PROCESS section_timetracking %] - [% END %] +
+
+ [% IF user.is_timetracker %] +
+ [% PROCESS section_timetracking %] +
+ [% END %] - [%# *** Attachments *** %] +
+ [%# *** Attachments *** %] - [% PROCESS attachment/list.html.tmpl - attachments = bug.attachments - bugid = bug.bug_id - num_attachment_flag_types = bug.num_attachment_flag_types - show_attachment_flags = bug.show_attachment_flags - %] + [% PROCESS attachment/list.html.tmpl + attachments = bug.attachments + bugid = bug.bug_id + num_attachment_flag_types = bug.num_attachment_flag_types + show_attachment_flags = bug.show_attachment_flags + %] +
- [% IF user.settings.comment_box_position.value == 'before_comments' %] - [% PROCESS comment_box %] - [% END %] -
- [% PROCESS section_restrict_visibility %] -
+ [% IF user.settings.comment_box_position.value == 'before_comments' %] +
+ [% PROCESS comment_box %] +
+ [% END %] - [%# *** Additional Comments *** %] -
- [% PROCESS bug/comments.html.tmpl - comments = bug.comments - mode = user.id ? "edit" : "show" - %] -
+ [%# *** Additional Comments *** %] +
+ [% PROCESS bug/comments.html.tmpl + comments = bug.comments + mode = user.id ? "edit" : "show" + %] +
+ + [% IF user.settings.comment_box_position.value == 'after_comments' %] +
+ [% PROCESS comment_box %] +
+ [% END %] + - [% IF user.settings.comment_box_position.value == 'after_comments' %] -
- [% PROCESS comment_box %] - [% END %] + +
+ [%############################################################################%]