@isset($message) @endisset @foreach($posts as $post)

{{ $post->title }}

skrevet den: {{ $post->post_time }}

Skrevet af: {{ $post->user->username }}

Mail: {{ $post->user->username }} @edu.sde.dk

@if(auth()->id() == $post->user->id) @endif
@if($post->occupation->name == "Datatekniker med Programmering")
{{ $post->occupation->name }}
@endif @if($post->occupation->name == "IT-Supporter")
{{ $post->occupation->name }}
@endif @if($post->occupation->name == "Datatekniker med Infrastruktur")
{{ $post->occupation->name }}
@endif

Status:

@if($post->status->name == "Collaborator Found")
{{ $post->status->name }}
@endif @if($post->status->name == "Looking for collaborator")
{{ $post->status->name }}
@endif @if($post->status->name == "Pending")
{{ $post->status->name }}
@endif
{{ $post->text }} @isset($post->files[0]) Download @endisset
@endforeach