diff -r 6967657fced6 -r c07a77c8a070 templates/route.html --- a/templates/route.html Tue May 01 13:24:33 2018 +0300 +++ b/templates/route.html Fri May 04 21:32:16 2018 +0300 @@ -1,5 +1,7 @@ +{% from "macros.html" import route_rep, bus_stop_rep %} + @@ -11,18 +13,21 @@ - - - + + {% for stop, schedule in schedules.items() %} + + + + {% for trip in schedule %} - - - + {% endfor %} + {% endfor %}
{{tr('time', 'headings')}}{{tr('from', 'headings')}}{{tr('destination', 'headings')}}{{tr('status', 'headings')}}{{tr('trip-description', 'headings')}}
{{bus_stop_rep(stop)}} +
{{trip['time']}}{{trip['from']}}{{trip['to']}}{{trip['status']}}{{trip['description']}}