diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-01-30 21:07:57 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-01-30 21:07:57 +0100 |
commit | 7eedd5149fdd01c55dc768db6ded831cb35108d8 (patch) | |
tree | 80836b2b8c97ff8d573f1fc5edafe48e5529fdba /lib/Travelynx/Controller/Traveling.pm | |
parent | 40eb74887b8597f972fa8300fb50d9c57fb03ac2 (diff) |
perltidy
Diffstat (limited to 'lib/Travelynx/Controller/Traveling.pm')
-rwxr-xr-x | lib/Travelynx/Controller/Traveling.pm | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm index 78a7c78..7b25e9f 100755 --- a/lib/Travelynx/Controller/Traveling.pm +++ b/lib/Travelynx/Controller/Traveling.pm @@ -1185,7 +1185,10 @@ sub cancelled { sub history { my ($self) = @_; - $self->render( template => 'history', title => 'travelynx: History' ); + $self->render( + template => 'history', + title => 'travelynx: History' + ); } sub commute { @@ -1293,7 +1296,7 @@ sub commute { journeys_by_month => \%journeys_by_month, count_by_month => \%count_by_month, total_journeys => $total, - title => 'travelynx: Reisen nach Station', + title => 'travelynx: Reisen nach Station', months => [ qw(Januar Februar März April Mai Juni Juli August September Oktober November Dezember) ], @@ -1391,7 +1394,7 @@ sub map_history { template => 'history_map', year => $year, with_map => 1, - title => 'travelynx: Karte', + title => 'travelynx: Karte', %{$res} ); } @@ -1588,7 +1591,7 @@ sub yearly_history { }, any => { template => 'history_by_year', - title => "travelynx: $year", + title => "travelynx: $year", journeys => [@journeys], year => $year, have_review => $with_review, @@ -1663,7 +1666,7 @@ sub monthly_history { }, any => { template => 'history_by_month', - title => "travelynx: $month_name $year", + title => "travelynx: $month_name $year", journeys => [@journeys], year => $year, month => $month, @@ -1742,9 +1745,12 @@ sub journey_details { $self->render( 'journey', - title => sprintf( 'travelynx: Fahrt %s %s %s am %s', - $journey->{type}, $journey->{line} // '', $journey->{no}, - $journey->{sched_departure}->strftime('%d.%m.%Y um %H:%M') ), + title => sprintf( + 'travelynx: Fahrt %s %s %s am %s', + $journey->{type}, $journey->{line} // '', + $journey->{no}, + $journey->{sched_departure}->strftime('%d.%m.%Y um %H:%M') + ), error => undef, journey => $journey, journey_visibility => $visibility, |