From 9f0045366490199d2fcd562f8ddc4fc3503b3126 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Mon, 22 Oct 2018 03:15:18 -0400 Subject: issue: Add start of issue modal view --- app/view/issue.php | 118 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 app/view/issue.php (limited to 'app/view/issue.php') diff --git a/app/view/issue.php b/app/view/issue.php new file mode 100644 index 0000000..9447e62 --- /dev/null +++ b/app/view/issue.php @@ -0,0 +1,118 @@ + + + +
+ +

+ + +

+ + + + + + + + + +
  + getDisplayName()?> + + + +
+ +
+
+ +
+ + + + + getOPMesg(); ?> + + + + -- cgit v1.2.3 From 6a33b7ea7d503d3181cce1e08e4956d8897e915b Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Wed, 24 Oct 2018 03:22:25 -0400 Subject: issue: Add message log to issue view modal Listing all message (and log messages) beneath the OP in chrono order. There is a form at the bottom to submit new messages. Signed-off-by: Malf Furious --- app/view/issue.php | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) (limited to 'app/view/issue.php') diff --git a/app/view/issue.php b/app/view/issue.php index 9447e62..6f9f95a 100644 --- a/app/view/issue.php +++ b/app/view/issue.php @@ -70,6 +70,68 @@ require_once "class/issue.class.php";

renderMesg()?>

+ +
+ + getMesgs_ordByDatetime() as $rm) { ?> +
+
+ objtype == "mesg") { ?> +
+
+ getAuthor(), 40)?> +
+ +
+ + getAuthor()->getDisplayName()?> + + + + created?> +
+ renderMesg()?> + + getAttachment()) { ?> +
+
+ + + + attachment?> + + +
+
+ + getAuthor(), 25)?> + renderMesg()?> + created?> + +
+
+ + +
+ + guid )?> + + +
+ + + +
+ + +
-- cgit v1.2.3 From b50b994af2df3453dbc2a1015a297c2b28e4b209 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Thu, 25 Oct 2018 21:37:41 -0400 Subject: issue: Implement form handler iss-mesg-add Submissions to the iss-mesg-add form are now handled by this function. User must be logged in and permitted to post to the issue in question. Signed-off-by: Malf Furious --- app/view/issue.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/view/issue.php') diff --git a/app/view/issue.php b/app/view/issue.php index 6f9f95a..9b3910c 100644 --- a/app/view/issue.php +++ b/app/view/issue.php @@ -14,6 +14,7 @@ namespace issue_v; +require_once "model/issue.php"; require_once "class/issue.class.php"; ?> -- cgit v1.2.3 From d73d8ccf9b009a522080f7fec08bf9f23962e1c9 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Thu, 25 Oct 2018 21:48:08 -0400 Subject: issue: Fix bug in iss-mesg-add form Since this form submits a file upload, we need it to be set enctype="multipart/form-data". Signed-off-by: Malf Furious --- app/view/issue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/view/issue.php') diff --git a/app/view/issue.php b/app/view/issue.php index 9b3910c..9fc4a42 100644 --- a/app/view/issue.php +++ b/app/view/issue.php @@ -116,7 +116,7 @@ require_once "class/issue.class.php";
-
+ guid )?> -- cgit v1.2.3 From f5d1b4a5ff98dc953dac78927c6cf2a2de4e7946 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sat, 27 Oct 2018 17:48:34 -0400 Subject: Remove unnecessary comment Signed-off-by: Malf Furious --- app/view/issue.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'app/view/issue.php') diff --git a/app/view/issue.php b/app/view/issue.php index 9fc4a42..2d781ba 100644 --- a/app/view/issue.php +++ b/app/view/issue.php @@ -84,14 +84,7 @@ require_once "class/issue.class.php";
- - getAuthor()->getDisplayName()?> - - - + getAuthor()->getDisplayName()?> created?>
renderMesg()?> -- cgit v1.2.3