summaryrefslogtreecommitdiffstats
path: root/extensions/RestrictComments
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-03-06 16:47:04 +0100
committerByron Jones <bjones@mozilla.com>2013-03-06 16:47:04 +0100
commit2c53285132b9fe28ac3c25a2ea938aad85e32b0a (patch)
treecf4bb4b660f9ecbf254e9caac365d42b0274f543 /extensions/RestrictComments
parentb2bcbe3be2168701ae9e85bdd75fd0d2c22fa873 (diff)
downloadbugzilla-2c53285132b9fe28ac3c25a2ea938aad85e32b0a.tar.gz
bugzilla-2c53285132b9fe28ac3c25a2ea938aad85e32b0a.tar.xz
Bug 848290: 'restrict comments' checkbox isn't aligned with the 'need info' checkbox
Diffstat (limited to 'extensions/RestrictComments')
-rw-r--r--extensions/RestrictComments/template/en/default/hook/bug/edit-after_comment_commit_button.html.tmpl25
1 files changed, 15 insertions, 10 deletions
diff --git a/extensions/RestrictComments/template/en/default/hook/bug/edit-after_comment_commit_button.html.tmpl b/extensions/RestrictComments/template/en/default/hook/bug/edit-after_comment_commit_button.html.tmpl
index 0cc24e289..c5250c8c2 100644
--- a/extensions/RestrictComments/template/en/default/hook/bug/edit-after_comment_commit_button.html.tmpl
+++ b/extensions/RestrictComments/template/en/default/hook/bug/edit-after_comment_commit_button.html.tmpl
@@ -9,13 +9,18 @@
[% RETURN UNLESS user.in_group(Param('restrict_comments_enable_group')) %]
-<div>
- <input type="checkbox" name="restrict_comments" id="restrict_comments"
- [% " checked" IF bug.restrict_comments %]>
- <label for="restrict_comments">
- Restrict commenting on this [% terms.bug %] to users in the
- <b>[% Param('restrict_comments_group') FILTER html %]</b> group.
- </label>
- (<a href="page.cgi?id=restrict_comments_guidelines.html"
- target="_blank">guidelines</a>)
-</div>
+[%# using a table to match alignment of the needinfo checkboxes %]
+<table>
+<tr>
+ <td>
+ <input type="checkbox" name="restrict_comments" id="restrict_comments"
+ [% " checked" IF bug.restrict_comments %]>
+ <label for="restrict_comments">
+ Restrict commenting on this [% terms.bug %] to users in the
+ <b>[% Param('restrict_comments_group') FILTER html %]</b> group.
+ </label>
+ (<a href="page.cgi?id=restrict_comments_guidelines.html"
+ target="_blank">guidelines</a>)
+ </td>
+</tr>
+</table>