... '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',
|
'landingpage',
|
||||||
version => $self->app->config->{version}
|
version => $self->app->config->{version}
|
||||||
// 'UNKNOWN',
|
// 'UNKNOWN',
|
||||||
status => $status,
|
user_status => $status,
|
||||||
connections => \@connecting_trains,
|
connections => \@connecting_trains,
|
||||||
with_autocomplete => 1,
|
with_autocomplete => 1,
|
||||||
with_geolocation => 1
|
with_geolocation => 1
|
||||||
|
@ -243,7 +243,7 @@ sub homepage {
|
||||||
'landingpage',
|
'landingpage',
|
||||||
version => $self->app->config->{version}
|
version => $self->app->config->{version}
|
||||||
// 'UNKNOWN',
|
// 'UNKNOWN',
|
||||||
status => $status,
|
user_status => $status,
|
||||||
with_autocomplete => 1,
|
with_autocomplete => 1,
|
||||||
with_geolocation => 1
|
with_geolocation => 1
|
||||||
);
|
);
|
||||||
|
@ -257,7 +257,7 @@ sub homepage {
|
||||||
$self->render(
|
$self->render(
|
||||||
'landingpage',
|
'landingpage',
|
||||||
version => $self->app->config->{version} // 'UNKNOWN',
|
version => $self->app->config->{version} // 'UNKNOWN',
|
||||||
status => $status,
|
user_status => $status,
|
||||||
with_autocomplete => 1,
|
with_autocomplete => 1,
|
||||||
with_geolocation => 1
|
with_geolocation => 1
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
% if (is_user_authenticated()) {
|
% if (is_user_authenticated()) {
|
||||||
% my $status = stash('status');
|
% my $status = stash('user_status');
|
||||||
% if (stash('error')) {
|
% if (stash('error')) {
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col s12">
|
<div class="col s12">
|
||||||
|
|
Loading…
Reference in a new issue