summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/comments.html.tmpl
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-08-06 17:00:35 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2015-08-06 17:00:35 +0200
commitffe87c77a303fc2de6cec14f4fc0990e5611f040 (patch)
tree7462fba1e2b137da0e71247263bd5d0c98554c3b /template/en/default/bug/comments.html.tmpl
parent684bee48e1356c46aee7c1366c6ac03629528231 (diff)
downloadbugzilla-ffe87c77a303fc2de6cec14f4fc0990e5611f040.tar.gz
bugzilla-ffe87c77a303fc2de6cec14f4fc0990e5611f040.tar.xz
Bug 1183227: Comment tagging doesn't work if Test::Taint is not installed
r=gerv a=dkl
Diffstat (limited to 'template/en/default/bug/comments.html.tmpl')
-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 %]