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>
</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' %}
{% endif %}
{% if forloop.counter == 10 %}
{% if forloop.counter == 15 %}
{% include 'client/includes/banners/catalog_inner.html' %}
{%endif %}
{% endfor %}

@ -109,13 +109,13 @@
</footer>
</li>
{% if forloop.counter == 5 %}
{% if forloop.counter == 8 %}
{% 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' %}
{% endif %}
{% if forloop.counter == 10 %}
{% if forloop.counter == 15 %}
{% include 'client/includes/banners/catalog_inner.html' %}
{%endif %}
{% endfor %}

Loading…
Cancel
Save