summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/_connections.html.ep12
-rw-r--r--templates/departures.html.ep6
2 files changed, 9 insertions, 9 deletions
diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep
index d09f0c0..9b009df 100644
--- a/templates/_connections.html.ep
+++ b/templates/_connections.html.ep
@@ -7,10 +7,10 @@
% $td_class = 'cancelled';
% $link_class = 'action-cancelled-from';
% }
- <tr>
+ <tr class="<%= $link_class %>" data-station="<%= $train->station_uic %>" data-train="<%= $train->train_id %>" data-dest="<%= $via %>">
<td class="<%= $td_class %>">
% if ($checkin_from) {
- <a class="<%= $link_class %>" data-station="<%= $train->station_uic %>" data-train="<%= $train->train_id %>" data-dest="<%= $via %>"><%= $train->line %></a>
+ <a><%= $train->line %></a>
% }
% else {
%= $train->line
@@ -18,7 +18,7 @@
</td>
<td class="<%= $td_class %>">
% if ($checkin_from) {
- <a class="<%= $link_class %>" data-station="<%= $train->station_uic %>" data-train="<%= $train->train_id %>" data-dest="<%= $via %>"><%= $via %></a>
+ <a><%= $via %></a>
% }
% else {
%= $via
@@ -70,10 +70,10 @@
% $td_class = 'cancelled';
% $link_class = 'action-cancelled-from';
% }
- <tr>
+ <tr class="<%= $link_class %>" data-station="<%= $train->station_uic %>" data-train="<%= $train->train_id %>" data-dest="<%= $via %>" data-tr="4">
<td class="<%= $td_class %>">
% if ($checkin_from) {
- <a class="<%= $link_class %>" data-station="<%= $train->station_uic %>" data-train="<%= $train->train_id %>" data-dest="<%= $via %>"><%= $train->line %></a>
+ <a><%= $train->line %></a>
% }
% else {
%= $train->line
@@ -81,7 +81,7 @@
</td>
<td class="<%= $td_class %>">
% if ($checkin_from) {
- <a class="<%= $link_class %>" data-station="<%= $train->station_uic %>" data-train="<%= $train->train_id %>" data-dest="<%= $via %>"><%= $via %></a>
+ <a><%= $via %></a>
% }
% else {
%= $via
diff --git a/templates/departures.html.ep b/templates/departures.html.ep
index 91b3331..220d951 100644
--- a/templates/departures.html.ep
+++ b/templates/departures.html.ep
@@ -86,14 +86,14 @@
</td>
</tr>
% }
- <tr>
+ <tr class="<%= $link_class %>" data-station="<%= $result->station_uic %>" data-train="<%= $result->train_id %>" data-tr="3">
<td>
- <a class="<%= $link_class %>" data-station="<%= $result->station_uic %>" data-train="<%= $result->train_id %>">
+ <a>
<%= $result->line %>
</a>
</td>
<td class="<%= $td_class %>">
- <a class="<%= $link_class %>" data-station="<%= $result->station_uic %>" data-train="<%= $result->train_id %>">
+ <a>
<%= $result->destination %>
</a>
</td>