From 190b8649d0669b9445b143d40b5a44f2fff819dc Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Wed, 18 Sep 2013 11:57:56 -0400 Subject: Bug 578434 - Bug group checkboxes lay out poorly beside attachment field r/a=glob --- template/en/default/bug/comments.html.tmpl | 40 ++++++++-------- template/en/default/bug/edit.html.tmpl | 73 +++++++++++++++++------------- 2 files changed, 63 insertions(+), 50 deletions(-) (limited to 'template') diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index 61d1c67e0..2ea0c3c4c 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 683d6ed4a..9af8ee627 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 %] + +
+ [%############################################################################%] -- cgit v1.2.3-24-g4f1b