This commit is contained in:
2023-10-06 18:00:54 +03:00
parent 21b873c80d
commit 67a51c882a
10 changed files with 494 additions and 54 deletions

View File

@@ -31,19 +31,20 @@
{% endfor %}
</div>
{% with from_el=3 %}
{% include 'blocks/articles/b_news_elements.html' %}
{% endwith %}
{# boris edited #}
{% if last_block == False %}
<div class="text-align-center w-68 f-r">
{% csrf_token %}
<button class="button-find-more-routes" id="{{ last_el }}" onclick="load_routes(this,'news')">{% trans "Показать ещё 10" %}</button>
<div class="width-100 text-align-center mb-10">
<img class="loader_f_loading_routes" src="{% static "img/svg/loader.svg" %}">
<div class="block_w_paging">
{% with from_el=3 %}
{% include 'blocks/articles/b_news_elements.html' %}
{% endwith %}
{# boris edited #}
{% if last_block == False %}
<div class="text-align-center">
{% csrf_token %}
<button class="button-find-more-routes" id="{{ last_el }}" onclick="load_routes(this,'news')">{% trans "Показать ещё 10" %}</button>
<div class="width-100 text-align-center mb-10">
<img class="loader_f_loading_routes" src="{% static "img/svg/loader.svg" %}">
</div>
</div>
</div>
{% endif %}
{% endif %}
</div>
{# boris edited end#}
{% endblock %}