muba-posting 8.0.7 → 8.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Publish5.js +54 -39
- package/package.json +1 -1
package/Publish5.js
CHANGED
|
@@ -307,50 +307,65 @@ export default class Publish5 extends React.Component {
|
|
|
307
307
|
</View>
|
|
308
308
|
|
|
309
309
|
<View style={commonStyles.progressbarFieldContainer}>
|
|
310
|
-
|
|
310
|
+
{this.props.mainFeatures.length > 0 ?
|
|
311
|
+
<View>
|
|
312
|
+
<Text style={commonStyles.progressbarFieldH4}>{strings('setup.mainFeatures').toUpperCase()}</Text>
|
|
311
313
|
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
314
|
+
<View style={[commonStyles.row, commonStyles.rowIcons]}>
|
|
315
|
+
{this.props.mainFeatures.map(feature =>
|
|
316
|
+
<IconFeature
|
|
317
|
+
key={feature.name}
|
|
318
|
+
name={feature.name}
|
|
319
|
+
iconText={feature.label}
|
|
320
|
+
selected={this.props.postingAd[feature.name]}
|
|
321
|
+
disabled={!this.props.allowedToModify.features}
|
|
322
|
+
onPress={(value) => this.props.postingAd[feature.name] = value} />
|
|
323
|
+
)}
|
|
324
|
+
</View>
|
|
325
|
+
</View>
|
|
326
|
+
:
|
|
327
|
+
null
|
|
328
|
+
}
|
|
324
329
|
|
|
325
|
-
|
|
330
|
+
{this.props.insideFeatures.length > 0 ?
|
|
331
|
+
<View>
|
|
332
|
+
<Text style={commonStyles.progressbarFieldH4}>{strings('setup.inside').toUpperCase()}</Text>
|
|
326
333
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
334
|
+
<View style={[commonStyles.row, commonStyles.rowIcons]}>
|
|
335
|
+
{this.props.insideFeatures.map(feature =>
|
|
336
|
+
<IconFeature
|
|
337
|
+
key={feature.name}
|
|
338
|
+
name={feature.name}
|
|
339
|
+
iconText={feature.label}
|
|
340
|
+
selected={this.props.postingAd[feature.name]}
|
|
341
|
+
disabled={!this.props.allowedToModify.features}
|
|
342
|
+
onPress={(value) => this.props.postingAd[feature.name] = value} />
|
|
343
|
+
)}
|
|
344
|
+
</View>
|
|
345
|
+
</View>
|
|
346
|
+
:
|
|
347
|
+
null
|
|
348
|
+
}
|
|
339
349
|
|
|
340
|
-
|
|
350
|
+
{this.props.otherFeatures.length > 0 ?
|
|
351
|
+
<View>
|
|
352
|
+
<Text style={commonStyles.progressbarFieldH4}>{strings('setup.otherOptions').toUpperCase()}</Text>
|
|
341
353
|
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
+
<View style={[commonStyles.row, commonStyles.rowIcons]}>
|
|
355
|
+
{this.props.otherFeatures.map(feature =>
|
|
356
|
+
<IconFeature
|
|
357
|
+
key={feature.name}
|
|
358
|
+
name={feature.name}
|
|
359
|
+
iconText={feature.label}
|
|
360
|
+
selected={this.props.postingAd[feature.name]}
|
|
361
|
+
disabled={!this.props.allowedToModify.features}
|
|
362
|
+
onPress={(value) => this.props.postingAd[feature.name] = value} />
|
|
363
|
+
)}
|
|
364
|
+
</View>
|
|
365
|
+
</View>
|
|
366
|
+
:
|
|
367
|
+
null
|
|
368
|
+
}
|
|
354
369
|
</View>
|
|
355
370
|
</View>
|
|
356
371
|
<View style={commonStyles.buttomButton}>
|