From 1f43edc6947147e5137c68d8dda730059b02c9ae Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 25 May 2025 10:37:03 +0200 Subject: status card: do not use

within card --- templates/_public_status_card.html.ep | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep index bf5656b..280d4dd 100644 --- a/templates/_public_status_card.html.ep +++ b/templates/_public_status_card.html.ep @@ -22,9 +22,9 @@ % } % if ($privacy->{comments_visible} and $journey->{comment}) { -

„<%= $journey->{comment} %>“

+
„<%= $journey->{comment} %>“
% } -

+

% if (not stash('from_profile') and not stash('from_timeline')) {
%= include '_format_train', journey => $journey @@ -63,8 +63,8 @@
-

-

+

+
<%= $journey->{dep_name} %>
<%= $journey->{real_departure}->strftime('%H:%M') %> @@ -164,16 +164,16 @@ % } % }
-

+
% if ($journey->{extra_data}{cancelled_destination}) { -

+

Der Halt an der Zielstation <%= $journey->{extra_data}{cancelled_destination} %> entfällt. -

+
% } % if (@{$journey->{messages} // []} > 0 and $journey->{messages}[0]) { -

+

    % for my $message (reverse @{$journey->{messages} // []}) { % if ($journey->{sched_departure}->epoch - $message->[0]->epoch < 1800) { @@ -184,10 +184,10 @@
  • info <%= $message->[0]->strftime('%H:%M') %>: <%= $message->[1] %>
  • % }
-

+
% } % if (@{$journey->{extra_data}{him_msg} // []}) { -

+

    % for my $message (@{$journey->{extra_data}{him_msg} // []}) { % if (not stash('from_timeline') or $message->{prio} and $message->{prio} eq 'HOCH') { @@ -195,7 +195,7 @@ % } % }
-

+
% } % if ( $journey->{wagongroups} and @{$journey->{wagongroups}} and not stash('from_timeline')) {
@@ -236,7 +236,7 @@ % else { <%= $name %> ist gerade nicht eingecheckt % } -

+

% if ($journey->{arr_name}) { Zuletzt gesehen % if ($journey->{real_arrival}->epoch) { @@ -248,7 +248,7 @@ in <%= $journey->{arr_name} %> % } % } -

+
% } -- cgit v1.2.3