15 lines
629 B
HTML
15 lines
629 B
HTML
{% load i18n %}
|
|
{% block cell-content %}
|
|
{% for tile in tiles %}
|
|
{% with cell=tile.cell %}
|
|
<div class="cell {{ cell.css_class_names }} {% if cell.slug %}{{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 }}"
|
|
data-ajax-cell-error-message="{% trans "Loading error" %}"
|
|
{% if cell.ajax_refresh %}
|
|
data-ajax-cell-refresh="{{ cell.ajax_refresh }}"
|
|
{% endif %}><div>{% render_cell cell %}</div></div>
|
|
{% endwith %}
|
|
{% endfor %}
|
|
{% endblock %}
|