mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-15 23:08:40 +00:00
fix tests
This commit is contained in:
parent
30242bfd4e
commit
8ada9ad34c
|
|
@ -101,4 +101,5 @@ return ['Profile' => [
|
||||||
'cType2' => 'Fax',
|
'cType2' => 'Fax',
|
||||||
'cType3' => 'Website',
|
'cType3' => 'Website',
|
||||||
'cType4' => 'Email',
|
'cType4' => 'Email',
|
||||||
|
'IMG_alt_user' => 'User image',
|
||||||
]];
|
]];
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ echo $this->getData('nav')->render();
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr><td><label for="iAccount"><?= $this->getHtml('Account'); ?></label>
|
<tr><td><label for="iAccount"><?= $this->getHtml('Account'); ?></label>
|
||||||
<tr><td><?= $this->getData('accGrpSelector')->render('iAccount', true); ?>
|
<tr><td><?= $this->getData('accGrpSelector')->render('iAccount', true); ?>
|
||||||
<tr><td><input type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>">
|
<tr><td><input type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>" name="create-module">
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ $next = empty($accounts) ? '{/prefix}profile/list' : '{/prefix}profile/list?
|
||||||
$url = UriFactory::build('{/prefix}profile/single?{?}&id=' . $account->getId());
|
$url = UriFactory::build('{/prefix}profile/single?{?}&id=' . $account->getId());
|
||||||
?>
|
?>
|
||||||
<tr tabindex="0" data-href="<?= $url; ?>">
|
<tr tabindex="0" data-href="<?= $url; ?>">
|
||||||
<td><a href="<?= $url; ?>"><img width="30" loading="lazy" class="profile-image"
|
<td><a href="<?= $url; ?>"><img alt="<?= $this->getHtml('IMG_alt_user'); ?>" width="30" loading="lazy" class="profile-image"
|
||||||
src="<?=
|
src="<?=
|
||||||
$account->image instanceof NullMedia
|
$account->image instanceof NullMedia
|
||||||
? UriFactory::build('{/prefix}' . $this->getData('defaultImage')->getPath())
|
? UriFactory::build('{/prefix}' . $this->getData('defaultImage')->getPath())
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
<?php declare(strict_types=1);
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
// Modules/tests
|
// Modules/tests
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user