mirror of https://github.com/sipwise/ngcp-csc.git
Change-Id: I014c168cea8cbc0bec9b1f2c7f52b953d8688129changes/62/13162/3
parent
b001d932ae
commit
7d971239c0
@ -1,70 +0,0 @@
|
|||||||
Ext.define('NgcpCsc.view.pages.callforward.always.AlwaysTabs', {
|
|
||||||
extend: 'Ext.tab.Panel',
|
|
||||||
|
|
||||||
xtype: 'alwaystabs',
|
|
||||||
|
|
||||||
listeners: {
|
|
||||||
click: {
|
|
||||||
fn: 'onEditClicked',
|
|
||||||
element: 'el',
|
|
||||||
delegate: '.cf-edit'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
defaults: {
|
|
||||||
bodyPadding: 10,
|
|
||||||
scrollable: true
|
|
||||||
},
|
|
||||||
|
|
||||||
initComponent: function () {
|
|
||||||
|
|
||||||
this.items = [{
|
|
||||||
title: Ngcp.csc.locales.callforward.source_one[localStorage.getItem('languageSelected')],
|
|
||||||
id: 'always-tab-everybody',
|
|
||||||
items: [
|
|
||||||
Ext.create('NgcpCsc.view.pages.callforward.CallForwardMainForm', {
|
|
||||||
_firstprefix: 'everybody-',
|
|
||||||
_secondprefix: 'always-'
|
|
||||||
})
|
|
||||||
],
|
|
||||||
listeners: {
|
|
||||||
activate: 'onTabClicked'
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
bind: {
|
|
||||||
title: '{source_lista_title}'
|
|
||||||
},
|
|
||||||
id: 'always-tab-listA',
|
|
||||||
iconCls: Ngcp.csc.icons.pencil + ' cf-edit edit-listA',
|
|
||||||
iconAlign: 'right',
|
|
||||||
items: [
|
|
||||||
Ext.create('NgcpCsc.view.pages.callforward.CallForwardMainForm', {
|
|
||||||
_firstprefix: 'listA-',
|
|
||||||
_secondprefix: 'always-'
|
|
||||||
})
|
|
||||||
],
|
|
||||||
listeners: {
|
|
||||||
activate: 'onTabClicked'
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
bind: {
|
|
||||||
title: '{source_listb_title}'
|
|
||||||
},
|
|
||||||
id: 'always-tab-listB',
|
|
||||||
iconCls: Ngcp.csc.icons.pencil + ' cf-edit edit-listB',
|
|
||||||
iconAlign: 'right',
|
|
||||||
items: [
|
|
||||||
Ext.create('NgcpCsc.view.pages.callforward.CallForwardMainForm', {
|
|
||||||
_firstprefix: 'listB-',
|
|
||||||
_secondprefix: 'always-'
|
|
||||||
})
|
|
||||||
],
|
|
||||||
listeners: {
|
|
||||||
activate: 'onTabClicked'
|
|
||||||
}
|
|
||||||
}]
|
|
||||||
|
|
||||||
this.callParent();
|
|
||||||
}
|
|
||||||
|
|
||||||
});
|
|
@ -1,70 +0,0 @@
|
|||||||
Ext.define('NgcpCsc.view.pages.callforward.companyhours.CompanyHoursTabs', {
|
|
||||||
extend: 'Ext.tab.Panel',
|
|
||||||
|
|
||||||
xtype: 'companyhourstabs',
|
|
||||||
|
|
||||||
listeners: {
|
|
||||||
click: {
|
|
||||||
fn: 'onEditClicked',
|
|
||||||
element: 'el',
|
|
||||||
delegate: '.cf-edit'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
defaults: {
|
|
||||||
bodyPadding: 10,
|
|
||||||
scrollable: true
|
|
||||||
},
|
|
||||||
|
|
||||||
initComponent: function () {
|
|
||||||
|
|
||||||
this.items = [{
|
|
||||||
title: Ngcp.csc.locales.callforward.source_one[localStorage.getItem('languageSelected')],
|
|
||||||
id: 'companyhours-tab-everybody',
|
|
||||||
items: [
|
|
||||||
Ext.create('NgcpCsc.view.pages.callforward.CallForwardMainForm', {
|
|
||||||
_firstprefix: 'everybody-',
|
|
||||||
_secondprefix: 'companyHours-'
|
|
||||||
})
|
|
||||||
],
|
|
||||||
listeners: {
|
|
||||||
activate: 'onTabClicked'
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
bind: {
|
|
||||||
title: '{source_lista_title}'
|
|
||||||
},
|
|
||||||
id: 'companyhours-tab-listA',
|
|
||||||
iconCls: Ngcp.csc.icons.pencil + ' cf-edit edit-listA',
|
|
||||||
iconAlign: 'right',
|
|
||||||
items: [
|
|
||||||
Ext.create('NgcpCsc.view.pages.callforward.CallForwardMainForm', {
|
|
||||||
_firstprefix: 'listA-',
|
|
||||||
_secondprefix: 'companyHours-'
|
|
||||||
})
|
|
||||||
],
|
|
||||||
listeners: {
|
|
||||||
activate: 'onTabClicked'
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
bind: {
|
|
||||||
title: '{source_listb_title}'
|
|
||||||
},
|
|
||||||
id: 'companyhours-tab-listB',
|
|
||||||
iconCls: Ngcp.csc.icons.pencil + ' cf-edit edit-listB',
|
|
||||||
iconAlign: 'right',
|
|
||||||
items: [
|
|
||||||
Ext.create('NgcpCsc.view.pages.callforward.CallForwardMainForm', {
|
|
||||||
_firstprefix: 'listB-',
|
|
||||||
_secondprefix: 'companyHours-'
|
|
||||||
})
|
|
||||||
],
|
|
||||||
listeners: {
|
|
||||||
activate: 'onTabClicked'
|
|
||||||
}
|
|
||||||
}]
|
|
||||||
|
|
||||||
this.callParent();
|
|
||||||
}
|
|
||||||
|
|
||||||
});
|
|
Loading…
Reference in new issue