@section('title', __('radio.page_passwords_title')) @section('head') @endsection @include('includes/header') @include('includes/topRadio')

{{ __('radio.page_passwords_title') }}

@if (\Session::has('success')) @php Session::forget('success'); @endphp @endif
@if($allDjs->count() == 0)

{{ __('radio.passwords_empty') }}

@else
@foreach($allDjs as $dj) @endforeach
{{ __('general.table_name') }} {{ __('radio.passwords_last_broadcast') }} {{ __('general.table_status') }} {{ __('radio.table_actions') }}
{{ $dj->name }} {{ ($dj->last_login ? date('d/m/Y H:i',strtotime($dj->last_login)) : 'Nenhuma') }} @if($dj->active) {{ __('radio.passwords_on_air') }} @else {{ __('radio.status_offline') }} @endif @if($dj->active) @endif {{ __('radio.password_show_title') }} @if(!$dj->active)
@method('DELETE')
@endif
@endif
@include('includes/footer')