summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2018-11-10 22:29:33 -0500
committerMalf Furious <m@lfurio.us>2018-11-10 22:29:33 -0500
commitd238e84bc894a067911c33533d2f13e3007f390e (patch)
treed959b0e915d5a2f7c80530201e997faf5e24a037
parentd3a056dc753eb159daeb0cc2900d718f41ef6585 (diff)
downloadscrott-d238e84bc894a067911c33533d2f13e3007f390e.tar.gz
scrott-d238e84bc894a067911c33533d2f13e3007f390e.zip
Add 'No issues' message to empty closed issue list
Signed-off-by: Malf Furious <m@lfurio.us>
-rw-r--r--app/view/pad_closed.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/view/pad_closed.php b/app/view/pad_closed.php
index 19864cd..e11ca84 100644
--- a/app/view/pad_closed.php
+++ b/app/view/pad_closed.php
@@ -51,6 +51,10 @@ require_once "view/issue.php";
</div>
<div class="panel panel-default">
+ <?php if (count($closed_issues) == 0) { ?>
+ <h4 class="text-info text-center">No closed issues</h4>
+ <?php } ?>
+
<table class="table table-hover">
<?php foreach ($closed_issues as $i) { ?>
<?=datalsts\issueListItem($i)?>