mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +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
@@ -802,6 +802,7 @@ This message will be presented to those whose submissions are accepted.: 这条
|
||||
This page needs JavaScript to work.: 这个页面需要 Javascript。
|
||||
This section cannot be challenged at present, so please complete the following sections first: 该章节目前不可挑战,请先完成以下章节
|
||||
This type of files are not allowed to be uploaded.: 不允许上传这种文件。
|
||||
This user was banned.: 此用户已被封禁。
|
||||
Time (Seconds): 耗时 (秒)
|
||||
Time Cost: 耗时
|
||||
Time Extension: 延期
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.37.16",
|
||||
"version": "4.37.17",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "hydro.js",
|
||||
|
||||
@@ -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