From daa4f7a34e23d18e23d34d4becca752635b2ea38 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Mon, 5 Nov 2018 04:21:49 -0500 Subject: Only display 'iss-mesg-add' form for open issues Disallow posting to closed issues. This is a temporary soultion and will likely be reverted in the future. The main reason this is being done now is because this form, as written, depends on an open issue state. To aid diff comprehension, note that most lines are only indented one level, the code area affected is wrapped in a PHP if. Note that form submissions are still allowed for closed issues. This commit only disable the _displaying_ of the form. Signed-off-by: Malf Furious --- app/view/issue.php | 86 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 44 insertions(+), 42 deletions(-) diff --git a/app/view/issue.php b/app/view/issue.php index 5f1c518..6edf7cf 100644 --- a/app/view/issue.php +++ b/app/view/issue.php @@ -109,53 +109,55 @@ require_once "class/issue.class.php"; -
- - guid )?> - - -
- - - - - - - -
- -
-
- + isOpen()) { ?> + + + guid )?> + + +
+ + + + + + + +
- + - - -
- -
+ getParent()->getParent()->getMembers() as $memb) { ?> + + + + + + + - -
+ + +
-- cgit v1.2.3