@extends('layouts.master') @section('navigation') @if (Auth::user()->role == 1) @include('local.managers.admins._new_navigation') @elseif(Auth::user()->role == 2) @include('local.managers.sCoords._new_navigation') @elseif(Auth::user()->role == 3) @include('local.managers.pCoords._new_navigation') @else @include('local.professors._navigation') @endif @stop @section('main')

{{ $course->name }}

Activities

@if (!$activities->isEmpty()) @if ($is_active_semester) New Activity @endif @foreach ($activities as $activity) @endforeach @if (!$is_active_semester) @endif
Name Date Updated Assessed Published
{{ link_to_action('ActivitiesController@show', $activity->name, $parameters = ['id' => $activity->id]) }} {{ date('M d, Y', strtotime($activity->date)) }} {{ date('M d, Y', strtotime($activity->updated_at)) }} @if ($activity->outcomes_attempted != null) @endif @if ($activity->outcomes_attempted != null && !$activity->draft && !$activity->diagnostic) @endif
The semester for this course is inactive. You cannot create any more activities.

Unplublished activity results are not considered in the graph above.

@else
@if ($is_active_semester)

No activities. Create one.

@else

The semester for this course is inactive. You cannot create any activities.

@endif
@endif
@stop @section('included-js') @stop @section('javascript') @stop