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()); ?>