From 1dc04eb45ad9d7208cbfa1d7eb046861ff43e0c2 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 20 May 2019 19:15:21 +0200 Subject: show journey suggestions on departure board as well --- templates/account.html.ep | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'templates/account.html.ep') diff --git a/templates/account.html.ep b/templates/account.html.ep index 2c58a7b..627be85 100644 --- a/templates/account.html.ep +++ b/templates/account.html.ep @@ -16,6 +16,9 @@ % elsif ($success eq 'privacy') { Einstellungen zu öffentliche Account-Daten geändert % } + % elsif ($success eq 'use_history') { + Einstellungen zu vorgeschlagenen Verbindungen geändert + % } % elsif ($success eq 'webhook') { Web Hook aktualisiert % } @@ -28,6 +31,7 @@

Account

% my $acc = current_user(); % my $hook = get_webhook(); +% my $use_history = account_use_history($acc->{id});
@@ -43,6 +47,18 @@ + + + +
Passwort edit
Verbindungen + edit + % if ($use_history & 0x03) { + Vorschläge aktiv + % } + % else { + Vorschläge deaktiviert + % } +
Öffentliche Daten -- cgit v1.2.3