diff options
author | Vitaly Takmazov | 2023-04-26 09:11:53 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-04-26 09:12:11 +0300 |
commit | 90201606bb485988f5a85cd578f3f5b8ecddf4db (patch) | |
tree | 009e6691d9b32e1cb8605592fcaeed2b8e90977a /src/main/resources/templates/views/thread.html | |
parent | bd521d4b86f9b3b16caaba714d04e05c2f288847 (diff) |
Expose `friendsOnly` message property over API
Diffstat (limited to 'src/main/resources/templates/views/thread.html')
-rw-r--r-- | src/main/resources/templates/views/thread.html | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ <a href="/{{ msg.user.name }}/"><span>{{ msg.user.name }}</span>{% if msg.user.premium %}<span style="color: green;"><i data-icon="ei-star" data-size="s"></i></span>{% endif %}</a> </span> <div class="msg-ts"> - {% if msg.FriendsOnly %} + {% if msg.friendsOnly %} <i data-icon="ei-lock" data-size="s"></i> · {% endif %} <a href="/{{ msg.user.name }}/{{ msg.mid }}"> @@ -43,7 +43,7 @@ {% if visitor.uid == msg.user.uid and (msg.user.premium or beans.userServiceImpl.isAdminUser(msg.user)) %} <a href="/{{ msg.mid }}" class="a-privacy msg-button"> <span class="msg-button-icon"> - {% if msg.FriendsOnly %} + {% if msg.friendsOnly %} <i data-icon="ei-unlock" data-size="s"></i> <span> {{ i18n("messages","message.unlock") }}</span> {% else %} |