Moved roll some context to bus object
Added first_name to traveller ordering
This commit is contained in:
@@ -18,15 +18,15 @@
|
||||
</style>
|
||||
|
||||
{% for route in routes %}
|
||||
<h1 style="font-size: 2.5em">{{ route.route_name }}</h1>
|
||||
<h1 style="font-size: 2.5em">{{ route.bus.route_name }}</h1>
|
||||
<p style="text-align:right; font-size:12px">
|
||||
Total Travellers: {{ route.traveller_count }}<br>
|
||||
Seating Capacity: {{ route.seating_capacity }}
|
||||
Seating Capacity: {{ route.bus.seating_capacity }}
|
||||
</p>
|
||||
{% for stop in route.route_stops %}
|
||||
{% if stop.page_break %}
|
||||
<div style="page-break-before: always"></div>
|
||||
<h1 style="font-size: 2.5em">{{ route.route_name }}</h1>
|
||||
<h1 style="font-size: 2.5em">{{ route.bus.route_name }}</h1>
|
||||
{% endif %}
|
||||
<table class="stopHeader">
|
||||
<tr>
|
||||
@@ -79,7 +79,7 @@
|
||||
<h1 style="font-size: 2.5em">{{ route.route_name }} (Shuttle)</h1>
|
||||
<p style="text-align:right; font-size:12px">
|
||||
Total Travellers: {{ route.shuttle_count }}<br>
|
||||
Seating Capacity: {{ route.seating_capacity }}
|
||||
Seating Capacity: {{ route.bus.seating_capacity }}
|
||||
</p>
|
||||
<table class="traveller">
|
||||
{% for traveller in route.shuttle_travellers %}
|
||||
|
||||
Reference in New Issue
Block a user