@extends('admin.layouts.app') @section('content')

{{ __('admin/teams.detail_title') }}

@if($team->image)
{{ $team->full_name }}
@endif

{{ $team->full_name }}

@if($team->title)

{{ $team->title }}

@endif
@if($team->is_active) {{ __('admin/teams.active') }} @else {{ __('admin/teams.inactive') }} @endif {{ __('admin/teams.order') }}: {{ $team->order }}
@foreach(config('translatable.locales') as $index => $locale) @php $translation = $team->translations->where('locale', $locale)->first(); @endphp
@if($translation)
@if($translation->bio)
{{ __('admin/teams.bio') }}
@sanitized($translation->bio)
@else
{{ __('admin/teams.no_translation', ['locale' => strtoupper($locale)]) }}
@endif
@endif
@endforeach
{{ __('admin/teams.informations') }}

{{ __('admin/teams.status') }}: @if($team->is_active) {{ __('admin/teams.active') }} @else {{ __('admin/teams.inactive') }} @endif

{{ __('admin/teams.order') }}: {{ $team->order }}

{{ $team->created_at->format('d/m/Y à H:i') }}
{{ $team->updated_at->format('d/m/Y à H:i') }}
@canany(['teams.edit', 'teams.delete'])
{{ __('admin/teams.actions') }}
@can('teams.edit') {{ __('admin/teams.edit_this_member') }} @endcan @can('teams.delete') @endcan
@endcanany
{{ __('admin/teams.available_translations') }}
@foreach(config('translatable.locales') as $locale)
@if($team->translate($locale)) {{ strtoupper($locale) }} - {{ __('admin/teams.translated') }} @else {{ strtoupper($locale) }} - {{ __('admin/teams.not_translated') }} @endif
@endforeach
@endsection