forked from rc/aircox
cfr #121 Co-authored-by: Christophe Siraut <d@tobald.eu.org> Co-authored-by: bkfox <thomas bkfox net> Co-authored-by: Thomas Kairos <thomas@bkfox.net> Reviewed-on: rc/aircox#131 Co-authored-by: Chris Tactic <ctactic@noreply.git.radiocampus.be> Co-committed-by: Chris Tactic <ctactic@noreply.git.radiocampus.be>
32 lines
754 B
HTML
32 lines
754 B
HTML
{% extends "./public.html" %}
|
|
|
|
{% comment %}Display a list of BasePages{% endcomment %}
|
|
{% load i18n aircox %}
|
|
|
|
{% block main %}
|
|
{{ block.super }}
|
|
|
|
{% block list-container %}
|
|
<section class="container clear-both list grid {{ list_class|default:"" }}" role="list">
|
|
{% block list %}
|
|
{% with has_headline=True %}
|
|
{% for object in object_list %}
|
|
{% block list_object %}
|
|
{% page_widget item_widget|default:"item" object %}
|
|
{% endblock %}
|
|
{% empty %}
|
|
{% blocktranslate %}There is nothing published here...{% endblocktranslate %}
|
|
{% endfor %}
|
|
{% endwith %}
|
|
{% endblock %}
|
|
</section>
|
|
|
|
{% block list-pagination %}
|
|
{% include "./widgets/list_pagination.html" %}
|
|
{% endblock %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
{% endblock %}
|