diff options
Diffstat (limited to 'templates/landingpage.html.ep')
-rw-r--r-- | templates/landingpage.html.ep | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index b91cd89..d3b514f 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -18,6 +18,9 @@ %= include '_checked_in', journey => $status, journey_visibility => stash('journey_visibility'); % } % elsif ($status->{cancelled}) { + % if ( @{stash('timeline') // [] } ) { + %= include '_timeline_link', timeline => stash('timeline') + % } <div class="card info-color"> <div class="card-content"> <span class="card-title">Zugausfall dokumentieren</span> @@ -45,6 +48,9 @@ </div> % } % else { + % if ( @{stash('timeline') // [] } ) { + %= include '_timeline_link', timeline => stash('timeline') + % } <div class="card"> <div class="card-content"> <span class="card-title">Hallo, <%= current_user->{name} %>!</span> |