{{ __('Team Members') }} {{ __('All of the people that are part of this team.') }}
{{--
{{ $team->owner->name }}
{{ $team->owner->name }}
{{ $team->owner->email }}
--}}
{{ $team->owner->name }}
{{ $team->owner->name }}
{{ $team->owner->email }}
{{-- __('Owner') --}}
{{-- @if (Gate::check('transferOwnership', $team))
Owner also allowed to transferOwnership
@else
Owner cannot transferOwnership
@endif --}} {{-- @if ( $user->ownsTeam($team) )
Authed user is also the team owner
@else
Authed user is NOT the team owner
@endif --}} @if (Gate::check('transfer', $team) && $user->ownsTeam($team) && ! $team->personal_team ) @else
Transfer
@endif
{{--
{{ $team->owner->name }}
{{ $team->owner->name }}
{{ $team->owner->email }}
{{ __('Owner') }}
@if ( $user->ownsTeam($team) ) @if (Gate::check('transferOwnership', $team)) @endif @endif
--}}
@foreach ($team->users->sortBy('name') as $team_member) {{-- @if ($user->id === $team_member->membership->user_id)
YOU
@endif --}}
{{ $team_member->name }}
{{ $team_member->name }}
{{-- @if (Gate::check('updateTeamMember', $team) && Laravel\Jetstream\Jetstream::hasRoles()) --}} @if (Gate::check('update_member', $team) && Laravel\Jetstream\Jetstream::hasRoles()) @elseif (Laravel\Jetstream\Jetstream::hasRoles())
{{ Laravel\Jetstream\Jetstream::findRole($team_member->membership->role)->name }}
@endif {{-- @elseif (Laravel\Jetstream\Jetstream::hasRoles()) --}} {{-- @endif --}} {{-- @if ($user->id === $team_member->membership->user_id) --}} {{-- --}} {{-- {{ __('Leave') }} --}} @if ($user->id === $team_member->membership->user_id) @if (Gate::check('abandon', $team)) {{ __('Abandon') }} @endif @endif @if (Gate::check('remove_member', $team)) {{ __('Remove') }} @endif {{-- @endif --}} {{-- @elseif (Gate::check('removeTeamMember', $team)) --}} {{-- @endif --}}
@endforeach
{{-- {{ __('Manage Role') }}
@foreach ( Laravel\Jetstream\Jetstream::$roles as $index => $role) @endforeach
{{ __('Cancel') }} {{ __('Save') }}
--}}