From 6d261197e3138c80357ec485749e2089ef6ff96a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 27 Feb 2023 22:14:54 +0100 Subject: set visibility per journey (wip) some odds and ends left to polish, but ready for testing --- templates/account.html.ep | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) (limited to 'templates/account.html.ep') diff --git a/templates/account.html.ep b/templates/account.html.ep index 9c5d88e..e5dba60 100644 --- a/templates/account.html.ep +++ b/templates/account.html.ep @@ -70,36 +70,10 @@ - Öffentliche Daten + Sichtbarkeit edit - % if ($acc->{is_public} == 0) { - Keine - % } - % if ($acc->{is_public} & 0x01) { - Aktueller Status (nur mit Anmeldung) - % } - % elsif ($acc->{is_public} & 0x02) { - Aktueller Status - % } - % if ($acc->{is_public} & 0x0f and $acc->{is_public} & 0xf0) { -
- % } - % 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) - % } - % } - % if ($acc->{is_public} & 0x04) { -
- Kommentare - % } + <%= visibility_icon($acc->{default_visibility_str}) %> -- cgit v1.2.3