summaryrefslogtreecommitdiffstats
path: root/app/view/issue.php
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2021-10-18 21:05:27 -0400
committerMalfurious <m@lfurio.us>2021-10-18 21:05:27 -0400
commit2b5ea48b854e4441cc89666d5c1d5fb30f8453ea (patch)
tree2a1c1d14f5d92ab56df8bb9049b77a48b5b43c5b /app/view/issue.php
parent00f0fcc8895df860aaec0421385b6be7c8d8f7db (diff)
parenta2f522583ef35e009f1f0be7086fc511d52c2b36 (diff)
downloadscrott-2b5ea48b854e4441cc89666d5c1d5fb30f8453ea.tar.gz
scrott-2b5ea48b854e4441cc89666d5c1d5fb30f8453ea.zip
Merge branch 'issue-view-improvements'
Some changes pertaining to issue management workflow enhancement * issue-view-improvements: Keep issue modal open after closing an issue Automatically call-up issue modal for newly-opened issues Add stage/guid information to issue modal title bar Add additional info / controls to issueListItem
Diffstat (limited to 'app/view/issue.php')
-rw-r--r--app/view/issue.php13
1 files changed, 10 insertions, 3 deletions
diff --git a/app/view/issue.php b/app/view/issue.php
index 01a9f5f..4ca0e3b 100644
--- a/app/view/issue.php
+++ b/app/view/issue.php
@@ -51,6 +51,7 @@ require_once "class/issue.class.php";
<?php function issue(\issue $i) : void { ?>
<?php $m = $i->getOPMesg(); ?>
+ <?php $s = $i->getParent(); ?>
<div id="issueModal-<?=$i->guid?>" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog modal-lg" role="document">
@@ -61,9 +62,15 @@ require_once "class/issue.class.php";
</button>
<h4 class="modal-title">
- <span class="glyphicon glyphicon-inbox"></span>
- <?=$i->name?>
- <small>#<?=$i->numb?></small>
+ <span class="glyphicon glyphicon-inbox"></span> <?=$i->name?>&nbsp;&nbsp;
+
+ <small>
+ <?php if ($s->objtype == "stage") { ?>
+ <span class="glyphicon glyphicon-tasks"></span> <?=$s->name?>&nbsp;&nbsp;
+ <?php } ?>
+
+ #<?=$i->numb?> <?=$i->guid?>
+ </small>
</h4>
</div>