@extends('backoffice.layouts.master') @section('content')

{{ $titre }}

@if($evenement->status == 1) @php $icone = 'check'; $status = 'Activé'; $title = 'Désactiver'; $color = 'success'; @endphp @else @php $icone = 'ban'; $status = 'Désactivé'; $title = 'Activer'; $color = 'danger'; @endphp @endif
{{ $evenement->titre }}
@php $i = 1; foreach($photos as $data): if($data->status == 1){ $icone = 'check'; $status = 'Activé'; $title = 'Désactivation'; $color = 'badge-light-success'; }else{ $icone = 'ban'; $status = 'Désactivé'; $title = 'Activation'; $color = 'badge-light-danger'; } @endphp @php endforeach @endphp
Image Titre Date ajout Statut Actions
{{ $data->titre }} {{ $data->created_at }} {{ $status }} @if((in_array(3, Session::get('rights')[10]))) @endif @if((in_array(4, Session::get('rights')[10]))) @endif
@endsection @section('scripts') @endsection