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 ++++++-------- templates/layouts/app.html.ep | 2 +- templates/layouts/legacy.html.ep | 2 +- 3 files changed, 8 insertions(+), 10 deletions(-) (limited to 'templates') 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] %> % } diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep index 3c79173..1a19614 100644 --- a/templates/layouts/app.html.ep +++ b/templates/layouts/app.html.ep @@ -18,7 +18,7 @@ % } - % my $av = 'v30'; # asset version + % my $av = 'v31'; # asset version % if (session('theme') and session('theme') eq 'dark' or param('dark')) { %= stylesheet "/static/${av}/css/dark.min.css", id => 'theme' % } diff --git a/templates/layouts/legacy.html.ep b/templates/layouts/legacy.html.ep index 223f07b..dd3830c 100644 --- a/templates/layouts/legacy.html.ep +++ b/templates/layouts/legacy.html.ep @@ -17,7 +17,7 @@ % } - % my $av = 'v30'; # asset version + % my $av = 'v31'; # asset version %= stylesheet "/static/${av}/css/default.css" %= stylesheet "/static/${av}/css/material-icons.css" %= stylesheet "/static/${av}/css/jquery-ui.min.css" -- cgit v1.2.3