spacing control for user index
This commit is contained in:
parent
82ebae4b4e
commit
e107954392
@ -59,24 +59,26 @@
|
|||||||
@endif
|
@endif
|
||||||
</x-table.td>
|
</x-table.td>
|
||||||
|
|
||||||
<x-table.td class="w-4/12 sm:w-5/12 flex items-center">
|
<x-table.td class="w-4/12 sm:w-5/12">
|
||||||
@if (setting('default.use_gravatar', '0') == '1')
|
<x-slot name="second" class="flex items-center space-x-2" override="class">
|
||||||
<img src="{{ $item->picture }}" class="w-6 h-6 rounded-full mr-2 hidden lg:block" title="{{ $item->name }}" alt="{{ $item->name }}">
|
@if (setting('default.use_gravatar', '0') == '1')
|
||||||
@elseif (is_object($item->picture))
|
<img src="{{ $item->picture }}" class="w-6 h-6 rounded-full mr-2 hidden lg:block" title="{{ $item->name }}" alt="{{ $item->name }}">
|
||||||
<img src="{{ Storage::url($item->picture->id) }}" class="w-6 h-6 rounded-full mr-2 hidden lg:block" alt="{{ $item->name }}" title="{{ $item->name }}">
|
@elseif (is_object($item->picture))
|
||||||
@else
|
<img src="{{ Storage::url($item->picture->id) }}" class="w-6 h-6 rounded-full mr-2 hidden lg:block" alt="{{ $item->name }}" title="{{ $item->name }}">
|
||||||
<img src="{{ asset('public/img/user.svg') }}" class="w-6 h-6 rounded-full mr-2 hidden lg:block" alt="{{ $item->name }}"/>
|
@else
|
||||||
@endif
|
<img src="{{ asset('public/img/user.svg') }}" class="w-6 h-6 rounded-full mr-2 hidden lg:block" alt="{{ $item->name }}"/>
|
||||||
|
@endif
|
||||||
|
|
||||||
{{ !empty($item->name) ? $item->name : trans('general.na') }}
|
{{ !empty($item->name) ? $item->name : trans('general.na') }}
|
||||||
|
|
||||||
@if ($item->hasPendingInvitation())
|
@if ($item->hasPendingInvitation())
|
||||||
<x-index.status status="pending" background-color="bg-status-danger" text-color="text-black" />
|
<x-index.status status="pending" background-color="bg-status-danger" text-color="text-black" />
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if (! $item->enabled)
|
@if (! $item->enabled)
|
||||||
<x-index.disable text="{{ trans_choice('general.users', 1) }}" />
|
<x-index.disable text="{{ trans_choice('general.users', 1) }}" />
|
||||||
@endif
|
@endif
|
||||||
|
</x-slot>
|
||||||
</x-table.td>
|
</x-table.td>
|
||||||
|
|
||||||
<x-table.td class="w-4/12 hidden sm:table-cell">
|
<x-table.td class="w-4/12 hidden sm:table-cell">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user