diff --git a/static/css/styles(boris).css b/static/css/styles(boris).css index fd130d3..9ee83cf 100644 --- a/static/css/styles(boris).css +++ b/static/css/styles(boris).css @@ -778,7 +778,7 @@ display: inline-block; /*width: 5%;*/ margin-bottom: 4px; - margin-left: 6px; + margin-left: 9px; } .container_inf_about_moving{ @@ -788,12 +788,12 @@ .carrier_inf_moving.left{ - width: 50%; + width: 41%; float: left; text-align: left; } .carrier_inf_moving.right{ - width: 50%; + width: 41%; float: right; text-align: right; } @@ -934,4 +934,10 @@ font-size: 14px; color: #27242499; padding-top: 10px; +} + +.arrow_inf_about_moving{ + position: relative; + top: 19px; + left: 18px; } \ No newline at end of file diff --git a/static/img/svg/arrow.svg b/static/img/svg/arrow.svg new file mode 100644 index 0000000..f1df9b1 --- /dev/null +++ b/static/img/svg/arrow.svg @@ -0,0 +1,3 @@ + + + diff --git a/templates/small_INCLUDES/carrier_card/inf_about_moving.html b/templates/small_INCLUDES/carrier_card/inf_about_moving.html index 28b7be8..091f189 100644 --- a/templates/small_INCLUDES/carrier_card/inf_about_moving.html +++ b/templates/small_INCLUDES/carrier_card/inf_about_moving.html @@ -6,7 +6,7 @@
{% if route.arrival_DT %}{{ route.arrival_DT }}{% else %}Неизвестно{% endif %}
- +
Прибытие:
{% if route.departure_DT %}{{ route.departure_DT }}{% else %}Неизвестно{% endif %}
@@ -16,14 +16,14 @@
-
Отправка:
-
{% if route.from_city %}{{ route.from_city }}{% else %}Неизвестно{% endif %} / {% if route.from_airport %}{{ route.from_airport }}{% else %}Неизвестно{% endif %}
+
Откуда заберёт:
+
{% if route.type_transport == 'avia' %}{{ route.from_airport }}{% else %}{{ route.get_from_place_display }}{% endif %}
- +
-
Прибытие:
-
{% if route.to_city %}{{ route.to_city }}{% else %}Неизвестно{% endif %} / {% if to.from_airport %}{{ route.to_airport }}{% else %}Неизвестно{% endif %}
+
Куда доставит:
+
{% if route.type_transport == 'avia' %}{{ route.to_airport }}{% else %}{{ route.get_to_place_display }}{% endif %}