fix tests

This commit is contained in:
Dennis Eichhorn 2024-04-25 01:48:22 +00:00
parent 06dac3104f
commit 88654a8e34

View File

@ -91,12 +91,13 @@ $tableView->setObjects($modules);
<td data-label="<?= $this->getHtml('Status'); ?>">
<span class="tag module-status-<?= $status; ?>">
<a href="<?= $url; ?>">
<?php if ($status === ModuleStatus::ACTIVE)
<?php if ($status === ModuleStatus::ACTIVE) {
echo \mb_strtolower($this->getHtml('Active'));
elseif ($status === ModuleStatus::INACTIVE)
} elseif ($status === ModuleStatus::INACTIVE) {
echo \mb_strtolower($this->getHtml('Inactive'));
else
echo \mb_strtolower($this->getHtml('Available')); ?>
} else {
echo \mb_strtolower($this->getHtml('Available'));
} ?>
</a>
<?php endforeach; ?>
</span>