Commit 03fc2fa3 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

show delays of planned departures without brackets

this should reduce visual clutter
parent 851b8062
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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>
%         }
%       }
%     }