re-adding the different certificate sources for domains in overview

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-05-20 15:41:06 +02:00
parent fef416ce84
commit f6c265dfa1
8 changed files with 116 additions and 25 deletions

View File

@@ -172,15 +172,7 @@ 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, 'canEditSSL']
'callback' => [Domain::class, 'editSSLButtons'],
],
'letsencrypt' => [
'icon' => 'fa fa-shield',

View File

@@ -111,15 +111,7 @@ return [
'visible' => [Domain::class, 'canEditDNS']
],
'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, 'canEditSSL']
'callback' => [Domain::class, 'editSSLButtons'],
],
'letsencrypt' => [
'icon' => 'fa fa-shield',