{% load static %}
{% load i18n %}

<div class="block-finded-routes">
    <div class="width-100 text-align-center container_loader_filters_routes {% if routes %}mb-10{% endif %}">
        <img class="loader_filters_routes" src="{% static "img/svg/loader.svg" %}">
    </div>
    {% if not routes %}
{#        <span style='color: #ff0000;font-weight: 800;font-size: 18px;padding: 10px;'>Нечего не найдено!</span>#}
        <div class="not_found_routes show">
            <div class="text-align-center fw-700 font-large c-txt-b2 m-a w-80 m-t-8p">
                {% blocktranslate %}
                        Упс... <span class="orange-text">Ничего не найдено</span>, попробуйте
                        изменить параметры поиска <span class="orange-text"> или создайте своё собственное объявление </span>
                {% endblocktranslate %}




            {% if user.is_authenticated %}
                 <a
                 id="create_route"
                         {% if owner_type == "mover" %}
                            href="{% url 'profile_page' 'create_route_for_customer' %}"
                         {% elif owner_type == "customer" %}
                            href="{% url 'profile_page' 'create_route_for_mover' %}"
                         {% endif %}
                             >
                 {% translate "Создать объявление" %}

                 </a>
            {% endif %}

            {% if not user.is_authenticated %}
               <a
                        id="create_route"
                        href="{% url "login_profile" %}"
                   >
                     {% translate " Войти и Создать объявление" %}

               </a>

            {% endif %}

            </div>
            <img class="boxes_not_fond_routes left" src="{% static "/img/boxes_for_not_found_routes/b_1.svg" %}">
            <img class="boxes_not_fond_routes right" src="{% static "/img/boxes_for_not_found_routes/b_2.svg" %}">
        </div>
    {% endif %}


    <div class="page_paging_elements_1">
        {% include "blocks/b_search_routes.html" %}
    </div>
    <div class="page_paging_elements_2">

    </div>


</div>