We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e478b8 commit 9465a77Copy full SHA for 9465a77
extensions/EditComments/template/en/default/hook/bug/comments-a_comment-end.html.tmpl
@@ -6,10 +6,13 @@
6
# defined by the Mozilla Public License, v. 2.0.
7
#%]
8
9
-[% IF Param('edit_comments_group')
+[% IF comment.body != ''
10
+ && Param('edit_comments_group')
11
&& user.in_group(Param('edit_comments_group'))
- && (comment.type == 0 || comment.type == 5)
12
- && comment.body != ''
+ && (comment.type == constants.CMT_NORMAL
13
+ || comment.type == constants.CMT_DUPE_OF
14
+ || comment.type == constants.CMT_ATTACHMENT_CREATED
15
+ || comment.type == constants.CMT_ATTACHMENT_UPDATED)
16
%]
17
<span id="edit_comment_link_[% comment.count FILTER html %]">
18
[<a href="javascript:void(0);" id="edit_comment_edit_link_[% comment.count FILTER html %]"
0 commit comments