mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Allow for setting an account's inactivity status
This adds a field to the users table and corresponding fields to the account edit and display forms that allow for setting an (in-)activity status. This might turn out to be useful if a user is on vacation and can not respond to update/orphan/deletion requests. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
6ecfe12ce2
commit
6844f6c1d2
6 changed files with 46 additions and 8 deletions
|
@ -37,6 +37,12 @@
|
|||
<th><?= __("PGP Key Fingerprint") . ":" ?></th>
|
||||
<td><?= html_format_pgp_fingerprint($row["PGPKey"]) ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?= __("Status") . ":" ?></th>
|
||||
<td>
|
||||
<?= $row["InactivityTS"] ? __("Inactive since") . ' ' . date("Y-m-d H:i", $row["InactivityTS"]) : __("Active"); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?= __("Last Voted") . ":" ?></th>
|
||||
<td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue