... 'status' is a reserved renderer key. oops.
This commit is contained in:
parent
bc978120e1
commit
1a2ff8262d
2 changed files with 4 additions and 4 deletions
|
@ -229,7 +229,7 @@ sub homepage {
|
|||
'landingpage',
|
||||
version => $self->app->config->{version}
|
||||
// 'UNKNOWN',
|
||||
status => $status,
|
||||
user_status => $status,
|
||||
connections => \@connecting_trains,
|
||||
with_autocomplete => 1,
|
||||
with_geolocation => 1
|
||||
|
@ -243,7 +243,7 @@ sub homepage {
|
|||
'landingpage',
|
||||
version => $self->app->config->{version}
|
||||
// 'UNKNOWN',
|
||||
status => $status,
|
||||
user_status => $status,
|
||||
with_autocomplete => 1,
|
||||
with_geolocation => 1
|
||||
);
|
||||
|
@ -257,7 +257,7 @@ sub homepage {
|
|||
$self->render(
|
||||
'landingpage',
|
||||
version => $self->app->config->{version} // 'UNKNOWN',
|
||||
status => $status,
|
||||
user_status => $status,
|
||||
with_autocomplete => 1,
|
||||
with_geolocation => 1
|
||||
);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
% if (is_user_authenticated()) {
|
||||
% my $status = stash('status');
|
||||
% my $status = stash('user_status');
|
||||
% if (stash('error')) {
|
||||
<div class="row">
|
||||
<div class="col s12">
|
||||
|
|
Loading…
Reference in a new issue