diff options
author | mkanat%bugzilla.org <> | 2009-12-13 22:47:33 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-12-13 22:47:33 +0000 |
commit | fb364fe62e0733e9c593db8dd826be94c7d980db (patch) | |
tree | 9156517c8845f5fe6a04ce3bab996bb7dfd69db9 /template/en/default/bug/comments.html.tmpl | |
parent | Fix a compile error in Bugzilla::Install::DB from the last checkin. (diff) | |
download | bugzilla-fb364fe62e0733e9c593db8dd826be94c7d980db.tar.gz bugzilla-fb364fe62e0733e9c593db8dd826be94c7d980db.tar.bz2 bugzilla-fb364fe62e0733e9c593db8dd826be94c7d980db.zip |
Bug 524254: Make the comment box in bug/edit.html.tmpl into a BLOCK
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'template/en/default/bug/comments.html.tmpl')
-rw-r--r-- | template/en/default/bug/comments.html.tmpl | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index 9a04b7147..41b91d79a 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -120,11 +120,10 @@ [% END %] [% END %] -[% IF mode == "edit" %] - <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> - <hr> -[% 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> +<td> [% FOREACH comment = comments %] [% IF count >= start_at %] @@ -139,6 +138,19 @@ #%] [% 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> + </ul> + [% END %] +</td> +</tr></table> + [%############################################################################%] [%# Block for individual comments #%] [%############################################################################%] |