add default-sorting to dns-record tablelisting; add edit-domain button in ssl-editor
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -132,7 +132,7 @@ UI::view('user/dns-editor.html.twig', [
|
||||
'action' => 'edit',
|
||||
'id' => $domain_id
|
||||
]),
|
||||
'label' => lng('panel.edit'),
|
||||
'label' => lng('admin.domain_edit'),
|
||||
'icon' => 'fa-solid fa-pen'
|
||||
],
|
||||
[
|
||||
|
||||
@@ -33,6 +33,7 @@ return [
|
||||
'description' => $domain,
|
||||
'icon' => 'fa-solid fa-globe',
|
||||
'self_overview' => ['section' => 'domains', 'page' => 'domaindnseditor'],
|
||||
'default_sorting' => ['record' => 'asc'],
|
||||
'columns' => [
|
||||
'record' => [
|
||||
'label' => 'Record',
|
||||
|
||||
@@ -96,6 +96,17 @@ if ($action == '' || $action == 'view') {
|
||||
'formdata' => $ssleditor_data['domain_ssleditor'],
|
||||
'editid' => $id,
|
||||
'actions_links' => [
|
||||
[
|
||||
'class' => 'btn-secondary',
|
||||
'href' => $linker->getLink([
|
||||
'section' => 'domains',
|
||||
'page' => 'domains',
|
||||
'action' => 'edit',
|
||||
'id' => $id
|
||||
]),
|
||||
'label' => lng('admin.domain_edit'),
|
||||
'icon' => 'fa-solid fa-pen'
|
||||
],
|
||||
[
|
||||
'class' => 'btn-outline-primary',
|
||||
'href' => $linker->getLink(['section' => 'domains', 'page' => 'overview']),
|
||||
|
||||
Reference in New Issue
Block a user