All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit fa2ea835 authored by Leigh B Stoller's avatar Leigh B Stoller

Fix usage statement; only 2 decimal places.

parent 253ae345
......@@ -322,7 +322,7 @@ $PAGEHEADER_FUNCTION = function($thinheader = 0, $ignore1 = NULL,
if ($login_user) {
list($pcount, $phours) = Instance::CurrentUsage($login_user);
if ($pcount) {
$average = $phours / $pcount;
$average = sprintf("%.2f", $phours / $pcount);
echo "<center style='margin-bottom: 5px; margin-top: -8px'>
<span class=text-warning>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment