From 63a355ad0dcf720f7ec7966f549514ed3e0b5a4f Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 8 Nov 2017 22:39:51 +0100 Subject: [PATCH] Fix #13 --- Admin/Install/Navigation.install.json | 8 ++++---- Theme/Backend/production-list.tpl.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 17b3956..2bf8bc0 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -5,7 +5,7 @@ "type": 2, "subtype": 0, "name": "Production", - "uri": "{/base}/{/lang}/backend/production/dashboard?{?}", + "uri": "/{/lang}/backend/production/dashboard?{?}", "target": "self", "icon": "fa fa-fire", "order": 70, @@ -19,7 +19,7 @@ "type": 2, "subtype": 1, "name": "Production", - "uri": "{/base}/{/lang}/backend/production/list?{?}", + "uri": "/{/lang}/backend/production/list?{?}", "target": "self", "icon": null, "order": 5, @@ -33,7 +33,7 @@ "type": 3, "subtype": 1, "name": "List", - "uri": "{/base}/{/lang}/backend/production/list?{?}", + "uri": "/{/lang}/backend/production/list?{?}", "target": "self", "icon": null, "order": 5, @@ -48,7 +48,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "{/base}/{/lang}/backend/production/create?{?}", + "uri": "/{/lang}/backend/production/create?{?}", "target": "self", "icon": null, "order": 10, diff --git a/Theme/Backend/production-list.tpl.php b/Theme/Backend/production-list.tpl.php index 04cc12c..365ad03 100644 --- a/Theme/Backend/production-list.tpl.php +++ b/Theme/Backend/production-list.tpl.php @@ -43,7 +43,7 @@ echo $this->getData('nav')->render(); ?> render(); ?> $value) : $c++; - $url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/business/department/profile?{?}&id=' . $value->getId()); ?> + $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/business/department/profile?{?}&id=' . $value->getId()); ?> printHtml($value->getId()); ?> printHtml($value->getName()); ?>