Improvement wizard of installator
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -843,6 +843,7 @@ class Installer extends Controller
|
||||
$this->installLog( G::LoadTranslation('ID_INSTALL_SUCESS') );
|
||||
|
||||
$info->result = true;
|
||||
$info->message = G::LoadTranslation('ID_INSTALL_SUCESS');
|
||||
$info->messageFinish = G::LoadTranslation('ID_PROCESSMAKER_SUCCESS_INSTALLED', SYS_LANG, Array($workspace));;
|
||||
} catch (Exception $e) {
|
||||
$info->canRedirect = false;
|
||||
@@ -1026,6 +1027,7 @@ class Installer extends Controller
|
||||
$this->installLog( G::LoadTranslation('ID_INSTALL_SUCESS') );
|
||||
$info->result = true;
|
||||
$info->message = G::LoadTranslation('ID_INSTALL_SUCESS');
|
||||
$info->url = '/sys' . $_REQUEST['workspace'] . '/en/classic/main/login';
|
||||
$info->messageFinish = G::LoadTranslation('ID_PROCESSMAKER_SUCCESS_INSTALLED', SYS_LANG, Array($workspace));;
|
||||
} catch (Exception $e) {
|
||||
$info->result = false;
|
||||
@@ -1199,3 +1201,4 @@ class Installer extends Controller
|
||||
return $info;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ Ext.onReady(function(){
|
||||
|
||||
function finishInstallation()
|
||||
{
|
||||
wizard.showLoadMask(true, 'finishing');
|
||||
wizard.showLoadMask(true, _('ID_FINISH'));
|
||||
Ext.Ajax.request({
|
||||
url: 'createWorkspace',
|
||||
success: function(response){
|
||||
@@ -54,8 +54,8 @@ function finishInstallation()
|
||||
|
||||
//Ext.msgBoxSlider.msgTopCenter(
|
||||
PMExt.info(
|
||||
'ProcessMaker Installation',
|
||||
'ProcessMaker was successfully installed<br/>Workspace "' + Ext.getCmp('workspace').getValue() + '" was installed correctly.',
|
||||
_('ID_PROCESSMAKER_INSTALLATION'),
|
||||
response.messageFinish,
|
||||
function(){
|
||||
_redirect(response.uri);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user