This commit is contained in:
Dennis Eichhorn 2017-05-30 18:21:27 +02:00
parent f3c8ad4210
commit c096ad5b55
4 changed files with 12 additions and 12 deletions

View File

@ -19,7 +19,7 @@
"type": 2,
"subtype": 1,
"name": "Units",
"uri": "/{/lang}/backend/organization/unit/list?{?}",
"uri": "{/base}/{/lang}/backend/organization/unit/list?{?}",
"target": "self",
"icon": null,
"order": 1,
@ -33,7 +33,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "/{/lang}/backend/organization/unit/list?{?}",
"uri": "{/base}/{/lang}/backend/organization/unit/list?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -48,7 +48,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "/{/lang}/backend/organization/unit/create?{?}",
"uri": "{/base}/{/lang}/backend/organization/unit/create?{?}",
"target": "self",
"icon": null,
"order": 25,
@ -65,7 +65,7 @@
"type": 2,
"subtype": 1,
"name": "Departments",
"uri": "/{/lang}/backend/organization/department/list?{?}",
"uri": "{/base}/{/lang}/backend/organization/department/list?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -79,7 +79,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "/{/lang}/backend/organization/department/list?{?}",
"uri": "{/base}/{/lang}/backend/organization/department/list?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -94,7 +94,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "/{/lang}/backend/organization/department/create?{?}",
"uri": "{/base}/{/lang}/backend/organization/department/create?{?}",
"target": "self",
"icon": null,
"order": 25,
@ -111,7 +111,7 @@
"type": 2,
"subtype": 1,
"name": "Positions",
"uri": "/{/lang}/backend/organization/position/list?{?}",
"uri": "{/base}/{/lang}/backend/organization/position/list?{?}",
"target": "self",
"icon": null,
"order": 20,
@ -125,7 +125,7 @@
"type": 3,
"subtype": 1,
"name": "List",
"uri": "/{/lang}/backend/organization/position/list?{?}",
"uri": "{/base}/{/lang}/backend/organization/position/list?{?}",
"target": "self",
"icon": null,
"order": 5,
@ -140,7 +140,7 @@
"type": 3,
"subtype": 1,
"name": "Create",
"uri": "/{/lang}/backend/organization/position/create?{?}",
"uri": "{/base}/{/lang}/backend/organization/position/create?{?}",
"target": "self",
"icon": null,
"order": 25,

View File

@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="4"><?= $footerView->render(); ?>
<tbody>
<?php $c = 0; foreach ($this->getData('list:elements') as $key => $value) : $c++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/department/profile?{?}&id=' . $value->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/organization/department/profile?{?}&id=' . $value->getId()); ?>
<tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>

View File

@ -42,7 +42,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="3"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach($listElements as $key => $value) : $count++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/position/profile?{?}&id=' . $value->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/organization/position/profile?{?}&id=' . $value->getId()); ?>
<tr data-href="<?= $url; ?>">
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>

View File

@ -40,7 +40,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="3"><?= $footerView->render(); ?>
<tbody>
<?php foreach ($this->getData('list:elements') as $key => $value) :
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/organization/unit/profile?{?}&id=' . $value->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/organization/unit/profile?{?}&id=' . $value->getId()); ?>
<tr data-href="<?= $url; ?>">
<td data-label="<?= $this->getText('ID', 0, 0); ?>"><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
<td data-label="<?= $this->getText('Name'); ?>"><a href="<?= $url; ?>"><?= $value->getName(); ?></a>