SAAS-786: Implement Landing Page Design

Implemented logo, station name and description
This commit is contained in:
drigato 2015-05-15 09:01:20 -04:00
parent 10ca987a51
commit 479dbc5525
12 changed files with 541 additions and 5 deletions

View file

@ -12,12 +12,18 @@ class IndexController extends Zend_Controller_Action
{
$CC_CONFIG = Config::getConfig();
$baseUrl = Application_Common_OsPath::getBaseDir();
$this->view->headLink()->appendStylesheet($baseUrl.'css/landing-page.css?'.$CC_CONFIG['airtime_version']);
$this->_helper->layout->setLayout('login');
$this->view->headLink()->appendStylesheet($baseUrl.'css/radio-page/radio-page.css?'.$CC_CONFIG['airtime_version']);
$this->_helper->layout->setLayout('radio-page');
$this->view->stationLogo = Application_Model_Preference::GetStationLogo();
$this->view->stationName = Application_Model_Preference::GetStationName();
$this->view->stationDescription = Application_Model_Preference::GetStationDescription();
$stationName = Application_Model_Preference::GetStationName();
$stationName = empty($stationName) ? "Station Name" : $stationName;
$this->view->stationName = $stationName;
$stationDescription = Application_Model_Preference::GetStationDescription();
$stationDescription = empty($stationDescription) ? "Station Description" : $stationDescription;
$this->view->stationDescription = $stationDescription;
}
public function mainAction()