From 5371f7dd88dcba20d10b58bc2111edd5ee801c5e Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 10 Dec 2022 22:17:54 +0100 Subject: [PATCH] fix urls --- Admin/Install/Navigation.install.json | 8 ++++---- Theme/Backend/private-dashboard.tpl.php | 2 +- info.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 7805ab5..30d373f 100755 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -5,7 +5,7 @@ "type": 2, "subtype": 1, "name": "TimeRecording", - "uri": "{/prefix}humanresource/timerecording/dashboard?{?}", + "uri": "{/lang}/{/app}/humanresource/timerecording/dashboard?{?}", "target": "self", "icon": null, "order": 70, @@ -19,7 +19,7 @@ "type": 3, "subtype": 1, "name": "Today", - "uri": "{/prefix}humanresource/timerecording/dashboard?{?}", + "uri": "{/lang}/{/app}/humanresource/timerecording/dashboard?{?}", "target": "self", "icon": null, "order": 1, @@ -34,7 +34,7 @@ "type": 3, "subtype": 1, "name": "Stats", - "uri": "{/prefix}humanresource/timerecording/stats?{?}", + "uri": "{/lang}/{/app}/humanresource/timerecording/stats?{?}", "target": "self", "icon": null, "order": 1, @@ -51,7 +51,7 @@ "type": 2, "subtype": 1, "name": "TimeRecording", - "uri": "{/prefix}private/timerecording/dashboard?{?}", + "uri": "{/lang}/{/app}/private/timerecording/dashboard?{?}", "target": "self", "icon": null, "order": 1, diff --git a/Theme/Backend/private-dashboard.tpl.php b/Theme/Backend/private-dashboard.tpl.php index a80ee7d..de12b8f 100755 --- a/Theme/Backend/private-dashboard.tpl.php +++ b/Theme/Backend/private-dashboard.tpl.php @@ -204,7 +204,7 @@ echo $this->getData('nav')->render(); ?> getId()); + $url = UriFactory::build('{/lang}/{/app}/private/timerecording/session?{?}&id=' . $session->getId()); ?> diff --git a/info.json b/info.json index 763cd9e..f6a051e 100755 --- a/info.json +++ b/info.json @@ -12,7 +12,7 @@ }, "creator": { "name": "Karaka", - "website": "www.spl1nes.com" + "website": "jingga.app" }, "description": "The administration module.", "directory": "HumanResourceTimeRecording",