From 68d0262464933a158e31f76fd927b72b19fdf497 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Mon, 18 Oct 2021 18:25:53 -0400 Subject: Add additional info / controls to issueListItem The list of assignees, the owner (opener), and quick controls for advancing or closing an issue are now available in the issue listing for pad stages (or the closed issue list, which is missing the new control buttons). If using the quick control buttons to manipulate an issue, the issue modal is not called-up on the page reload. Signed-off-by: Malfurious --- app/model/issue.php | 4 +++- app/view/datalsts.php | 43 +++++++++++++++++++++++++++++++++++++++---- app/view/pad_closed.php | 2 +- 3 files changed, 43 insertions(+), 6 deletions(-) diff --git a/app/model/issue.php b/app/model/issue.php index dd904e4..3f7b620 100644 --- a/app/model/issue.php +++ b/app/model/issue.php @@ -25,6 +25,7 @@ if (isAction("iss-mesg-add")) $form->text("issue"); $form->text("mesg", false); $form->text("assignee"); + $form->flag("nopop"); if (!$form->populate(input())) return; @@ -106,7 +107,8 @@ if (isAction("iss-mesg-add")) } /* automatically redisplay issue modal */ - setAutoModal("#issueModal-" . $issue->guid); + if ($form->nopop != "1") + setAutoModal("#issueModal-" . $issue->guid); } ?> diff --git a/app/view/datalsts.php b/app/view/datalsts.php index ba9021b..b80de78 100644 --- a/app/view/datalsts.php +++ b/app/view/datalsts.php @@ -17,6 +17,7 @@ namespace datalsts; require_once "class/obj.class.php"; require_once "class/stage.class.php"; require_once "class/issue.class.php"; +require_once "view/formctrl.php"; ?> @@ -130,12 +131,46 @@ require_once "class/issue.class.php"; - + + + getAssignees(); ?> - - guid?> (#numb?>) - name?> + #numb?> + + + name?> + + +
+ + guid )?> + + + + +   + + assignee, 20)?> + + + getOwner(), 20)?> + + +   +
+ + + +
+ +
+
+ diff --git a/app/view/pad_closed.php b/app/view/pad_closed.php index 412ce4f..c0678e3 100644 --- a/app/view/pad_closed.php +++ b/app/view/pad_closed.php @@ -64,7 +64,7 @@ require_once "view/issue.php"; - +
-- cgit v1.2.3