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'); ?>"> <td data-label="<?= $this->getHtml('Status'); ?>">
<span class="tag module-status-<?= $status; ?>"> <span class="tag module-status-<?= $status; ?>">
<a href="<?= $url; ?>"> <a href="<?= $url; ?>">
<?php if ($status === ModuleStatus::ACTIVE) <?php if ($status === ModuleStatus::ACTIVE) {
echo \mb_strtolower($this->getHtml('Active')); echo \mb_strtolower($this->getHtml('Active'));
elseif ($status === ModuleStatus::INACTIVE) } elseif ($status === ModuleStatus::INACTIVE) {
echo \mb_strtolower($this->getHtml('Inactive')); echo \mb_strtolower($this->getHtml('Inactive'));
else } else {
echo \mb_strtolower($this->getHtml('Available')); ?> echo \mb_strtolower($this->getHtml('Available'));
} ?>
</a> </a>
<?php endforeach; ?> <?php endforeach; ?>
</span> </span>