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/account.html.ep | |
parent | 482fa975b5f50064deb57b651019908c17b71f47 (diff) |
profile: limit history to four weeks by default
Diffstat (limited to 'templates/account.html.ep')
-rw-r--r-- | templates/account.html.ep | 20 |
1 files changed, 13 insertions, 7 deletions
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) { <br/> % } - % 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) { + <br/> + Kommentare % } </td> </tr> |