updates
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<x-forms.button type="submit">
|
||||
Save
|
||||
</x-forms.button>
|
||||
@if (auth()->user()->isAdmin())
|
||||
@if (auth()->user()->isInstanceAdmin())
|
||||
<x-forms.button wire:click='copySMTP'>
|
||||
Copy from Instance Settings
|
||||
</x-forms.button>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
</div>
|
||||
<x-forms.textarea id="value" rows="10" placeholder="-----BEGIN OPENSSH PRIVATE KEY-----"
|
||||
label="Private Key" required />
|
||||
<x-forms.button type="submit" wire.click.prevent>
|
||||
<x-forms.button type="submit">
|
||||
Save Private Key
|
||||
</x-forms.button>
|
||||
</form>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="w-64 -mt-9">
|
||||
<x-forms.select id="selectedTeamId" class="pr-0 select-xs ">
|
||||
<x-forms.select wire:model="selectedTeamId" class="pr-0 select-xs ">
|
||||
<option value="default" disabled selected>Switch team</option>
|
||||
@foreach (auth()->user()->teams as $team)
|
||||
<option value="{{ $team->id }}">{{ $team->name }}</option>
|
||||
|
||||
@@ -3,8 +3,15 @@
|
||||
<td>{{ $member->name }}</td>
|
||||
<td>{{ $member->email }}</td>
|
||||
<td>
|
||||
{{-- @if (auth()->user()->isAdmin())
|
||||
<x-forms.button wire:click="makeAdmin">Make admin</x-forms.button>
|
||||
@else
|
||||
<x-forms.button disabled>Make admin</x-forms.button>
|
||||
@endif --}}
|
||||
@if ($member->id !== auth()->user()->id)
|
||||
<x-forms.button class="border-none">Remove</x-forms.button>
|
||||
<x-forms.button wire:click="remove">Remove</x-forms.button>
|
||||
@else
|
||||
<x-forms.button disabled>Remove</x-forms.button>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user