mirror of
https://github.com/pelican-dev/panel.git
synced 2026-03-01 11:21:31 +03:00
tweak action
This commit is contained in:
@@ -1013,7 +1013,7 @@ class EditServer extends EditRecord
|
||||
])->fullWidth(),
|
||||
ToggleButtons::make('export_help')
|
||||
->hiddenLabel()
|
||||
->hint('Export server configuration to a YAML file that can be imported on another panel'),
|
||||
->hint(trans('admin/server.import_export.export_description')),
|
||||
]),
|
||||
Grid::make()
|
||||
->columnSpan(3)
|
||||
|
||||
@@ -24,8 +24,6 @@ class ExportServerConfigAction extends Action
|
||||
|
||||
$this->iconSize(IconSize::ExtraLarge);
|
||||
|
||||
$this->tooltip(trans('admin/server.import_export.export_tooltip'));
|
||||
|
||||
$this->authorize(fn () => user()?->can('view server'));
|
||||
|
||||
$this->modalHeading(fn (Server $server) => trans('admin/server.import_export.export_heading', ['name' => $server->name]));
|
||||
|
||||
Reference in New Issue
Block a user