big renaming of CustomerBackup to DataDump / export for the real backup-feature to shine :P

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2023-06-07 11:37:00 +02:00
parent 5181602921
commit e958cfed84
20 changed files with 257 additions and 261 deletions

View File

@@ -28,10 +28,10 @@ use Froxlor\UI\Callbacks\Text;
use Froxlor\UI\Listing;
return [
'backup_list' => [
'title' => lng('error.customerhasongoingbackupjob'),
'export_list' => [
'title' => lng('error.customerhasongoingexportjob'),
'icon' => 'fa-solid fa-server',
'self_overview' => ['section' => 'extras', 'page' => 'backup'],
'self_overview' => ['section' => 'extras', 'page' => 'export'],
'default_sorting' => ['destdir' => 'asc'],
'columns' => [
'destdir' => [
@@ -44,28 +44,28 @@ return [
'field' => 'data.pgp_public_key',
'callback' => [Text::class, 'boolean']
],
'backup_web' => [
'label' => lng('extras.backup_web'),
'field' => 'data.backup_web',
'dump_web' => [
'label' => lng('extras.dump_web'),
'field' => 'data.dump_web',
'callback' => [Text::class, 'boolean'],
],
'backup_mail' => [
'label' => lng('extras.backup_mail'),
'field' => 'data.backup_mail',
'dump_mail' => [
'label' => lng('extras.dump_mail'),
'field' => 'data.dump_mail',
'callback' => [Text::class, 'boolean'],
],
'backup_dbs' => [
'label' => lng('extras.backup_dbs'),
'field' => 'data.backup_dbs',
'dump_dbs' => [
'label' => lng('extras.dump_dbs'),
'field' => 'data.dump_dbs',
'callback' => [Text::class, 'boolean'],
]
],
'visible_columns' => Listing::getVisibleColumnsForListing('backup_list', [
'visible_columns' => Listing::getVisibleColumnsForListing('export_list', [
'destdir',
'pgp_public_key',
'backup_web',
'backup_mail',
'backup_dbs'
'dump_web',
'dump_mail',
'dump_dbs'
]),
'actions' => [
'delete' => [