Skip to content

Commit

Permalink
[OSIS-9022] osis-async modal migration BS5
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain Boissieres committed Apr 11, 2024
1 parent d1687d1 commit 1f1bace
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions osis_async/templates/osis_async/modal_async_progress.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@
{% endif %}
>
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
{% block modal_title %}{% endblock modal_title %}
<button type="button" class="close hide-bs3-element" data-dismiss="modal">×</button>
{% block modal_title %}{% endblock modal_title %}
<button type="button" class="btn-close d-none display-bs5-element"
data-dismiss="modal" data-bs-dismiss="modal" aria-label="{% trans 'close' %}"></button>
</div>
<div class="modal-body">
<div class="progress">
Expand Down Expand Up @@ -68,7 +70,7 @@
</div>
<div class="modal-footer">
{% block modal_footer %}
<button type="button" class="btn btn-secondary" data-dismiss="modal">{% trans 'Ok' %}</button>
<button type="button" class="btn btn-primary" data-dismiss="modal" data-bs-dismiss="modal">{% trans 'Ok' %}</button>
{% endblock %}
</div>
</div>

0 comments on commit 1f1bace

Please sign in to comment.