diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 625877c..287e503 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -1,11 +1,11 @@ [ { "id": 1003601001, - "pid": "/backend", + "pid": "/", "type": 2, "subtype": 1, "name": "Checklist", - "uri": "{/lang}/backend/checklist/list?{?}", + "uri": "{/prefix}checklist/list?{?}", "target": "self", "icon": null, "order": 65, @@ -15,11 +15,11 @@ "children": [ { "id": 1003602001, - "pid": "/backend/checklist", + "pid": "/checklist", "type": 3, "subtype": 1, "name": "List", - "uri": "{/lang}/backend/checklist/list?{?}", + "uri": "{/prefix}checklist/list?{?}", "target": "self", "icon": null, "order": 1, @@ -30,11 +30,11 @@ }, { "id": 1003603001, - "pid": "/backend/checklist", + "pid": "/checklist", "type": 3, "subtype": 5, "name": "Templates", - "uri": "{/lang}/backend/checklist/template/list?{?}", + "uri": "{/prefix}checklist/template/list?{?}", "target": "self", "icon": null, "order": 5, @@ -45,11 +45,11 @@ }, { "id": 1003604001, - "pid": "/backend/checklist", + "pid": "/checklist", "type": 3, "subtype": 5, "name": "CreateTemplate", - "uri": "{/lang}/backend/checklist/template/create?{?}", + "uri": "{/prefix}checklist/template/create?{?}", "target": "self", "icon": null, "order": 15, diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php index 71ac68d..0416e4e 100644 --- a/Admin/Routes/Web/Backend.php +++ b/Admin/Routes/Web/Backend.php @@ -6,7 +6,7 @@ use phpOMS\Account\PermissionType; use phpOMS\Router\RouteVerb; return [ - '^.*/backend/checklist/list.*$' => [ + '^.*/checklist/list.*$' => [ [ 'dest' => '\Modules\Checklist\Controller\BackendController:viewChecklistList', 'verb' => RouteVerb::GET, @@ -17,7 +17,7 @@ return [ ], ], ], - '^.*/backend/checklist/template/list.*$' => [ + '^.*/checklist/template/list.*$' => [ [ 'dest' => '\Modules\Checklist\Controller\BackendController:viewChecklistTemplateList', 'verb' => RouteVerb::GET, @@ -28,7 +28,7 @@ return [ ], ], ], - '^.*/backend/checklist/template/create.*$' => [ + '^.*/checklist/template/create.*$' => [ [ 'dest' => '\Modules\Checklist\Controller\BackendController:viewChecklistTemplateCreate', 'verb' => RouteVerb::GET, @@ -39,7 +39,7 @@ return [ ], ], ], - '^.*/backend/checklist/template/view.*$' => [ + '^.*/checklist/template/view.*$' => [ [ 'dest' => '\Modules\Checklist\Controller\BackendController:viewChecklistTemplateView', 'verb' => RouteVerb::GET, diff --git a/Theme/Backend/checklist-list.tpl.php b/Theme/Backend/checklist-list.tpl.php index b8314a4..7ebf743 100644 --- a/Theme/Backend/checklist-list.tpl.php +++ b/Theme/Backend/checklist-list.tpl.php @@ -39,7 +39,7 @@ echo $this->getData('nav')->render(); ?>