diff --git a/app/Livewire/Project/Shared/Danger.php b/app/Livewire/Project/Shared/Danger.php index 862061640..609d61698 100644 --- a/app/Livewire/Project/Shared/Danger.php +++ b/app/Livewire/Project/Shared/Danger.php @@ -116,7 +116,10 @@ class Danger extends Component ['id' => 'delete_volumes', 'label' => 'All associated volumes with this resource will be permanently deleted'], ['id' => 'delete_connected_networks', 'label' => 'All connected networks with this resource will be permanently deleted (predefined networks will not be deleted)'], ['id' => 'delete_configurations', 'label' => 'All configuration files will be permanently deleted form the server'], - ['id' => 'docker_cleanup', 'label' => 'Docker cleanup will be run on the server which removes builder cache and unused images'] + ['id' => 'docker_cleanup', 'label' => 'Docker cleanup will be run on the server which removes builder cache and unused images'], + // ['id' => 'delete_associated_backups_locally', 'label' => 'All backups associated with this Ressource will be permanently deleted from local storage.'], + // ['id' => 'delete_associated_backups_s3', 'label' => 'All backups associated with this Ressource will be permanently deleted from the selected S3 Storage.'], + // ['id' => 'delete_associated_backups_sftp', 'label' => 'All backups associated with this Ressource will be permanently deleted from the selected SFTP Storage.'] ] ]); } diff --git a/resources/views/livewire/project/service/file-storage.blade.php b/resources/views/livewire/project/service/file-storage.blade.php index 96590cada..ccb50deb4 100644 --- a/resources/views/livewire/project/service/file-storage.blade.php +++ b/resources/views/livewire/project/service/file-storage.blade.php @@ -13,33 +13,57 @@
@if ($fileStorage->is_directory) - -
This will delete all files in this directory. It is not reversible. Please think - again.

-
+ @else - -
This will delete the file and make a directory instead. It is not reversible. - Please think - again.

-
-
+ + @endif + @if ($fileStorage->is_directory) + + @else + @endif - -
This storage will be deleted. It is not reversible. Please - think - again.

-

Actions

- @if ($fileStorage->is_directory) - - @else - - @endif -
@if (!$fileStorage->is_directory) diff --git a/resources/views/livewire/project/shared/danger.blade.php b/resources/views/livewire/project/shared/danger.blade.php index de7148ee3..61a891e69 100644 --- a/resources/views/livewire/project/shared/danger.blade.php +++ b/resources/views/livewire/project/shared/danger.blade.php @@ -7,7 +7,6 @@ title="Confirm Resource Deletion?" buttonTitle="Delete Resource" isErrorButton - type="button" submitAction="delete" buttonTitle="Delete Resource" :checkboxes="$checkboxes"