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

Add colored diff text to Admin Edit view pages.

parent aa869fd3
Branches
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ class Courses_ViewController extends App_Controller_Action
$course = Courses_CourseModel::findLatestOfRequest($request);
$parentCourse = null;
if (in_array($request->getType(), array('ChangeCourse', 'AddISToCourse', 'AddACEAndChangeCourse', 'RemoveACEAndChangeCourse', 'ChangeACE'))) {
if (in_array($request->getType(), array('ChangeCourse', 'AddISToCourse', 'AddACEAndChangeCourse', 'RemoveACEAndChangeCourse', 'AdminEdit', 'ChangeACE'))) {
$parentCourse = Courses_CourseModel::findParentOfRequest($request);
}
$initialRequest = false;
......
......@@ -2,7 +2,7 @@
<div class="courseInfo">
<?php
$course = $this->course;
if (in_array($this->request->getType(), array('ChangeCourse', 'AddISToCourse', 'AddACEAndChangeCourse', 'RemoveACEAndChangeCourse'))) {
if (in_array($this->request->getType(), array('ChangeCourse', 'AddISToCourse', 'AddACEAndChangeCourse', 'RemoveACEAndChangeCourse', 'AdminEdit'))) {
$parentCourse = $this->parentCourse;
/****************************CHANGE COURSE*************************************/
?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment