Add error color when package is orphaned

Message ID 20210507165041.139096-1-marcus@tojoma.se
State New
Headers show
Series Add error color when package is orphaned | expand

Commit Message

Marcus Andersson May 7, 2021, 4:50 p.m. UTC
---
 web/template/pkg_search_results.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Eli Schwartz May 7, 2021, 9:57 p.m. UTC | #1
On 5/7/21 12:50 PM, Marcus Andersson via aur-dev wrote:
> ---
>  web/template/pkg_search_results.php | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
Thanks! Changes look good, I've pushed this patch to the "pu" branch.

Patch

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>