summaryrefslogtreecommitdiff
path: root/templates/departures.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-07-14 21:29:52 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-07-14 21:29:52 +0200
commitb12b5a821b68b98aad646f1931c6c9775759952c (patch)
tree9a1f6dce1686fa9a933ba91796004ff90c4cddfd /templates/departures.html.ep
parentb08b0fb921e7c5dc9afada0cd873b0cf980bd429 (diff)
Show departures of all linked stations
Not well-tested yet, deployment will have to wait a bit. Issue #15
Diffstat (limited to 'templates/departures.html.ep')
-rw-r--r--templates/departures.html.ep4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/departures.html.ep b/templates/departures.html.ep
index 7e98d9c..9ab4340 100644
--- a/templates/departures.html.ep
+++ b/templates/departures.html.ep
@@ -64,12 +64,12 @@
% }
<tr>
<td>
- <a class="<%= $link_class %>" data-station="<%= $ds100 %>" data-train="<%= $result->train_id %>">
+ <a class="<%= $link_class %>" data-station="<%= $result->station_uic %>" data-train="<%= $result->train_id %>">
<%= $result->line %>
</a>
</td>
<td class="<%= $td_class %>">
- <a class="<%= $link_class %>" data-station="<%= $ds100 %>" data-train="<%= $result->train_id %>">
+ <a class="<%= $link_class %>" data-station="<%= $result->station_uic %>" data-train="<%= $result->train_id %>">
<%= $result->destination %>
</a>
</td>