2024-01-07 16:23:41 +01:00
|
|
|
<div>
|
2023-09-04 09:44:44 +02:00
|
|
|
<x-team.navbar />
|
2023-08-07 15:31:42 +02:00
|
|
|
<h2>Members</h2>
|
2024-02-23 12:34:36 +01:00
|
|
|
|
|
|
|
<div class="flex flex-col">
|
|
|
|
<div class="flex flex-col">
|
|
|
|
<div class="overflow-x-auto">
|
|
|
|
<div class="inline-block min-w-full">
|
|
|
|
<div class="overflow-hidden">
|
2024-03-28 12:30:06 +01:00
|
|
|
<table class="min-w-full">
|
2024-02-23 12:34:36 +01:00
|
|
|
<thead>
|
2024-03-21 12:44:32 +01:00
|
|
|
<tr>
|
2024-02-23 12:34:36 +01:00
|
|
|
<th class="px-5 py-3 text-xs font-medium text-left uppercase">Name
|
|
|
|
</th>
|
|
|
|
<th class="px-5 py-3 text-xs font-medium text-left uppercase">Email</th>
|
|
|
|
<th class="px-5 py-3 text-xs font-medium text-left uppercase">Role</th>
|
|
|
|
<th class="px-5 py-3 text-xs font-medium text-left uppercase">Actions</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2024-03-28 12:30:06 +01:00
|
|
|
<tbody>
|
2024-02-23 12:34:36 +01:00
|
|
|
@foreach (currentTeam()->members as $member)
|
|
|
|
<livewire:team.member :member="$member" :wire:key="$member->id" />
|
|
|
|
@endforeach
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-07-13 22:03:27 +02:00
|
|
|
</div>
|
|
|
|
@if (auth()->user()->isAdminFromSession())
|
|
|
|
<div class="py-4">
|
|
|
|
@if (is_transactional_emails_active())
|
2024-02-23 12:34:36 +01:00
|
|
|
<h2 class="pb-4">Invite New Member</h2>
|
2023-07-13 22:03:27 +02:00
|
|
|
@else
|
2024-02-23 12:34:36 +01:00
|
|
|
<h2>Invite New Member</h2>
|
2023-08-22 17:44:49 +02:00
|
|
|
@if (isInstanceAdmin())
|
2024-03-25 10:41:44 +01:00
|
|
|
<div class="pb-4 text-xs dark:text-warning">You need to configure (as root team) <a href="/settings#smtp"
|
|
|
|
class="underline dark:text-warning">Transactional
|
2023-08-08 11:51:36 +02:00
|
|
|
Emails</a>
|
2023-07-13 22:03:27 +02:00
|
|
|
before
|
|
|
|
you can invite a
|
|
|
|
new
|
|
|
|
member
|
|
|
|
via
|
|
|
|
email.
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
@endif
|
2023-08-11 17:31:53 +02:00
|
|
|
<livewire:team.invite-link />
|
2023-07-13 22:03:27 +02:00
|
|
|
</div>
|
2023-08-11 17:31:53 +02:00
|
|
|
<livewire:team.invitations :invitations="$invitations" />
|
2023-07-13 22:03:27 +02:00
|
|
|
@endif
|
2024-01-07 16:23:41 +01:00
|
|
|
</div>
|