summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-11-27 18:32:13 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2019-11-27 18:32:13 +0100
commit424897fcc377886d1dab2d2d1a2142a0d8c78faa (patch)
treef092d5c8a50a8ad78b1e0fe7626d6338a4599b3b
parent0e2e8cd78ef8dce5bed07187d3cda09dc2c5a103 (diff)
improve cancellation mark in connections overview
-rw-r--r--templates/_connections.html.ep4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/_connections.html.ep b/templates/_connections.html.ep
index a30e896..2837e93 100644
--- a/templates/_connections.html.ep
+++ b/templates/_connections.html.ep
@@ -69,7 +69,6 @@
<td>
% if ($train->departure_is_cancelled) {
%= $train->sched_departure->strftime('%H:%M')
- (fällt aus)
% }
% else {
%= $train->departure->strftime('%H:%M')
@@ -81,6 +80,9 @@
% if (not $train->departure_is_cancelled) {
Gleis <%= $train->platform || '?' %>
% }
+ % else {
+ fällt aus
+ % }
</td>
</tr>
% }