Kelola grup anggota

{{ $activeConversation->displayNameFor($viewer) }} ยท {{ $activeConversation->participants->count() }} anggota

Info grup @if ($isActiveGroupOwner) Anda owner grup ini. @elseif ($activeGroupRole === 'admin') Anda admin grup ini. @else Anda anggota grup ini. @endif
{{ $activeConversation->displayNameFor($viewer) }}
{{ $activeConversation->displayNameFor($viewer) }} {{ $activeConversation->participants->count() }} anggota aktif {{ $isActiveGroupOwner ? 'Owner' : ($activeGroupRole === 'admin' ? 'Admin grup' : 'Anggota grup') }}
@csrf @if ($activeConversation->photo) @endif @if ($canManageActiveGroup) @endif
@if ($canManageActiveGroup)
@csrf
Undang anggota Kirim undangan agar anggota aktif bisa masuk ke grup ini.
@forelse ($availableGroupMembers as $candidate) @empty
Tidak ada kandidat undangan baru

Semua anggota aktif sudah ada di grup atau sedang menunggu respon undangan.

@endforelse
@if ($availableGroupMembers->isNotEmpty()) @endif
@endif @if ($pendingOutgoingGroupInvites->isNotEmpty())
Undangan menunggu respon {{ $pendingOutgoingGroupInvites->count() }} anggota belum menjawab.
@foreach ($pendingOutgoingGroupInvites as $invite)
{{ $invite->invitedUser?->chatLabel() ?? 'Anggota' }}
{{ $invite->invitedUser?->chatLabel() ?? 'Anggota' }} {{ $invite->invitedUser?->email ?? '-' }}
{{ $invite->created_at?->diffForHumans() }}
@csrf @method('DELETE')
@endforeach
@endif
Preferensi obrolan Atur cara obrolan grup ini tampil di daftar anda.
@csrf
@csrf
@csrf
Aksi akun Atur status keikutsertaan anda di grup ini.
@csrf
@if ($isActiveGroupOwner)
@csrf @method('DELETE')
@endif
Anggota grup {{ $activeConversation->participants->count() }} akun ada di grup ini.
@foreach ($activeConversation->participants as $participant) @php $participantRole = $participant->pivot->role ?: ((int) $participant->id === (int) $activeConversation->created_by ? 'owner' : 'member'); $isParticipantOwner = $participantRole === 'owner'; $isParticipantAdmin = $participantRole === 'admin'; @endphp
{{ $participant->chatLabel() }}
{{ $participant->chatLabel() }} {{ $participant->email }}
{{ $isParticipantOwner ? 'Owner' : ($isParticipantAdmin ? 'Admin' : 'Anggota') }} @if (! $isParticipantOwner && $isActiveGroupOwner) @if (! $isParticipantAdmin)
@csrf
@else
@csrf @method('DELETE')
@endif @endif @if ($canManageActiveGroup && (int) $participant->id !== (int) $viewer->id)
@csrf @method('DELETE')
@endif
@endforeach