CC-3655: Context menu for current show missing add/remove content and remove all content options.
-undone
This commit is contained in:
parent
9c9838b35c
commit
cdf92b016f
|
@ -227,8 +227,7 @@ class ScheduleController extends Zend_Controller_Action
|
||||||
$showStartLocalDT = Application_Common_DateHelper::ConvertToLocalDateTime($instance->getShowInstanceStart());
|
$showStartLocalDT = Application_Common_DateHelper::ConvertToLocalDateTime($instance->getShowInstanceStart());
|
||||||
$showEndLocalDT = Application_Common_DateHelper::ConvertToLocalDateTime($instance->getShowInstanceEnd());
|
$showEndLocalDT = Application_Common_DateHelper::ConvertToLocalDateTime($instance->getShowInstanceEnd());
|
||||||
|
|
||||||
if ($epochNow < $showEndLocalDT->getTimestamp()) {
|
if ($epochNow < $showStartLocalDT->getTimestamp()) {
|
||||||
|
|
||||||
if ( ($isAdminOrPM || $isDJ)
|
if ( ($isAdminOrPM || $isDJ)
|
||||||
&& !$instance->isRecorded()
|
&& !$instance->isRecorded()
|
||||||
&& !$instance->isRebroadcast()) {
|
&& !$instance->isRebroadcast()) {
|
||||||
|
@ -239,7 +238,6 @@ class ScheduleController extends Zend_Controller_Action
|
||||||
$menu["clear"] = array("name"=> "Remove All Content", "icon" => "remove-all-content",
|
$menu["clear"] = array("name"=> "Remove All Content", "icon" => "remove-all-content",
|
||||||
"url" => "/schedule/clear-show");
|
"url" => "/schedule/clear-show");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$instance->isRecorded()) {
|
if (!$instance->isRecorded()) {
|
||||||
|
|
Loading…
Reference in New Issue