diff options
author | Vitaly Takmazov | 2017-10-25 23:38:12 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-10-25 23:38:12 +0300 |
commit | 22e98a043c468441d1581a63622947ca11c0122b (patch) | |
tree | 81f4e2a4c98e98a9412c0eddce2321ee8658d8e4 /juick-www | |
parent | 7bc8fb4be4c345ef1cefa43540342d2dac65f23c (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.html | 8 |
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> {{ i18n("messages","message.recommend") }} + {% if msg.Likes > 0 %} ({{ 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> {{ i18n("messages","message.comment") }} {% if msg.Replies > 0 %} ({{ msg.Replies }}){% endif %} </a> + <a href="#" class="msg-menu"> + <i data-icon="ei-link" data-size="s"></i> Share + </a> {% endif %} {% if msg.FriendsOnly %} <a href="#" class="a-privacy">Открыть доступ</a> |