Record.html 2 KB
Newer Older
1
{f:if(condition: '{item.disabled} && {item.context.drawingConfiguration.showHidden} == 0', then: 'display: none;') -> f:variable(name: 'style')}
2
<div class="t3-page-ce {item.wrapperClassName} t3js-page-ce t3js-page-ce-sortable" id="element-tt_content-{item.record.uid}" data-table="tt_content" data-uid="{item.record.uid}" data-language-uid="{item.record.sys_language_uid}" style="{style}">
3
    <div class="t3-page-ce-dragitem" id="{item.uniqueId}">
4
        <f:render partial="PageLayout/Record/{item.record.CType}/Header" arguments="{_all}" optional="1">
5
            <f:render partial="PageLayout/RecordDefault/Header" arguments="{_all}" />
6
7
8
9
        </f:render>
        <div class="t3-page-ce-body">
            <div class="t3-page-ce-body-inner">
                <div class="{f:if(condition: item.versioned, then: 'ver-element')}">
10
                    <f:render partial="PageLayout/RecordDefault/Preview" arguments="{_all}" />
11
12
                </div>
            </div>
13
            <f:render partial="PageLayout/Record/{item.record.CType}/Footer" arguments="{_all}" optional="1">
14
                <f:render partial="PageLayout/RecordDefault/Footer" arguments="{_all}" />
15
16
17
            </f:render>
        </div>
    </div>
18
19
    <f:if condition="{allowEditContent} && {item.column.contentEditable} && {item.column.context.allowNewContent}">
        <div class="t3js-page-new-ce t3-page-ce-wrapper-new-ce" id="colpos-{item.column.columnNumber}-page-{item.context.pageId}-{item.column.uniqueId}">
20
21
            <a href="{item.newContentAfterUrl}" title="{item.newContentAfterLinkTitle}" data-title="{item.newContentAfterLinkTitle}"
                class="btn btn-default btn-sm {f:if(condition:item.column.context.drawingConfiguration.showNewContentWizard, then: 't3js-toggle-new-content-element-wizard disabled')}">
22
23
24
25
                <core:icon identifier="actions-add" />
                {item.newContentAfterTitle}
            </a>
        </div>
26
27
28
    </f:if>
    <div class="t3-page-ce-dropzone-available t3js-page-ce-dropzone-available"></div>
</div>