Better pass-midnight management

This commit is contained in:
2024-01-27 11:43:01 +01:00
parent 1192e89a01
commit 8619553a30
6 changed files with 37 additions and 38 deletions

View File

@ -41,10 +41,10 @@
<tbody>
{% for departure in next_departures %}
<tr>
<td>{{ departure.departure_time }}</td>
<td>{{ departure.pretty_departure_time }}</td>
<td>
<h3>{{ departure.trip.destination }}</h3>
{% for trip_stop in departure.trip.stop_times.all %}{% if trip_stop.stop_sequence > departure.stop_sequence %}{% if trip_stop.drop_off_type == 0 %}{{ trip_stop.stop.name }}{% if trip_stop.pickup_type == 0 %}, {% endif %}{% endif %}{% endif %}{% endfor %}
{% for trip_stop in departure.trip.stop_times.all %}{% if trip_stop.stop_sequence > departure.stop_sequence %}{% if trip_stop.drop_off_type == 0 %}{{ trip_stop.stop.name }}{% if trip_stop.stop.name != departure.trip.destination %}, {% endif %}{% endif %}{% endif %}{% endfor %}
</td>
</tr>
{% endfor %}