{{-- $team->getFullName() --}} id)}} wire:navigate>
{{__('['.$team->tag.']')}} {{-- {{__('['.$team->tag.']')}} {{__($team->name)}} --}}

{{-- TEAM #{{__($team->id)}} - {{__('['.$team->tag.']')}} --}}
{{__('How It Works')}}

{{-- $user->teamRole($team)->name --}} @if ( !$user->belongsToTeam($team) && !$team->hasUser($user) ) {{-- @include('messages.message-access-reply-false', ['info'=> 'not in team']) --}}
Not part of team. Show public view
@else
@foreach ( $user->teamPermissions($team) as $key => $perm )
{{__($perm)}}
@endforeach
{{-- $user->switchTeam($team) --}}
{{ $user->teamRole($team)->name }}
@if ($user->isCurrentTeam($team)) {{ __('activated') }} {{--
team is activated
--}} @else
{{-- --}}
@endif
{{--
You must set a team as "active" in order to view it
--}}
{{-- @include('messages.message-access-reply-true', ['info'=> 'in this team '. $user->teamRole($team)->name]) --}} @endif {{-- --}} {{-- --}} @if ($user->isCurrentTeam($team)) {{-- --}} {{--
{{ __('Members: '.$team->allUsers()->count()) }}
--}} {{--
--}} {{--
--}}
@livewire('teams.update-team-name-form', ['team' => $team])
{{-- --}}
@livewire('teams.team-member-manager', ['team' => $team])
{{-- --}} {{-- @include('messages.message-access-reply-true', ['info'=> 'in this team '.$user->teamRole($team)->name]) --}} @endif
{{--

TEAM #{{__($team->id)}} - {{__($user->name)}}

@if ( ! $user->belongsToTeam($team) ) {{__('apply to team')}} @else {{ $user->ownsTeam($team) ? __('Owner') : __($user->teamRole($team)->name ) }} @endif

main...
--}}