diff options
Diffstat (limited to 'juick-www/src')
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/thread.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/thread.html b/juick-www/src/main/webapp/WEB-INF/views/thread.html index f7093e0a..a6dd04b3 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/thread.html +++ b/juick-www/src/main/webapp/WEB-INF/views/thread.html @@ -48,6 +48,23 @@ {% if (visitor.uid > 0 and not msg.ReadOnly) or (visitor.uid == msg.user.uid) %} <a href="#" class="msg-menu"><i data-icon="ei-link" data-size="s"></i> Share</a> {% endif %} + {% if visitor.uid > 0 %} + {% if visitor.uid != msg.user.uid %} + {% if visitorSubscribed %} + <a href="/post?body=U+%23{{ msg.mid }}"> + <i data-icon="ei-check" data-size="s"></i> {{ i18n("messages","message.subscribed") }} + </a> + {% else %} + <a href="/post?body=S+%23{{ msg.mid }}"> + <i data-icon="ei-plus" data-size="s"></i> {{ i18n("messages","message.subscribe") }} + </a> + {% endif %} + {% else %} + <a href="/post?body=D+%23{{ msg.mid }}"> + <i data-icon="ei-close" data-size="s"></i> {{ i18n("messages","message.delete") }} + </a> + {% endif %} + {% endif %} {% if msg.FriendsOnly %} <a href="#" class="a-privacy">Открыть доступ</a> {% endif %} |