summaryrefslogtreecommitdiff
path: root/templates/app.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-01-09 11:12:57 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-01-09 11:12:57 +0100
commit03fc2fa34e305d0b933058fe76f4e23c3a2367cb (patch)
treecb72073efeef95bf29ba327446c2880609dd7fc1 /templates/app.html.ep
parent851b80622da1dd3a28514544a01c0d3339fedb72 (diff)
show delays of planned departures without brackets
this should reduce visual clutter
Diffstat (limited to 'templates/app.html.ep')
-rw-r--r--templates/app.html.ep4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/app.html.ep b/templates/app.html.ep
index 6baf0f4..895de49 100644
--- a/templates/app.html.ep
+++ b/templates/app.html.ep
@@ -108,10 +108,10 @@
% }
% else {
% if ($departure->{delay} > ($hide_low_delay ? 4 : 0)) {
- <span class="delay" aria-hidden="true">(+<%= $departure->{delay} %>)</span>
+ <span class="delay" aria-hidden="true">+<%= $departure->{delay} %></span>
% }
% elsif ($departure->{delay} < 0) {
- <span class="undelay" aria-hidden="true">(<%= $departure->{delay} %>)</span>
+ <span class="undelay" aria-hidden="true"><%= $departure->{delay} %></span>
% }
% }
% }