diff options
author | Vitaly Takmazov | 2023-04-26 09:34:29 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-04-26 09:34:29 +0300 |
commit | fc5f8e888c9ccfda7d739493c439437a917b9902 (patch) | |
tree | cb89cdb606b3296ef20c97b749a50d447b0d4a70 /src/main/resources/templates/views/thread.html | |
parent | 90201606bb485988f5a85cd578f3f5b8ecddf4db (diff) |
Expose 'isAdmin' user property over API
Diffstat (limited to 'src/main/resources/templates/views/thread.html')
-rw-r--r-- | src/main/resources/templates/views/thread.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/templates/views/thread.html b/src/main/resources/templates/views/thread.html index 3974fddb..19d81d75 100644 --- a/src/main/resources/templates/views/thread.html +++ b/src/main/resources/templates/views/thread.html @@ -40,7 +40,7 @@ </div> {% endif %} <nav class="l"> - {% if visitor.uid == msg.user.uid and (msg.user.premium or beans.userServiceImpl.isAdminUser(msg.user)) %} + {% if visitor.uid == msg.user.uid and (msg.user.premium or msg.user.admin) %} <a href="/{{ msg.mid }}" class="a-privacy msg-button"> <span class="msg-button-icon"> {% if msg.friendsOnly %} |