summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Andersson <marcus@tojoma.se>2021-05-07 18:50:41 +0200
committerEli Schwartz <eschwartz@archlinux.org>2021-05-07 23:55:42 +0200
commit0e426f9594d673df46add21ffd86d305df274c2d (patch)
tree2f64aaca60df5a2f487a32daf773b72e7a773130
parent0855149ae1799bf42b544f57beb11e0d5396b3c8 (diff)
downloadaur-0e426f9594d673df46add21ffd86d305df274c2d.tar.gz
aur-0e426f9594d673df46add21ffd86d305df274c2d.tar.xz
Add error color when package is orphaned
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
-rw-r--r--web/template/pkg_search_results.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php
index 7c5ad03b..61335560 100644
--- a/web/template/pkg_search_results.php
+++ b/web/template/pkg_search_results.php
@@ -96,7 +96,7 @@ if (!$result): ?>
<a href="<?= get_uri('/packages/'); ?>?K=<?= htmlspecialchars($row['Maintainer'], ENT_QUOTES) ?>&amp;SeB=m"><?= htmlspecialchars($row['Maintainer']) ?></a>
<?php endif; ?>
<?php else: ?>
- <span><?= __("orphan") ?></span>
+ <span class="error"><?= __("orphan") ?></span>
<?php endif; ?>
</td>
</tr>