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

Add a link from the ucc summary report to the public view of each request's course.

parent 0d3c6eb1
No related branches found
No related tags found
No related merge requests found
...@@ -89,7 +89,8 @@ class Ucc_ReportsController extends App_Controller_Action ...@@ -89,7 +89,8 @@ class Ucc_ReportsController extends App_Controller_Action
'title' => $originalCourse->getTitle(), 'title' => $originalCourse->getTitle(),
'difference' => $difference, 'difference' => $difference,
'IS' => $originalCourse->isIntegratedStudies(), 'IS' => $originalCourse->isIntegratedStudies(),
'crosslist' => $originalCourse->getCrosslistingsText() 'crosslist' => $originalCourse->getCrosslistingsText(),
'course' => $originalCourse->getCourseId()
)); ));
} }
......
...@@ -15,7 +15,11 @@ ...@@ -15,7 +15,11 @@
<tr> <tr>
<td><?php echo date('m/d/Y', $row->getTime())?></td> <td><?php echo date('m/d/Y', $row->getTime())?></td>
<td><?php echo $row->getCollege(); ?></td> <td><?php echo $row->getCollege(); ?></td>
<td><?php echo $row->getCourseCode(); ?></td> <td>
<a href="<?php echo $this->baseUrl(); ?>/courses/public-view/view/id/<?php echo $row->getCourse(); ?>">
<?php echo $row->getCourseCode(); ?>
</a>
</td>
<td><?php echo $row->getTitle(); ?></td> <td><?php echo $row->getTitle(); ?></td>
<td><?php echo $row->getDifference(); ?></td> <td><?php echo $row->getDifference(); ?></td>
<td><?php if($row->getIS()) echo 'Yes'; ?></td> <td><?php if($row->getIS()) echo 'Yes'; ?></td>
......
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