summaryrefslogtreecommitdiff
path: root/templates/account.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-04-30 23:23:49 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-04-30 23:23:49 +0200
commitf0d61a4083d677e115040357f4ee6eb40fb817f9 (patch)
tree560d072ebb8ff3e2bb2150b31f8a23ae28f469e9 /templates/account.html.ep
parentddea9abc6e91d820668825e779faef3efb024665 (diff)
Prepare settings and templates for opt-in public travel status
Diffstat (limited to 'templates/account.html.ep')
-rw-r--r--templates/account.html.ep14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/account.html.ep b/templates/account.html.ep
index 92b61db..076adf1 100644
--- a/templates/account.html.ep
+++ b/templates/account.html.ep
@@ -37,6 +37,20 @@
<td><a href="/change_password"><i class="material-icons">edit</i> ändern</a></td>
</tr>
<tr>
+ <th scope="row">Privatsphäre</th>
+ <td>
+ % if ($acc->{is_public} == 0) {
+ Keine öffentlichen Daten
+ % }
+ % else {
+ Öffentliche Daten:
+ % }
+ % if ($acc->{is_public} & 0x02) {
+ Status
+ % }
+ <a href="/account/privacy"><i class="material-icons">edit</i> ändern</a></td>
+ </tr>
+ <tr>
<th scope="row">Registriert am</th>
<td><%= $acc->{registered_at}->strftime('%d.%m.%Y %H:%M') %></td>
</tr>