From 90201606bb485988f5a85cd578f3f5b8ecddf4db Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 26 Apr 2023 09:11:53 +0300 Subject: Expose `friendsOnly` message property over API --- src/main/resources/templates/views/partial/message.html | 2 +- src/main/resources/templates/views/thread.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/resources') diff --git a/src/main/resources/templates/views/partial/message.html b/src/main/resources/templates/views/partial/message.html index e9ddd3db..219b1b1a 100644 --- a/src/main/resources/templates/views/partial/message.html +++ b/src/main/resources/templates/views/partial/message.html @@ -7,7 +7,7 @@ {{ msg.user.name }}
- {% if msg.FriendsOnly %} + {% if msg.friendsOnly %} · {% endif %} diff --git a/src/main/resources/templates/views/thread.html b/src/main/resources/templates/views/thread.html index 819a627e..3974fddb 100644 --- a/src/main/resources/templates/views/thread.html +++ b/src/main/resources/templates/views/thread.html @@ -12,7 +12,7 @@ {{ msg.user.name }}{% if msg.user.premium %}{% endif %}
- {% if msg.FriendsOnly %} + {% if msg.friendsOnly %} · {% endif %} @@ -43,7 +43,7 @@ {% if visitor.uid == msg.user.uid and (msg.user.premium or beans.userServiceImpl.isAdminUser(msg.user)) %} - {% if msg.FriendsOnly %} + {% if msg.friendsOnly %}  {{ i18n("messages","message.unlock") }} {% else %} -- cgit v1.2.3