mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
pkgreq_results.php: Hide empty table
Display a message that no requests matched the filter criteria instead of showing an empty package requests table. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
29a48708bb
commit
b205275196
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
<?php if (count($results) == 0): ?>
|
||||
<p><?= __("No requests matched your search criteria.") ?></p>
|
||||
<?php else: ?>
|
||||
<?php if ($show_headers): ?>
|
||||
<div class="pkglist-stats">
|
||||
<p>
|
||||
|
@ -129,3 +132,4 @@
|
|||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
|
Loading…
Add table
Reference in a new issue