summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2018-05-12 12:31:42 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2018-05-12 12:37:16 +0200
commit8838490665c1bc7f682a4853be18c2b758328fb0 (patch)
treeb7bc6363207bb5fd6061c3aa1a3b659c1dc598e3 /web
parent5c48302aaf3e8ca9cde07fb59afdc426d83dff34 (diff)
downloadaur-8838490665c1bc7f682a4853be18c2b758328fb0.tar.gz
aur-8838490665c1bc7f682a4853be18c2b758328fb0.tar.xz
Add newline after accept link for orphan requests
Fixes a regression introduced in 0ffa067 (Use a link to accept orphan requests, 2018-05-10). Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web')
-rw-r--r--web/template/pkgreq_results.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/web/template/pkgreq_results.php b/web/template/pkgreq_results.php
index 3c824c0d..e02cff3e 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>