aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF/views
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views')
-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>