diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-10-07 13:47:32 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-10-07 13:47:32 +0200 |
commit | 147e6ae849ebb906ee763b5a39d77b6cd95980f2 (patch) | |
tree | 879ef88e7aa4b9dd9d729dc83ee169a84aabba66 /templates | |
parent | 74fd97b4b888470147647ac5b56ec8523b1be48d (diff) |
Only show latest travels on landing page
Diffstat (limited to 'templates')
-rw-r--r-- | templates/landingpage.html.ep | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index c7a28bd..c1d62d8 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -34,7 +34,7 @@ % } </div> </div> -<h1>Bisherige Fahrten</h1> +<h1>Letzte Fahrten</h1> <div class="row"> <table class="striped"> <thead> @@ -46,7 +46,7 @@ </tr> </thead> <tbody> - % for my $travel (get_user_travels()) { + % for my $travel (get_user_travels(1)) { % if ($travel->{completed}) { <tr> <td><%= $travel->{sched_departure}->strftime('%d.%m.%Y') %></td> |