@extends('base') @section('title') Agenda {{{ $user->currentSection->de_la_section }}} @stop @section('back_links')

Retour au calendrier

@stop @section('forward_links') @if ($can_edit)

Modifier le calendrier

@endif @stop @section('content')

Agenda {{{ $user->currentSection->de_la_section }}}

@include('subviews.flashMessages')
@foreach ($calendar_items as $item)
@if ($user->currentSection->id == 1) start_date >= date('Y-m-d')) style="color: {{ $item->getSection()->color }};" @endif> @endif @if ($item->start_date == $item->end_date) {{{ $days[(date('w', strtotime($item->start_date)) + 6) % 7] }}} {{{ Helper::dateToHuman($item->start_date) }}} : @else Du {{{ Helper::dateToHuman($item->start_date) }}} au {{{ Helper::dateToHuman($item->end_date) }}} : @endif {{{ $item->event }}} @if ($user->currentSection->id == 1 && $item->getSection()->id != 1) start_date >= date('Y-m-d')) style="color: {{ $item->getSection()->color }};" @endif> ({{{ $item->getSection()->name }}}) @endif
{{ Helper::rawToHTML($item->description) }}
@endforeach
@include('subviews.downloadCalendar') @stop