diff --git a/busManager/coord/templates/reports/bus_roll.html b/busManager/coord/templates/reports/bus_roll.html index 5b5aefd..b5272dd 100644 --- a/busManager/coord/templates/reports/bus_roll.html +++ b/busManager/coord/templates/reports/bus_roll.html @@ -18,11 +18,13 @@ {% for route in routes %} -

{{ route.bus.route_name }}

-

- Total Travellers: {{ route.bus.traveller_count }}
- Seating Capacity: {{ route.bus.seating_capacity }} -

+ {% if route.route_stops %} +

{{ route.bus.route_name }}

+

+ Total Travellers: {{ route.bus.traveller_count }}
+ Seating Capacity: {{ route.bus.seating_capacity }} +

+ {% endif %} {% for stop in route.route_stops %} {% if stop.page_break %}
@@ -74,7 +76,10 @@
{% endfor %} -

+ {% if route.route_stops %} +

+ {% endif %} + {% for shuttle_route in route.shuttle_routes %}

{{ shuttle_route.shuttle }}