@section('title') | {{ __('team.team') }} @endsection

{{ $user->currentTeam->name }}

{{ __('team.team_overview') }}

@if($search)
{{ __('team.filtered_by') }} : "{{ $search }}"
@endif
@if($this->paginatedData->hasPages())
{{ $this->paginatedData->links('components/pagination/tailwind') }}
@endif
@if($this->paginatedData->count() > 0) @if($activeTab === 'users')
@foreach($this->paginatedData->items() as $user) @endforeach
{{ __('team.users') }}
{{ $user['name'] }}
@elseif($activeTab === 'persons')
@foreach($this->paginatedData->items() as $person) @endforeach
{{ __('team.persons') }} {{ __('backup.actions') }}
{{ $person['name'] }}
{{ __('app.show') }}
@else
@foreach($this->paginatedData->items() as $couple) @endforeach
{{ __('team.couples') }} {{ __('backup.actions') }}
{{ $couple['person1']['name'] }} - {{ $couple['person2']['name'] }}
# 1 # 2
@endif @else

{{ __('team.no_results_found') }}

@if($search)

{{ __('team.try_adjusting_your_search_terms') }}

@endif
@endif