@extends('layouts.master') @section('navigation') @if($role==1) @include('local.managers.admins._navigation') @elseif($role==2) @include('local.managers.sCoords._new_navigation') @elseif($role==3) @include('local.managers.pCoords._new_navigation') @else @include('local.professors._navigation') @endif @stop @section('main')
{{ HTML::linkAction('StudentsController@printStudentReport', 'Print', array($course->semester_id, $course->code.$course->number.'-'.$course->section, $student->number), array('class'=>'btn btn-default')) }} {{ HTML::linkAction('CoursesController@show', 'Back to Section', array($course->id), array('class'=>'btn btn-default')) }}

Student Number: {{{ substr($student->number, 0, 3)}}}-{{{substr($student->number, 3, 2)}}}-{{{substr($student->number, 5, 4)}}}

Course: {{{ $course->name }}} ({{{ $course->code }}} {{{ $course->number }}}-{{{ $course->section }}})

@if($assessments!=NULL)

Assessment Results

@foreach($assessments as $activity_id => $activity) activity_id); // Used to get custom rubric criterion indicators //$rubric_contents = json_decode(Rubric::find($activity->rubric_id)->contents, true); ?>

{{ $assessments[$activity_id]['activity'] }}

scores, true); ?> @foreach($assessments[$activity_id]["criteria"] as $activity_criterion_id => $criteria) @endforeach
Criterion Score Reason
{{{ $criteria->name }}} {{{$assessments[$activity_id]["score"][$activity_criterion_id]}}} @if($assessments[$activity_id]['score'][$activity_criterion_id] != 0 || $assessments[$activity_id]['score'][$activity_criterion_id] !="N/A") {{ $assessments[$activity_id]['explication'][$activity_criterion_id] }} @else There is not enough information to assess this criterion, or the student did not complete the required work. @endif

Percentage: {{ $assessments[$activity_id]['percentage'] }}%

Comments: {{ $assessments[$activity_id]['comments'] }}

@endforeach
@else

No activities have been assessed.

@endif @stop @section('javascript') // -------------------------------------------------------------------------- // Page load // -------------------------------------------------------------------------- // Hide accordion panel contents by default $('.panel-body').hide(); // -------------------------------------------------------------------------- // Functions // -------------------------------------------------------------------------- // -------------------------------------------------------------------------- // Events // -------------------------------------------------------------------------- // When panel heading is clicked, toggle it $('.panel-heading').on('click', function() { $(this).next().stop().slideToggle(); }) @stop