From 3a087616ee778b9cd84a0d13465963c85627050a Mon Sep 17 00:00:00 2001 From: borissedw Date: Tue, 29 Aug 2023 12:27:22 +0300 Subject: [PATCH] 0.0.183 --- templates/connect_ws_js.html | 6 ++++++ templates/pages/p_results_find_route.html | 3 ++- templates/pages/profile/p_user_profile.html | 8 +++----- .../small_INCLUDES/carrier_card/inf_about_moving.html | 4 ++-- 4 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 templates/connect_ws_js.html diff --git a/templates/connect_ws_js.html b/templates/connect_ws_js.html new file mode 100644 index 0000000..e14d227 --- /dev/null +++ b/templates/connect_ws_js.html @@ -0,0 +1,6 @@ +{% load static %} + + + + + \ No newline at end of file diff --git a/templates/pages/p_results_find_route.html b/templates/pages/p_results_find_route.html index 052ca2c..f6afc44 100644 --- a/templates/pages/p_results_find_route.html +++ b/templates/pages/p_results_find_route.html @@ -9,7 +9,8 @@ {# #} - + + {% include "connect_ws_js.html" %} {% endblock %} diff --git a/templates/pages/profile/p_user_profile.html b/templates/pages/profile/p_user_profile.html index e09e66b..8c2f164 100644 --- a/templates/pages/profile/p_user_profile.html +++ b/templates/pages/profile/p_user_profile.html @@ -11,13 +11,11 @@ {# #} - - - - + - + {% include "connect_ws_js.html" %} + diff --git a/templates/small_INCLUDES/carrier_card/inf_about_moving.html b/templates/small_INCLUDES/carrier_card/inf_about_moving.html index 7765f34..822a330 100644 --- a/templates/small_INCLUDES/carrier_card/inf_about_moving.html +++ b/templates/small_INCLUDES/carrier_card/inf_about_moving.html @@ -3,13 +3,13 @@
Отправка:
-
{% if route.arrival_DT %}{{ route.arrival_DT }}{% else %}Неизвестно{% endif %}
+
{% if route.arrival_DT %}{{ route.arrival_DT|date:"l: d.m.Y." }}{% else %}Неизвестно{% endif %}
Прибытие:
-
{% if route.departure_DT %}{{ route.departure_DT }}{% else %}Неизвестно{% endif %}
+
{% if route.departure_DT %}{{ route.departure_DT|date:"l: d.m.Y." }}{% else %}Неизвестно{% endif %}