fomfields for admin/domains and some fixes in tablelistings
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -82,10 +82,21 @@ return [
|
||||
],
|
||||
'visible' => [Domain::class, 'adminCanEditDNS']
|
||||
],
|
||||
'domainssleditor' => [
|
||||
'icon' => 'fa fa-shield',
|
||||
'title' => $lng['panel']['ssleditor'], // @todo different certificate types by $row['domain_hascert']
|
||||
'href' => [
|
||||
'section' => 'domains',
|
||||
'page' => 'domainssleditor',
|
||||
'action' => 'view',
|
||||
'id' => ':id'
|
||||
],
|
||||
'visible' => [Domain::class, 'adminCanEditDNS']
|
||||
],
|
||||
'letsencrypt' => [
|
||||
'icon' => 'fa fa-shield',
|
||||
'title' => $lng['panel']['letsencrypt'],
|
||||
'visible' => ':letsencrypt' // @fixme
|
||||
'visible' => [Domain::class, 'hasLetsEncryptActivated']
|
||||
],
|
||||
'delete' => [
|
||||
'icon' => 'fa fa-trash',
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
*/
|
||||
|
||||
use Froxlor\Settings;
|
||||
use Froxlor\UI\Callbacks\Domain;
|
||||
use Froxlor\UI\Callbacks\SSLCertificate;
|
||||
use Froxlor\UI\Callbacks\Text;
|
||||
use Froxlor\UI\Listing;
|
||||
@@ -28,7 +29,8 @@ return [
|
||||
'columns' => [
|
||||
'd.domain' => [
|
||||
'label' => $lng['domains']['domainname'],
|
||||
'field' => 'domain',
|
||||
'field' => 'domains.domain_ace',
|
||||
'callback' => [Domain::class, 'domainWithCustomerLink'],
|
||||
],
|
||||
'c.domain' => [
|
||||
'label' => $lng['ssl_certificates']['certificate_for'],
|
||||
|
||||
Reference in New Issue
Block a user