templates/trip.html

changeset 93
53ee9e945673
parent 90
36efdea68d03
child 114
b736478416d4
--- 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 %}
 			&#127769;&nbsp;
 			{% endif %}
-			🚍
+			{% if service == 'ferry' %}
+			⛴
+			{% else %}
+			&#128653;
+			{% 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' />&nbsp;{{halt['code']}}</a></td>
+					<td><a href="../stop/{{halt['id']}}"><img src="../static/{{halt['typename']}}.png" height='24' />&nbsp;{{halt['code']}}</a></td>
 					<td><a href="../stop/{{halt['id']}}">{{halt['name']}}</a></td>
 				</tr>
 				{% endfor %}

mercurial