|
|
@ -13,17 +13,17 @@ const Widget: WidgetType = { |
|
|
|
return BI.Models.getModel(Model); |
|
|
|
return BI.Models.getModel(Model); |
|
|
|
}, |
|
|
|
}, |
|
|
|
render() { |
|
|
|
render() { |
|
|
|
const {title, cls, creator, text, id} = this.options; |
|
|
|
const {title, creator, text, id} = this.options; |
|
|
|
|
|
|
|
|
|
|
|
return { |
|
|
|
return { |
|
|
|
type: LeftRightVerticalAdapt, |
|
|
|
type: LeftRightVerticalAdapt, |
|
|
|
cls: `link-item cursor-pointer ${cls}`, |
|
|
|
cls: `link-item cursor-pointer`, |
|
|
|
height: 24, |
|
|
|
height: 24, |
|
|
|
items: { |
|
|
|
items: { |
|
|
|
left: [ |
|
|
|
left: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: Icon, |
|
|
|
type: Icon, |
|
|
|
cls: 'link-font', |
|
|
|
cls: 'dcm-link-font', |
|
|
|
height: 24, |
|
|
|
height: 24, |
|
|
|
width: 26, |
|
|
|
width: 26, |
|
|
|
text: BI.i18nText('Dec-Dcm_Connections'), |
|
|
|
text: BI.i18nText('Dec-Dcm_Connections'), |
|
|
@ -44,7 +44,7 @@ const Widget: WidgetType = { |
|
|
|
right: [ |
|
|
|
right: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: ItemIcon, |
|
|
|
type: ItemIcon, |
|
|
|
cls: 'link-item-icon test-font', |
|
|
|
cls: 'link-item-icon dcm-test-font', |
|
|
|
title: BI.i18nText('Dec-Dcm_Test_Connection'), |
|
|
|
title: BI.i18nText('Dec-Dcm_Test_Connection'), |
|
|
|
value: ACTION_TEST, |
|
|
|
value: ACTION_TEST, |
|
|
|
id, |
|
|
|
id, |
|
|
@ -58,13 +58,13 @@ const Widget: WidgetType = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: ItemIcon, |
|
|
|
type: ItemIcon, |
|
|
|
cls: 'link-item-icon info-font', |
|
|
|
cls: 'link-item-icon dcm-info-font', |
|
|
|
title: `${BI.i18nText('Dec-Dcm_Type')}:${text === DEFAULT_INFO ? BI.i18nText('Dec-Dcm_Other') : text} \r\n${BI.i18nText('Dec-Dcm_Creator')}:${creator}`, |
|
|
|
title: `${BI.i18nText('Dec-Dcm_Type')}:${text === DEFAULT_INFO ? BI.i18nText('Dec-Dcm_Other') : text} \r\n${BI.i18nText('Dec-Dcm_Creator')}:${creator}`, |
|
|
|
id, |
|
|
|
id, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
type: ItemIcon, |
|
|
|
type: ItemIcon, |
|
|
|
cls: 'link-item-icon delete-font', |
|
|
|
cls: 'link-item-icon dcm-delete-font', |
|
|
|
title: BI.i18nText('Dec-Dcm_Delete'), |
|
|
|
title: BI.i18nText('Dec-Dcm_Delete'), |
|
|
|
value: ACTION_DELETE, |
|
|
|
value: ACTION_DELETE, |
|
|
|
id, |
|
|
|
id, |
|
|
|