travelynx/templates/account.html.ep
2019-03-07 18:36:11 +01:00

28 lines
577 B
Text

<h1>Account</h1>
% my $acc = get_user_data();
<div class="row">
<table class="striped">
<tr>
<th scope="row">Name</th>
<td><%= $acc->{name} %></td>
</tr>
<tr>
<th scope="row">Mail</th>
<td><%= $acc->{email} %></td>
</tr>
<tr>
<th scope="row">Registriert am</th>
<td><%= $acc->{registered_at}->strftime('%d.%m.%Y %H:%M') %></td>
</tr>
</table>
</div>
<h1>Export</h1>
<div class="row">
<div class="col s12">
<ul>
<li><a href="/export.json">Rohdaten</a> (Kein API-Ersatz, das Format kann sich jederzeit ändern)</li>
</ul>
</div>
</div>