Skip to content

Commit

Permalink
SW-9823 - Add smarty blocks to extjs modules to make them extendable
Browse files Browse the repository at this point in the history
  • Loading branch information
Dieter Giesler committed May 27, 2015
1 parent c31f7a0 commit 57add68
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
2 changes: 2 additions & 0 deletions themes/Backend/ExtJs/backend/app/growl.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
* which reprents the application wide
* notification system.
*/
//{block name="backend/growl/growl"}
Ext.define('Shopware.app.Growl', {
extend: 'Shopware.app.Controller',
singleton: true,
Expand Down Expand Up @@ -139,3 +140,4 @@ Ext.define('Shopware.app.Growl', {
});
}
});
//{/block}
2 changes: 2 additions & 0 deletions themes/Backend/ExtJs/backend/canceled_order/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
* Shopware Application - CanceledOrder.
* Lists orders and baskets with a status -1 ans shows some statistics
*/
//{block name="backend/canceled_order/app"}
Ext.define('Shopware.apps.CanceledOrder', {

name: 'Shopware.apps.CanceledOrder',
Expand Down Expand Up @@ -62,3 +63,4 @@ Ext.define('Shopware.apps.CanceledOrder', {
return mainController.mainWindow;
}
});
//{/block}
5 changes: 2 additions & 3 deletions themes/Backend/ExtJs/backend/deprecated/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@
* @author shopware AG
*/

/**
* todo@all: Documentation
*/
//{block name="backend/deprecated/app"}
Ext.define('Shopware.apps.Deprecated', {
extend: 'Enlight.app.SubApplication',
loadPath: "{url action=load}",
Expand All @@ -54,3 +52,4 @@ Ext.define('Shopware.apps.Deprecated', {
return mainController.mainWindow;
}
});
//{/block}
5 changes: 2 additions & 3 deletions themes/Backend/ExtJs/backend/first_run_wizard/app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

//{block name="backend/first_run_wizard/app"}
Ext.define('Shopware.apps.FirstRunWizard', {
name:'Shopware.apps.FirstRunWizard',
extend:'Enlight.app.SubApplication',
Expand Down Expand Up @@ -43,5 +43,4 @@ Ext.define('Shopware.apps.FirstRunWizard', {
return this.getController('Main').mainWindow;
}
});


//{/block}
4 changes: 2 additions & 2 deletions themes/Backend/ExtJs/backend/login/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@
* Shopware UI - Login Bootstrap
*
* This file bootstrapps the login module.
*
* todo@all: Documentation
*/
//{block name="backend/login/app"}
Ext.define('Shopware.apps.Login', {

/**
Expand Down Expand Up @@ -114,3 +113,4 @@ Ext.define('Shopware.apps.Login', {
return mainController.mainWindow;
}
});
//{/block}
2 changes: 2 additions & 0 deletions themes/Backend/ExtJs/backend/update_wizard/app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

//{namespace name=backend/update_wizard/main}

//{block name="backend/update_wizard/app"}
Ext.define('Shopware.apps.UpdateWizard', {
extend: 'Enlight.app.SubApplication',

Expand All @@ -25,3 +26,4 @@ Ext.define('Shopware.apps.UpdateWizard', {
return this.getController('Main').mainWindow;
}
});
//{/block}

0 comments on commit 57add68

Please sign in to comment.