diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 3407d1b..aad1f48 100644 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -5,7 +5,7 @@ "type": 2, "subtype": 1, "name": "Workflows", - "uri": "/{/lang}/backend/workflow/dashboard?{?}", + "uri": "{/lang}/backend/workflow/dashboard?{?}", "target": "self", "icon": null, "order": 40, @@ -19,7 +19,7 @@ "type": 3, "subtype": 1, "name": "Dashboard", - "uri": "/{/lang}/backend/workflow/dashboard?{?}", + "uri": "{/lang}/backend/workflow/dashboard?{?}", "target": "self", "icon": null, "order": 1, @@ -34,7 +34,7 @@ "type": 3, "subtype": 1, "name": "Templates", - "uri": "/{/lang}/backend/workflow/template/list?{?}", + "uri": "{/lang}/backend/workflow/template/list?{?}", "target": "self", "icon": null, "order": 5, @@ -49,7 +49,7 @@ "type": 3, "subtype": 1, "name": "Create", - "uri": "/{/lang}/backend/workflow/template/create?{?}", + "uri": "{/lang}/backend/workflow/template/create?{?}", "target": "self", "icon": null, "order": 10, diff --git a/Theme/Backend/workflow-create.tpl.php b/Theme/Backend/workflow-create.tpl.php index e5b144e..509bf3e 100644 --- a/Theme/Backend/workflow-create.tpl.php +++ b/Theme/Backend/workflow-create.tpl.php @@ -19,7 +19,7 @@ echo $this->getData('nav')->render(); ?>

getHtml('Task') ?>

-
+ $workflow) : $c++; - $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/task/single?{?}&id=' . $workflow->getId()); + $url = \phpOMS\Uri\UriFactory::build('{/lang}/backend/task/single?{?}&id=' . $workflow->getId()); $color = 'darkred'; if ($workflow->getStatus() === \Modules\Workflow\Models\WorkflowStatus::DONE) { $color = 'green'; } elseif ($workflow->getStatus() === \Modules\Workflow\Models\WorkflowStatus::OPEN) { $color = 'darkblue'; }
diff --git a/Theme/Backend/workflow-dashboard.tpl.php b/Theme/Backend/workflow-dashboard.tpl.php index 9106309..f2a3e85 100644 --- a/Theme/Backend/workflow-dashboard.tpl.php +++ b/Theme/Backend/workflow-dashboard.tpl.php @@ -31,7 +31,7 @@ echo $this->getData('nav')->render(); ?>