From 2f4cac371521094e61dd99067b9ed2329cc9f8d9 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 31 Jan 2020 16:06:20 +0300 Subject: Action panel styling --- .../resources/templates/views/partial/message.html | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'src/main/resources/templates/views/partial') diff --git a/src/main/resources/templates/views/partial/message.html b/src/main/resources/templates/views/partial/message.html index 8b8670ce..132d1ea2 100644 --- a/src/main/resources/templates/views/partial/message.html +++ b/src/main/resources/templates/views/partial/message.html @@ -7,6 +7,9 @@ {{ msg.user.name }}
+ {% if msg.FriendsOnly %} + · + {% endif %} - {% if msg.likes > 0 %} {{ msg.likes }}{% endif %} + {% if msg.likes > 0 %} + {{ msg.likes }} + {% else %} +  {{ i18n("messages","message.recommend") }} + {% endif %} -  {{ i18n("messages","message.recommend") }} + {% endif %} {% if (not msg.ReadOnly) or (visitor.uid == msg.user.uid) %} @@ -65,17 +72,12 @@ {% else %} {{ msg.Replies }} {% endif %} + {% else %} +  {{ i18n("messages","message.comment") }} {% endif %} -  {{ i18n("messages","message.comment") }} - - - -  {{ i18n("messages","message.share") }} + {% endif %} - {% if msg.FriendsOnly %} - Открыть доступ - {% endif %} \ No newline at end of file -- cgit v1.2.3