← All changes
|
classes/Visualizer/Gutenberg/src/Components/Import/RemoteImport.js
+2
-19
3.10.15
→
3.2.0
View file →
| @@ -12,13 +12,8 @@ | ||
| 12 | 12 | SelectControl, |
| 13 | 13 | TextControl |
| 14 | 14 | } = wp.components; |
| 15 | 15 | |
| 16 | -/** | |
| 17 | - * Internal dependencies | |
| 18 | - */ | |
| 19 | -import JSONImport from './JSONImport.js'; | |
| 20 | - | |
| 21 | 16 | class RemoteImport extends Component { |
| 22 | 17 | constructor() { |
| 23 | 18 | super( ...arguments ); |
| 24 | 19 | } |
| @@ -85,9 +80,8 @@ | ||
| 85 | 80 | label={ __( 'How often do you want to check the url?' ) } |
| 86 | 81 | value={ this.props.chart['visualizer-chart-schedule'] ? this.props.chart['visualizer-chart-schedule'] : 1 } |
| 87 | 82 | options={ [ |
| 88 | 83 | { label: __( 'Each hour' ), value: '1' }, |
| 89 | - { label: __( 'Live' ), value: '0' }, | |
| 90 | 84 | { label: __( 'Each 12 hours' ), value: '12' }, |
| 91 | 85 | { label: __( 'Each day' ), value: '24' }, |
| 92 | 86 | { label: __( 'Each 3 days' ), value: '72' } |
| 93 | 87 | ] } |
| @@ -111,9 +105,9 @@ | ||
| 111 | 105 | className="visualizer-inner-sections" |
| 112 | 106 | initialOpen={ false } |
| 113 | 107 | > |
| 114 | 108 | |
| 115 | - <p>{ __( 'Upgrade your license to at least the DEVELOPER version to activate this feature!' ) }</p> | |
| 109 | + <p>{ __( 'Enable this feature in BUSINESS version!' ) }</p> | |
| 116 | 110 | |
| 117 | 111 | <Button |
| 118 | 112 | isPrimary |
| 119 | 113 | href={ visualizerLocalize.proTeaser } |
| @@ -118,24 +112,13 @@ | ||
| 118 | 112 | isPrimary |
| 119 | 113 | href={ visualizerLocalize.proTeaser } |
| 120 | 114 | target="_blank" |
| 121 | 115 | > |
| 122 | - { __( 'Upgrade Now' ) } | |
| 116 | + { __( 'Buy Now' ) } | |
| 123 | 117 | </Button> |
| 124 | 118 | |
| 125 | 119 | </PanelBody> |
| 126 | 120 | } |
| 127 | - | |
| 128 | - <JSONImport | |
| 129 | - id={ this.props.id } | |
| 130 | - chart={ this.props.chart } | |
| 131 | - editSchedule={ this.props.editJSONSchedule } | |
| 132 | - editJSONURL={ this.props.editJSONURL } | |
| 133 | - editJSONHeaders={ this.props.editJSONHeaders } | |
| 134 | - editJSONRoot={ this.props.editJSONRoot } | |
| 135 | - editJSONPaging={ this.props.editJSONPaging } | |
| 136 | - JSONImportData={ this.props.JSONImportData } | |
| 137 | - /> | |
| 138 | 121 | |
| 139 | 122 | </PanelBody> |
| 140 | 123 | ); |
| 141 | 124 | } |