diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep index cbdc878..0f7cacd 100644 --- a/templates/_public_status_card.html.ep +++ b/templates/_public_status_card.html.ep @@ -156,17 +156,19 @@

% } -
- % if ($journey->{traewelling_url}) { - timeline Träwelling - % } else { - % my $url = 'https://bahn.expert/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 (not stash('from_timeline')) { +
+ % if ($journey->{traewelling_url}) { + timeline Träwelling + % } else { + % my $url = 'https://bahn.expert/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 + % } +
+ % } % } % else {