diff options
author | Malfurious <m@lfurio.us> | 2021-10-18 19:27:27 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2021-10-18 19:27:27 -0400 |
commit | d554ce9e415c3d8ed1541e1c0bf507cf0b88b208 (patch) | |
tree | fabcd47696d51de5ddebd1d4ed4c767b0af3c204 /app | |
parent | 68d0262464933a158e31f76fd927b72b19fdf497 (diff) | |
download | scrott-d554ce9e415c3d8ed1541e1c0bf507cf0b88b208.tar.gz scrott-d554ce9e415c3d8ed1541e1c0bf507cf0b88b208.zip |
Add stage/guid information to issue modal title bar
The previous patch removed the guid from the far left side of
issueListItem entries. This patch makes that value visible again within
the popup issue modal window.
Additionally, the issue's current stage is displayed next to its name.
Viewing this info here is convenient, however this is mostly done in
anticipation of being able to access issues from the main user
dashboard, where pad stage context may be missing.
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'app')
-rw-r--r-- | app/view/issue.php | 13 |
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?> + + <small> + <?php if ($s->objtype == "stage") { ?> + <span class="glyphicon glyphicon-tasks"></span> <?=$s->name?> + <?php } ?> + + #<?=$i->numb?> <?=$i->guid?> + </small> </h4> </div> |