Closed Empty2k12 closed 6 years ago
Hi,
Thanks for the pull request, I definitely think it's something useful.
Could you re-implement the change with a toggle in php/config.php
to switch the extra text on and off, and also refactor the PHP out into a function and add the value to $data
during the initial gathering stage, rather than computing on-the-fly in the template?
Thanks, Craig
This adds the info of how many days the disk space will last to the free disk space display.
It looks like this:
Free Disk Space: 68.37 GB (Space for roughly 486 more days of blocks)
To print it in one line, you should change Line 295 in
php/functions.php
toreturn convertToSI(disk_free_space("."));
To sse it in action check out my Node Status page!