fix tests
Some checks are pending
CI / general_module_workflow_php (push) Waiting to run
CI / general_module_workflow_js (push) Waiting to run

This commit is contained in:
Dennis Eichhorn 2024-05-18 02:15:38 +00:00
parent dbf9ba5d5b
commit b92e23e62b
3 changed files with 9 additions and 9 deletions

View File

@ -89,10 +89,10 @@ return ['OnlineResourceWatcher' => [
'Username' => 'Username',
'Users' => 'Users',
'XPath' => 'XPath',
'rstatus--1' => 'Downloadfehler',
'rstatus-1' => 'Quelle hinzugefügt',
'rstatus-2' => 'Keine Änderung',
'rstatus-3' => 'Änderung',
':rstatus--1' => 'Downloadfehler',
':rstatus-1' => 'Quelle hinzugefügt',
':rstatus-2' => 'Keine Änderung',
':rstatus-3' => 'Änderung',
':status-1' => 'Aktiv',
':status-2' => 'Inaktiv',
]];

View File

@ -89,10 +89,10 @@ return ['OnlineResourceWatcher' => [
'Username' => 'Username',
'Users' => 'Users',
'XPath' => 'XPath',
'rstatus--1' => 'Download error',
'rstatus-1' => 'Resource added',
'rstatus-2' => 'No change',
'rstatus-3' => 'Changed',
':rstatus--1' => 'Download error',
':rstatus-1' => 'Resource added',
':rstatus-2' => 'No change',
':rstatus-3' => 'Changed',
':status-1' => 'Active',
':status-2' => 'Inactive',
]];

View File

@ -69,7 +69,7 @@ $reports = $resource->reports;
<?php foreach ($reports as $report) : ?>
<tr>
<td><?= $this->printHtml($report->createdAt->format('Y-m-d')); ?>
<td><?= $this->getHtml('rstatus-' . $report->status); ?>
<td><?= $this->getHtml(':rstatus-' . $report->status); ?>
<?php endforeach; ?>
</table>
</div>