diff options
Diffstat (limited to 'src/main/resources/templates/views')
-rw-r--r-- | src/main/resources/templates/views/partial/usercolumn.html | 2 | ||||
-rw-r--r-- | src/main/resources/templates/views/thread.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/templates/views/partial/usercolumn.html b/src/main/resources/templates/views/partial/usercolumn.html index aec72c58..70d20083 100644 --- a/src/main/resources/templates/views/partial/usercolumn.html +++ b/src/main/resources/templates/views/partial/usercolumn.html @@ -27,7 +27,7 @@ <span class="desktop">Block</span> </a> {% endif %} - {% if visitor.premium or beans.userServiceImpl.isAdminUser(visitor) %} + {% if visitor.premium or visitor.admin %} {% if isInWL %} <a href="/api/users/wl?nick={{ user.name }}" data-name={{ user.name }} class="a-vip"> <i data-icon="ei-unlock" data-size="s"></i> 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 %} |