more beautification b/c of bootstrap 5.3
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -33,6 +33,11 @@ use Froxlor\UI\Panel\UI;
|
||||
|
||||
class Domain
|
||||
{
|
||||
public static function domainLink(array $attributes)
|
||||
{
|
||||
return '<a href="https://' . $attributes['data'] . '" target="_blank">' . $attributes['data'] . '</a>';
|
||||
}
|
||||
|
||||
public static function domainWithCustomerLink(array $attributes)
|
||||
{
|
||||
$linker = UI::getLinker();
|
||||
|
||||
@@ -50,6 +50,7 @@ return [
|
||||
'label' => lng('domains.domainname'),
|
||||
'field' => 'domain_ace',
|
||||
'isdefaultsearchfield' => true,
|
||||
'callback' => [Domain::class, 'domainLink'],
|
||||
],
|
||||
'ipsandports' => [
|
||||
'label' => lng('admin.ipsandports.ipsandports'),
|
||||
|
||||
Reference in New Issue
Block a user