From 9d98f39c728a072dec4cf5697464039912bf7a55 Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Thu, 22 Jun 2017 20:00:19 +0300
Subject: fix comment button on own messages
---
juick-www/src/main/webapp/WEB-INF/views/blog.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'juick-www/src/main/webapp/WEB-INF/views/blog.html')
diff --git a/juick-www/src/main/webapp/WEB-INF/views/blog.html b/juick-www/src/main/webapp/WEB-INF/views/blog.html
index bddaa4e5..b15d1dd4 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/blog.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/blog.html
@@ -37,7 +37,7 @@
{% else %}
{{ i18n("messages","message.recommend") }}
{% endif %}
- {% if visitor.uid > 0 and (not msg.ReadOnly or visitor.uid == msg.user.uid) %}
+ {% if (visitor.uid > 0 and not msg.ReadOnly) or (visitor.uid == msg.user.uid) %}
{% elseif visitor.uid == 0 and not msg.ReadOnly %}
{{ i18n("messages","message.comment") }}
--
cgit v1.2.3