diff --git a/public/js/pimcore/settings/thumbnail/item.js b/public/js/pimcore/settings/thumbnail/item.js index c12524d84f..47c831513e 100644 --- a/public/js/pimcore/settings/thumbnail/item.js +++ b/public/js/pimcore/settings/thumbnail/item.js @@ -855,6 +855,38 @@ pimcore.settings.thumbnail.items = { return item; }, + itemMirror: function (panel, data, getName) { + const niceName = t("mirror"); + if (typeof getName != "undefined" && getName) { + return niceName; + } + + if (typeof data == "undefined") { + data = {}; + } + const myId = Ext.id(); + + return new Ext.form.FormPanel({ + id: myId, + style: "margin-top: 10px", + border: true, + bodyStyle: "padding: 10px;", + tbar: this.getTopBar(niceName, myId, panel), + items: [{ + xtype: 'combo', + name: "mode", + fieldLabel: t("mode"), + width: 210, + store: [["horizontal", t("horizontal")], ["vertical", t("vertical")]], + value: data.mode + }, { + xtype: "hidden", + name: "type", + value: "mirror" + }] + }); + }, + itemSetBackgroundColor: function (panel, data, getName) { var niceName = t("setbackgroundcolor"); diff --git a/translations/admin_ext.en.yaml b/translations/admin_ext.en.yaml index 742010be31..d414b55a12 100644 --- a/translations/admin_ext.en.yaml +++ b/translations/admin_ext.en.yaml @@ -213,6 +213,7 @@ setbackgroundcolor: Set Backgroundcolor setbackgroundimage: Set Background Image roundcorners: Round Corners rotate: Rotate +mirror: Mirror color: Color angle: Angle label_width: Label Width @@ -325,6 +326,7 @@ min_value: min. Value max_value: max. Value increment: Increment Step vertical: Vertical +horizontal: Horizontal country: Country zoom_level: Zoom level map_type: Map type