# You must use a tab-size of 4 spaces to edit this file.
---
zenario__library:
    panels:
        document_tags:
            priv: _PRIV_VIEW_DOCUMENTS
            item:
                css_class: zenario_document_tag_item
            title: Tags for hierarchical documents
            db_items:
                table: |
                    [[DB_PREFIX]]document_tags AS dt
                id_column: dt.id
            default_sort_column: tag_name
            columns:
                id:
                    title: ID
                    format: id
                    searchable: Yes
                    db_column: dt.id
                    show_by_default: false
                    align_right: Yes
                    width: xxsmall
                tag_name:
                    title: Tag name
                    db_column: dt.tag_name
                    show_by_default: Yes
                    width: medium
                tag_count:
                    
            collection_buttons:
                create_tag:
                    priv: _PRIV_EDIT_DOCUMENTS
                    label: Create a tag
                    css_class: zenario_create_a_new
                    hide_on_filter: true
                    admin_box:
                        path: zenario_document_tag
            item_buttons:
                tag_details:
                    priv: _PRIV_EDIT_DOCUMENTS
                    hide_in_select_mode: Yes
                    label: Properties
                    admin_box:
                        path: zenario_document_tag
                delete_file:
                    priv: _PRIV_EDIT_DOCUMENTS
                    hide_in_select_mode: Yes
                    label: Delete
                    multiple_select: No
                    ajax: 
                        class_name: zenario_common_features
                        confirm: 
                            message: "Are you sure you want to delete the tag \"[[tag_name]]\"?"
                            message_type: warning
                            button_message: Delete
                            cancel_button_message: Cancel
                        request: 
                            delete: Yes
