mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
360ce61f7a
commit
361e251bb1
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue