Add bus journeys.
This commit is contained in:
parent
960b4a1fc7
commit
3a786c4b04
2 changed files with 45 additions and 4 deletions
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
{% block title %}{{ trip.title }} ({{ display_date(trip.start) }}) - Edward Betts{% endblock %}
|
||||
|
||||
{% from "macros.html" import trip_link, display_datetime, display_date_no_year, display_date, conference_row, accommodation_row, flight_row, train_row, ferry_row, coach_row with context %}
|
||||
{% from "macros.html" import trip_link, display_datetime, display_date_no_year, display_date, conference_row, accommodation_row, flight_row, train_row, ferry_row, coach_row, bus_row with context %}
|
||||
|
||||
{% set row = {"flight": flight_row, "train": train_row, "ferry": ferry_row, "coach": coach_row} %}
|
||||
{% set row = {"flight": flight_row, "train": train_row, "ferry": ferry_row, "coach": coach_row, "bus": bus_row} %}
|
||||
|
||||
{% macro next_and_previous() %}
|
||||
<p>
|
||||
|
|
@ -271,7 +271,7 @@
|
|||
{{ item.from }}
|
||||
→
|
||||
{{ item.to }}
|
||||
{% elif item.type == "coach" %}
|
||||
{% elif item.type == "coach" or item.type == "bus" %}
|
||||
🚌
|
||||
{{ item.from }}
|
||||
→
|
||||
|
|
@ -322,7 +322,7 @@
|
|||
</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% elif item.type == "coach" %}
|
||||
{% elif item.type == "coach" or item.type == "bus" %}
|
||||
<div>
|
||||
{{ display_datetime(item.depart) }}
|
||||
→
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue