mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
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:
parent
618a0caec3
commit
7602cf6172
@ -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">×</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">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user