From 26d1376ff55f072f3e0c036f1da62d108fffee07 Mon Sep 17 00:00:00 2001 From: Kevin Dexter Date: Tue, 9 Jan 2018 19:04:14 -0500 Subject: [PATCH 1/3] Project Roles/Applications WIP -- Roles for projects where users can apply for a position (role). --- html-templates/projects/project.tpl | 259 +++++++++++++++++- html-templates/projects/roleAdded.tpl | 12 + .../projects/roleApplicationAdded.tpl | 12 + html-templates/projects/roleModified.tpl | 12 + html-templates/projects/roleRemoved.tpl | 14 + php-classes/Laddr/Project.php | 26 +- php-classes/Laddr/ProjectRole.php | 46 ++++ php-classes/Laddr/ProjectsRequestHandler.php | 106 +++++++ php-classes/Laddr/RoleApplication.php | 61 +++++ site-root/js/pages/project.js | 23 +- 10 files changed, 564 insertions(+), 7 deletions(-) create mode 100644 html-templates/projects/roleAdded.tpl create mode 100644 html-templates/projects/roleApplicationAdded.tpl create mode 100644 html-templates/projects/roleModified.tpl create mode 100644 html-templates/projects/roleRemoved.tpl create mode 100644 php-classes/Laddr/ProjectRole.php create mode 100644 php-classes/Laddr/RoleApplication.php diff --git a/html-templates/projects/project.tpl b/html-templates/projects/project.tpl index 5407acd1..b312f601 100644 --- a/html-templates/projects/project.tpl +++ b/html-templates/projects/project.tpl @@ -4,7 +4,47 @@ {block content} {$Project = $data} - + + +