mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
flag_comment.php: Hide comment for unflagged packages
Only show the comment paragraph if the package base is actually flagged out-of-date. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
483c8f5178
commit
92f140c5ca
1 changed files with 2 additions and 0 deletions
|
@ -11,11 +11,13 @@
|
||||||
'<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?>
|
'<strong>', htmlspecialchars($pkgbase_name), '</strong>'); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</p>
|
</p>
|
||||||
|
<?php if (isset($message['Username'])): ?>
|
||||||
<p>
|
<p>
|
||||||
<div class="article-content">
|
<div class="article-content">
|
||||||
<blockquote><p><?= parse_comment($message['FlaggerComment']) ?></p></blockquote>
|
<blockquote><p><?= parse_comment($message['FlaggerComment']) ?></p></blockquote>
|
||||||
</div>
|
</div>
|
||||||
</p>
|
</p>
|
||||||
|
<?php endif; ?>
|
||||||
<p>
|
<p>
|
||||||
<form action="<?= htmlspecialchars(get_pkgbase_uri($pkgbase_name), ENT_QUOTES) ?>">
|
<form action="<?= htmlspecialchars(get_pkgbase_uri($pkgbase_name), ENT_QUOTES) ?>">
|
||||||
<input type="submit" value="<?= __("Return to Details") ?>" />
|
<input type="submit" value="<?= __("Return to Details") ?>" />
|
||||||
|
|
Loading…
Add table
Reference in a new issue