diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2022-01-09 11:12:57 +0100 | 
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2022-01-09 11:12:57 +0100 | 
| commit | 03fc2fa34e305d0b933058fe76f4e23c3a2367cb (patch) | |
| tree | cb72073efeef95bf29ba327446c2880609dd7fc1 | |
| parent | 851b80622da1dd3a28514544a01c0d3339fedb72 (diff) | |
show delays of planned departures without brackets
this should reduce visual clutter
| -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 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>  %         }  %       }  %     } | 
