diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-01-09 12:05:59 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-01-09 12:07:41 +0100 |
commit | 7047337766d912930d347dc3612422d06dc6f098 (patch) | |
tree | 133996cc69cc4e8244c759def954ebe0bc9456e0 /templates | |
parent | 03fc2fa34e305d0b933058fe76f4e23c3a2367cb (diff) |
realtime delay: use "+X ⇒ HH:MM" instead of "(+X) HH:MM"
Diffstat (limited to 'templates')
-rw-r--r-- | templates/app.html.ep | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/app.html.ep b/templates/app.html.ep index 895de49..8280925 100644 --- a/templates/app.html.ep +++ b/templates/app.html.ep @@ -100,10 +100,10 @@ % if ($departure->{delay} and not $departure->{is_cancelled}) { % if ($show_realtime) { % if ($departure->{delay} > ($hide_low_delay ? 4 : 0)) { - <span class="delaynorm" aria-hidden="true">(+<%= $departure->{delay} %>)</span> + <span class="delaynorm" aria-hidden="true">+<%= $departure->{delay} %> ⇒</span> % } % elsif ($departure->{delay} < 0) { - <span class="undelaynorm" aria-hidden="true">(<%= $departure->{delay} %>)</span> + <span class="undelaynorm" aria-hidden="true"><%= $departure->{delay} %> ⇒</span> % } % } % else { |