fix paths

Tue, 01 May 2018 13:24:33 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Tue, 01 May 2018 13:24:33 +0300
changeset 97
6967657fced6
parent 96
5acbf5a81383
child 98
c07a77c8a070

fix paths

templates/interesting.html file | annotate | diff | comparison | revisions
--- a/templates/interesting.html	Tue May 01 13:23:59 2018 +0300
+++ b/templates/interesting.html	Tue May 01 13:24:33 2018 +0300
@@ -51,13 +51,13 @@
 			<td class='sarake-aika'>
 				{{entry['departure'].strftime('%H:%M')}}</td>
 			<td class='sarake-pysäkki'>
-				<a href="../stop/{{entry['stop'].code}}"><img src="../static/{{entry['stop'].typename}}.png" height="24" /> <span class='stop-code'>{{entry['stop'].code}} </span><br /><span class='stop-name'>{{entry['stop'].name}}</span></a>
+				<a href="./stop/{{entry['stop'].code}}"><img src="./static/{{entry['stop'].typename}}.png" height="24" /> <span class='stop-code'>{{entry['stop'].code}} </span><br /><span class='stop-name'>{{entry['stop'].name}}</span></a>
 			</td>
 			<td class='sarake-linja linja'>
-				<a href="../trip/{{entry['trip']}}">{{entry['route']}}</a>
+				<a href="./trip/{{entry['trip']}}">{{entry['route']}}</a>
 			</td>
 			<td class='sarake-määränpää' colspan='2'>
-				<a href="../trip/{{entry['trip']}}">{{entry['description']}}</a>
+				<a href="./trip/{{entry['trip']}}">{{entry['description']}}</a>
 			</td>
 		</tr>
 	{% endfor %}

mercurial