]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1183227: Comment tagging doesn't work if Test::Taint is not installed
authorFrédéric Buclin <LpSolit@gmail.com>
Thu, 6 Aug 2015 15:00:35 +0000 (17:00 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 6 Aug 2015 15:00:35 +0000 (17:00 +0200)
r=gerv a=dkl

template/en/default/bug/comments.html.tmpl

index fdefa9b199b9dcf70c8d365a07464304d3d99e95..cc6bb977bb4ed0ca4b58a290fb8ffced79c97dc1 100644 (file)
@@ -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 %]