wcs: fix empty-message for cards (#56028)
This commit is contained in:
parent
23c3b5d066
commit
42e11b6cef
|
@ -7,6 +7,7 @@
|
|||
{% include "combo/asset_picture_fragment.html" %}
|
||||
{% endblock %}
|
||||
|
||||
{% if cards %}
|
||||
<div class="links-list cards-{{ slug }} list-of-cards">
|
||||
<ul>
|
||||
{% for data in cards %}
|
||||
|
@ -16,8 +17,9 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% if not cards %}<div class="empty-message"><p>{% trans "There are no cards." %}</p></div>{% endif %}
|
||||
{% include "combo/pagination.html" %}
|
||||
{% else %}
|
||||
<div class="cell--body"><p class="empty-message">{% trans "There are no cards." %}</p></div>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue