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 }}