From ec9f142bec4321002b86d6691bca6ed1e1f5e7c9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 19 Sep 2020 12:00:01 +0200 Subject: proper buttons for map and wagon order (wip) --- templates/_train_details.html.ep | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'templates') diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index f713094..098678f 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -96,21 +96,20 @@ -% if ($departure->{wr_link} or ($icetype and $icetype->[1] and $departure->{train_type} ne 'Bus')) { -
+
+% 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] %>)
+ Wagenreihung +% if ($icetype and $icetype->[1]) { + (Plan: <%= $icetype->[0] %>)
+% } +
% } -
-% } -% if ($departure->{trip_id}) { -
- Karte -
-% } +% } +
% if ($departure->{moreinfo} and @{$departure->{moreinfo}}) { Meldungen: -- cgit v1.2.3