From c8f5ba2493b6d9bcceab871d41b7ec5692d41058 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 20 Sep 2020 06:15:12 +0200 Subject: fix icon alignment in buttons --- templates/_train_details.html.ep | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'templates/_train_details.html.ep') diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index 098678f..2816af0 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -100,14 +100,12 @@ % if ($departure->{trip_id}) { Karte % } -% if ($departure->{wr_link} or ($icetype and $icetype->[1] and $departure->{train_type} ne 'Bus')) { -% if ($departure->{wr_link}) { - Wagenreihung -% if ($icetype and $icetype->[1]) { - (Plan: <%= $icetype->[0] %>)
-% } -
-% } +% if ($departure->{wr_link}) { + Wagenreihung + +% } +% elsif ($icetype and $icetype->[1] and $departure->{train_type} ne 'Bus') { + Plan: <%= $icetype->[0] %> % } -- cgit v1.2.3