[PATCH] Add newline after accept link for orphan requests

Lukas Fleischer lfleischer at archlinux.org
Sat May 12 10:32:31 UTC 2018


Fixes a regression introduced in 0ffa067 (Use a link to accept orphan
requests, 2018-05-10).

Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
---
 web/template/pkgreq_results.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/template/pkgreq_results.php b/web/template/pkgreq_results.php
index 3c824c0..6b9c6bd 100644
--- a/web/template/pkgreq_results.php
+++ b/web/template/pkgreq_results.php
@@ -85,8 +85,8 @@
 			<a href="<?= get_pkgbase_uri($row['Name']) ?>disown/?via=<?= intval($row['ID']) ?>"><?= __('Accept') ?></a>
 			<?php elseif ($row['Type'] == 'orphan' && !$due): ?>
 			<?= __('Locked') ?> (<?= $time_left_fmt ?>)
-			<br />
 			<?php endif; ?>
+			<br />
 			<?php endif; ?>
 			<a href="<?= get_pkgreq_route() . '/' . intval($row['ID']) ?>/close/"><?= __('Close') ?></a>
 		</td>
-- 
2.17.0


More information about the aur-dev mailing list