summaryrefslogtreecommitdiff
path: root/templates/landingpage.html.ep
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-07-15 19:20:37 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-07-15 19:20:37 +0200
commit1cca278baac0f50012e524eac7c441c998f4d8c3 (patch)
treeae292c5aef5c86e92d255e97010507c67daa02c6 /templates/landingpage.html.ep
parentbee67f096a5732fed5cb9c3e716012b536950022 (diff)
add timeline / current checkins
Diffstat (limited to 'templates/landingpage.html.ep')
-rw-r--r--templates/landingpage.html.ep6
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>