CC-3869: Source Streams: Please give Guest and DJ user clear error message
when they try to shut off Scheduled Play stream - fixed
This commit is contained in:
parent
fb48184629
commit
7228dc9eb0
|
@ -83,7 +83,11 @@ class DashboardController extends Zend_Controller_Action
|
|||
if($source_connected){
|
||||
$this->view->error = "You don't have permission to switch source.";
|
||||
}else{
|
||||
$this->view->error = "There is no source connected to this input.";
|
||||
if($sourcename == 'scheduled_play'){
|
||||
$this->view->error = "You don't have permission to disconnect source.";
|
||||
}else{
|
||||
$this->view->error = "There is no source connected to this input.";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue