feat: add empty message for all management pages

This commit is contained in:
Herculino Trotta
2024-11-04 21:44:06 -03:00
parent d4006264be
commit 395578e558
9 changed files with 37 additions and 0 deletions
@@ -5,6 +5,7 @@
{% else %}
<div class="card-body show-loading" hx-get="{% url 'exchange_rates_list_pair' %}" hx-trigger="updated from:window" hx-swap="outerHTML">
{% endif %}
{% if exchange_rates %}
<div class="table-responsive">
<table class="table table-hover">
<thead>
@@ -50,4 +51,7 @@
</tbody>
</table>
</div>
{% else %}
<c-msg.empty title="{% translate "No exchange rates" %}" :remove-padding="True"></c-msg.empty>
{% endif %}
</div>