diff --git a/resources/views/components/resources/breadcrumbs.blade.php b/resources/views/components/resources/breadcrumbs.blade.php index f9733f63a8..b7c4fb707b 100644 --- a/resources/views/components/resources/breadcrumbs.blade.php +++ b/resources/views/components/resources/breadcrumbs.blade.php @@ -10,35 +10,72 @@ {{ data_get($resource, 'environment.project.name', 'Undefined Name') }} - + + + + +
+ @foreach($resource->environment->project->resources as $projectResource) + + {{ $projectResource->name }} + + @endforeach +
+
  • {{ $this->parameters['environment_name'] }} - + href="{{ route('project.resource.index', ['environment_name' => $this->parameters['environment_name'], 'project_uuid' => $this->parameters['project_uuid']]) }}"> + {{ $this->parameters['environment_name'] }} + + + + +
    + @foreach($resource->environment->resources as $envResource) + + {{ $envResource->name }} + + @endforeach +
    +
  • {{ data_get($resource, 'name') }} - + @if($resource->getMorphClass() !== 'App\Models\Service') + + + + +
    + Configuration + Deployments + Logs + @if (!$resource->destination->server->isSwarm()) + Terminal + @endif +
    +
    + @endif
  • @if ($resource->getMorphClass() == 'App\Models\Service')