summaryrefslogtreecommitdiff
path: root/templates/_connections.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-07-14 21:05:07 +0200
committerDaniel Friesel <derf@finalrewind.org>2022-07-14 21:05:07 +0200
commitf01f108f94f53846268188d8e9a63ad36613bcab (patch)
tree72bb9d30c1a87acf27dabab9658db2ab865f7ac1 /templates/_connections.html.ep
parent7a34f64eba2aec25c4493910963783aeb4c4a8c7 (diff)
increased click area for checkin
Diffstat (limited to 'templates/_connections.html.ep')
-rw-r--r--templates/_connections.html.ep12
1 files changed, 6 insertions, 6 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