31 lines
1.5 KiB
HTML
31 lines
1.5 KiB
HTML
{% load static %}
|
|
<div class="container_inf_about_moving">
|
|
<div class="line_inf_about_moving">
|
|
<div class="carrier_inf_moving left">
|
|
<div>Отправка:</div>
|
|
<div class="from-to-city-text">{% if route.departure_DT %}{{ route.departure_DT|date:"l: d.m.Y." }}{% else %}Неизвестно{% endif %}</div>
|
|
|
|
</div>
|
|
<img class="arrow_inf_about_moving" src="{% static "/img/svg/arrow.svg" %}">
|
|
<div class="carrier_inf_moving right">
|
|
<div>Прибытие:</div>
|
|
<div class="from-to-city-text">{% if route.arrival_DT %}{{ route.arrival_DT|date:"l: d.m.Y." }}{% else %}Неизвестно{% endif %}</div>
|
|
|
|
</div>
|
|
<div class="clear_both"></div>
|
|
</div>
|
|
<div class="line_inf_about_moving second">
|
|
<div class="carrier_inf_moving left">
|
|
<div>Откуда заберёт:</div>
|
|
<div class="from-to-city-text">{% if route.from_place == 'airport' %}{{ route.from_airport }}{% else %}{{ route.get_from_place_display }}{% endif %}</div>
|
|
|
|
</div>
|
|
<img class="arrow_inf_about_moving" src="{% static "/img/svg/arrow.svg" %}">
|
|
<div class="carrier_inf_moving right">
|
|
<div>Куда доставит:</div>
|
|
<div class="from-to-city-text">{% if route.to_place == 'airport' %}{{ route.to_airport }}{% else %}{{ route.get_to_place_display }}{% endif %}</div>
|
|
|
|
</div>
|
|
<div class="clear_both"></div>
|
|
</div>
|
|
</div> |