From 2aba2b65227834a1266ebcb0de9d5ee8b8d69cb3 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 8 Jan 2020 19:12:03 +0100 Subject: move links to card-actions for public, hide in app view for now --- templates/_checked_in.html.ep | 22 +++++++++++----------- templates/_public_status_card.html.ep | 10 +++------- 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index b220000..62c9e78 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -260,17 +260,17 @@ % } -
-
- % my $url = 'https://marudor.de/details/' . $journey->{train_type} . ' ' . $journey->{train_no} . '/' . DateTime->now(time_zone => 'Europe/Berlin')->epoch . '000'; - timeline Zuglauf -
-
- % if ($journey->{extra_data}{trip_id}) { - map Karte - % } -
-
+%#
+%#
+%# % my $url = 'https://marudor.de/details/' . $journey->{train_type} . ' ' . $journey->{train_no} . '/' . DateTime->now(time_zone => 'Europe/Berlin')->epoch . '000'; +%# timeline Zuglauf +%#
+%#
+%# % if ($journey->{extra_data}{trip_id}) { +%# map Karte +%# % } +%#
+%#
% if ($journey->{arr_name}) {
diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep index 751a14b..2c5c3df 100644 --- a/templates/_public_status_card.html.ep +++ b/templates/_public_status_card.html.ep @@ -140,15 +140,11 @@

% }
-
-
-
+
% my $url = 'https://marudor.de/details/' . $journey->{train_type} . ' ' . $journey->{train_no} . '/' . DateTime->now(time_zone => 'Europe/Berlin')->epoch . '000'; - timeline Zuglauf -
-
+ timeline Zuglauf % if ($journey->{extra_data}{trip_id}) { - map Karte + map Karte % }
-- cgit v1.2.3