t94: сменил порядок вывода рекламы

remotes/origin/t90_expo_page
Slava Kyrachevsky 9 years ago
parent 9b3e54a490
commit b94c2357f9
  1. 4
      templates/client/includes/conference/conference_list.html
  2. 6
      templates/client/includes/exposition/exposition_list.html

@ -108,11 +108,11 @@
</footer> </footer>
</li> </li>
{% if forloop.counter == 5 or objects|length < 5 %} {% if forloop.counter == 8 or objects|length < 8 %}
{% include 'client/includes/banners/catalog_inner_2.html' %} {% include 'client/includes/banners/catalog_inner_2.html' %}
{% endif %} {% endif %}
{% if forloop.counter == 10 %} {% if forloop.counter == 15 %}
{% include 'client/includes/banners/catalog_inner.html' %} {% include 'client/includes/banners/catalog_inner.html' %}
{%endif %} {%endif %}
{% endfor %} {% endfor %}

@ -109,13 +109,13 @@
</footer> </footer>
</li> </li>
{% if forloop.counter == 5 %} {% if forloop.counter == 8 %}
{% include 'client/includes/banners/catalog_inner_2.html' %} {% include 'client/includes/banners/catalog_inner_2.html' %}
{% elif forloop.last and objects|length < 5 %} {% elif forloop.last and objects|length < 8 %}
{% include 'client/includes/banners/catalog_inner_2.html' %} {% include 'client/includes/banners/catalog_inner_2.html' %}
{% endif %} {% endif %}
{% if forloop.counter == 10 %} {% if forloop.counter == 15 %}
{% include 'client/includes/banners/catalog_inner.html' %} {% include 'client/includes/banners/catalog_inner.html' %}
{%endif %} {%endif %}
{% endfor %} {% endfor %}

Loading…
Cancel
Save