mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-02-02 09:48:42 +00:00
fix tests
This commit is contained in:
parent
935d1838e3
commit
a753afaf0d
|
|
@ -28,4 +28,5 @@ return ['Organization' => [
|
|||
'Unit' => 'Unit',
|
||||
'UnitLogo' => 'Unit Logo',
|
||||
'Units' => 'Units',
|
||||
'IMG_alt_profile' => 'Unit image',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
$url = UriFactory::build('{/prefix}organization/unit/profile?{?}&id=' . $value->getId()); ?>
|
||||
<tr tabindex="0" data-href="<?= $url; ?>">
|
||||
<td data-label="<?= $this->getHtml('ID', '0', '0'); ?>"><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
|
||||
<td><a href="<?= $url; ?>"><img class="profile-image" src="<?= $value->image instanceof NullMedia ?
|
||||
<td><a href="<?= $url; ?>"><img alt="<?= $this->getHtml('IMG_alt_profile'); ?>" class="profile-image" src="<?= $value->image instanceof NullMedia ?
|
||||
UriFactory::build('Web/Backend/img/user_default_' . \mt_rand(1, 6) .'.png') :
|
||||
UriFactory::build('{/prefix}' . $value->image->getPath()); ?>"></a>
|
||||
<td data-label="<?= $this->getHtml('Name'); ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->name); ?></a>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?php declare(strict_types=1);
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
// Modules/tests
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user