Skip to content

Commit

Permalink
Add rounding and tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
aljawaid committed Mar 11, 2023
1 parent 1d8aa42 commit c242e91
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Template/config/cleaner.php
Expand Up @@ -36,7 +36,9 @@
<?php if (DB_DRIVER === 'sqlite'): ?>
<td class=""><?= $this->text->bytes($db_size) ?></td>
<?php else: ?>
<td class=""><?= $this->helper->cleaningHelper->dbSize() ?> MB</td>
<td class="" title="<?= $this->helper->cleaningHelper->dbSize() ?> MB">
<?= round($this->helper->cleaningHelper->dbSize(), 1, PHP_ROUND_HALF_UP) ?> MB
</td>
<?php endif ?>
</tr>
</table>
Expand Down

0 comments on commit c242e91

Please sign in to comment.