[PATCH v2] Add newline after accept link for orphan requests
Lukas Fleischer
lfleischer at archlinux.org
Sat May 12 10:35:53 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 | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/web/template/pkgreq_results.php b/web/template/pkgreq_results.php
index 3c824c0..e02cff3 100644
--- a/web/template/pkgreq_results.php
+++ b/web/template/pkgreq_results.php
@@ -77,16 +77,14 @@
<?php if ($row['BaseID']): ?>
<?php if ($row['Type'] == 'deletion'): ?>
<a href="<?= get_pkgbase_uri($row['Name']) ?>delete/?via=<?= intval($row['ID']) ?>"><?= __('Accept') ?></a>
- <br/ >
<?php elseif ($row['Type'] == 'merge'): ?>
<a href="<?= get_pkgbase_uri($row['Name']) ?>merge/?into=<?= urlencode($row['MergeInto']) ?>&via=<?= intval($row['ID']) ?>"><?= __('Accept') ?></a>
- <br />
<?php elseif ($row['Type'] == 'orphan' && $due): ?>
<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