--- a/templates/cluster.html Thu Dec 07 16:55:44 2017 +0200 +++ b/templates/cluster.html Mon Dec 11 12:55:00 2017 +0200 @@ -1,3 +1,4 @@ +{% from "macros.html" import route_rep %} <html> <head> <link rel="icon" type="image/png" href="../static/favicon.png" /> @@ -27,12 +28,6 @@ { text-align: left; } - /* - body - { - background: url('/static/tausta-pysäkki.png') no-repeat center center fixed; - background-size: cover; - }*/ </style> </head> <body> @@ -79,7 +74,7 @@ <a href="../stop/{{halt['stop_id']}}"><img src="../static/pysäkki.png" height="24" /> {{halt['stop_code']}}</a> </td> <td class='sarake-linja linja'> - <a href="../trip/{{halt['trip']}}">{{halt['route']}}</a> + <a href="../trip/{{halt['trip']}}">{{route_rep(halt['route-splice'])}}</a> </td> <td class='sarake-määränpää' colspan='2'> <a href="../trip/{{halt['trip']}}">{{halt['sign']}}</a>