From 34ef2f23b72ec30fce3bafd3368efd4e6a645e5b Mon Sep 17 00:00:00 2001 From: SBD Date: Thu, 16 Jan 2025 18:27:06 +0300 Subject: [PATCH] 0.0.43 w route card --- templates/v2/widgets/w_customer_route_card.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/v2/widgets/w_customer_route_card.html b/templates/v2/widgets/w_customer_route_card.html index 3f3c365..c888b53 100644 --- a/templates/v2/widgets/w_customer_route_card.html +++ b/templates/v2/widgets/w_customer_route_card.html @@ -7,10 +7,10 @@
-
{{ route.owner.username }}
+
{{ route.owner }}
{% if route.owner_type == 'customer' %}{% trans "Нужен перевозчик" %}{% else %}{% trans "Могу перевезти" %}{% endif %}
-
Тип посылки:
{{ route.get_cargo_type_display }}
+
{% trans "Тип посылки:" %}
{{ route.get_cargo_type_display }}
@@ -19,7 +19,7 @@
{% if route.comment %} - {{ route.comment }} + {{ route.comment|linebreaksbr }} {% else %} {% trans "Комментарий отсутствует" %} {% endif %} @@ -31,7 +31,7 @@
-
{{ route.from_city.name }}
+
{{ route.from_city.country.code }}
{{ route.from_city.name }}/{{ route.from_city.country.name }} @@ -62,7 +62,7 @@
-
{{ route.to_city.name }}
+
{{ route.to_city.country.code }}
{{ route.to_city.name }}/{{ route.to_city.country.name }}