diff --git a/templates/blocks/profile/b_my_routes.html b/templates/blocks/profile/b_my_routes.html index 459d9cf..f0637e9 100644 --- a/templates/blocks/profile/b_my_routes.html +++ b/templates/blocks/profile/b_my_routes.html @@ -1,3 +1,15 @@ -
+{% load static %} +{% load i18n %} + +
{% include 'blocks/routes/b_my_routes_list.html' %} -
\ No newline at end of file +
+ +{% if last_block == False and next_page_els_count %} +
+ +
+ +
+
+{% endif %} \ No newline at end of file diff --git a/templates/widgets/routes/w_my_route.html b/templates/widgets/routes/w_my_route.html index c7a90d9..d121ffb 100644 --- a/templates/widgets/routes/w_my_route.html +++ b/templates/widgets/routes/w_my_route.html @@ -2,7 +2,17 @@ {% load i18n %} -
+{% if route.departure_DT %} + {% with current_datetime=route.from_city.get_current_datetime %} + {% with departure_datetime=route.departure_DT %} + {% if current_datetime|date:"Y-m-d H:i:s" > departure_datetime|date:"Y-m-d H:i:s" %} +
+ {% else %} +
+ {% endif %} + {% endwith %} + {% endwith %} +{% endif %} {#
#}
{#
#} diff --git a/templates/widgets/w_carrier_card.html b/templates/widgets/w_carrier_card.html index 3b38553..9e66988 100644 --- a/templates/widgets/w_carrier_card.html +++ b/templates/widgets/w_carrier_card.html @@ -148,7 +148,7 @@
-