perf:ldap sync add no user msg

This commit is contained in:
wangruidong
2024-01-18 10:55:02 +08:00
committed by Bryan
parent e509568fe5
commit 37a0d831da
5 changed files with 25 additions and 13 deletions

View File

@@ -14,9 +14,13 @@
</ul>
<b>{% trans "Synced User" %}:</b>
<ul>
{% for user in users %}
<li>{{ user }}</li>
{% endfor %}
{% if users %}
{% for user in users %}
<li>{{ user }}</li>
{% endfor %}
{% else %}
<li>{% trans 'No user synchronization required' %}</li>
{% endif %}
</ul>
{% if errors %}
<b>{% trans 'Error' %}:</b>