@extends('base')
@section('title')
E-mails {{{ $user->currentSection->de_la_section }}}
@stop
@section('back_links')
@if ($showing_archives)
$user->currentSection->slug)) }}'>
Retour aux e-mails de cette année
@endif
@stop
@section('forward_links')
@if ($can_send_emails)
Envoyer un e-mail aux parents
@endif
@if ($user->isLeader())
Envoyer un e-mail aux animateurs
@endif
@if ($can_send_emails)
Gérer les e-mails
@endif
@stop
@section('content')
E-mails {{{ $user->currentSection->de_la_section }}} @if ($showing_archives) (archives) @endif
@include('subviews.flashMessages')
@if (count($emails) == 0)
@endif
@if ($user->isMember())
@foreach($emails as $email)
{{ $email->body_html }}
@if ($email->hasAttachments())
@if (count($email->getAttachments()) == 1)
Pièce jointe :
@else
Pièces jointes :
@endif
@foreach ($email->getAttachments() as $attachment)
{{{ $attachment->filename }}}
@endforeach
@endif
@endforeach
@else
@include('subviews.limitedAccess')
@endif
@if ($has_archives && $user->isMember())
@if ($showing_archives)
@else
@endif
@endif
@stop