diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-09-18 11:57:56 -0400 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-09-18 11:57:56 -0400 |
commit | 190b8649d0669b9445b143d40b5a44f2fff819dc (patch) | |
tree | 6c0269d48fd9838ea168d2db74c63ae6f797dfb5 /template/en/default/bug/comments.html.tmpl | |
parent | 2799e118d748aa32aa496c6614ba369dbd169520 (diff) | |
download | bugs-190b8649d0669b9445b143d40b5a44f2fff819dc.tar bugs-190b8649d0669b9445b143d40b5a44f2fff819dc.tar.gz bugs-190b8649d0669b9445b143d40b5a44f2fff819dc.tar.bz2 bugs-190b8649d0669b9445b143d40b5a44f2fff819dc.tar.xz bugs-190b8649d0669b9445b143d40b5a44f2fff819dc.zip |
Bug 578434 - Bug group checkboxes lay out poorly beside attachment field
r/a=glob
Diffstat (limited to 'template/en/default/bug/comments.html.tmpl')
-rw-r--r-- | template/en/default/bug/comments.html.tmpl | 40 |
1 files changed, 21 insertions, 19 deletions
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 %] -<!-- This auto-sizes the comments and positions the collapse/expand links - to the right. --> -<table class="bz_comment_table" cellpadding="0" cellspacing="0"><tr> +<!-- This auto-sizes the comments and positions the collapse/expand links + above the coments. --> +<table class="bz_comment_table" cellpadding="0" cellspacing="0"> +[% IF mode == "edit" %] + <tr> + <td> + <div class="bz_collapse_expand_comments"> + <a href="#" onclick="toggle_all_comments('collapse'); + return false;">Collapse All Comments</a> | + <a href="#" onclick="toggle_all_comments('expand'); + return false;">Expand All Comments</a> + [% IF user.settings.comment_box_position.value == "after_comments" && user.id %] + | <span class="bz_add_comment"><a href="#" + onclick="return goto_add_comments('bug_status_bottom');"> + Add Comment</a></span> + [% END %] + </div> + </td> + </tr> +[% END %] +<tr> <td> - [% FOREACH comment = comments %] [% IF comment.count >= start_at %] [% PROCESS a_comment %] @@ -81,21 +98,6 @@ [% Hook.process("aftercomments") %] </td> -<td> - [% IF mode == "edit" %] - <ul class="bz_collapse_expand_comments"> - <li><a href="#" onclick="toggle_all_comments('collapse'); - return false;">Collapse All Comments</a></li> - <li><a href="#" onclick="toggle_all_comments('expand'); - return false;">Expand All Comments</a></li> - [% IF user.settings.comment_box_position.value == "after_comments" && user.id %] - <li class="bz_add_comment"><a href="#" - onclick="return goto_add_comments('bug_status_bottom');"> - Add Comment</a></li> - [% END %] - </ul> - [% END %] -</td> </tr></table> [%############################################################################%] |