mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: domain-join: bug fixes & add i18n
Co-authored-by: panda <panda_dtdyy@outlook.com>
This commit is contained in:
1 parent
b9dbdc39ca
commit
e9c5bf5900
6 files changed
+70
-20
No files matched your search
@@ -82,7 +82,9 @@
|
||||
{%- for udoc in udocs -%}
|
||||
{% set is_disabled=(rudoc._id == handler.user._id) %}
|
||||
<input type="checkbox" data-uid="{{udoc._id}}" data-checkbox-group="user" {% if is_disabled %}disabled{% else %}data-checkbox-range{% endif %}>
|
||||
[{{udoc._id}}]{{ user.render_inline(udoc, avatar=false, badge=false) }}
|
||||
[{{udoc._id}}]{{ user.render_inline(udoc, avatar=false, badge=false) }}{% if not udoc.join %}
|
||||
<span class="text-orange">({{ _('Not joined yet') }})</span>
|
||||
{% endif %}
|
||||
{%- endfor -%}
|
||||
</div></td>
|
||||
<td>{{ role }}</td>
|
||||
@@ -101,7 +103,7 @@
|
||||
</td>
|
||||
<td class="col--user">
|
||||
{{ user.render_inline(rudoc, badge=false) }}
|
||||
{% if not joined[rudoc._id] %}<span class="text-orange">({{ _('Not joined yet') }})</span>{% endif %}
|
||||
{% if not rudoc.join %}<span class="text-orange">({{ _('Not joined yet') }})</span>{% endif %}
|
||||
</td>
|
||||
<td class="col--role">
|
||||
{{ form.select({
|
||||
|
||||
Reference in new issue
Block a user