diff options
Diffstat (limited to 'extensions/EditComments/template/en/default')
-rw-r--r-- | extensions/EditComments/template/en/default/hook/bug/comments-a_comment-end.html.tmpl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/extensions/EditComments/template/en/default/hook/bug/comments-a_comment-end.html.tmpl b/extensions/EditComments/template/en/default/hook/bug/comments-a_comment-end.html.tmpl index 89249efdf..cf54c71ed 100644 --- a/extensions/EditComments/template/en/default/hook/bug/comments-a_comment-end.html.tmpl +++ b/extensions/EditComments/template/en/default/hook/bug/comments-a_comment-end.html.tmpl @@ -6,10 +6,13 @@ # defined by the Mozilla Public License, v. 2.0. #%] -[% IF Param('edit_comments_group') +[% IF comment.body != '' + && Param('edit_comments_group') && user.in_group(Param('edit_comments_group')) - && (comment.type == 0 || comment.type == 5) - && comment.body != '' + && (comment.type == constants.CMT_NORMAL + || comment.type == constants.CMT_DUPE_OF + || comment.type == constants.CMT_ATTACHMENT_CREATED + || comment.type == constants.CMT_ATTACHMENT_UPDATED) %] <span id="edit_comment_link_[% comment.count FILTER html %]"> [<a href="javascript:void(0);" id="edit_comment_edit_link_[% comment.count FILTER html %]" |