Load Opened Pull Requests
@isset($rate_limit_remaining)
Requests remaning till rate limited by Git: {{ $rate_limit_remaining }}
@endisset
@if (count($pull_requests) > 0)
@foreach ($pull_requests as $pull_request)
PR #{{ data_get($pull_request, 'number') }} |
{{ data_get($pull_request, 'title') }}
@endforeach
@endif
@if ($application->previews->count() > 0)
@foreach ($application->previews as $preview)
PR #{{ data_get($preview, 'pull_request_id') }} | {{ data_get($preview, 'status') }}
@if (data_get($preview, 'status') !== 'exited')
|
Open Preview
@endif
|
Open PR on Git
@if (data_get($preview, 'status') === 'exited')
Deploy
@else
Redeploy
@endif
@if (data_get($preview, 'status') !== 'exited')
Remove
Preview
@endif
@endforeach
@endif