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:
James 2012-06-07 14:27:12 -04:00
parent fb48184629
commit 7228dc9eb0
1 changed files with 5 additions and 1 deletions

View File

@ -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.";
}
}
}
}