diff --git a/resources/views/livewire/project/application/deployments.blade.php b/resources/views/livewire/project/application/deployments.blade.php index 18f5c6375..1801af81d 100644 --- a/resources/views/livewire/project/application/deployments.blade.php +++ b/resources/views/livewire/project/application/deployments.blade.php @@ -23,82 +23,79 @@ data_get($deployment, 'status') === 'error', 'border-success hover:bg-success' => data_get($deployment, 'status') === 'finished', - ]) @if (data_get($deployment, 'status') !== 'cancelled by system' && data_get($deployment, 'status') !== 'queued') - href="{{ $current_url . '/' . data_get($deployment, 'deployment_uuid') }}" - @endif - class="hover:no-underline"> -
-
- {{ $deployment->created_at }} UTC - > - {{ $deployment->status }} - @if (data_get($deployment, 'pull_request_id')) - > - Pull Request #{{ data_get($deployment, 'pull_request_id') }} - @if (data_get($deployment, 'is_webhook')) - (Webhook) + ]) href="{{ $current_url . '/' . data_get($deployment, 'deployment_uuid') }}" + class="hover:no-underline"> +
+
+ {{ $deployment->created_at }} UTC + > + {{ $deployment->status }} +
+ @if (data_get($deployment, 'pull_request_id')) +
+ > + Pull Request #{{ data_get($deployment, 'pull_request_id') }} + @if (data_get($deployment, 'is_webhook')) + (Webhook) + @endif + Webhook (SHA + @if (data_get($deployment, 'commit')) + {{ data_get($deployment, 'commit') }}) + @else + HEAD) + @endif +
@endif - @elseif (data_get($deployment, 'is_webhook')) - > -
- Webhook (sha - @if (data_get($deployment, 'commit')) - {{ data_get($deployment, 'commit') }}) - @else - HEAD) - @endif - @endif -
+
-
-
- @if ($deployment->status !== 'in_progress') - Finished 0s in - @else - Running for - @endif - 0s -
-
- - -@empty -
No deployments found
-@endforelse - - - - + + + + })) + }) +