summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-10-17 09:53:02 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-10-17 09:53:02 +0200
commitc64b51f2eeedca319c5160777f74266bc3886b43 (patch)
tree18a2cfda88569ed27368d6d452bf4653ffbbb62e /web/html
parente9ebcc4479a09ebcf057664c55124caa00cf1946 (diff)
downloadaur-c64b51f2eeedca319c5160777f74266bc3886b43.tar.gz
aur-c64b51f2eeedca319c5160777f74266bc3886b43.tar.xz
voters.php: Show time stamps if available
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html')
-rw-r--r--web/html/voters.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/web/html/voters.php b/web/html/voters.php
index b0753b96..a40a9a13 100644
--- a/web/html/voters.php
+++ b/web/html/voters.php
@@ -17,7 +17,12 @@ if (has_credential(CRED_PKGBASE_LIST_VOTERS)):
<div class="boxbody">
<ul>
<?php while (list($indx, $row) = each($votes)): ?>
- <li><a href="<?= get_user_uri($row['Username']); ?>"><?= htmlspecialchars($row['Username']) ?></a></li>
+ <li>
+ <a href="<?= get_user_uri($row['Username']); ?>"><?= htmlspecialchars($row['Username']) ?></a>
+ <?php if ($row["VoteTS"] > 0): ?>
+ (<?= gmdate("Y-m-d H:i", intval($row["VoteTS"])) ?>)
+ <?php endif; ?>
+ </li>
<?php endwhile; ?>
</ul>
</div>