Commit 347a15e1 authored by Liam's avatar Liam

Bug #993121: Show group quota in admin area

behatnotneeded

Change-Id: I0b53bc28a8636e72131d1c42ed58ab6d27b7101c
parent 3bd4bf51
......@@ -18,6 +18,7 @@ $group = get_record_select('group', 'id = ? AND deleted = 0', array(param_intege
define('TITLE', get_string('administergroups', 'admin'));
$quotaused = get_string('quotaused', 'admin') . ': ' . display_size($group->quotaused);
$quotasform = pieform(array(
'name' => 'groupquotasform',
'renderer' => 'div',
......@@ -31,7 +32,7 @@ $quotasform = pieform(array(
'hiddenlabel' => true,
'title' => get_string('filequota1', 'admin'),
'defaultvalue' => $group->quota,
'description' => '<p class="text-small text-midtone">' .get_string('groupfilequotadescription', 'admin') . '</p>',
'description' => '<p class="text-small text-midtone">' .get_string('groupfilequotadescription', 'admin') . '<br>' . $quotaused . '</p>',
),
'submit' => array(
'type' => 'submit',
......
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