mirror of
https://github.com/Karaka-Management/oms-OnlineResourceWatcher.git
synced 2026-01-26 22:48:43 +00:00
fix tests
This commit is contained in:
parent
dbf9ba5d5b
commit
b92e23e62b
|
|
@ -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',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user