Ver código fonte

Merge branch 'Merge_gabriel_mayo' of https://git.ccom.uprrp.edu/CDCC/OLAS into Merge_gabriel_mayo

Gabriel Santiago Plaza 2 anos atrás
pai
commit
7dc0452665

+ 39
- 11
app/controllers/CoursesController.php Ver arquivo

@@ -231,7 +231,18 @@ CoursesController extends \BaseController
231 231
             ->where('semester_id', $semester->id)
232 232
             ->groupBy(array('code', 'number'))->get();
233 233
 
234
-        $outcomes = Outcome::orderBy('name', 'asc')->get();
234
+//         Log::info($grouped_courses[0]->id);
235
+// exit();
236
+        $level = DB::table('courses')
237
+            ->join('programs', 'programs.id', '=', 'courses.program_id')
238
+            ->where('courses.id', $grouped_courses[0]->id)
239
+            ->select('programs.is_graduate')
240
+            ->first();
241
+
242
+        $outcomes = Outcome::active_by_semesters(array($semester), $level->is_graduate);
243
+
244
+
245
+//         $outcomes = Outcome::orderBy('name', 'asc')->get();
235 246
         $outcomeCount = Outcome::all()->count();
236 247
 
237 248
         foreach ($grouped_courses as $index => $grouped_course) {
@@ -246,15 +257,31 @@ CoursesController extends \BaseController
246 257
                 ->get();
247 258
 
248 259
             // For each of the sections, add the attempted and achieved criteria per outcome
249
-            foreach ($sections as $section) {
250
-                if ($section->outcomes_achieved != NULL) {
251
-                    $section_outcomes_achieved = json_decode($section->outcomes_achieved, true);
252
-                    $section_outcomes_attempted = json_decode($section->outcomes_attempted, true);
253
-                    for ($i = 1; $i <= count($outcomes_attempted); $i++) {
254
-                        $outcomes_achieved[$i] += $section_outcomes_achieved[$i];
255
-                        $outcomes_attempted[$i] += $section_outcomes_attempted[$i];
256
-                    }
257
-                }
260
+            foreach ($sections as &$section) {
261
+                        if ($section->outcomes_ach()) {
262
+						$section->outcomes_attempted=true;
263
+						$course_outcomes_achieved = $section->outcomes_ach();
264
+						$course_outcomes_attempted = $section->outcomes_att();
265
+						foreach ($course_outcomes_achieved as $outcome => $score) {
266
+							if (array_key_exists($outcome, $outcomes_achieved))
267
+								$outcomes_achieved[$outcome] += $score;
268
+							else $outcomes_achieved[$outcome] = $score;
269
+						}
270
+						foreach ($course_outcomes_attempted as $outcome => $score) {
271
+							if (array_key_exists($outcome, $outcomes_attempted))
272
+								$outcomes_attempted[$outcome] += $score;
273
+							else $outcomes_attempted[$outcome] = $score;
274
+						}
275
+					}
276
+            
277
+//                 if ($section->outcomes_achieved != NULL) {
278
+//                     $section_outcomes_achieved = json_decode($section->outcomes_achieved, true);
279
+//                     $section_outcomes_attempted = json_decode($section->outcomes_attempted, true);
280
+//                     for ($i = 1; $i <= count($outcomes_attempted); $i++) {
281
+//                         $outcomes_achieved[$i] += $section_outcomes_achieved[$i];
282
+//                         $outcomes_attempted[$i] += $section_outcomes_attempted[$i];
283
+//                     }
284
+//                 }
258 285
             }
259 286
         }
260 287
 
@@ -264,7 +291,8 @@ CoursesController extends \BaseController
264 291
             ->lists('id');
265 292
 
266 293
         // Activities with transforming actions
267
-        $activities = Activity::with('course')->whereNotNull('transforming_actions')->whereIn('course_id', $section_ids)->orderBy('name')->groupBy('transforming_actions')->get();
294
+//         $activities = Activity::with('course')->whereNotNull('transforming_actions')->whereIn('course_id', $section_ids)->orderBy('name')->groupBy('transforming_actions')->get();
295
+        $activities = Activity::with('course')->whereIn('course_id', $section_ids)->orderBy('name')->get();
268 296
 
269 297
         return View::make('local.managers.shared.print_course', compact('role', 'title', 'grouped_courses', 'outcomes', 'outcomes_attempted', 'outcomes_achieved', 'sections', 'activities'));
270 298
     }

+ 80
- 27
app/controllers/ProgramsController.php Ver arquivo

@@ -328,43 +328,85 @@ class ProgramsController extends \BaseController
328 328
 
329 329
     $program = Program::find($id);
330 330
     $title = $program->name . ' Assessment Report - ' . date('m/d/Y');
331
-    $program_courses = $program->courses;
332
-    /* //$outcomes = Outcome::orderBy('name', 'asc')->get();
333 331
     $schools = School::all();
334 332
    // $outcomeCount = Outcome::all()->count();
335 333
     $semesters = Session::get('semesters_ids');
336
-    $semesters = DB::table('semesters')->where('id', $course->semester_id)->orderBy('start', 'ASC')->first();
337
-
338
-    $outcomes = Outcome::select(array('id', 'name', 'expected_outcome'))
339
-        ->whereNull('deleted_at')
340
-        ->whereRaw("(deactivation_date IS NULL or deactivation_date >= '{$semesters->start}')")
341
-        ->orderBy('name', 'ASC')->get();
334
+//     $semesters = DB::table('semesters')->where('id', $course->semester_id)->orderBy('start', 'ASC')->first();
335
+        $semesters2 = Semester::whereIn('id',Session::get('semesters_ids'))->get();
342 336
 
343
-    $outcomes_achieved = array_fill(1, $outcomeCount, 0);
344
-    $outcomes_attempted = array_fill(1, $outcomeCount, 0);
337
+    $program_courses = $program->courses;
338
+     //$outcomes = Outcome::orderBy('name', 'asc')->get();
339
+	$outcomes = Outcome::active_by_semesters($semesters2, $program->is_graduate);
340
+	$outcomeCount = count($outcomes);
341
+	$outcomes_achieved = [];
342
+	$outcomes_attempted = [];
343
+
344
+// 	Log::info($program_courses);
345
+	foreach($outcomes as $outcome)
346
+	{
347
+			$outcomes_attempted[$outcome->id]=0;
348
+			$outcomes_achieved[$outcome->id]=0;
349
+	}
345 350
 
346 351
     $assessed_courses_count=0;
347
-    foreach ($program_courses as $course)
348
-    {
349
-      if($course->outcomes_achieved!=NULL)
350
-      {
351
-        $course_outcomes_achieved =json_decode($course->outcomes_achieved, true);
352
-        $course_outcomes_attempted =json_decode($course->outcomes_attempted, true);
353
-        for($i=1; $i<=count($outcomes_attempted); $i++)
354
-        {
355
-          $outcomes_achieved[$i]+=$course_outcomes_achieved[$i];
356
-          $outcomes_attempted[$i]+=$course_outcomes_attempted[$i];
357
-        }
358
-        $assessed_courses_count+=1;
359
-      }
360
-    }
352
+	foreach ($program_courses as $course) {
353
+
354
+		if ($course->outcomes_att()) {
355
+			$course_outcomes_attempted = $course->outcomes_att();
356
+			foreach ($course_outcomes_attempted as $outcome => $score) {
357
+				if (array_key_exists($outcome, $outcomes_attempted))
358
+					$outcomes_attempted[$outcome] += $score;
359
+				else $outcomes_attempted[$outcome] = $score;
360
+			}
361
+	        $assessed_courses_count+=1;
362
+		}
363
+
364
+		if ($course->outcomes_ach()) {
365
+
366
+			$course_outcomes_achieved = $course->outcomes_ach();
367
+			foreach ($course_outcomes_achieved as $outcome => $score) {
368
+				if (array_key_exists($outcome, $outcomes_achieved))
369
+					$outcomes_achieved[$outcome] += $score;
370
+				else $outcomes_achieved[$outcome] = $score;
371
+			}
372
+			}
373
+			
374
+	}
375
+
376
+    
377
+    
378
+
379
+//     $outcomes = Outcome::select(array('id', 'name', 'expected_outcome'))
380
+//         ->whereNull('deleted_at')
381
+//         ->whereRaw("(deactivation_date IS NULL or deactivation_date >= '{$semesters->start}')")
382
+//         ->orderBy('name', 'ASC')->get();
383
+// 
384
+//     $outcomes_achieved = array_fill(1, $outcomeCount, 0);
385
+//     $outcomes_attempted = array_fill(1, $outcomeCount, 0);
386
+
387
+//     $assessed_courses_count=0;
388
+//     foreach ($program_courses as $course)
389
+//     {
390
+//       if($course->outcomes_achieved!=NULL)
391
+//       {
392
+//         $course_outcomes_achieved =json_decode($course->outcomes_achieved, true);
393
+//         $course_outcomes_attempted =json_decode($course->outcomes_attempted, true);
394
+//         for($i=1; $i<=count($outcomes_attempted); $i++)
395
+//         {
396
+//           $outcomes_achieved[$i]+=$course_outcomes_achieved[$i];
397
+//           $outcomes_attempted[$i]+=$course_outcomes_attempted[$i];
398
+//         }
399
+//         $assessed_courses_count+=1;
400
+//       }
401
+//     }
361 402
 
362 403
     /**
363 404
      * List of grouped courses (grouped sections)
364 405
      */
365 406
 
366
-    /*    $grouped_courses = Course::
367
-      select(DB::raw('name, code, number, max(outcomes_attempted) as outcomes_attempted, semester_id, program_id'))
407
+//       select(DB::raw('name, code, number, max(outcomes_attempted) as outcomes_attempted, semester_id, program_id'))
408
+    $grouped_courses = Course::
409
+      select(DB::raw('id, name, code, number, semester_id, program_id'))
368 410
       ->with('semester')
369 411
       ->with('program')
370 412
       ->where('program_id', $program->id)
@@ -374,8 +416,19 @@ class ProgramsController extends \BaseController
374 416
       ->orderBy('number')
375 417
       ->orderBy('semester_id')
376 418
       ->get();
377
-*/
378 419
 
420
+	foreach($grouped_courses as &$course)
421
+	{
422
+		$course->outcomes_attempted=null;
423
+		if(count($course->assessedActivities) and count($course->publishedActivities))
424
+		{
425
+			$course->outcomes_attempted=true;
426
+		}
427
+	
428
+	}
429
+
430
+// 	Log::info($grouped_courses);
431
+// exit();
379 432
     $semesters = Session::get('semesters_ids');
380 433
     $semesters = DB::table('semesters')->whereIn('id', $semesters)->orderBy('start', 'ASC')->first();
381 434
     Log::info($semesters->start);

+ 93
- 47
app/controllers/UsersController.php Ver arquivo

@@ -11,58 +11,60 @@ class UsersController extends \BaseController
11 11
 	public function index()
12 12
 	{
13 13
 		$title = "Users";
14
-
14
+$a=microtime();
15 15
 		$users = User::with('programs', 'school')
16 16
 			->orderBy('surnames')
17 17
 			->orderBy('first_name')
18 18
 			->get();
19
-		Log::info('LmaOOOOO get cocked');
19
+$b=microtime();
20
+			
21
+		Log::info(($b-$a));
20 22
 
21 23
 
22 24
 		$schools = School::orderBy('name', 'asc')->get();
23 25
 		$access_level  = count(User::select('role')->where('has_access', 1)->groupBy('role')->get());
24
-		try {
25
-			Log::info("Schools");
26
-			foreach ($schools as $school) {
27
-				Log::info(print_r($school, true));
28
-			}
29
-			foreach ($users as $user) {
30
-				Log::info("ID");
31
-				Log::info($user->id);
32
-				Log::info("Name");
33
-				Log::info($user->surname . $user->first_name);
34
-				Log::info("if funciona??");
35
-				Log::info($user->school_id);
36
-				Log::info("elseif??");
37
-				Log::info(count($user->programs));
38
-				if ($user->school_id) {
39
-					Log::info("Schoool");
40
-					Log::info($user->school->name);
41
-					Log::info($user->school_id);
42
-				} elseif (count($user->programs) > 0) {
43
-					Log::info("Entre aqui");
44
-					Log::info($user->programs[0]->school_id);
45
-					Log::info($user->programs[0]->school->name);
46
-				} else Log::info("Not so cocked");
47
-
48
-				Log::info("bueno vamos a ver que hay???");
49
-				Log::info(count($user->programs));
50
-				if (count($user->programs)) {
51
-					foreach ($user->programs as $program) {
52
-						Log::info($program->id);
53
-						Log::info($program->name);
54
-					}
55
-				} else Log::info("Tal vez cocked");
56
-				Log::info("email");
57
-				Log::info($user->email);
58
-				Log::info("Role" . $user->role);
59
-				Log::info($user->office_phone);
60
-				Log::info($user->cell_phone);
61
-			}
62
-		} catch (Exception $e) {
63
-			Log::info("get Cocked" . $e);
64
-		}
65
-		Log::info("el error era en la base de datos XDDDDDDD");
26
+// 		try {
27
+// 			Log::info("Schools");
28
+// 			foreach ($schools as $school) {
29
+// 				Log::info(print_r($school, true));
30
+// 			}
31
+// 			foreach ($users as $user) {
32
+// 				Log::info("ID");
33
+// 				Log::info($user->id);
34
+// 				Log::info("Name");
35
+// 				Log::info($user->surname . $user->first_name);
36
+// 				Log::info("if funciona??");
37
+// 				Log::info($user->school_id);
38
+// 				Log::info("elseif??");
39
+// 				Log::info(count($user->programs));
40
+// 				if ($user->school_id) {
41
+// 					Log::info("Schoool");
42
+// 					Log::info($user->school->name);
43
+// 					Log::info($user->school_id);
44
+// 				} elseif (count($user->programs) > 0) {
45
+// 					Log::info("Entre aqui");
46
+// 					Log::info($user->programs[0]->school_id);
47
+// 					Log::info($user->programs[0]->school->name);
48
+// 				} else Log::info("Not so cocked");
49
+// 
50
+// 				Log::info("bueno vamos a ver que hay???");
51
+// 				Log::info(count($user->programs));
52
+// 				if (count($user->programs)) {
53
+// 					foreach ($user->programs as $program) {
54
+// 						Log::info($program->id);
55
+// 						Log::info($program->name);
56
+// 					}
57
+// 				} else Log::info("Tal vez cocked");
58
+// 				Log::info("email");
59
+// 				Log::info($user->email);
60
+// 				Log::info("Role" . $user->role);
61
+// 				Log::info($user->office_phone);
62
+// 				Log::info($user->cell_phone);
63
+// 			}
64
+// 		} catch (Exception $e) {
65
+// 			Log::info("get Cocked" . $e);
66
+// 		}
67
+// 		Log::info("el error era en la base de datos XDDDDDDD");
66 68
 
67 69
 
68 70
 		return View::make('local.managers.admins.users', compact('title', 'users', 'schools', 'access_level'));
@@ -235,14 +237,19 @@ class UsersController extends \BaseController
235 237
 				array(
236 238
 					'office_phone' => 'string|max:20|required_with:office_extension',
237 239
 					'office_extension' => 'digits_between:1,5|required_with:office_phone|unique:users,office_extension,' . $user->id,
238
-					'cell_phone' => 'string|max:20'
240
+					'cell_phone' => 'string|max:20',
239 241
 				)
240 242
 			);
241
-
243
+// 				Log::info("email");	
244
+// 				Log::info($user->email);
245
+// 				Log::info(Input::get('email'));
246
+// 				$user->email = Input::get('email');
247
+// 				Log::info($user->email);
248
+		
242 249
 			/** If validation fails */
243 250
 			if ($validator->fails()) {
244 251
 				/** Prepare error message */
245
-				$message = 'Error(s) updating your Contact nformation<ul>';
252
+				$message = 'Error(s) updating your Contact Information<ul>';
246 253
 
247 254
 				foreach ($validator->messages()->all('<li>:message</li>') as $validationError) {
248 255
 					$message .= $validationError;
@@ -288,6 +295,45 @@ class UsersController extends \BaseController
288 295
 			try {
289 296
 				$exception = DB::transaction(function () {
290 297
 					$user = User::find(Input::get('id'));
298
+					$validator = Validator::make(
299
+						array(
300
+							'email' => Input::get('email'),
301
+						),
302
+						array(
303
+							'email' => 'required|email|unique:users'
304
+						)
305
+					);
306
+// 						Log::info("email");	
307
+// 						Log::info($user->email);
308
+// 						Log::info(Input::get('email'));
309
+// 						$user->email = Input::get('email');
310
+// 						Log::info($user->email);
311
+		
312
+					/** If validation fails */
313
+					if ($validator->fails()) {
314
+						/** Prepare error message */
315
+						$message = 'Error(s) updating your Contact Information<ul>';
316
+
317
+						foreach ($validator->messages()->all('<li>:message</li>') as $validationError) {
318
+							$message .= $validationError;
319
+						}
320
+
321
+						$message .= '</ul>';
322
+
323
+						/** Send error message and old data */
324
+						Session::flash('status', 'danger');
325
+						Session::flash('message', $message);
326
+						return Redirect::back()->withInput();
327
+					} else {
328
+			
329
+			
330
+// 						Log::info("email");	
331
+// 						Log::info($user->email);
332
+// 						Log::info(Input::get('email'));
333
+						$user->email = Input::get('email');
334
+// 						Log::info($user->email);
335
+
336
+					}
291 337
 
292 338
 					switch (Input::get('role')) {
293 339
 						case '1':

+ 4
- 4
app/views/local/managers/admins/_navigation.blade.php Ver arquivo

@@ -55,13 +55,13 @@
55 55
 
56 56
             <li class="dropdown">
57 57
                 <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
58
-                    aria-expanded="false">Reports<span class="caret"></span></a>
58
+                    aria-expanded="false">Results<span class="caret"></span></a>
59 59
                 <ul class="dropdown-menu" role="menu">
60
-                    <li>{{ HTML::linkAction('OutcomesController@assessmentReport', 'Campus Reports') }}</li>
61
-                    <li>{{ HTML::linkAction('OutcomesController@totalAssessmentReport', 'Total Assessment Reports') }}
60
+                    <li>{{ HTML::linkAction('OutcomesController@assessmentReport', 'Campus Results') }}</li>
61
+                    <li>{{ HTML::linkAction('OutcomesController@totalAssessmentReport', 'Total Assessment Results') }}
62 62
                     </li>
63 63
                     @if (count(Auth::user()->courses))
64
-                        <li>{{ HTML::linkAction('OutcomesController@professorAssessmentReport', 'My Courses\' Reports') }}
64
+                        <li>{{ HTML::linkAction('OutcomesController@professorAssessmentReport', 'My Courses\' Results') }}
65 65
                         </li>
66 66
 
67 67
                     @endif

+ 16
- 3
app/views/local/managers/admins/users.blade.php Ver arquivo

@@ -22,9 +22,22 @@
22 22
                     <p id="name" name="name" class="form-control-static"></p>
23 23
                 </div>
24 24
                 <div class="form-group">
25
+<!--                     <label for="email" class="control-label">Email</label> -->
26
+                      {{ Form::label('email', 'Email') }}
27
+                   {{ Form::email('email', Input::old('email'), array('class'=>'form-control'))}}
28
+ 					<span style="color: red;">Changing the email may cause the user to lose access to OLAS.</span>
29
+                </div>
30
+<!-- 
31
+                <div class="form-group">
25 32
                     <label for="" class="control-label">Email</label>
26 33
                     <p id="email" name="email" class="form-control-static"></p>
27
-                </div>
34
+<!~~ 
35
+                     {{ Form::label('email', 'Email') }}
36
+                    <input id="email" type="email" name="email" class="role form-control" value="">
37
+                    </input>
38
+ ~~>
39
+               </div>
40
+ -->
28 41
                 <div class="form-group">
29 42
                     {{ Form::label('role', 'Role') }}
30 43
                     <select id="role" name="role" class="role form-control">
@@ -310,8 +323,8 @@
310 323
         var user= element.closest('tr');
311 324
         $('#id').val(user.find('.user-name').data('user-id'));
312 325
         $('#name').text(user.find('.user-name').text());
313
-        $('#email').text(user.find('.user-email').text());
314
-
326
+<!--         $('#email').text(user.find('.user-email').text()); -->
327
+		$('#email').val(user.find('.user-email').text());
315 328
         $('#has_access').val(user.find('.user-has-access').data('value'));
316 329
 
317 330
 

+ 4
- 4
app/views/local/managers/pCoords/_navigation.blade.php Ver arquivo

@@ -53,23 +53,23 @@
53 53
 
54 54
             <li class="dropdown">
55 55
                 <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
56
-                    aria-expanded="false">Reports<span class="caret"></span></a>
56
+                    aria-expanded="false">Results<span class="caret"></span></a>
57 57
                 <ul class="dropdown-menu" role="menu">
58 58
                     <li><a
59 59
                             href="{{ URL::action('OutcomesController@programAssessmentReport', Auth::user()->programs[0]->id) }}">Program
60
-                            Reports</a></li>
60
+                            Results</a></li>
61 61
 
62 62
             </li>
63 63
 
64 64
             @if (count(Auth::user()->courses))
65
-                <li>{{ HTML::linkAction('OutcomesController@professorAssessmentReport', 'My Courses\' Reports') }}
65
+                <li>{{ HTML::linkAction('OutcomesController@professorAssessmentReport', 'My Courses\' Results') }}
66 66
                 </li>
67 67
             @endif
68 68
 
69 69
 
70 70
             </li>
71 71
             <li><a href="{{ URL::action('OutcomesController@annualReport', Auth::user()->programs[0]->id) }}">Annual
72
-                    Reports</a></li>
72
+                    Results</a></li>
73 73
 
74 74
             <li>{{ HTML::linkAction('TransformativeActionsController@viewFormativeActions', 'Formative Actions') }}
75 75
 

+ 4
- 4
app/views/local/managers/sCoords/_navigation.blade.php Ver arquivo

@@ -44,15 +44,15 @@
44 44
 
45 45
             <li class="dropdown">
46 46
                 <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
47
-                    aria-expanded="false">Reports<span class="caret"></span></a>
47
+                    aria-expanded="false">Results<span class="caret"></span></a>
48 48
                 <ul class="dropdown-menu" role="menu">
49
-                    <li>{{ HTML::linkAction('OutcomesController@schoolAssessmentReport', 'School Reports') }}</li>
49
+                    <li>{{ HTML::linkAction('OutcomesController@schoolAssessmentReport', 'School Results') }}</li>
50 50
                     @if (count(Auth::user()->courses))
51
-                        <li>{{ HTML::linkAction('OutcomesController@professorAssessmentReport', 'My Courses\' Reports') }}
51
+                        <li>{{ HTML::linkAction('OutcomesController@professorAssessmentReport', 'My Courses\' Results') }}
52 52
                         </li>
53 53
 
54 54
                     @endif
55
-                    <li>{{ HTML::linkAction('AnnualPlansController@selectProgramPlan', 'Annual Reports') }}</li>
55
+                    <li>{{ HTML::linkAction('AnnualPlansController@selectProgramPlan', 'Annual Results') }}</li>
56 56
                     <li>{{ HTML::linkAction('TransformativeActionsController@viewFormativeActions', 'Formative Actions') }}
57 57
 
58 58
                 </ul>

+ 1
- 1
app/views/local/managers/shared/print_course.blade.php Ver arquivo

@@ -16,7 +16,7 @@
16 16
 
17 17
 <p class="header-text">{{{ $grouped_courses[0]->program->name }}}</p>
18 18
 <p class="header-text">{{{ $grouped_courses[0]->name }}}</p>
19
-<h1 class="header-text">Assessment Report for {{{ $grouped_courses[0]->code }}}{{{ $grouped_courses[0]->number }}} ({{{ $grouped_courses[0]->semester->code }}})</h1>
19
+<h1 class="header-text">Assessment Results for {{{ $grouped_courses[0]->code }}}{{{ $grouped_courses[0]->number }}} ({{{ $grouped_courses[0]->semester->code }}})</h1>
20 20
 
21 21
 @stop
22 22
 

+ 1
- 1
app/views/local/managers/shared/print_program.blade.php Ver arquivo

@@ -9,7 +9,7 @@
9 9
         @endif
10 10
     @endforeach
11 11
 </p>
12
-<p class="header-text">Program Assessment Report</p>
12
+<p class="header-text">Program Assessment Results</p>
13 13
 <h1 class="header-text">{{{ $program->name}}}</h1>
14 14
 @stop
15 15
 

+ 1
- 1
app/views/local/managers/shared/print_school.blade.php Ver arquivo

@@ -9,7 +9,7 @@
9 9
         @endif
10 10
     @endforeach
11 11
 </p>
12
-<p class="header-text">Assessment Report</p>
12
+<p class="header-text">Assessment Results</p>
13 13
 <h1 class="header-text">School of {{{ $school->name}}}</h1>
14 14
 @stop
15 15
 

+ 1
- 1
app/views/local/professors/_navigation.blade.php Ver arquivo

@@ -30,7 +30,7 @@
30 30
                 </li>
31 31
             @endif
32 32
             <li> {{ HTML::linkAction('ProfessorsController@program', 'Program') }}</li>
33
-            <li>{{ HTML::linkAction('OutcomesController@professorAssessmentReport', 'Reports') }}</li>
33
+            <li>{{ HTML::linkAction('OutcomesController@professorAssessmentReport', 'Results') }}</li>
34 34
             <li>{{ HTML::linkAction('TemplatesController@ProfIndex', 'Rubric List') }}</li>
35 35
             <li class="dropdown">
36 36
                 <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Help<span