ui: fix user_detail

This commit is contained in:
undefined committed 2021-08-01 16:23:59 +08:00
1 parent b542f92f6a
commit e8d0881082
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@hydrooj/ui-default", "name": "@hydrooj/ui-default",
"version": "4.14.7", "version": "4.14.8",
"author": "undefined <i@undefined.moe>", "author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"main": "hydro.js", "main": "hydro.js",
@@ -70,7 +70,7 @@
> >
SU SU
</span> </span>
{% else if udoc.hasPerm(perm.PERM_MOD_BADGE) %} {% elif udoc.hasPerm(perm.PERM_MOD_BADGE) %}
<span <span
class="profile-header__contact-item user-profile-badge badge--mod" class="profile-header__contact-item user-profile-badge badge--mod"
data-tooltip="{{ _('{0} is a moderator of this domain.').format(_('She' if udoc.gender == 1 else 'He')) }}" data-tooltip="{{ _('{0} is a moderator of this domain.').format(_('She' if udoc.gender == 1 else 'He')) }}"