# You must use a tab-size of 4 spaces to edit this file.
---
zenario__administration:
    panels:
        custom_datasets:
            priv: _PRIV_VIEW_SITE_SETTING
            title: Custom Datasets
            no_items_message: >
                There are no modules running that use datasets.
            default_sort_column: label
            columns:
                label:
                    title: Dataset
                    searchable: Yes
                    show_by_default: Yes
                    width: large
                system_table:
                    title: System database table
                    searchable: Yes
                    show_by_default: Yes
                    width: xlarge
                table:
                    title: Database table
                    searchable: Yes
                    show_by_default: Yes
                    width: xlarge
                type:
                    title: Comment
                    width: xxlarge
                    show_by_default: Yes
                
                gui_blacklist: {}
            
            item:
                css_class: 'datasets'
                
                # Old editor (now removed)
                #tooltip_when_link_is_active: Define fields in this dataset
                #link:
                #    path: zenario__administration/panels/custom_tabs_and_fields
                #    refiner: dataset_id
            
            # New GUI editor
            item_buttons:
                edit_gui:
                    priv: _PRIV_MANAGE_DATASET
                    label: Edit dataset schema
                    link:
                        path: zenario__administration/panels/custom_tabs_and_fields_gui
                        refiner: dataset_id
                    visible_if_for_all_selected_items: item.gui_blacklist == false
                    
