Display registration date on account details page

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Johannes Löthberg 2016-08-11 20:52:53 +02:00 committed by Lukas Fleischer
parent f3b65e59f7
commit 573e0c662b

View file

@ -59,6 +59,10 @@
<?= $row["InactivityTS"] ? __("Inactive since") . ' ' . date("Y-m-d H:i", $row["InactivityTS"]) : __("Active"); ?>
</td>
</tr>
<tr>
<th><?= __("Registration date:") ?></th>
<td><?= (new DateTime($row["RegistrationTS"]))->format('Y-m-d') ?></td>
</tr>
<?php if (has_credential(CRED_ACCOUNT_LAST_LOGIN)): ?>
<tr>
<th><?= __("Last Login") . ":" ?></th>