From ff106a64431e6510267ab0677c41d95d555b3956 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 19 Oct 2017 16:34:02 +0300 Subject: www: new design --- .../main/webapp/WEB-INF/views/partial/message.html | 34 ++++++++++++---------- 1 file changed, 19 insertions(+), 15 deletions(-) (limited to 'juick-www/src/main/webapp/WEB-INF/views/partial/message.html') 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 c0d345ba..72e5cce0 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 @@ -6,7 +6,6 @@
{{ msg.user.name }}
-
{{ i18n("messages","message.recommend") }} + +  {{ i18n("messages","message.recommend") }} + {% if msg.Likes > 0 %} ({{ msg.Likes }}){% endif %} + {% else %} - {{ i18n("messages","message.recommend") }} + +  {{ i18n("messages","message.recommend") }} + {% if msg.Likes > 0 %} ({{ msg.Likes }}){% endif %} + {% endif %} {% endif %} {% if (visitor.uid > 0 and not msg.ReadOnly) or (visitor.uid == msg.user.uid) %} - {{ i18n("messages","message.comment") }} + +  {{ i18n("messages","message.comment") }} + {% if msg.Replies > 0 %} ({{ msg.Replies }}){% endif %} + + +  Share + {% elseif visitor.uid == 0 and not msg.ReadOnly %} - {{ i18n("messages","message.comment") }} + +  {{ i18n("messages","message.comment") }} + {% if msg.Replies > 0 %} ({{ msg.Replies }}){% endif %} + {% endif %} {% if msg.FriendsOnly %} Открыть доступ @@ -47,14 +61,4 @@ x {% endif %} - \ No newline at end of file -- cgit v1.2.3