connections: do not allow checkin while still in transit
fixes bug introduced by f01f108f94
This commit is contained in:
parent
e01e6a43d1
commit
5bf1318cf5
1 changed files with 12 additions and 2 deletions
|
@ -7,7 +7,12 @@
|
|||
% $td_class = 'cancelled';
|
||||
% $link_class = 'action-cancelled-from';
|
||||
% }
|
||||
<tr class="<%= $link_class %>" data-station="<%= $train->station_uic %>" data-train="<%= $train->train_id %>" data-dest="<%= $via %>">
|
||||
% if ($checkin_from) {
|
||||
<tr class="<%= $link_class %>" data-station="<%= $train->station_uic %>" data-train="<%= $train->train_id %>" data-dest="<%= $via %>">
|
||||
% }
|
||||
% else {
|
||||
<tr>
|
||||
% }
|
||||
<td class="<%= $td_class %>">
|
||||
% if ($checkin_from) {
|
||||
<a><%= $train->line %></a>
|
||||
|
@ -70,7 +75,12 @@
|
|||
% $td_class = 'cancelled';
|
||||
% $link_class = 'action-cancelled-from';
|
||||
% }
|
||||
<tr class="<%= $link_class %>" data-station="<%= $train->station_uic %>" data-train="<%= $train->train_id %>" data-dest="<%= $via %>" data-tr="4">
|
||||
% if ($checkin_from) {
|
||||
<tr class="<%= $link_class %>" data-station="<%= $train->station_uic %>" data-train="<%= $train->train_id %>" data-dest="<%= $via %>" data-tr="4">
|
||||
% }
|
||||
% else {
|
||||
<tr>
|
||||
% }
|
||||
<td class="<%= $td_class %>">
|
||||
% if ($checkin_from) {
|
||||
<a><%= $train->line %></a>
|
||||
|
|
Loading…
Reference in a new issue