mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-14 14:48:39 +00:00
fixes #62
This commit is contained in:
parent
48210e9dca
commit
42f1749a54
|
|
@ -5,7 +5,7 @@
|
||||||
"type": 2,
|
"type": 2,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Profiles",
|
"name": "Profiles",
|
||||||
"uri": "/{/lang}/backend/profile/list?{?}",
|
"uri": "{/base}/{/lang}/backend/profile/list?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 10,
|
"order": 10,
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
"type": 3,
|
"type": 3,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "List",
|
"name": "List",
|
||||||
"uri": "/{/lang}/backend/profile/list?{?}",
|
"uri": "{/base}/{/lang}/backend/profile/list?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 1,
|
"order": 1,
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
"type": 5,
|
"type": 5,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Profile",
|
"name": "Profile",
|
||||||
"uri": "/{/lang}/backend/profile/single/front?{?}",
|
"uri": "{/base}/{/lang}/backend/profile/single/front?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 3,
|
"order": 3,
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
"type": 5,
|
"type": 5,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Settings",
|
"name": "Settings",
|
||||||
"uri": "/{/lang}/backend/profile/single/settings?{?}",
|
"uri": "{/base}/{/lang}/backend/profile/single/settings?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 999,
|
"order": 999,
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ $accounts = $this->getData('accounts');
|
||||||
<td colspan="3"><?= $footerView->render(); ?>
|
<td colspan="3"><?= $footerView->render(); ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $count = 0; foreach($accounts as $key => $account) : $count++;
|
<?php $count = 0; foreach($accounts as $key => $account) : $count++;
|
||||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/profile/single?{?}&id=' . $account->getId()); ?>
|
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/profile/single?{?}&id=' . $account->getId()); ?>
|
||||||
<tr data-href="<?= $url; ?>">
|
<tr data-href="<?= $url; ?>">
|
||||||
<td><a href="<?= $url; ?>"><?= $account->getId(); ?></a>
|
<td><a href="<?= $url; ?>"><?= $account->getId(); ?></a>
|
||||||
<td><a href="<?= $url; ?>"><?= $account->getName3() . ' ' . $account->getName2() . ' ' . $account->getName1(); ?></a>
|
<td><a href="<?= $url; ?>"><?= $account->getName3() . ' ' . $account->getName2() . ' ' . $account->getName1(); ?></a>
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@ echo $this->getData('nav')->render();
|
||||||
<tr><td colspan="4"><?= $footerView->render(); ?>
|
<tr><td colspan="4"><?= $footerView->render(); ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $c = 0; foreach ([] as $key => $value) : $c++;
|
<?php $c = 0; foreach ([] as $key => $value) : $c++;
|
||||||
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/admin/group/settings?{?}&id=' . $value->getId()); ?>
|
$url = \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/backend/admin/group/settings?{?}&id=' . $value->getId()); ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
||||||
<td><a href="<?= $url; ?>"><?= $value->getNewestHistory()->getPosition(); ?></a>
|
<td><a href="<?= $url; ?>"><?= $value->getNewestHistory()->getPosition(); ?></a>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user