From 2271efe0ad629c051eb5c0f4829869cda5fa6283 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 2 May 2024 22:54:37 +0000 Subject: [PATCH] Went through todos --- Controller/BackendController.php | 6 ++++++ Theme/Backend/dashboard.tpl.php | 24 ++++++++++++++++++++++-- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/Controller/BackendController.php b/Controller/BackendController.php index c40b52d..f9480c5 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -41,6 +41,12 @@ final class BackendController extends Controller * * @return RenderableInterface * + * @todo Create default dashboard templates which can be used by users, changing them copies it for this user + * https://github.com/Karaka-Management/oms-Dashboard/issues/7 + * + * @feature Allow people to modify a dashboard and automatically save it / reload it + * https://github.com/Karaka-Management/oms-Dashboard/issues/6 + * * @since 1.0.0 * @codeCoverageIgnore */ diff --git a/Theme/Backend/dashboard.tpl.php b/Theme/Backend/dashboard.tpl.php index e18581d..9e87cec 100755 --- a/Theme/Backend/dashboard.tpl.php +++ b/Theme/Backend/dashboard.tpl.php @@ -1,9 +1,29 @@ +
data['panels']; if (empty($panels)) : ?>
- + render(); ?> - +
\ No newline at end of file