ui: disable ban check for builtin user

pull/476/head
undefined 2 years ago
parent 5a934d8a2f
commit b606ab2852

@ -32,7 +32,7 @@
{% endif %} {% endif %}
</p> </p>
<p>{{ _('Solved {0} problems, RP: {1} (No. {2})').format(udoc.nAccept|default(0), udoc['rp']|default(0.0)|round(2), udoc['rank']|default('?')) }}</p> <p>{{ _('Solved {0} problems, RP: {1} (No. {2})').format(udoc.nAccept|default(0), udoc['rp']|default(0.0)|round(2), udoc['rank']|default('?')) }}</p>
{% if not udoc.hasPriv(PRIV.PRIV_USER_PROFILE) %} {% if udoc._id != 1 and not udoc.hasPriv(PRIV.PRIV_USER_PROFILE) %}
<p>{{ _('This user was banned.') }}</p> <p>{{ _('This user was banned.') }}</p>
{% endif %} {% endif %}
<div class="profile-header__contact-bar"> <div class="profile-header__contact-bar">

Loading…
Cancel
Save