aboutsummaryrefslogtreecommitdiff
path: root/juick-www
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-10-25 23:38:12 +0300
committerGravatar Vitaly Takmazov2017-10-25 23:38:12 +0300
commit22e98a043c468441d1581a63622947ca11c0122b (patch)
tree81f4e2a4c98e98a9412c0eddce2321ee8658d8e4 /juick-www
parent7bc8fb4be4c345ef1cefa43540342d2dac65f23c (diff)
www: share for anonymous, recommend for myself
Diffstat (limited to 'juick-www')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/partial/message.html8
1 files changed, 8 insertions, 0 deletions
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 %}
</a>
{% endif %}
+ {% else %}
+ <a href="/{{ msg.mid }}" class="a-like">
+ <i data-icon="ei-heart" data-size="s"></i>&nbsp;{{ i18n("messages","message.recommend") }}
+ {% if msg.Likes > 0 %}&nbsp;({{ msg.Likes }}){% endif %}
+ </a>
{% endif %}
{% if (visitor.uid > 0 and not msg.ReadOnly) or (visitor.uid == msg.user.uid) %}
<a href="/{{ msg.mid }}" class="a-comment">
@@ -51,6 +56,9 @@
<i data-icon="ei-comment" data-size="s"></i>&nbsp;{{ i18n("messages","message.comment") }}
{% if msg.Replies > 0 %}&nbsp;({{ msg.Replies }}){% endif %}
</a>
+ <a href="#" class="msg-menu">
+ <i data-icon="ei-link" data-size="s"></i>&nbsp;Share
+ </a>
{% endif %}
{% if msg.FriendsOnly %}
<a href="#" class="a-privacy">Открыть доступ</a>