mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: user_detail: add user banned hint
This commit is contained in:
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') }}">
|
||||
|
||||
Reference in new issue
Block a user