pdnew/themes/default/templates/renderable/listing.html

22 lines
533 B
HTML
Raw Permalink Normal View History

2024-06-11 09:54:12 +00:00
<div class="{{ content.css_classes }} mode-{{ mode }}">
2024-04-12 19:22:00 +00:00
{% if content.pagination %}
{{ content.pagination.render() }}
{% endif %}
2024-06-11 09:54:12 +00:00
{% if content.items|length == 0 %}
<span class="noitems">No items in this listing.</span>
{% else %}
<ul>
{% for item in content.items %}
<li>{{ item.render(content.mode) }}</li>
{% endfor %}
</ul>
{% endif %}
{% if content.pagination %}
{{ content.pagination.render() }}
{% endif %}
2024-04-12 19:22:00 +00:00
</div>