# You must use a tab-size of 4 spaces to edit this file.
---
zenario__menu:
    panels:
        menu_nodes:
            key:
                languageId: ""
                sectionId: ""
                parentId: ""
                deleteGrandChildExist: false
            title: All menu nodes
            notice: 
                show: true
                type: information
                message: |
                    Click on the drag handles to change the order and hierarchy of the menu.
                html: true
            db_items:
                table: |
                    [[DB_PREFIX]]menu_nodes AS mi
                    INNER JOIN [[DB_PREFIX]]menu_sections AS ms
                       ON mi.section_id = ms.id
                    LEFT JOIN [[DB_PREFIX]]menu_text AS mt
                       ON mt.menu_id = mi.id
                      AND mt.language_id = [[FOCUSED_LANGUAGE_ID]]
                    LEFT JOIN [[DB_PREFIX]]content_items AS c
                       ON mi.equiv_id = c.equiv_id
                      AND mi.content_type = c.type
                      AND c.language_id = [[FOCUSED_LANGUAGE_ID]]
                id_column: mi.id
                custom_where_statement_if_no_missing_items: WHERE mt.menu_id IS NOT NULL
                client_side: true
                max_limit: 1000
        
            panel_type: hierarchy_with_lazy_load
            reorder:
                priv: _PRIV_REORDER_MENU_ITEM
                column: ordinal
                hierarchy_view_mode: parent_ids_and_ordinals
                lazy_load: true
        
            hierarchy: {}
                column: parent_id
                #db_column: mi.parent_id
        
            disable_periodic_refresh: true
            refiners:
                language:
                    exists: true
                following_item_link:
                    table_join: |
                        INNER JOIN [[DB_PREFIX]]menu_nodes AS mnil
                             ON mnil.section_id = mi.section_id
                            /*AND mnil.parent_id = mi.parent_id*/
                            AND mnil.id = [[REFINER__FOLLOWING_ITEM_LINK]]
                section:
                    sql: 'mi.section_id = [[REFINER__SECTION]]'
                children:
                    table_join: |
                        INNER JOIN [[DB_PREFIX]]menu_hierarchy AS cmh
                             ON cmh.ancestor_id = [[REFINER__CHILDREN]]
                            AND cmh.child_id != [[REFINER__CHILDREN]]
                            AND cmh.child_id = mi.id
                menu_nodes_using_image:
                    always_show_flat_view: true
                    table_join: |
                        INNER JOIN [[DB_PREFIX]]inline_images AS ii
                           ON ii.foreign_key_to = 'menu_node'
                          AND ii.foreign_key_id = mi.id
                          AND ii.image_id = [[REFINER_ID]]
            label_format_for_picked_items: '[[section_name]] | [[name]]'
            columns:
                invisible_menu_node: 
                    visible_if: |
                        zenarioO.searchTerm === undefined
                    title: Invisible menu node
                    db_column: IF (mi.invisible = '1' OR c.status IN ('unlisted', 'unlisted_with_draft'), 'show','') 
                    show_by_default: true
                    format: enum
                    values: 
                        'show':
                            label: ""
                            css_class: invisible_menu_node
                mid:
                    db_column: mi.id
                ordinal:
                    title: Ordinal
                    db_column: mi.ordinal
                    align_right: true
                path:
                    title: Path
                    searchable: false
                    always_show: true
                    width: xlarge
                name:
                    title: Menu node text
                    searchable: true
                    db_column: mt.name
                    always_show: true
                    length_limit: "30"
                invisible:
                    title: Invisible
                    db_column: mi.invisible
                    hidden: true
                section_id:
                    db_column: mi.section_id
                section_name:
                    db_column: ms.section_name
                children:
                    db_column: |
                        (
                            SELECT COUNT(DISTINCT mi2.id)
                            FROM [[DB_PREFIX]]menu_nodes AS mi2
                            WHERE mi2.parent_id = mi.id
                        )
                redundancy:
                    title: Redundancy
                    db_column: |
                        IF (mi.redundancy = 'primary', 
                        (
                            IF (
                                (
                                    SELECT COUNT(*)
                                    FROM [[DB_PREFIX]]menu_nodes AS mi2
                                    WHERE mi.equiv_id = mi2.equiv_id
                                    AND mi.content_type = mi2.content_type
                                ) = 1,
                                'unique',
                                'primary'
                            )
                        ), 
                        mi.redundancy)
                translations:
                    title: Translations
                    db_column: |
                        (
                            SELECT COUNT(DISTINCT mt_count.language_id)
                            FROM [[DB_PREFIX]]menu_text AS mt_count
                            WHERE mt_count.menu_id = mi.id
                        )
                sync_assist:
                    db_column: |
                        (
                            SELECT COUNT(DISTINCT mt_sa.language_id)
                            FROM [[DB_PREFIX]]menu_text AS mt_sa
                            WHERE mt_sa.menu_id = mi.id
                              AND mt_sa.language_id IN ([[ZENARIO_SYNC_ASSIST_LANGS]])
                        )
                target_loc:
                    db_column: mi.target_loc
                target:
                    title: Target
                    searchable: true
                    db_column: |
                        IF (mi.target_loc = 'int',
                            IF (c.id IS NOT NULL,
                                CONCAT(c.type, '_', c.id),
                                CONCAT(mi.content_type, '_', mi.equiv_id)),
                            IF (mi.target_loc = 'ext',
                                mt.ext_url,
                                NULL
                            )
                        )
                    item_link: content_item_or_url
                    show_by_default: true
                restrict_child_content_types:
                    db_column: mi.restrict_child_content_types
                    hidden: true
                equiv_id:
                    db_column: mi.equiv_id
                document_id:
                    db_column: mi.document_id
                ext_url:
                    db_column: mt.ext_url
                target_content_tag:
                    hidden: true
                target_content_id:
                    db_column: c.id
                target_content_type:
                    db_column: c.type
                target_lang:
                    db_column: c.language_id
                text_lang:
                    db_column: mt.language_id
                parent_id:
                    db_column: mi.parent_id
                module_class_name:
                    db_column: mi.module_class_name
                method_name:
                    db_column: mi.method_name
                uses_static_method:
                    show_by_default: true
                    title: "Static method"
                    #Values for columns like this one are set in the PHP class file.
                linked_content_item_status:
                    hidden: true
                linked_content_item_status_label:
                    hidden: true
                linked_content_item_layout:
                    hidden: true
                linked_content_item_allow_pinning:
                    hidden: true
                linked_content_item_pinned:
                    hidden: true
                linked_content_item_categories_enabled:
                    hidden: true
                linked_content_item_categories_count:
                    hidden: true
                linked_content_item_privacy:
                    hidden: true
                    format: enum
                    values:
                        public:
                            label: 'Permissions: Public, visible to everyone'
                        logged_out:
                            label: 'Permissions: Public, only show to visitors who are NOT logged in'
                        logged_in:
                            label: 'Permissions: Private, only show to extranet users'
                        group_members:
                            label: 'Permissions: Private, only show to extranet users in group...'
                        in_smart_group:
                            label: 'Permissions: Private, only show to extranet users in smart group...'
                        logged_in_not_in_smart_group:
                            label: 'Permissions: Private, only show to extranet users NOT in smart group...'
                        with_role:
                            label: 'Permissions: Private, only show to extranet users with role...'
                        call_static_method:
                            label: "Permissions: Call a module's static method to decide"
                        send_signal:
                            label: 'Permissions: Send a signal to decide'
            item:
                name: Menu node
                names: Menu nodes
                css_class: linked_child_menuitem_with_children
            collection_buttons:
                create_dropdown:
                    hide_when_children_are_not_visible: true
                    css_class: zenario_create_a_new
                    label: New
                #All buttons for creating a menu node and content item
                #are created in the PHP class.
                create_menu_node:
                    priv: _PRIV_ADD_MENU_ITEM
                    hide_in_select_mode: true
                    hide_on_filter: true
                    parent: create_dropdown
                    label: Level 1 menu node only
                    ord: 99
                    admin_box:
                        path: zenario_menu
            inline_buttons:
                #Icons for displaying the linked content item status
                linked_content_item_status_inline_button:
                    css_class: organizer_item_image [[linked_content_item_status]]
                    tooltip: "[[linked_content_item_status_label]]"
                    visible_if: item.redundancy != 'secondary' && item.linked_content_item
            
                layout:
                    css_class: zenario_layout_inline_button
                    label: |
                        [[linked_content_item_layout]]
                    admin_box:
                        priv: _PRIV_EDIT_DRAFT
                        path: zenario_content_layout
                        key:
                            id_is_menu_node_id: true
                    visible_if: item.redundancy != 'secondary' && item.linked_content_item && zenarioA.checkSpecificPerms(id)
                cant_change_layout:
                    css_class: zenario_layout_inline_button
                    label: |
                        [[linked_content_item_layout]]
                    visible_if: item.redundancy != 'secondary' && item.linked_content_item && !zenarioA.checkSpecificPerms(id)
            
                linked_content_item_privacy:
                    css_class: privacy_inline_button
                    tooltip: "[[linked_content_item_privacy]]"
                    admin_box:
                        path: zenario_content_privacy
                        key:
                            id_is_menu_node_id: true
                    visible_if: item.redundancy != 'secondary' && item.linked_content_item
            
                linked_content_item_pinned:
                    css_class: pinned
                    tooltip: "This content item is pinned"
                    admin_box:
                        path: zenario_content
                        key:
                            id_is_menu_node_id: 1
                            edit_linked_content_item: 1
                    visible_if: item.redundancy != 'secondary' && item.linked_content_item_allow_pinning && item.linked_content_item_pinned == 1
                linked_content_item_not_pinned:
                    css_class: not_pinned
                    tooltip: "This content item is not pinned"
                    admin_box:
                        path: zenario_content
                        key:
                            id_is_menu_node_id: 1
                            edit_linked_content_item: 1
                    visible_if: item.redundancy != 'secondary' && item.linked_content_item_allow_pinning && item.linked_content_item_pinned == 0
            
                linked_content_item_no_categories:
                    css_class: no_categories
                    tooltip: "Content item is not in any categories"
                    admin_box:
                        path: zenario_content_categories
                        key:
                            id_is_menu_node_id: 1
                    visible_if: item.redundancy != 'secondary' && (item.linked_content_item_categories_enabled && item.linked_content_item_categories_count == 0)
                linked_content_item_one_category:
                    css_class: one_or_more_categories
                    tooltip: "Content item is in one category"
                    admin_box:
                        path: zenario_content_categories
                        key:
                            id_is_menu_node_id: 1
                    visible_if: item.redundancy != 'secondary' && (item.linked_content_item_categories_enabled && item.linked_content_item_categories_count == 1)
                linked_content_item_multiple_categories:
                    css_class: one_or_more_categories
                    tooltip: "Content item is in [[linked_content_item_categories_count]] categories"
                    admin_box:
                        path: zenario_content_categories
                        key:
                            id_is_menu_node_id: 1
                    visible_if: item.redundancy != 'secondary' && (item.linked_content_item_categories_enabled && item.linked_content_item_categories_count > 1)
            
                view_frontend:
                    css_class: view_frontend
                    tooltip: View in front-end
                    frontend_link:
                        exists: true
                    visible_if: >
                        zenario.engToBoolean(item.frontend_link)
                inspect:
                    css_class: inspect
                    tooltip: View in floating box
                    popout:
                        iframe: true
                    visible_if: >
                        zenario.engToBoolean(item.frontend_link)
        
            item_buttons:
                create_child_dropdown:
                    hide_when_children_are_not_visible: true
                    css_class: zenario_create_a_new
                    label: New child node...
                #All buttons for creating a menu node and content item
                #are created in the PHP class.
                create_menu_node:
                    priv: _PRIV_ADD_MENU_ITEM
                    hide_in_select_mode: true
                    hide_on_filter: true
                    parent: create_child_dropdown
                    label: Menu node only
                    ord: 99
                    admin_box:
                        path: zenario_menu
                        key:
                            id_is_parent_menu_node_id: 1
                edit_menu_text:
                    priv: _PRIV_EDIT_MENU_TEXT
                    visible_if_for_all_selected_items: |
                        zenarioA.checkSpecificPerms(id)
                    hide_in_select_mode: true
                    label: Edit menu text
                    admin_box:
                        path: zenario_menu_text
                    without_columns_set:
                        ghost: true
                edit:
                    priv: _PRIV_EDIT_MENU_ITEM
                    hide_in_select_mode: true
                    label: Menu node properties
                    admin_box:
                        path: zenario_menu
                        key:
                            mode: ""
                    without_columns_set:
                        ghost: true
                    visible_if: item.redundancy != 'secondary'
                edit_secondary:
                    priv: _PRIV_EDIT_MENU_ITEM
                    hide_in_select_mode: true
                    label: Secondary menu node properties
                    admin_box:
                        path: zenario_menu
                        key:
                            mode: ""
                    without_columns_set:
                        ghost: true
                    visible_if: item.redundancy == 'secondary'
                define_menu_text:
                    priv: _PRIV_EDIT_MENU_TEXT
                    visible_if_for_all_selected_items: |
                        zenarioA.checkSpecificPerms(id)
                    hide_in_select_mode: true
                    label: Define menu text in this language
                    admin_box:
                        path: zenario_menu_text
                    with_columns_set:
                        ghost: true
                    without_columns_set:
                        can_duplicate: true
                duplicate:
                    priv: _PRIV_EDIT_DRAFT
                    visible_if_for_all_selected_items: |
                        zenarioA.checkSpecificPerms(id)
                    label: Create a translation
                    admin_box:
                        path: zenario_content
                        key:
                            translate: true
                            duplicate_from_menu: true
                    with_columns_set:
                        can_duplicate: true
                view_dropdown:
                    label: View
                    multiple_select: true
                    hide_when_children_are_not_visible: true
                view_content:
                    parent: view_dropdown
                    label: Content items under this menu node
                    link:
                        path: zenario__content/panels/content
                        branch: true
                        refiner: menu_children
                action_dropdown:
                    label: More actions
                    multiple_select: true
                    hide_when_children_are_not_visible: true
                quick_add_to_menu:
                    priv: _PRIV_ADD_MENU_ITEM
                    label: Create secondary menu node for this item
                    parent: action_dropdown
                    combine_items:
                        path: zenario__menu/panels/menu_position/refiners/create////
                        min_path: zenario__menu/panels/menu_position
                        target_path: zenario__menu/panels/menu_position
                        disallow_refiners_looping_on_min_path: true
                        one_to_one_choose_phrase: Create secondary menu node
                        request:
                            mass_add_to_menu: 1
                    visible_if_for_all_selected_items: item.linked_content_item && (item.redundancy != 'secondary')
                duplicate_as_child:
                    priv: _PRIV_ADD_MENU_ITEM
                    label: Duplicate as child
                    parent: action_dropdown
                    tooltip: Duplicate this menu node as a child and make it the primary node
                    ajax:
                        confirm:
                            message: |
                                This action will duplicate the currently selected menu node, and put the new node underneath (i.e. a child node of) the selected one.

                                It will also make the new node be the primary node, changing the current node to a secondary.

                                Proceed?
                            button_message: Duplicate
                            cancel_button_message: Cancel
                            message_type: warning
                        request:
                            duplicate_as_child: 1
                    visible_if_for_all_selected_items: item.linked_content_item
                move:
                    parent: action_dropdown
                    priv: _PRIV_EDIT_MENU_ITEM
                    hide_in_select_mode: true
                    label: Move in tree
                    multiple_select: true
                    combine_items:
                        path: zenario__menu/panels/menu_position/refiners/move////
                        min_path: zenario__menu/panels/menu_position
                        target_path: zenario__menu/panels/menu_position
                        disallow_refiners_looping_on_min_path: true
                        one_to_one_choose_phrase: Move menu node
                        many_to_one_choose_phrase: Move menu nodes
                        visible_if_for_all_selected_items: >
                            zenario.engToBoolean(item.menu_id) || zenario.engToBoolean(item.is_dummy_child)
                        request:
                            move: 1
                        
                make_primary:
                    priv: _PRIV_EDIT_MENU_ITEM
                    label: Make primary
                    parent: action_dropdown
                    tooltip: >
                        Make this menu node the primary node, so that this path is
                        used in any breadcrumb trail.
                    ajax:
                        confirm:
                            message: |
                                Are you sure you wish to make this node the primary node for this content item?
                            
                                Any breadcrumb trail or site map that shows a path to this content item will now reflect the path to this node in its menu section.
                            button_message: Make primary
                            cancel_button_message: Cancel
                            message_type: warning
                        request:
                            make_primary: 1
                    visible_if_for_all_selected_items: item.redundancy == 'secondary'
            
            
                delete:
                    priv: _PRIV_DELETE_MENU_ITEM
                    label: Delete menu node
                    multiple_select_label: Delete multiple nodes
                    parent: action_dropdown
                    multiple_select: true
                    hide_in_select_mode: true
                    ajax:
                        confirm:
                            message: |
                                Are you sure that you wish to delete the menu node "[[name]]"?
                            multiple_select_message: |
                                Are you sure that you wish to delete these menu nodes?
                            button_message: Delete
                            cancel_button_message: Cancel
                            message_type: warning
                        request:
                            delete: 1
                    with_columns_set:
                        childless: true
                    without_columns_set:
                        removable: true
                        ghost: true
                delete_recursive:
                    priv: _PRIV_DELETE_MENU_ITEM
                    label: Delete recursively
                    parent: action_dropdown
                    multiple_select: false
                    hide_in_select_mode: true
                    ajax:
                        confirm:
                            message: |
                                Are you sure that you wish to delete the menu node "[[name]]"?
                            
                                This menu node has [[children]] child node(s), which will also be deleted.
                            
                                No content items will be deleted, but the content items to which the child nodes link will be detached from the menu.
                        
                            button_message: Delete
                            cancel_button_message: Cancel
                            message_type: warning
                        request:
                            delete: 1
                    one_with_columns_set:
                        has_children: true
                    without_columns_set:
                        removable: true
                        ghost: true
                delete_grandchild:
                    priv: _PRIV_DELETE_MENU_ITEM
                    label: Cannot delete
                    parent: action_dropdown
                    multiple_select: false
                    hide_in_select_mode: true
                        request:
                            delete: 1
                    tooltip: Menu node has grand-child nodes and so cannot be deleted.
                    one_with_columns_set:
                        has_grandchild: true
                    without_columns_set:
                        removable: false
                        ghost: true
                    disabled_if: tuix.key.deleteGrandChildExist == false
            
                go_to_menu_in_sk:
                    label: Go to menu node
                    navigation_path: true
                linked_content_item_dropdown:
                    label: Content item [[linked_content_item_tag_id]]
                    hide_when_children_are_not_visible: true
                    visible_if: item.linked_content_item && (item.redundancy != 'secondary')
                linked_content_item__edit:
                    ord: 1
                    priv: _PRIV_EDIT_DRAFT
                    label: Edit content item
                    parent: linked_content_item_dropdown
                    hide_when_children_are_not_visible: true
                    admin_box:
                        path: zenario_content
                        key:
                            id_is_menu_node_id: 1
                            edit_linked_content_item: 1
                    with_columns_set:
                        content: true
                linked_content_item__head__populated:
                    ord: 3
                    parent: linked_content_item_dropdown
                    priv: _PRIV_MANAGE_ITEM_SLOT
                    label: HTML in head of page
                    tooltip: 'Populated'
                    admin_box:
                        path: zenario_head_foot_slot
                        key:
                            id_is_menu_node_id: true
                            mode: head
                            level: item
                    visible_if: item.linked_content_item && item.head_html_populated && zenarioA.checkSpecificPerms(id)
                linked_content_item__head__empty:
                    ord: 3
                    parent: linked_content_item_dropdown
                    priv: _PRIV_MANAGE_ITEM_SLOT
                    label: HTML in head of page
                    tooltip: 'Empty'
                    admin_box:
                        path: zenario_head_foot_slot
                        key:
                            id_is_menu_node_id: true
                            mode: head
                            level: item
                    visible_if: item.linked_content_item && !item.head_html_populated && zenarioA.checkSpecificPerms(id)
                linked_content_item__foot__populated:
                    ord: 4
                    copy_of: linked_content_item__head__populated
                    label: HTML at foot of page
                    tooltip: 'Populated'
                    admin_box:
                        key:
                            mode: foot
                    visible_if: item.linked_content_item && item.foot_html_populated && zenarioA.checkSpecificPerms(id)
                linked_content_item__foot__empty:
                    ord: 4
                    copy_of: linked_content_item__head__empty
                    label: HTML at foot of page
                    tooltip: 'Empty'
                    admin_box:
                        key:
                            mode: foot
                    visible_if: item.linked_content_item && !item.foot_html_populated && zenarioA.checkSpecificPerms(id)
                linked_content_item__layout:
                    ord: 5
                    priv: _PRIV_EDIT_DRAFT
                    visible_if: item.linked_content_item && zenarioA.checkSpecificPerms(id)
                    parent: linked_content_item_dropdown
                    label: Change layout
                    admin_box:
                        path: zenario_content_layout
                        key:
                            id_is_menu_node_id: 1
                linked_content_item__duplicate:
                    ord: 6
                    parent: linked_content_item_dropdown
                    priv: _PRIV_EDIT_DRAFT
                    # For limited admins: if the create button is not enabled, don't enable
                    # the duplicate button either
                    visible_if: item.linked_content_item && zenarioA.checkSpecificPerms(id)
                    label: Duplicate
                    admin_box:
                        path: zenario_content
                        key:
                            duplicate_from_menu: 1
                linked_content_item__create_draft_by_copying:
                    ord: 7
                    parent: linked_content_item_dropdown
                    priv: _PRIV_EDIT_DRAFT
                    visible_if: item.linked_content_item && zenarioA.checkSpecificPerms(id)
                    label: Copy from other...
                    combine_items:
                        path: zenario__content/panels/content/refiners/filter_exclude_documents////
                        min_path: zenario__content/panels/languages
                        max_path: zenario__content/panels/content
                        target_path: zenario__content/panels/content
                        one_to_one_choose_phrase: Copy from selected
                        ajax:
                            confirm:
                                message: |
                                    Are you sure you wish to copy the contents of the selected content item?
                            
                                    This will create a draft of the current content item with the contents of the one you selected.
                                button_message: Create draft and copy
                                cancel_button_message: Cancel
                                message_type: warning
                            request:
                                create_draft_by_copying: 1
                linked_content_item__hide:
                    ord: 8
                    parent: linked_content_item_dropdown
                    priv: _PRIV_PUBLISH_CONTENT_ITEM
                    visible_if: item.linked_content_item && item.linked_content_item_can_be_hidden && zenarioA.checkSpecificPerms(id)
                    hide_in_select_mode: true
                    label: Hide
                    admin_box:
                        path: zenario_hide
                        key:
                            id_is_menu_node_id: true
                linked_content_item__trash:
                    ord: 9
                    parent: linked_content_item_dropdown
                    priv: _PRIV_PUBLISH_CONTENT_ITEM
                    visible_if: item.linked_content_item && item.linked_content_item_can_be_trashed && zenarioA.checkSpecificPerms(id)
                    hide_in_select_mode: true
                    label: Trash
                    admin_box:
                        path: zenario_trash
                        key:
                            id_is_menu_node_id: true
                linked_content_item__categories:
                    ord: 10
                    priv: _PRIV_EDIT_DRAFT
                    visible_if: item.linked_content_item && zenarioA.checkSpecificPerms(id)
                    hide_in_select_mode: true
                    parent: linked_content_item_dropdown
                    label: Change categories...
                    admin_box:
                        path: zenario_content_categories
                        key:
                            id_is_menu_node_id: true
                    disabled_if: |
                        !item.linked_content_item_categories_enabled
                    disabled_tooltip: Categories are not enabled for this content type
                linked_content_item__view_frontend:
                    ord: 11
                    parent: linked_content_item_dropdown
                    label: View in front end
                    frontend_link: true
                    visible_if: item.linked_content_item && zenario.engToBoolean(item.frontend_link)
                linked_content_item__inspect:
                    ord: 12
                    parent: linked_content_item_dropdown
                    label: Quick-view in floating box
                    popout:
                        iframe: true
                    visible_if: item.linked_content_item && zenario.engToBoolean(item.frontend_link)
                linked_content_item__view_images:
                    ord: 13
                    parent: linked_content_item_dropdown
                    label: View attached images
                    link:
                        path: zenario__library/panels/image_library
                        branch: true
                        refiner: images_for_menu_node_linked_content_item
                    visible_if: item.linked_content_item
                linked_content_item__translations:
                    ord: 14
                    parent: linked_content_item_dropdown
                    hide_in_select_mode: true
                    label: "View content item's translations"
                    link:
                        path: zenario__content/panels/chained
                        branch: true
                        refiner: zenario_trans__chained_in_link__from_menu_node
                    visible_if: item.linked_content_item
                linked_content_item__view_slots:
                    ord: 15
                    priv: _PRIV_VIEW_SLOT
                    parent: linked_content_item_dropdown
                    label: Slots and plugins on this content item
                    link:
                        path: zenario__content/panels/slots
                        branch: true
                        refiner: content_item_from_menu_node
                    visible_if: item.linked_content_item
                linked_content_item__view_in_content_items_panel:
                    ord: 16
                    parent: linked_content_item_dropdown
                    hide_in_select_mode: true
                    label: "View in content items panel"
                    navigation_path: item.navigation_path
                    new_window: true
