<div class="t3-page-ce-header {f:if(condition: '{allowEditContent} && {item.dragAndDropAllowed}', then: 't3-page-ce-header-draggable t3js-page-ce-draghandle')}">
    <div class="t3-page-ce-header-left">
        {item.icons -> f:format.raw()}
        <span class="t3-page-ce-header-icon-flag t3js-flag" title="{item.siteLanguage.title}"><core:icon identifier="{item.siteLanguage.flagIdentifier}" /></span>
    </div>
    <div class="t3-page-ce-header-title">
        {item.contentTypeLabel}
    </div>
    <div class="t3-page-ce-header-right">
        <f:if condition="{item.editable} && {allowEditContent}">
            <div class="btn-toolbar">
                <div class="btn-group btn-group-sm">
                    <a href="{item.editUrl}" class="btn btn-default btn-borderless" title="{f:translate(key:'LLL:EXT:core/Resources/Private/Language/locallang_common.xlf:edit')}">
                        <core:icon identifier="actions-open" />
                    </a>
                    <f:if condition="{item.visibilityToggling}">
                        <a class="btn btn-default btn-borderless" href="{item.visibilityToggleUrl}" title="{item.visibilityToggleTitle}">
                            <core:icon identifier="actions-edit-{item.visibilityToggleIconName}" />
                        </a>
                    </f:if>
                    <f:if condition="{item.delible}">
                        <a class="btn btn-default btn-borderless t3js-modal-trigger"
                            href="{item.deleteUrl}"
                            data-severity="warning"
                            data-title="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_alt_doc.xlf:label.confirm.delete_record.title')}"
                            data-bs-content="{item.deleteMessage}"
                            data-button-close-text="{f:translate(key: 'LLL:EXT:core/Resources/Private/Language/locallang_common.xlf:cancel')}"
                            data-button-ok-text="{f:translate(key:'LLL:EXT:core/Resources/Private/Language/locallang_mod_web_list.xlf:delete')}"
                            title="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:deleteItem')}">
                            <core:icon identifier="actions-edit-delete" size="small" />
                        </a>
                    </f:if>
                    <button aria-haspopup="true"
                            aria-controls="contentMenu0" aria-label="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:advancedFunctions')}"
                            class="btn btn-default btn-borderless btn-sm"
                            data-contextmenu-trigger="click"
                            data-contextmenu-table="tt_content"
                            data-contextmenu-uid="{item.record.uid}">
                        <core:icon identifier="actions-menu-alternative" />
                    </button>
                </div>
            </div>
        </f:if>
    </div>
</div>
