From a92483d627f65dd3f880960c1177dfac7152ea65 Mon Sep 17 00:00:00 2001
From: Alexander Davis
Date: Fri, 14 Aug 2020 22:42:21 +0100
Subject: [PATCH] New Existing Launch (#98)
Changed CSS padding for some cards.
---
app/public/existing.php | 193 ++++++++++++++++++++++---------------
app/public/newexisting.php | 172 ---------------------------------
2 files changed, 117 insertions(+), 248 deletions(-)
delete mode 100644 app/public/newexisting.php
diff --git a/app/public/existing.php b/app/public/existing.php
index e32a276..2a4c6f7 100644
--- a/app/public/existing.php
+++ b/app/public/existing.php
@@ -5,7 +5,8 @@
if (is_signed_in()) {
$open_requests = get_my_open_requests($db);
$closed_requests = get_my_closed_requests($db);
- $subscriptions = get_subscribed_requests($db);
+ $open_subscriptions = get_open_subscribed_requests($db);
+ $closed_subscriptions = get_closed_subscribed_requests($db);
}
?>
@@ -22,97 +23,138 @@
-
-
- No open tickets");
- } else {
- foreach($open_requests as $tkt) {
- ?>
- -
-
-
+
+
+
+
+
+ No open tickets");
+ } else {
+ foreach($open_requests as $tkt) {
+ ?>
+ -
+
+
+
+
-
-
-
+
+
+
+ No closed tickets");
+ } else {
+ foreach($closed_requests as $tkt) {
+ ?>
+ -
+
+
+
+
+
+
-
-
-
+
+
+
-
- No closed tickets");
- } else {
- foreach($closed_requests as $tkt) {
- ?>
- -
-
-
-
-
-
-