From 22e98a043c468441d1581a63622947ca11c0122b Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Wed, 25 Oct 2017 23:38:12 +0300
Subject: www: share for anonymous, recommend for myself
---
juick-www/src/main/webapp/WEB-INF/views/partial/message.html | 8 ++++++++
1 file changed, 8 insertions(+)
(limited to 'juick-www/src/main/webapp/WEB-INF')
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 ea8aff04..ed3e7e90 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
@@ -37,6 +37,11 @@
{% if msg.Likes > 0 %} ({{ msg.Likes }}){% endif %}
{% endif %}
+ {% else %}
+
+ {{ i18n("messages","message.recommend") }}
+ {% if msg.Likes > 0 %} ({{ msg.Likes }}){% endif %}
+
{% endif %}
{% if (visitor.uid > 0 and not msg.ReadOnly) or (visitor.uid == msg.user.uid) %}
+
{% endif %}
{% if msg.FriendsOnly %}
Открыть доступ
--
cgit v1.2.3