This commit is contained in:
Birte Kristina Friesel 2024-01-30 21:07:57 +01:00
parent 40eb74887b
commit 7eedd5149f
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA
4 changed files with 22 additions and 16 deletions

View file

@ -1185,7 +1185,10 @@ sub cancelled {
sub history { sub history {
my ($self) = @_; my ($self) = @_;
$self->render( template => 'history', title => 'travelynx: History' ); $self->render(
template => 'history',
title => 'travelynx: History'
);
} }
sub commute { sub commute {
@ -1742,9 +1745,12 @@ sub journey_details {
$self->render( $self->render(
'journey', 'journey',
title => sprintf( 'travelynx: Fahrt %s %s %s am %s', title => sprintf(
$journey->{type}, $journey->{line} // '', $journey->{no}, 'travelynx: Fahrt %s %s %s am %s',
$journey->{sched_departure}->strftime('%d.%m.%Y um %H:%M') ), $journey->{type}, $journey->{line} // '',
$journey->{no},
$journey->{sched_departure}->strftime('%d.%m.%Y um %H:%M')
),
error => undef, error => undef,
journey => $journey, journey => $journey,
journey_visibility => $visibility, journey_visibility => $visibility,