2020-06-25 12:52:04 +00:00
|
|
|
@extends("app.layout.base")
|
|
|
|
@section("title")
|
|
|
|
Kontakt
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section("content")
|
2020-08-11 16:21:51 +00:00
|
|
|
<main style="justify-content: unset">
|
2020-08-07 08:51:10 +00:00
|
|
|
<h1 class="text-center sde-blue mt-0 mb-0">{{__('msg.kontakter')}}</h1>
|
2020-08-05 07:23:57 +00:00
|
|
|
@if(!$contacts->isEmpty())
|
|
|
|
@foreach($contacts as $contact)
|
2020-08-06 18:33:46 +00:00
|
|
|
<h4 class="mt-2">{{__('msg.navn')}}: {{ $contact->contactname }}</h4>
|
|
|
|
<h4 class="mt-0">{{__('msg.email')}}: {{ $contact->email }}</h4>
|
2020-08-05 07:23:57 +00:00
|
|
|
<h4 class="mt-0">{{ $contact->title }}</h4>
|
|
|
|
@if($contact->phonetimes)
|
2020-08-06 18:33:46 +00:00
|
|
|
<h4 class="mt-0 mb-0">{{__('msg.telefontid')}}:</h4>
|
2020-08-05 07:23:57 +00:00
|
|
|
{!! $contact->phonetimes !!}
|
|
|
|
@endif
|
2020-08-05 11:29:45 +00:00
|
|
|
@if($contact->phone)
|
|
|
|
<span class="text-center sde-black-20 mt-1">+45 {{ chunk_split($contact->phone, 2, ' ') }}</span>
|
2020-08-06 18:33:46 +00:00
|
|
|
<a class="btn text-center btn-sde-blue mt-1" href="tel:+45{{ $contact->phone }}">{{__('msg.ring')}}</a>
|
2020-08-05 11:29:45 +00:00
|
|
|
@endif
|
2020-08-05 07:23:57 +00:00
|
|
|
@endforeach
|
|
|
|
@else
|
2020-08-06 18:33:46 +00:00
|
|
|
<p class="text-center">{{__('msg.dereringenkontakter')}}!</p>
|
2020-08-05 07:23:57 +00:00
|
|
|
@endif
|
2020-08-06 18:33:46 +00:00
|
|
|
<span class="text-center sde-black-20 mt-1">{{__('msg.sendfeedback')}}</span>
|
|
|
|
<a class="btn text-center btn-sde-blue mt-1" href="{{ route('feedbacks.create') }}">{{__('msg.givfeedback')}}</a>
|
2020-06-25 12:52:04 +00:00
|
|
|
</main>
|
|
|
|
@endsection
|