Add error color when package is orphaned

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
This commit is contained in:
Marcus Andersson 2021-05-07 18:50:41 +02:00 committed by Eli Schwartz
parent e454a0200c
commit 4fa220850f
No known key found for this signature in database
GPG key ID: CEB167EFB5722BD6

View file

@ -96,7 +96,7 @@ if (!$result): ?>
<a href="<?= get_uri('/packages/'); ?>?K=<?= htmlspecialchars($row['Maintainer'], ENT_QUOTES) ?>&amp;SeB=m"><?= htmlspecialchars($row['Maintainer']) ?></a> <a href="<?= get_uri('/packages/'); ?>?K=<?= htmlspecialchars($row['Maintainer'], ENT_QUOTES) ?>&amp;SeB=m"><?= htmlspecialchars($row['Maintainer']) ?></a>
<?php endif; ?> <?php endif; ?>
<?php else: ?> <?php else: ?>
<span><?= __("orphan") ?></span> <span class="error"><?= __("orphan") ?></span>
<?php endif; ?> <?php endif; ?>
</td> </td>
</tr> </tr>