From 7eb5f967f2d85ea3a7846353fbaf666e3a0e2bc5 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 4 Sep 2020 18:38:35 +0200 Subject: profile: limit history to four weeks by default --- templates/profile.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/profile.html.ep') diff --git a/templates/profile.html.ep b/templates/profile.html.ep index 1755303..6a8d67d 100644 --- a/templates/profile.html.ep +++ b/templates/profile.html.ep @@ -23,7 +23,7 @@

Letzte Fahrten von <%= $name %>

- %= include '_history_trains', date_format => '%d.%m.%Y', link_prefix => "/p/${name}/j/", journeys => [journeys->get(uid => $uid, limit => 10, with_datetime => 1)]; + %= include '_history_trains', date_format => '%d.%m.%Y', link_prefix => "/p/${name}/j/", journeys => $journeys; % } %= include '_footer', version => stash('version') -- cgit v1.2.3