From 9bb8e121fdca3e0a0a93f235b569c8188ef2ed1d Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Thu, 15 Feb 2018 12:12:17 +0300
Subject: www: fix comment button link for visitors
---
.../src/main/webapp/WEB-INF/views/partial/message.html | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
(limited to 'juick-www')
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/message.html b/juick-www/src/main/webapp/WEB-INF/views/partial/message.html
index 33f0f5c6..9e3ede6c 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/partial/message.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/partial/message.html
@@ -50,7 +50,7 @@
{{ i18n("messages","message.recommend") }}
{% endif %}
- {% if (visitor.uid > 0 and not msg.ReadOnly) or (visitor.uid == msg.user.uid) %}
+ {% if (not msg.ReadOnly) or (visitor.uid == msg.user.uid) %}
- {% elseif visitor.uid == 0 and not msg.ReadOnly %}
-
-
-
- {% if msg.Replies > 0 %} {{ msg.Replies }}{% endif %}
-
- {{ i18n("messages","message.comment") }}
-
-
{% endif %}
{% if msg.FriendsOnly %}
Открыть доступ
--
cgit v1.2.3