From 1044881666bce1d0c516763f11490a9461f45f7e Mon Sep 17 00:00:00 2001 From: Yuchen Wang Date: Thu, 5 Jan 2012 10:30:37 -0500 Subject: [PATCH] CC-3114: Show Content Dialog doesn't display total time Somehow this file didn't get committed... --- airtime_mvc/application/controllers/ScheduleController.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/airtime_mvc/application/controllers/ScheduleController.php b/airtime_mvc/application/controllers/ScheduleController.php index c4afb1622..9895b7d57 100644 --- a/airtime_mvc/application/controllers/ScheduleController.php +++ b/airtime_mvc/application/controllers/ScheduleController.php @@ -443,7 +443,10 @@ class ScheduleController extends Zend_Controller_Action "Rebroadcast of show \"$originalShowName\" from " .$originalDateTime->format("l, F jS")." at ".$originalDateTime->format("G:i"); } - $this->view->showContent = $show->getShowListContent(); + $this->view->showLength = $show->getShowLength(); + $this->view->timeFilled = $show->getTimeScheduled(); + $this->view->percentFilled = $show->getPercentScheduled(); + $this->view->showContent = $show->getShowListContent(); $this->view->dialog = $this->view->render('schedule/show-content-dialog.phtml'); unset($this->view->showContent); }