0.8.443
This commit is contained in:
@@ -114,17 +114,9 @@ function ajax_for_filter (data_d,get_url){
|
||||
}
|
||||
}
|
||||
}
|
||||
if (data.html === "\n\n\n\n\n"){
|
||||
if (data.html.includes("not_found_routes")){
|
||||
// document.querySelector(".block-finded-routes").innerHTML = "<span style='color: #ff0000;font-weight: 800;font-size: 18px;padding: 10px;'>Нечего не найдено!</span>"
|
||||
document.querySelector(".block-finded-routes").innerHTML = "<div class=\"not_found_routes show\">\n" +
|
||||
" <div class=\"text-align-center fw-700 font-large c-txt-b2 m-a w-80 m-t-8p\">\n" +
|
||||
" Упс... <span class=\"orange-text\">Ничего не найдено</span>, попробуйте\n" +
|
||||
" изменить параметры поиска или оставьте заявку\n" +
|
||||
" на перевозку посылки\n" +
|
||||
" </div>\n" +
|
||||
" <img class=\"boxes_not_fond_routes left\" src=\"/static/img/boxes_for_not_found_routes/b_1.svg\"\">\n" +
|
||||
" <img class=\"boxes_not_fond_routes right\" src=\"/static/img/boxes_for_not_found_routes/b_2.svg\"\">\n" +
|
||||
" </div>"
|
||||
document.querySelector(".block-finded-routes").innerHTML = data.html
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
<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">
|
||||
Упс... <span class="orange-text">Ничего не найдено</span>, попробуйте
|
||||
изменить параметры поиска или оставьте заявку
|
||||
на перевозку посылки
|
||||
изменить параметры поиска
|
||||
</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" %}">
|
||||
|
||||
Reference in New Issue
Block a user