Adjust travel page to show flights grouped by booking with booking reference and price
Closes: #152
This commit is contained in:
parent
19732a3ef1
commit
6d6e416df3
4 changed files with 65 additions and 15 deletions
|
|
@ -111,7 +111,7 @@ async def weekends() -> str:
|
|||
def travel_list() -> str:
|
||||
"""Page showing a list of upcoming travel."""
|
||||
data_dir = app.config["PERSONAL_DATA"]
|
||||
flights = agenda.trip.load_flights(data_dir)
|
||||
flights = agenda.trip.load_flight_bookings(data_dir)
|
||||
trains = [
|
||||
item
|
||||
for item in travel.parse_yaml("trains", data_dir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue