diff --git a/airtime_mvc/application/configs/constants.php b/airtime_mvc/application/configs/constants.php index c1b1edca1..dd421a9d9 100644 --- a/airtime_mvc/application/configs/constants.php +++ b/airtime_mvc/application/configs/constants.php @@ -21,6 +21,8 @@ define('ABOUT_AIRTIME_URL' , 'https://www.airtime.pro/support/'); define('AIRTIME_TRANSIFEX_URL' , 'https://www.transifex.com/projects/p/airtime/'); define('WHMCS_PASSWORD_RESET_URL' , 'https://account.sourcefabric.com/pwreset.php'); define('SUPPORT_TICKET_URL' , 'https://sourcefabricberlin.zendesk.com/hc/en-us/requests/new'); +define('UI_REVAMP_EMBED_URL' , 'https://www.youtube.com/embed/nqpNnCKGluY'); +define('UI_REVAMP_YOUTUBE_URL' , 'https://www.youtube.com/watch?v=nqpNnCKGluY&feature=youtu.be'); define('LICENSE_VERSION' , 'GNU AGPL v.3'); define('LICENSE_URL' , 'http://www.gnu.org/licenses/agpl-3.0-standalone.html'); diff --git a/airtime_mvc/application/configs/navigation.php b/airtime_mvc/application/configs/navigation.php index 40bb48484..f5076a691 100644 --- a/airtime_mvc/application/configs/navigation.php +++ b/airtime_mvc/application/configs/navigation.php @@ -172,6 +172,11 @@ $pages = array( 'label' => _(sprintf("Help Translate %s", PRODUCT_NAME)), 'uri' => AIRTIME_TRANSIFEX_URL, 'target' => "_blank" + ), + array( + 'label' => _('Get to know the new Airtime'), + 'uri' => UI_REVAMP_YOUTUBE_URL, + 'target' => "_blank" ) ) ), diff --git a/airtime_mvc/application/controllers/LocaleController.php b/airtime_mvc/application/controllers/LocaleController.php index 81cebc183..6dbcf786b 100644 --- a/airtime_mvc/application/controllers/LocaleController.php +++ b/airtime_mvc/application/controllers/LocaleController.php @@ -422,8 +422,9 @@ class LocaleController extends Zend_Controller_Action "Next", "Previous", ": activate to sort column ascending", - ": activate to sort column descending" + ": activate to sort column descending", //End of datatables + "Welcome to the new Airtime Pro!" => _("Welcome to the new Airtime Pro!") ); $this->view->layout()->disableLayout(); $this->_helper->viewRenderer->setNoRender(true); diff --git a/airtime_mvc/application/layouts/scripts/layout.phtml b/airtime_mvc/application/layouts/scripts/layout.phtml index e2e486415..6558b2bd0 100644 --- a/airtime_mvc/application/layouts/scripts/layout.phtml +++ b/airtime_mvc/application/layouts/scripts/layout.phtml @@ -169,6 +169,54 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= + + +