This commit is contained in:
Andras Bacsai 2023-05-17 10:00:50 +02:00
parent 62da6173e2
commit 70466bb9b5
2 changed files with 3 additions and 3 deletions

View File

@ -16,14 +16,14 @@
Deployments Deployments
</a> </a>
<a target="_blank" href="{{ $application->gitBranchLocation }}"> <a target="_blank" href="{{ $application->gitBranchLocation }}">
Open on Git <img class="inline-flex w-4 h-4" src="{{ Vite::asset('public/svgs/external-link.svg') }}"> Open on Git <img class="inline-flex w-4 h-4" src="{{ asset('svgs/external-link.svg') }}">
</a> </a>
@if (data_get($application, 'ports_mappings_array')) @if (data_get($application, 'ports_mappings_array'))
@foreach ($application->ports_mappings_array as $port) @foreach ($application->ports_mappings_array as $port)
@if (config('app.env') === 'local') @if (config('app.env') === 'local')
<a target="_blank" href="http://localhost:{{ explode(':', $port)[0] }}">Open <a target="_blank" href="http://localhost:{{ explode(':', $port)[0] }}">Open
{{ explode(':', $port)[0] }} <img class="inline-flex w-4 h-4" {{ explode(':', $port)[0] }} <img class="inline-flex w-4 h-4"
src="{{ Vite::asset('public/svgs/external-link.svg') }}"></a> src="{{ asset('svgs/external-link.svg') }}"></a>
@else @else
<a target="_blank" <a target="_blank"
href="http://{{ $application->destination->server->ip }}:{{ explode(':', $port)[0] }}">Open href="http://{{ $application->destination->server->ip }}:{{ explode(':', $port)[0] }}">Open

View File

@ -12,7 +12,7 @@
<div> <div>
<x-inputs.button type="submit">Save</x-inputs.button> <x-inputs.button type="submit">Save</x-inputs.button>
<a target="_blank" href="{{ $application->gitCommits }}"> <a target="_blank" href="{{ $application->gitCommits }}">
Commits <img class="inline-flex w-4 h-4" src="{{ Vite::asset('public/svgs/external-link.svg') }}"> Commits <img class="inline-flex w-4 h-4" src="{{ asset('svgs/external-link.svg') }}">
</a> </a>
</div> </div>
</form> </form>