From 07041555db6d0ca612b3755377c6bfd6bfa8c595 Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Fri, 10 Jul 2009 20:22:27 +0000 Subject: [PATCH] On new course requests, do not show "Most Recent Action" until submitted. --- .../modules/courses/views/scripts/view/course-info.phtml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/modules/courses/views/scripts/view/course-info.phtml b/application/modules/courses/views/scripts/view/course-info.phtml index 6ca84afa..c3b9f128 100644 --- a/application/modules/courses/views/scripts/view/course-info.phtml +++ b/application/modules/courses/views/scripts/view/course-info.phtml @@ -126,10 +126,12 @@ <th>Effective Term</th> <td><?php echo $course->getEffectiveSemesterDescription(); ?></td> </tr> + <?php if (!in_array($this->request->getType(), array('NewCourse', 'NewCourseWithIS', 'NewCourseWithACE')) || $this->request->getId()) { ?> <tr> <th>Most Recent Action</th> - <td><?php echo $this->request->getLastApprovalTime(); ?> + <td><?php echo $this->request->getLastApprovalTime(); ?></td> </tr> + <?php } ?> </table> -- GitLab