Fix absolute path to relative paths

This commit is contained in:
Dennis Eichhorn 2019-02-11 11:38:15 +01:00
parent 06fd795be1
commit 9c1e242e21
3 changed files with 6 additions and 6 deletions

View File

@ -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,

View File

@ -19,7 +19,7 @@ echo $this->getData('nav')->render(); ?>
<header><h1><?= $this->getHtml('Task') ?></h1></header>
<div class="inner">
<form id="fTask" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/task/create'); ?>">
<form id="fTask" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('{/lang}/api/task/create'); ?>">
<table class="layout wf-100">
<tbody>
<tr><td colspan="2"><label for="iReceiver"><?= $this->getHtml('To') ?></label>

View File

@ -31,7 +31,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('{/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'; }