[PATCH] Add error color when package is orphaned

Marcus Andersson marcus at tojoma.se
Fri May 7 16:50:41 UTC 2021


---
 web/template/pkg_search_results.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) ?>&SeB=m"><?= htmlspecialchars($row['Maintainer']) ?></a>
 		<?php endif; ?>
 		<?php else: ?>
-		<span><?= __("orphan") ?></span>
+		<span class="error"><?= __("orphan") ?></span>
 		<?php endif; ?>
 		</td>
 	</tr>
-- 
2.31.1


More information about the aur-dev mailing list