From 590d3de51891705730eca92527f0d4f651570a29 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 30 Sep 2020 19:46:54 +0200 Subject: Template adjustments; hide traewelling from public view for now --- templates/account.html.ep | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'templates/account.html.ep') diff --git a/templates/account.html.ep b/templates/account.html.ep index 8943e3f..093049c 100644 --- a/templates/account.html.ep +++ b/templates/account.html.ep @@ -114,8 +114,9 @@ % } + % if ($traewelling->{token}) { - Traewelling + Träwelling edit % if (not ($traewelling->{token})) { @@ -124,14 +125,18 @@ % elsif ($traewelling->{errored}) { Fehlerhaft error % } - % elsif (not ($traewelling->{push_sync} or $traewelling->{pull_sync})) { - Verknüpft mit <%= $traewelling->{data}{user_name} // $traewelling->{email} %>, Synchronisierung inaktiv - % } % else { Verknüpft mit <%= $traewelling->{data}{user_name} // $traewelling->{email} %> + % if ($traewelling->{pull_sync}) { + – Checkins in Träwelling werden von travelynx übernommen + % } + % elsif ($traewelling->{push_sync}) { + – Checkins in travelynx werden zu Träwelling weitergereicht + % } % } + % } Registriert am <%= $acc->{registered_at}->strftime('%d.%m.%Y %H:%M') %> -- cgit v1.2.3