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

@ -8,25 +8,25 @@ use Mojo::Base 'Mojolicious::Controller';
sub about {
my ($self) = @_;
$self->render('about', title => 'Über travelynx');
$self->render( 'about', title => 'Über travelynx' );
}
sub changelog {
my ($self) = @_;
$self->render('changelog', title => 'travelynx: Changelog');
$self->render( 'changelog', title => 'travelynx: Changelog' );
}
sub imprint {
my ($self) = @_;
$self->render('imprint', title => 'travelynx: Impressum');
$self->render( 'imprint', title => 'travelynx: Impressum' );
}
sub legend {
my ($self) = @_;
$self->render('legend', title => 'travelynx: Legende' );
$self->render( 'legend', title => 'travelynx: Legende' );
}
sub offline {

View file

@ -144,7 +144,7 @@ sub settings {
$self->param( tweet => 1 );
}
$self->stash ( title => 'travelynx × träwelling' );
$self->stash( title => 'travelynx × träwelling' );
$self->render(
'traewelling',
traewelling => $traewelling,

View file

@ -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 {
@ -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,