This commit is contained in:
Dennis Eichhorn 2017-05-30 18:21:27 +02:00
parent dbfeb1457f
commit 7239bde84e
2 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@
"type": 2,
"subtype": 1,
"name": "Workflows",
"uri": "/{/lang}/backend/workflow/dashboard?{?}",
"uri": "{/base}/{/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": "{/base}/{/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": "{/base}/{/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": "{/base}/{/lang}/backend/workflow/template/create?{?}",
"target": "self",
"icon": null,
"order": 10,

View File

@ -32,7 +32,7 @@ echo $this->getData('nav')->render(); ?>
<tfoot>
<tbody>
<?php $c = 0; foreach($workflows as $key => $workflow) : $c++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/task/single?{?}&id=' . $workflow->getId());
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/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'; }