summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/_checked_in.html.ep8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index 916b56f..3f47d71 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -31,6 +31,12 @@
% if ($journey->{departure_countdown} > 120) {
Abfahrt in <%= sprintf('%.f', $journey->{departure_countdown} / 60) %> Minuten
% }
+ % elsif ($journey->{departure_countdown} > 60) {
+ Abfahrt in einer Minute
+ % }
+ % elsif ($journey->{departure_countdown} > 0) {
+ Abfahrt in weniger als einer Minute
+ % }
% elsif (defined $journey->{arrival_countdown}) {
% if ($journey->{arrival_countdown} > 60) {
Ankunft in <%= sprintf('%.f', $journey->{arrival_countdown} / 60) %>
@@ -58,7 +64,7 @@
Ziel wählen.
</p>
% }
- % if ($journey->{arr_name}) {
+ % elsif ($journey->{arr_name}) {
<p>Ziel ändern?</p>
% }
% else {