more action-menu and info-box testing for overviews
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace Froxlor\UI\Callbacks;
|
||||
|
||||
use Froxlor\PhpHelper;
|
||||
|
||||
/**
|
||||
* This file is part of the Froxlor project.
|
||||
* Copyright (c) 2010 the Froxlor Team (see authors).
|
||||
@@ -42,4 +44,9 @@ class Text
|
||||
{
|
||||
return \Froxlor\User::getCorrectFullUserDetails($attributes);
|
||||
}
|
||||
|
||||
public static function size(string $data, array $attributes): string
|
||||
{
|
||||
return PhpHelper::sizeReadable($data, null, 'bi');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user