more beautification b/c of bootstrap 5.3

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2023-10-17 14:25:02 +02:00
parent 965e2dfd95
commit 7556685881
6 changed files with 17 additions and 12 deletions

View File

@@ -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();

View File

@@ -50,6 +50,7 @@ return [
'label' => lng('domains.domainname'),
'field' => 'domain_ace',
'isdefaultsearchfield' => true,
'callback' => [Domain::class, 'domainLink'],
],
'ipsandports' => [
'label' => lng('admin.ipsandports.ipsandports'),