Skip to content
Snippets Groups Projects
Commit aee41790 authored by Tim Steiner's avatar Tim Steiner
Browse files

Slight hack to display old JDEP courses as RAIK on the ACE reports.

parent a137635a
No related branches found
No related tags found
No related merge requests found
...@@ -69,6 +69,7 @@ class Iace_ReportsController extends App_Controller_Action ...@@ -69,6 +69,7 @@ class Iace_ReportsController extends App_Controller_Action
$title = $course->getTitle(); $title = $course->getTitle();
if ($course->getCrosslistingsText()) { if ($course->getCrosslistingsText()) {
$title .= ' (' . $course->getCrosslistingsText() . ')'; $title .= ' (' . $course->getCrosslistingsText() . ')';
$title = strtr($title, array('JDEP' => 'RAIK'));
} }
foreach ($course->getAceOutcomes() as $aceOutcome) { foreach ($course->getAceOutcomes() as $aceOutcome) {
$data[] = new Unl_Model_Array(array( $data[] = new Unl_Model_Array(array(
...@@ -165,6 +166,7 @@ class Iace_ReportsController extends App_Controller_Action ...@@ -165,6 +166,7 @@ class Iace_ReportsController extends App_Controller_Action
$title = $course->getTitle(); $title = $course->getTitle();
if ($course->getCrosslistingsText()) { if ($course->getCrosslistingsText()) {
$title .= ' (' . $course->getCrosslistingsText() . ')'; $title .= ' (' . $course->getCrosslistingsText() . ')';
$title = strtr($title, array('JDEP' => 'RAIK'));
} }
foreach ($course->getAceOutcomes() as $aceOutcome) { foreach ($course->getAceOutcomes() as $aceOutcome) {
$data[] = new Unl_Model_Array(array( $data[] = new Unl_Model_Array(array(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment