Skip to content

Commit

Permalink
Changed color of dots on status page #17 #33
Browse files Browse the repository at this point in the history
  • Loading branch information
PeeHaa committed Dec 3, 2014
1 parent 99de64b commit 2f833d6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion template/status.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
<?php foreach ($status->getStatusInfo() as $key => $statusItem) { ?>
<tr>
<td><?= $this->translator->translate('status.' . $key); ?></td>
<td><span class="<?= $statusItem ? 'g' : 'r'; ?>s"></span></td>
<?php if ($key === 'opcache_enabled') { ?>
<td><span class="<?= $statusItem ? 'g' : 'r'; ?>s"></span></td>
<?php } else { ?>
<td><span class="<?= $statusItem ? 'r' : 'g'; ?>s"></span></td>
<?php } ?>
</tr>
<?php } ?>
</table>
Expand Down

0 comments on commit 2f833d6

Please sign in to comment.