@extends("app.layout.base") @section("title") Aktiviteter @endsection @section("content")

{{ __('msg.aktiviteter') }}

@if(!$events->isEmpty()) @foreach($events as $event)

{{ $event->name }}

Af: {{ $event->accountable }}

{{ \Illuminate\Support\Facades\Date::createFromTimeStamp(strtotime($event->date))->format('d/m/Y \k\l\. H:i') }}

{!! \App\Helpers::closetags(substr($event->description, 0, 300) )!!} {!! session()->get('error#' . $event->id) !!} {!! session()->get('signup#' . $event->id) !!}
@endforeach @else

{{__('msg.dereringenaktiviteter')}}!

@endif {{__('msg.setilmeldteaktiviteter')}}
@endsection