26 lines
718 B
HTML
26 lines
718 B
HTML
{% load assets i18n %}
|
|
|
|
{% block cell-content %}
|
|
|
|
{% block cell-header %}
|
|
{% if title %}<h2>{{ title|force_escape }}</h2>{% endif %}
|
|
{% include "combo/asset_picture_fragment.html" %}
|
|
{% endblock %}
|
|
|
|
{% if card_objects %}
|
|
<div class="links-list cards-{{ cell.card_slug }} list-of-cards">
|
|
<ul>
|
|
{% for data in card_objects %}
|
|
<li>
|
|
<a href="{% if card_page_base_url %}{{ card_page_base_url }}{{ data.id }}{% else %}{{ data.url }}{% endif %}"><span class="card-title">{{ data.text }}</span></a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% include "combo/pagination.html" %}
|
|
{% else %}
|
|
<div class="cell--body"><p class="empty-message">{% trans "There are no cards." %}</p></div>
|
|
{% endif %}
|
|
|
|
{% endblock %}
|