From d7b71e38e8aea5eaadc280f84dc7134d44d0b75d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 23 Aug 2016 16:25:09 +0200 Subject: [PATCH] Don't show upvote button on own comment --- src/templates/nodes/custom/_comments.jade | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/templates/nodes/custom/_comments.jade b/src/templates/nodes/custom/_comments.jade index a5c72052..f7f02e2d 100644 --- a/src/templates/nodes/custom/_comments.jade +++ b/src/templates/nodes/custom/_comments.jade @@ -111,7 +111,9 @@ .comment-rating( class="{{#if is_rated}}rated{{/if}}{{#if is_rated_positive}} positive{{/if}}") .comment-rating-value(title="Number of likes") {{ rating }} + | {{#unless is_own}} .comment-action-rating.up(title="Like comment") + | {{/unless}} .comment-action-reply(title="Reply to this comment") span reply