@extends('layouts.dashboard')
@section('title', 'Detail Kelas | GrowUp')
@section('dashboard_content')
{{-- MAKE A MEETING MODAL --}}
@include('sessions.create')
{{-- TITLE --}}
{{-- CLASS SESSIONS --}}
@if (Auth::user()->role == 'Mentor')
Buat Pertemuan
@endif
@if ($sessions->count() != 0)
| # |
Judul Materi |
Deskripsi Materi |
Aksi |
@foreach ($sessions as $session)
|
Pertemuan {{ $loop->iteration }}
{{ \Carbon\Carbon::parse($session->schedule)->format('d M') . ' (' . $session->time . ')' }}
|
{{ substr($session->title, 0, 35) . '...' }}
Join Meeting
|
{{ substr($session->description, 0, 50) . '...' }} |
@if (Auth::user()->role == 'Mentor')
@endif
|
@endforeach
@else
Belum ada jadwal pertemuan di kelas ini
@endif
@if (Auth::user()->role == 'Mentor')
@include('forum.create')
@endif
@if (Auth::user()->role == 'Mentor')
Buat Forum
@endif
@if (count($forums) != 0)
| # |
Judul Forum |
Aksi |
@foreach ($forums as $forum)
|
{{ $loop->iteration }}
|
{{ $forum->title }} |
Lihat Forum
|
@endforeach
@else
Belum ada forum di kelas ini
@endif
@endsection