ui: user_detail: add user banned hint

This commit is contained in:
undefined committed 2022-05-30 21:39:14 +08:00
1 parent 84569a79b9
commit cbd5db1ecf
3 files changed
+5 -1

No files matched your search

@@ -32,6 +32,9 @@
{% endif %}
</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) %}
<p>{{ _('This user was banned.') }}</p>
{% endif %}
<div class="profile-header__contact-bar">
{% if isSelfProfile %}
<a class="profile-header__contact-item" href="{{ url('home_settings', category='account') }}" data-tooltip="{{ _('Edit Profile') }}">