summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/bug/comments.html.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl
index fdefa9b19..cc6bb977b 100644
--- a/template/en/default/bug/comments.html.tmpl
+++ b/template/en/default/bug/comments.html.tmpl
@@ -20,6 +20,7 @@
[% user_cache = template_cache.users %]
[% markdown_enabled = feature_enabled('jsonrpc') AND user.settings.use_markdown.value == "on" %]
[% can_edit_comments = bug.check_can_change_field('longdesc', 0, 1) %]
+[% can_tag_comments = feature_enabled('jsonrpc') AND user.can_tag_comments %]
<!-- This auto-sizes the comments and positions the collapse/expand links
to the right. -->
@@ -93,7 +94,7 @@
<span class="bz_collapsed_actions">
[% END %]
[% IF can_edit_comments %]
- [% IF user.can_tag_comments %]
+ [% IF can_tag_comments %]
[<a href="#"
onclick="YAHOO.bugzilla.commentTagging.toggle([% comment.id %], [% comment.count %]);return false">tag</a>]
[% END %]