44 lines
2.2 KiB
PHP
44 lines
2.2 KiB
PHP
<table class="table-hover table-fix-action m-0 table">
|
|
@if (count($joinuspageModels) > 0)
|
|
<thead>
|
|
@include('bo.modules.table-col-sorter', [
|
|
'cols' => [
|
|
'video_id' => Str::ucfirst(__('validation.attributes.url')),
|
|
'updated_at' => Str::ucfirst(__('validation.attributes.updated_at')),
|
|
],
|
|
])
|
|
</thead>
|
|
<tbody>
|
|
@foreach ($joinuspageModels as $joinuspageModel)
|
|
<tr class="border-bottom list-item">
|
|
<td class="text-center align-middle">{{ $joinuspageModel->video_id }}</td>
|
|
<td class="text-center align-middle">
|
|
<span class="badge bg-secondary">{{ $joinuspageModel->updated_at->isoFormat('LLLL') }}</span>
|
|
</td>
|
|
<td class="text-end align-middle">
|
|
@canAny(['update'], $joinuspageModel)
|
|
<form class="btn-group confirmDeleteTS" action="{{ route('bo.joinuspages.edit', $joinuspageModel) }}" method="POST"
|
|
novalidate>
|
|
@can('update', $joinuspageModel)
|
|
<a class="btn btn-sm btn-primary" data-bs-toggle="tooltip"
|
|
href="{{ route('bo.joinuspages.edit', ['joinuspage' => $joinuspageModel]) }}"
|
|
title="{{ Str::ucfirst(__('crud.actions.update')) }}">
|
|
<i class="fa-solid fa-pencil"></i>
|
|
</a>
|
|
@endcan
|
|
</form>
|
|
@else
|
|
<span class="text-danger" data-bs-toggle="tooltip" title="{{ __('list.right') }}">
|
|
<i class="fa-solid fa-ban"></i>
|
|
</span>
|
|
@endcan
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
@else
|
|
<tr>
|
|
<td class="border-0">{{ __('crud.other.no_model_found', ['model' => __('models.classes.joinuspage')]) }}</td>
|
|
</tr>
|
|
@endif
|
|
</table>
|