ui: users: Fix close button for confirmation dialog for Bootstrap 5

- Also place the body content in <p> for improved semantics and suggested by
Bootstrap.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa 2024-11-15 16:37:58 -08:00 committed by Veiko Aasa
parent 618a0caec3
commit 7602cf6172
No known key found for this signature in database
GPG Key ID: 478539CAE680674E

View File

@ -42,17 +42,18 @@
Delete user <em>{{ username }}</em> and all the user's files?
{% endblocktrans %}
</h5>
<button type="button" class="close" data-bs-dismiss="modal"
<button type="button" class="btn-close" data-bs-dismiss="modal"
aria-label="{% trans 'Close' %}">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
{% blocktrans trimmed %}
Deleting a user account also removes all the files user's home
directory. If you wish to keep these files, disable the user account
instead.
{% endblocktrans %}
<p>
{% blocktrans trimmed %}
Deleting a user account also removes all the files user's home
directory. If you wish to keep these files, disable the user
account instead.
{% endblocktrans %}
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger confirm">