--- a/templates/trip.html Tue Apr 24 23:21:34 2018 +0300 +++ b/templates/trip.html Thu Apr 26 16:12:23 2018 +0300 @@ -56,7 +56,7 @@ <title>{{route}} {{description}}</title> </head> <body> - <table class='aikataulu' cellspacing='0'> + <table class='aikataulu service-{{service}}' cellspacing='0'> <thead> <tr> <th class='primary-heading' colspan='3'> @@ -64,7 +64,11 @@ {% if night %} 🌙 {% endif %} - 🚍 + {% if service == 'ferry' %} + ⛴ + {% else %} + 🚍 + {% endif %} </span> <span>{{route}} {{description}}</span> </th> @@ -85,7 +89,7 @@ {% for halt in entry['stops'] %} <tr> <td>{{halt['time']}}</td> - <td><a href="../stop/{{halt['id']}}"><img src='../static/{{typename}}.png' height='24' /> {{halt['code']}}</a></td> + <td><a href="../stop/{{halt['id']}}"><img src="../static/{{halt['typename']}}.png" height='24' /> {{halt['code']}}</a></td> <td><a href="../stop/{{halt['id']}}">{{halt['name']}}</a></td> </tr> {% endfor %}