{{-- Actifisys (dnyActifisys) developed by Daniel Brendel (C) 2019 - 2023 by Daniel Brendel Version: 1.0 Contact: dbrendel1988gmailcom GitHub: https://github.com/danielbrendel/ Released under the MIT license --}} @extends('layouts.layout_home') @section('title') {{ $user->name }} @endsection @section('content')

{{ __('app.profile_of', ['name' => $user->name]) }} @if ($user->id === auth()->id())
@endif


@if ($user->ignored) @endif
@if (!$user->ignored)

{{ $user->name }} {!! (($user->verified) ? ' ' : '') !!}

avatar

{{ (strlen($user->bio) > 0) ? $user->bio : __('app.no_information_given') }}

 {{ $user->created_at->diffForHumans() }}
 {{ $user->location }}
{{ __('app.age') }}: {{ $user->age }}
{{ __('app.gender') }}: {{ $user->genderText }}
{{ __('app.location') }}: {{ $user->location }}
{{ __('app.activities') }}: {{ $user->activities }}
@if (auth()->id() !== $user->id)

{{ __('app.profile_actions') }}

@if ($user->hasFavorited) @else @endif @if ($user->allow_messages) @endif @if (!$user->admin) @if ($user->ignored) @else @endif @endif @auth @if (\App\User::isAdmin(auth()->id())) @endif @endauth
@else

{{ __('app.participating') }}

@if (count($user->actual) > 0)
@foreach ($user->actual as $actual) @if ($actual['activityData'] !== null) @endif @endforeach
@else
{{ __('app.not_yet_participating') }}
@endif

{{ __('app.interested') }}

@if (count($user->potential) > 0)
@foreach ($user->potential as $potential) @if ($potential['activityData'] !== null) @endif @endforeach
@else
{{ __('app.not_yet_interested') }}
@endif
@endif
@endif
@endsection @section('javascript') @endsection