summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2018-11-10 09:31:05 -0500
committerMalf Furious <m@lfurio.us>2018-11-10 09:31:05 -0500
commitdc82ea4c3ab3892d9f94cae73832d2c09e2ad3b2 (patch)
tree2dbbb07dc1d24759a5fa1cb47284c0d192b207c5 /app
parent0e3e65d1ba0ecbc4f819fed3eb9c03e212e400c1 (diff)
downloadscrott-dc82ea4c3ab3892d9f94cae73832d2c09e2ad3b2.tar.gz
scrott-dc82ea4c3ab3892d9f94cae73832d2c09e2ad3b2.zip
Add 'No issues' message to empty stage list items
Signed-off-by: Malf Furious <m@lfurio.us>
Diffstat (limited to 'app')
-rw-r--r--app/view/datalsts.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/view/datalsts.php b/app/view/datalsts.php
index 2bbb44e..ba9021b 100644
--- a/app/view/datalsts.php
+++ b/app/view/datalsts.php
@@ -118,6 +118,10 @@ require_once "class/issue.class.php";
<div class="panel panel-default">
<h2 class="text-center"><?=$s->name?></h2>
+ <?php if (count($s->getIssues_ordByDueByNumb()) == 0) { ?>
+ <h4 class="text-info text-center">No issues</h4>
+ <?php } ?>
+
<table class="table table-hover">
<?php foreach ($s->getIssues_ordByDueByNumb() as $i) { ?>
<?=issueListItem($i)?>