diff --git a/resources/views/livewire/project/shared/resource-operations.blade.php b/resources/views/livewire/project/shared/resource-operations.blade.php index be7cbd7dc..3d850f542 100644 --- a/resources/views/livewire/project/shared/resource-operations.blade.php +++ b/resources/views/livewire/project/shared/resource-operations.blade.php @@ -1,76 +1,166 @@

Resource Operations

You can easily make different kind of operations on this resource.
-

Clone

-
To another project / environment on a different / same server.
-
-
- @can('update', $resource) - @foreach ($servers->sortBy('id') as $server) -
Server: {{ $server->name }}
- @foreach ($server->destinations() as $destination) - - -
-
-
Network
-
{{ $destination->name }}
-
-
-
-
- @endforeach - @endforeach - @else - - You don't have permission to clone resources. Contact your team administrator to request access. - - @endcan -
-
-

Move

-
Between projects / environments.
-
-
- This resource is currently in the {{ $resource->environment->project->name }} / - {{ $resource->environment->name }} environment. -
-
- @can('update', $resource) - @forelse ($projects as $project) -
Project: {{ $project->name }}
- @foreach ($project->environments as $environment) - - -
-
-
Environment
-
{{ $environment->name }}
-
-
- -
- @endforeach - @empty -
No projects found to move to
- @endforelse +
+

Clone Resource

+
Duplicate this resource to another server or network destination.
+ + @can('update', $resource) +
+
+
+ + +
+ +
+ + +
+
+ +
+ + Clone Resource + +
+ All configurations will be duplicated to the selected destination. The running application won't be + touched. +
+
+
+ @else + + You don't have permission to clone resources. Contact your team administrator to request access. + + @endcan + +

Move Resource

+
Transfer this resource between projects and environments.
+ + @can('update', $resource) + @if ($projects->count() > 0) +
+
+
+ + +
+ +
+ + +
+
+ +
+ + Move Resource + +
+ All configurations will be moved to the selected environment. The running application won't be + touched. +
+
+
@else - - You don't have permission to move resources between projects or environments. Contact your team administrator to request access. - - @endcan -
+
No other projects available for moving this resource. +
+ @endif + @else + + You don't have permission to move resources between projects or environments. Contact your team + administrator to request access. + + @endcan