aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-08-06 17:01:57 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2015-08-06 17:01:57 +0200
commit568c9330ed8cfef997ac0c75b5df6ecfbb30d7b7 (patch)
tree43d82ce50b57c074006796e4a5c38902950c60f7
parent6f616e1306bf385d0f8e1190c1a02aa957e1ca89 (diff)
downloadbugs-568c9330ed8cfef997ac0c75b5df6ecfbb30d7b7.tar
bugs-568c9330ed8cfef997ac0c75b5df6ecfbb30d7b7.tar.gz
bugs-568c9330ed8cfef997ac0c75b5df6ecfbb30d7b7.tar.bz2
bugs-568c9330ed8cfef997ac0c75b5df6ecfbb30d7b7.tar.xz
bugs-568c9330ed8cfef997ac0c75b5df6ecfbb30d7b7.zip
Bug 1183227: Comment tagging doesn't work if Test::Taint is not installed
r=gerv a=dkl
-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 f4f79ec5c..931716f76 100644
--- a/template/en/default/bug/comments.html.tmpl
+++ b/template/en/default/bug/comments.html.tmpl
@@ -47,6 +47,7 @@
[% DEFAULT mode = "show" %]
[% user_cache = template_cache.users %]
[% 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. -->
@@ -120,7 +121,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 %]