@include('admin.partials.pro-hero', [
'icon' => 'fas fa-users',
'title' => __('Team Members'),
'subtitle' => __('Manage your team members'),
'breadcrumbs' => [
['label' => __('Dashboard'), 'url' => route('admin.dashboard')],
['label' => __('Team'), 'url' => route('admin.team.index')],
],
'action' => [
'type' => 'link',
'url' => route('admin.team.create'),
'label' => __('Add New Member'),
'icon' => 'fas fa-plus',
],
])
@include('includes.admin.form-error')
@include('includes.admin.form-success')
@if(Session::has('success'))
{{ Session::get('success') }}
@endif
{{ __('Manage Members') }}
| {{ __('Member') }} |
{{ __('Designation') }} |
{{ __('Social Links') }} |
{{ __('Options') }} |
@foreach($teams as $team)
|
|
{{ $team->designation }}
|
@if($team->facebook)
@endif
@if($team->twitter)
@endif
@if($team->linkedin)
@endif
@if(!$team->facebook && !$team->twitter && !$team->linkedin)
N/A
@endif
|
@include('admin.partials.delete-row-modal', [
'id' => $team->id,
'action' => route('admin.team.destroy', $team->id),
])
|
@endforeach
@endsection