15 lines
641 B
HTML
15 lines
641 B
HTML
{% load combo i18n %}
|
|
{% if render %}
|
|
{% for cell in cells %}
|
|
<div class="cell {{ cell.css_class_names }} {% if cell.slug %}{{cell.slug}}{% endif %} {% if cell|shown_because_admin:request %}shown-because-admin{% endif %}"
|
|
data-ajax-cell-url="{{ site_base }}{% url 'combo-public-ajax-page-cell' page_pk=cell.page.id cell_reference=cell.get_reference %}"
|
|
data-ajax-cell-loading-message="{% trans "Loading..." %}"
|
|
{% if cell.ajax_refresh %}
|
|
data-ajax-cell-refresh="{{ cell.ajax_refresh }}"
|
|
{% endif %}><div>{% render_cell cell %}</div></div>
|
|
{% endfor %}
|
|
{% if render_skeleton %}
|
|
{{ skeleton }}
|
|
{% endif %}
|
|
{% endif %}
|