aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/views/partial
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/templates/views/partial')
-rw-r--r--src/main/resources/templates/views/partial/usercolumn.html2
1 files changed, 1 insertions, 1 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>