diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-10-14 14:37:57 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-10-14 15:07:25 +0200 |
commit | 361e251bb194a698cf06cdc1badfdbad489ec6dc (patch) | |
tree | 51c4ab44fb9b5c66de07af6245d64afc89df57bf /web/template | |
parent | 360ce61f7a2130caebcc26d0a1caaec7d71b143f (diff) | |
download | aurweb-361e251bb194a698cf06cdc1badfdbad489ec6dc.tar.xz |
pkg_search_results.php: Mark out-of-date packages
Highlight the version number of out-of-date packages on the package
search results page using the "flagged" class from archweb.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/pkg_search_results.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php index ea7f61a..16f574a 100644 --- a/web/template/pkg_search_results.php +++ b/web/template/pkg_search_results.php @@ -56,7 +56,7 @@ if (!$result): ?> <?php endif; ?> <td><?= htmlspecialchars($row["Category"]) ?></td> <td><a href="<?= htmlspecialchars(get_pkg_uri($row["Name"]), ENT_QUOTES); ?>"><?= htmlspecialchars($row["Name"]) ?></a></td> - <td><?= htmlspecialchars($row["Version"]) ?></td> + <td<?php if ($row["OutOfDateTS"]): ?> class="flagged"<?php endif; ?>><?= htmlspecialchars($row["Version"]) ?></td> <td><?= $row["NumVotes"] ?></td> <?php if ($SID): ?> <td> |