diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-09-04 18:38:35 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-09-04 18:38:35 +0200 |
commit | 7eb5f967f2d85ea3a7846353fbaf666e3a0e2bc5 (patch) | |
tree | 5072bd80f44589de6781a640d5d564f035c4ef33 /templates/profile.html.ep | |
parent | 482fa975b5f50064deb57b651019908c17b71f47 (diff) |
profile: limit history to four weeks by default
Diffstat (limited to 'templates/profile.html.ep')
-rw-r--r-- | templates/profile.html.ep | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <h2>Letzte Fahrten von <%= $name %></h1> </div> </div> - %= 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') |