@extends('layouts.app') @section('content')
Public | Libellé | @if ($domaine->id != "30")Objectifs | @elseif ($domaine->id == "30")Objectifs | @endif {{--Affichage différent pour le carrefour des possibles--}} @if ($domaine->id != "30")Intervenants | @endif @if ($domaine->id != "30")Date / Lieu | @elseif ($domaine->id == "30")Heure / Lieu | @endifaction |
---|---|---|---|---|---|---|---|
{{$stage->public}} | {{$stage->libelle}} | {!! nl2br(e($stage->objectifs)) !!} | {{--Affichage différent pour le carrefour des possibles--}} @if ($domaine->id != "30")
@foreach ($stage->interv as $intervenant )
@foreach ($users as $user)
@if ($user->id == $intervenant->user_id)
{{$user->firstname}} {{$user->name}} @endif @endforeach @endforeach |
@endif
{{--Affichage différent pour le carrefour des possibles--}}
@if ($domaine->id != "30")
{{$stage->date}}
@elseif ($domaine->id == "30")
{{$stage->heure}}
@endif
{{--Affichage différent pour le carrefour des possibles--}}
@if ($domaine->id != "30")
{{ucfirst(Carbon::parse($stage->date)->locale('fr_FR')->isoFormat('dddd LL'))}} @endif {{--Modification de la couleur de l'heure pour le carrefour des possibles--}} @if ($stage->heure == "09h10 - 09h50" || $stage->heure == "10h00 - 10h40" || $stage->heure == "10h50 - 11h30" || $stage->heure == "11h40 - 12h20") @if ($stage->heure == "09h10 - 09h50") {{$stage->heure}} @endif @if ($stage->heure == "10h00 - 10h40") {{$stage->heure}} @endif @if ($stage->heure == "10h50 - 11h30") {{$stage->heure}} @endif @if ($stage->heure == "11h40 - 12h20") {{$stage->heure}} @endif @else {{$stage->heure}} @endif @if($stage->lienvisio == null) {{$stage->lieu}}@endif @if($stage->lienvisio != null) lienvisio}} target="_blank">{{$stage->lieu}} @endif |
@if ($stage->annule == 0)
{{--Afficher bouton d'inscription si < nb_max ou si =! 0--}}
@if ($stage->nombre < $stage->nb_max || $stage->nb_max == 0)
{{--Afficher bouton d'inscription si > délai--}}
@if ($nbJours > $stage->delai_inscriptions)
@if ($stage->is_inscrit == 1)
Désinscription
@elseif ($stage->is_inscrit == 0)
Inscription
@endif
@else
Inscriptions terminées
@endif
@else
Atelier complet
@endif
@else
Atelier annulé
@endif
|