2007-01-22 Andrew Ruthven
Change the version boundaries for the disk space blocks to reflect
current SVN.
+ The backend returns the disk usage in MB, not GB.
2007-01-20 Andrew Ruthven
Show the shows that will be deleted by the auto expirer, and their
'xml_version' => [ "== 0" ],
'attrs' => [ qw/drive_total_total drive_total_used/ ],
'commify' => [ qw/drive_total_total drive_total_used/ ],
- 'template' => "Total space is __drive_total_total__ GB, with __drive_total_used__ GB used (__percent__)",
+ 'template' => "Total space is __drive_total_total__ MB, with __drive_total_used__ MB used (__percent__)",
'format' => 'one line',
'subs' => {
'percent' => sub {
'xml_version' => [ "> 0" ],
'attrs' => [ qw/total used/ ],
'commify' => [ qw/total used/ ],
- 'template' => "Total space is __total__ GB, with __used__ GB used (__percent__)",
+ 'template' => "Total space is __total__ MB, with __used__ MB used (__percent__)",
'format' => 'one line',
'subs' => {
'percent' => sub {
'xml_version' => [ "> 0" ],
'attrs' => [ qw/id total used/ ],
'commify' => [ qw/total used/ ],
- 'template' => "Total space for group __id__ is __total__ GB, with __used__ GB used (__percent__)",
+ 'template' => "Total space for group __id__ is __total__ MB, with __used__ MB used (__percent__)",
'filter' => {
'id' => sub { return $_[0] eq 'total' },
'used' => sub {