Skip to content

Node.js based forum software built for the modern web

re-adding conditional to hide quote/reply block if no write perm

Julian Lame09132350d09
diff --git a/public/templates/topic.tpl b/public/templates/topic.tpl
index 1bb5559f4e..ec72ff958b 100644
--- a/public/templates/topic.tpl
+++ b/public/templates/topic.tpl
@@ -76,10 +76,12 @@
<!-- ENDIF posts.favourited -->
</button>
</div>
+ <!-- IF privileges.write -->
<div class="btn-group">
<button class="btn btn-sm btn-default quote" type="button" title="[[topic:quote]]"><i class="fa fa-quote-left"></i></button>
<button class="btn btn-sm btn-primary btn post_reply" type="button">[[topic:reply]] <i class="fa fa-reply"></i></button>
</div>
+ <!-- ENDIF privileges.write -->
<div class="pull-right">
<div class="btn-group post-tools">