mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: disable ban check for builtin user
This commit is contained in:
1 parent
5a934d8a2f
commit
b606ab2852
1 file changed
+1
-1
@@ -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">
|
||||||
|
|||||||
Reference in new issue
Block a user