# HG changeset patch # User Teemu Piippo # Date 1536868061 -10800 # Node ID 24f5faf6237f0032aba96b1239920992507ec8f8 # Parent e7174afc61212b05bf9421a174e45c0e89b09fb9 fix paths diff -r e7174afc6121 -r 24f5faf6237f templates/trip.html --- a/templates/trip.html Thu Sep 13 22:46:20 2018 +0300 +++ b/templates/trip.html Thu Sep 13 22:47:41 2018 +0300 @@ -1,7 +1,8 @@ - - + + + {{halt['time']}} -  {{halt['code']}} - {{halt['name']}} +  {{halt['code']}} + {{halt['name']}} {% endfor %} @@ -196,7 +197,7 @@ title: "{{halt['ref']}} {{halt['name']}}", _my_bus_stop_url: "/stop/{{halt['ref']}}", }).addTo(mymap); -popupmsg = "

{{halt['ref']}} {{halt['name']}}

"; +popupmsg = "

{{halt['ref']}} {{halt['name']}}

"; {% if halt['arrival_time'] != halt['departure_time'] %} popupmsg += "

  • Saapuu: {{halt['arrival_time']}}
  • Lähtee: {{halt['departure_time']}}

";