TYPO3 v15 dev-main snapshot ()
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{columnHeaderLevel -> f:or(alternative: 2) -> f:variable(name: 'columnHeaderLevel')}
|
||||
|
||||
<div class="t3-page-column-header">
|
||||
<f:if condition="{column.active}">
|
||||
<f:then>
|
||||
<div class="t3-page-column-header-icons">
|
||||
<f:if condition="{allowEditContent} && {column.editUrl}">
|
||||
<a
|
||||
class="btn btn-link"
|
||||
href="{column.editUrl}"
|
||||
title="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:editColumn')}"
|
||||
>
|
||||
<core:icon identifier="actions-document-open" />
|
||||
<span class="visually-hidden">{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:editColumn')}</span>
|
||||
</a>
|
||||
</f:if>
|
||||
</div>
|
||||
<h{columnHeaderLevel} id="{columnIdentifier}" class="t3-page-column-title">
|
||||
{column.title}
|
||||
<f:if condition="{context.pageContext.pageRecord.pid} !== 0 && {column.slideMode.value} !== 'none'">
|
||||
<f:if condition="!({column.slideMode.value} === 'slide' && {column.items})">
|
||||
<span class="badge badge-info" title="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:slideModeInfo.{column.slideMode.value}')}">
|
||||
<f:switch expression="{column.slideMode.value}">
|
||||
<f:case value="slide">{core:icon(identifier: 'actions-search', size: 'small')}{core:icon(identifier: 'actions-sort-amount-up', size: 'small')}</f:case>
|
||||
<f:case value="collect">{core:icon(identifier: 'actions-cart', size: 'small')}{core:icon(identifier: 'actions-sort-amount-down', size: 'small')}</f:case>
|
||||
<f:case value="collectReverse">{core:icon(identifier: 'actions-cart', size: 'small')}{core:icon(identifier: 'actions-sort-amount-up', size: 'small')}</f:case>
|
||||
</f:switch>
|
||||
</span>
|
||||
</f:if>
|
||||
</f:if>
|
||||
</h{columnHeaderLevel}>
|
||||
</f:then>
|
||||
<f:else if="{column.unused}">
|
||||
<span id="{columnIdentifier}"><f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:unusedColPos"/></span>
|
||||
</f:else>
|
||||
<f:else if="{column.unassigned}">
|
||||
<span id="{columnIdentifier}">{column.titleUnassigned}</span>
|
||||
</f:else>
|
||||
<f:else>
|
||||
<span id="{columnIdentifier}">{column.titleInaccessible}</span>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</div>
|
||||
<f:if condition="{allowEditContent} && {column.contentEditable} && {column.context.allowNewContent} && {column.active}">
|
||||
<div class="t3-page-ce t3js-page-ce" data-page="{column.context.pageId}">
|
||||
<f:render partial="PageLayout/ActionControls" arguments="{column: column, allowEditContent: allowEditContent, url: column.newContentUrl}" />
|
||||
<div class="t3-page-ce-dropzone t3js-page-ce-dropzone-available" hidden></div>
|
||||
</div>
|
||||
</f:if>
|
||||
Reference in New Issue
Block a user