From 6ef236e65a14e7a424d1312a4e1fc4788bd41e40 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 22 Oct 2017 15:50:57 +0300 Subject: www: subscribe/delete buttons --- juick-www/src/main/webapp/WEB-INF/views/thread.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'juick-www/src/main/webapp/WEB-INF') 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) %}  Share {% endif %} + {% if visitor.uid > 0 %} + {% if visitor.uid != msg.user.uid %} + {% if visitorSubscribed %} + +  {{ i18n("messages","message.subscribed") }} + + {% else %} + +  {{ i18n("messages","message.subscribe") }} + + {% endif %} + {% else %} + +  {{ i18n("messages","message.delete") }} + + {% endif %} + {% endif %} {% if msg.FriendsOnly %} Открыть доступ {% endif %} -- cgit v1.2.3