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/account.html.ep | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'templates/account.html.ep') diff --git a/templates/account.html.ep b/templates/account.html.ep index 7bc725f..9b049a3 100644 --- a/templates/account.html.ep +++ b/templates/account.html.ep @@ -72,17 +72,23 @@ % elsif ($acc->{is_public} & 0x02) { Aktueller Status % } - % if ($acc->{is_public} & 0x04) { - mit Kommentar - % } % if ($acc->{is_public} & 0x0f and $acc->{is_public} & 0xf0) {
% } - % if ($acc->{is_public} & 0x10) { - Vergangene Fahrten (nur mit Anmeldung) + % if ($acc->{is_public} & 0x30) { + % if ($acc->{is_public} & 0x40) { + Vergangene Fahrten + % } + % else { + Fahrten der letzten vier Wochen + % } + % if ($acc->{is_public} & 0x10) { + (nur mit Anmeldung) + % } % } - % elsif ($acc->{is_public} & 0x20) { - Vergangene Fahrten + % if ($acc->{is_public} & 0x04) { +
+ Kommentare % } -- cgit v1.2.3