diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-09-30 19:46:54 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-09-30 19:46:54 +0200 |
commit | 590d3de51891705730eca92527f0d4f651570a29 (patch) | |
tree | ad671ea54f5bb27a35203ea8df276c1617926c99 /templates/account.html.ep | |
parent | 89e709d8d593939ab528b81d125fd37d303c4fa9 (diff) |
Template adjustments; hide traewelling from public view for now
Diffstat (limited to 'templates/account.html.ep')
-rw-r--r-- | templates/account.html.ep | 13 |
1 files changed, 9 insertions, 4 deletions
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 @@ % } </td> </tr> + % if ($traewelling->{token}) { <tr> - <th scope="row">Traewelling</th> + <th scope="row">Träwelling</th> <td> <a href="/account/traewelling"><i class="material-icons">edit</i></a> % if (not ($traewelling->{token})) { @@ -124,14 +125,18 @@ % elsif ($traewelling->{errored}) { Fehlerhaft <i class="material-icons">error</i> % } - % elsif (not ($traewelling->{push_sync} or $traewelling->{pull_sync})) { - <span style="color: #999999;">Verknüpft mit <%= $traewelling->{data}{user_name} // $traewelling->{email} %>, Synchronisierung inaktiv</span> - % } % 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 + % } % } </td> </tr> + % } <tr> <th scope="row">Registriert am</th> <td><%= $acc->{registered_at}->strftime('%d.%m.%Y %H:%M') %></td> |