[WIP] Subscription management (#63)

* Basic UI

@luketainton please edit lines 120-140 on the editsub and managesub files

*  Add subscription management

Signed-off-by: Luke Tainton <luke@tainton.uk>

*  Add subscription management

Signed-off-by: Luke Tainton <luke@tainton.uk>

* 🐛 Fix incorrect POST variable and add foreach()

Signed-off-by: Luke Tainton <luke@tainton.uk>

* 🎨 Fix file names and add link on view.php

Signed-off-by: Luke Tainton <luke@tainton.uk>

Co-authored-by: Alexander Davis <alex@adcm.uk>
This commit was merged in pull request #63.
This commit is contained in:
2020-08-10 16:12:57 +01:00
committed by GitHub
parent b89cf56ce9
commit cf61b081c0
6 changed files with 391 additions and 2 deletions

View File

@@ -53,8 +53,9 @@
<?php if ($request['status'] != 'Closed') { ?>
<p>
<a href='/update?rid=<?php echo($request["uuid"]); ?>' class='btn btn-primary my-2'>Update the request</a>
<a href='/upload?rid=<?php echo($request["uuid"]); ?>' class='btn btn-secondary my-2'>Add attachment(s)</a>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#closeModal">Close the request</button>
<a href='/upload?rid=<?php echo($request["uuid"]); ?>' class='btn btn-primary my-2'>Add attachment(s)</a>
<a href='/editsub?rid=<?php echo($request["uuid"]); ?>' class='btn btn-secondary my-2'>Manage subscribers</a>
<button type="button" class="btn btn-danger" data-toggle="modal" data-target="#closeModal">Close the request</button>
</p>
<?php } ?>
</div>