diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-06-25 10:16:00 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-06-25 11:35:42 +0200 |
commit | d8dbad0c3ec28f531bb057fea8b76e3faa235da6 (patch) | |
tree | 5613f3c4a42841fbe3b850d14f9effd3301b4146 /web/template | |
parent | fc1db28c9b1b13c5b9e6baf6d24963081f18f017 (diff) | |
download | aurweb-d8dbad0c3ec28f531bb057fea8b76e3faa235da6.tar.xz |
Highlight package requests after 14 days
Automatically highlight package requests after a configurable period of
time. Defaults to 14 days.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/pkgreq_results.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkgreq_results.php b/web/template/pkgreq_results.php index 33195c7..213f180 100644 --- a/web/template/pkgreq_results.php +++ b/web/template/pkgreq_results.php @@ -41,7 +41,7 @@ <td> <a href="<?= get_uri('/account/') . htmlspecialchars($row['User'], ENT_QUOTES) ?>" title="<?= __('View account information for %s', htmlspecialchars($row['User'])) ?>"><?= htmlspecialchars($row['User']) ?></a> </td> - <td><?= gmdate("Y-m-d H:i", intval($row['RequestTS'])) ?></td> + <td<?php if (time() - intval($row['RequestTS']) > $REQUEST_IDLE_TIME): ?> class="flagged"<?php endif; ?>><?= gmdate("Y-m-d H:i", intval($row['RequestTS'])) ?></td> <?php if ($row['Status'] == 0): ?> <td> <form action="<?= get_uri('/pkgbase/'); ?>" method="post"> |