Commit 41b6cff7 authored by Marcel Korpel's avatar Marcel Korpel Committed by Lukas Fleischer
Browse files

pkg_comments.php: Merge two DIVs with same ID



Signed-off-by: default avatarMarcel Korpel <marcel.korpel@gmail.com>
Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
parent c751921a
......@@ -63,12 +63,10 @@ $count = pkgbase_comments_count($base_id, $include_deleted);
</p>
</div>
<?php endwhile; ?>
</div>
<?php if ($count > 10 && !isset($_GET['comments'])): ?>
<div id="news">
<h3>
<a href="<?= htmlentities(get_pkgbase_uri($pkgbase_name), ENT_QUOTES) . '?' . mkurl('comments=all') ?>" title="<?= __('View all comments') ?> (<?= $count ?>)"><?= __('All comments', $count) ?></a>
</h3>
</div>
<?php endif; ?>
</div>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment