# You must use a tab-size of 4 spaces to edit this file.
---
full_slot:
    css_class: zenario_slotOuter zenario_slotWithContents
    meta_info:
        is_header: false
        is_footer: false
        is_sitewide: false
    info:
        edit_sc_title:
            label: 'Slot inspector'
            css_class: zenario_slotControl_title
            page_modes:
                edit: true
        layout_sc_title:
            label: Layout slot inspector
            css_class: zenario_slotControl_title
            page_modes:
                layout: true
        locked:
            css_class: zenario_slotControl_locked
            page_modes:
                edit: true
            label: This content item is locked by another administrator.
        slot_name_in_edit_mode:
            css_class: zenario_slotControl_slotName
            page_modes:
                edit: true
        slot_name_in_layout_mode:
            css_class: zenario_slotControl_slotName
            page_modes:
                layout: true
        #We've hidden the plugin and slot's CSS classes for now to reduce clutter.
        #grid_css_class:
        #    css_class: zenario_slotControl_cssClass
        #    page_modes:
        #        edit: true
        #        layout: true
        #    label: 'CSS classes: <span></span>'
        #grid_width:
        #    css_class: zenario_slotControl_width
        #    page_modes:
        #        edit: true
        #        layout: true
        #    label: 'Width: <span></span>'
        #We've hidden the embed link for now to reduce clutter.
        #If we ever add some sort of "more options" toggle, we might add it back.
        #embed:
        #    css_class: zenario_slotControl_copyEmbedLink
        #    label: 'Embed:'
        #    page_modes:
        #        edit: true
        #        layout: true
        in_this_slot:
            css_class: zenario_slotControl_inThisSlot
            label: 'This slot:'
            page_modes:
                edit: true
                layout: true
        module_name:
            css_class: zenario_slotControl_module
            page_modes:
                edit: true
                layout: true
        vc:
            css_class: zenario_slotControl_vc
            label: 'Version-controlled'
            page_modes:
                edit: true
        vc_warning:
            css_class: zenario_slotControl_vc
            label: 'Version-controlled; use Edit mode to edit content.'
            page_modes:
                layout: true
        reusable_plugin_details:
            css_class: zenario_slotControl_reusable zenario_slotControl_reusablePluginDetails
            page_modes:
                edit: true
                layout: true
        #We've hidden the plugin and slot's CSS classes for now to reduce clutter.
        #slot_css_class:
        #    css_class: zenario_slotControl_cssClass
        #    page_modes:
        #        edit: true
        #        layout: true
        plugin_images:
            css_class: zenario_slotControl_pluginImages
            hidden: true
            page_modes:
                edit: true
                layout: true
        menu_section:
            css_class: zenario_slotControl_menuSection
            hidden: true
            page_modes:
                edit: true
                layout: true
        mobile:
            css_class: zenario_slotControl_onlyMobile
            label: Only shown on mobile
            page_modes:
                edit: true
                layout: true
        desktop:
            css_class: zenario_slotControl_onlyDesktop
            label: Only shown on desktop
            page_modes:
                edit: true
                layout: true
    actions:
        switch_to_edit:
            page_modes:
                layout: true
            onclick: return zenarioA.switchToolbarWithSlotControlsOpen(this, event, slotName, 'edit');
            label: Switch to Edit mode to edit content
        switch_to_edit_settings:
            page_modes:
                layout: true
            onclick: return zenarioA.switchToolbarWithSlotControlsOpen(this, event, slotName, 'edit');
            label: Switch to Edit mode to edit plugin settings
        switch_to_layout:
            page_modes:
                edit: true
            onclick: return zenarioA.switchToolbarWithSlotControlsOpen(this, event, slotName, 'layout');
            label: Switch to Layout mode to edit plugin settings
        
        settings:
            label:
                normal: Edit contents
                cant_make_draft: View contents
                trashed: View content (to edit, click Re-draft)
                hidden: View content (to edit, click Re-draft)
                settings: Edit plugin settings
                view_settings: View plugin settings
            locked_label: View contents
            onclick: return zenarioA.pluginSlotEditSettings(this, slotName);
        
        # The old "CSS & framework" button, commented out now as it has been merged back into the plugin settings
        #framework_and_css:
        #    label: 'CSS & framework'
        #    locked_label: 'View CSS & framework'
        #    onclick: return zenarioA.pluginSlotEditSettings(this, slotName, 'plugin_css_and_framework');
        
    
    re_move_place:
        move_on_item_layer:
            ord: 75
            page_modes:
                edit: true
            onclick: |
                if (zenarioA.draft(this.id)) {
                    zenarioA.movePlugin(this, slotName);
                }
                return false;
            label: Move ~plugin~ on this content item
        move_on_layout_layer:
            ord: 76
            page_modes:
                layout: true
            onclick: return zenarioA.movePlugin(this, slotName);
            label: Move ~plugin~ on this layout
        
        
        replace_reusable_on_item_layer:
            ord: 85
            priv: _PRIV_MANAGE_ITEM_SLOT
            label: Override with a plugin on this content item...
            label_like4like: Override with a different plugin on this content item...
            label_replace: Replace with a plugin on this content item...
            label_replace_like4like: Replace with a different plugin on this content item...
            page_modes:
                edit: true
            onclick: |
                if (zenarioA.draft(this.id)) {
                    zenarioAT.clickTab('edit');
                    zenarioA.pickNewPlugin(this, slotName, 1, false, [[preselectCurrentChoice]]);
                }
                return false;
        
        hide_plugin:
            ord: 86
            page_modes:
                edit: true
            onclick: >
                if (zenarioA.draft(this.id, false, 'Are you sure you wish to show nothing on this content item?', 'Hide')) {
                    zenarioA.hidePlugin(this, slotName);
                }
                return false;
            label: Show nothing on this content item
        
        replace_reusable_on_layout_layer:
            ord: 87
            priv: _PRIV_MANAGE_TEMPLATE_SLOT
            label: Replace with a plugin on this layout...
            label_like4like: Replace with a different plugin on this layout...
            page_modes:
                layout: true
            onclick: return zenarioA.pickNewPlugin(this, slotName, 2, false, [[preselectCurrentChoice]]);
        
        remove_from_item_layer:
            ord: 90
            page_modes:
                edit: true
            onclick: >
                if (zenarioA.draft(this.id, false, 'Are you sure you wish to remove this ~plugin~ from this content item?', 'Remove')) {
                    zenarioA.removePlugin(this, slotName, 1);
                }
                return false;
            label: Remove ~plugin~ from this content item
        remove_from_layout_layer:
            ord: 92
            page_modes:
                layout: true
            onclick: return zenarioA.removePlugin(this, slotName, 2);
            label: Remove ~plugin~ from this layout
    
    
    
    overridden_info:
        #desc:
        #    css_class: zenario_slotControl_Overridden
        #    label: 'On layout (overridden):'
        #    page_modes:
        #        edit: true
        #        layout: true
        in_this_slot:
            css_class: zenario_slotControl_inThisSlot
            label: 'This slot on this layout (overridden):'
            page_modes:
                edit: true
                layout: true
        module_name:
            css_class: zenario_slotControl_module
            page_modes:
                edit: true
                layout: true
        vc:
            css_class: zenario_slotControl_vc
            label: 'Version-controlled'
            page_modes:
                edit: true
                layout: true
        reusable_plugin_details:
            css_class: zenario_slotControl_reusable zenario_slotControl_reusablePluginDetails
            page_modes:
                edit: true
                layout: true
    overridden_actions:
        #show_plugin:
        #    ord: 89
        #    page_modes:
        #        edit: true
        #        layout: true
        #    onclick: >
        #        if (zenarioA.draft(this.id)) {
        #            zenarioA.showPlugin(this, slotName);
        #        }
        #        return false;
        #    label: Stop hiding ~plugin~ on this content item
        remove_from_layout_layer:
            ord: 92
            page_modes:
                layout: true
            onclick: return zenarioA.removePlugin(this, slotName, 2);
            label: Remove ~plugin~ from this layout
    no_perms:
        cant_design:
            page_modes:
                edit: true
            css_class: zenario_slotControl_no_perms
            label: 'Limited options: you lack Designer permission'
