@extends('cubesDashboard.cubesDashboardMainLayout') @section('title','Co-Working Spaces') @section('content-header','Running and Activated Co-working Spaces') @section('content')
@include('dashboard.messages')

Activated and Pending Co-Working Spaces

{{$co_spaces->links()}}
@if (count($co_spaces) > 0) @foreach ($co_spaces as $space)
@if ($space->status ==='pending')
Pending
@else
Activated
@endif

{{ucfirst($space->name)}}

Email: {{$space->email}}
Address: {{$space->street}}, {{$space->city}}, {{$space->governorate}}
@if($space->status ==='activated') Branding Status: {{$space->brandingStatus}}
Joined At: {{$space->updated_at->format('d M Y H:i')}}
@else Requested At: {{$space->created_at->format('d M Y H:i')}}
Activate @endif
{{$space->description}}
@endforeach @else

No Co-working Spaces available yet.

@endif
{{$co_spaces->links()}}
@endsection