Skip to content

Commit 2f833d6

Browse files
committed
Changed color of dots on status page #17 #33
1 parent 99de64b commit 2f833d6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

template/status.phtml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
<?php foreach ($status->getStatusInfo() as $key => $statusItem) { ?>
77
<tr>
88
<td><?= $this->translator->translate('status.' . $key); ?></td>
9-
<td><span class="<?= $statusItem ? 'g' : 'r'; ?>s"></span></td>
9+
<?php if ($key === 'opcache_enabled') { ?>
10+
<td><span class="<?= $statusItem ? 'g' : 'r'; ?>s"></span></td>
11+
<?php } else { ?>
12+
<td><span class="<?= $statusItem ? 'r' : 'g'; ?>s"></span></td>
13+
<?php } ?>
1014
</tr>
1115
<?php } ?>
1216
</table>

0 commit comments

Comments
 (0)