mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
f3b65e59f7
commit
573e0c662b
1 changed files with 4 additions and 0 deletions
|
@ -59,6 +59,10 @@
|
||||||
<?= $row["InactivityTS"] ? __("Inactive since") . ' ' . date("Y-m-d H:i", $row["InactivityTS"]) : __("Active"); ?>
|
<?= $row["InactivityTS"] ? __("Inactive since") . ' ' . date("Y-m-d H:i", $row["InactivityTS"]) : __("Active"); ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</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)): ?>
|
<?php if (has_credential(CRED_ACCOUNT_LAST_LOGIN)): ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th><?= __("Last Login") . ":" ?></th>
|
<th><?= __("Last Login") . ":" ?></th>
|
||||||
|
|
Loading…
Add table
Reference in a new issue