summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-09-24 18:57:23 +0200
committerDaniel Friesel <derf@finalrewind.org>2022-09-24 18:57:23 +0200
commit4a96cf1f476cb55460510c3b87b3df6b6bfce1bf (patch)
treedae93d76a4ba2d933d1fc8fcbba40616f56f9299 /templates
parente54130ad6ea805cc04db17a3f614cb4bd25ca3f0 (diff)
connections: link for departure time
Diffstat (limited to 'templates')
-rw-r--r--templates/_connections.html.ep6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep
index 324dfab..a8b74f7 100644
--- a/templates/_connections.html.ep
+++ b/templates/_connections.html.ep
@@ -22,6 +22,9 @@
%= $train->line
% }
<br/>
+ % if ($checkin_from) {
+ <a>
+ % }
% if ($train->departure_is_cancelled) {
%= $train->sched_departure->strftime('%H:%M')
@@ -32,6 +35,9 @@
%= sprintf('(%+d)', $train->departure_delay)
% }
% }
+ % if ($checkin_from) {
+ </a>
+ % }
</td>
<td class="<%= $td_class %>">
% if ($checkin_from) {