Links @if ( (data_get($application, 'fqdn') || collect(json_decode($this->application->docker_compose_domains))->count() > 0 || data_get($application, 'previews', collect([]))->count() > 0 || data_get($application, 'ports_mappings_array')) && data_get($application, 'settings.is_raw_compose_deployment_enabled') !== true) @if (data_get($application, 'gitBrancLocation')) Git Repository @endif @if (data_get($application, 'build_pack') === 'dockercompose') @foreach (collect(json_decode($this->application->docker_compose_domains)) as $fqdn) @if (data_get($fqdn, 'domain')) @foreach (explode(',', data_get($fqdn, 'domain')) as $domain) {{ getFqdnWithoutPort($domain) }} @endforeach @endif @endforeach @endif @if (data_get($application, 'fqdn')) @foreach (str(data_get($application, 'fqdn'))->explode(',') as $fqdn) {{ getFqdnWithoutPort($fqdn) }} @endforeach @endif @if (data_get($application, 'previews', collect([]))->count() > 0) @foreach (data_get($application, 'previews') as $preview) @if (data_get($preview, 'fqdn')) PR{{ data_get($preview, 'pull_request_id') }} | {{ data_get($preview, 'fqdn') }} @endif @endforeach @endif @if (data_get($application, 'ports_mappings_array')) @foreach ($application->ports_mappings_array as $port) @if ($application->destination->server->id === 0) Port {{ $port }} @else {{ $application->destination->server->ip }}:{{ explode(':', $port)[0] }} @if (count($application->additional_servers) > 0) @foreach ($application->additional_servers as $server) {{ $server->ip }}:{{ explode(':', $port)[0] }} @endforeach @endif @endif @endforeach @endif @else
No links available
@endif