16 lines
838 B
HTML
16 lines
838 B
HTML
{% load combo i18n %}
|
|
{% if render %}
|
|
{% if render_skeleton %}
|
|
{{ skeleton }}
|
|
{% endif %}
|
|
{% 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 %}"
|
|
{% if cell.slug and cell.use_slug_as_id %}id="{{ cell.slug }}"{% 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="{{ cell.loading_message }}"
|
|
{% if cell.ajax_refresh %}data-ajax-cell-refresh="{{ cell.ajax_refresh }}"{% endif %}
|
|
{% if request.extra_context_data %}data-extra-context="{{ request.extra_context_data|signed|urlencode }}"{% endif %}
|
|
><div>{% render_cell cell %}</div></div>
|
|
{% endfor %}
|
|
{% endif %}
|