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

IS and ES status should carry over in diff view

parent 436f69f0
No related branches found
Tags
No related merge requests found
......@@ -8,13 +8,14 @@ class Application_View_Helper_BulletinEntryDiff
{
// ES and IS
$currentES = ($currentCourse->isEssentialStudies() == true ? '[ES]' : '');
$proposedES = ($proposedCourse->isEssentialStudies() == true ? '[ES]' : '');
$proposedES = $currentES;
$diffES = $this->_getDiffText($currentES, $proposedES);
$currentIS = ($currentCourse->integratedStudies == 'yes' ? '[IS]' : '');
$proposedIS = ($proposedCourse->integratedStudies == 'yes' ? '[IS]' : '');
if (in_array($request->type->name, array('AddISToCourse'))) {
$proposedIS = '[IS]';
} else {
$proposedIS = $currentIS;
}
$diffIS = $this->_getDiffText($currentIS, $proposedIS);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment