@ -10,6 +10,9 @@ export default {
// Text to show in case no element selected
textNoElement: 'Select an element before using Style Manager',
// Text for layers
textLayer: 'Layer',
// Hide the property in case it's not stylable for the
// selected component (each component has 'stylable' property)
hideNotStylable: true,
@ -10,8 +10,8 @@ export default Backbone.View.extend({
},
template(model) {
const { pfx, ppfx } = this;
const label = `Layer ${model.get('index')}`;
const { pfx, ppfx, config } = this;
const label = `${config.textLayer} ${model.get('index')}`;
return `
<div id="${pfx}move" class="${ppfx}no-touch-actions" data-move-layer>