status card: do not show detail/map links in timeline view

This commit is contained in:
Birte Kristina Friesel 2023-07-16 10:33:49 +02:00
parent b0bb69d87e
commit 6277cdd929
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -156,6 +156,7 @@
</p>
% }
</div>
% if (not stash('from_timeline')) {
<div class="card-action">
% if ($journey->{traewelling_url}) {
<a style="margin-right: 0;" href="<%= $journey->{traewelling_url} %>"><i class="material-icons left">timeline</i> Träwelling</a>
@ -167,6 +168,7 @@
<a class="right" style="margin-right: 0;" href="https://dbf.finalrewind.org/map/<%= $journey->{extra_data}{trip_id} %>/<%= $journey->{train_line} || 0 %>?from=<%= $journey->{dep_name} %>&amp;to=<%= $journey->{arr_name} // '' %>"><i class="material-icons left">map</i> Karte</a>
% }
</div>
% }
</div>
% }
% else {