diff options
author | Malf Furious <m@lfurio.us> | 2018-11-10 22:29:33 -0500 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2018-11-10 22:29:33 -0500 |
commit | d238e84bc894a067911c33533d2f13e3007f390e (patch) | |
tree | d959b0e915d5a2f7c80530201e997faf5e24a037 /app | |
parent | d3a056dc753eb159daeb0cc2900d718f41ef6585 (diff) | |
download | scrott-d238e84bc894a067911c33533d2f13e3007f390e.tar.gz scrott-d238e84bc894a067911c33533d2f13e3007f390e.zip |
Add 'No issues' message to empty closed issue list
Signed-off-by: Malf Furious <m@lfurio.us>
Diffstat (limited to 'app')
-rw-r--r-- | app/view/pad_closed.php | 4 |
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)?> |