|
3 | 3 | <f:then> |
4 | 4 | <div class="t3-page-column-header-icons"> |
5 | 5 | <f:if condition="{allowEditContent} && {column.editUrl}"> |
6 | | - <a href="{column.editUrl}" title="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:editColumn')}"><core:icon identifier="actions-document-open" /></a> |
| 6 | + <a |
| 7 | + class="btn btn-link" |
| 8 | + href="{column.editUrl}" |
| 9 | + title="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:editColumn')}" |
| 10 | + > |
| 11 | + <core:icon identifier="actions-document-open" /> |
| 12 | + <span class="visually-hidden">{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:editColumn')}</span> |
| 13 | + </a> |
7 | 14 | </f:if> |
8 | 15 | </div> |
9 | | - {column.title} |
| 16 | + <span id="{columnIdentifier}">{column.title}</span> |
10 | 17 | </f:then> |
11 | 18 | <f:else if="{column.unused}"> |
12 | | - <f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:unusedColPos"/> |
| 19 | + <span id="{columnIdentifier}"><f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:unusedColPos"/></span> |
13 | 20 | </f:else> |
14 | 21 | <f:else if="{column.unassigned}"> |
15 | | - {column.titleUnassigned} |
| 22 | + <span id="{columnIdentifier}">{column.titleUnassigned}</span> |
16 | 23 | </f:else> |
17 | 24 | <f:else> |
18 | | - {column.titleInaccessible} |
| 25 | + <span id="{columnIdentifier}">{column.titleInaccessible}</span> |
19 | 26 | </f:else> |
20 | 27 | </f:if> |
21 | 28 | </div> |
22 | 29 | <f:format.raw>{column.beforeSectionMarkup}</f:format.raw> |
23 | 30 | <f:if condition="{allowEditContent} && {column.contentEditable} && {column.allowNewContent} && {column.active}"> |
24 | | - <div class="t3-page-ce t3js-page-ce" data-page="{column.context.pageId}" id="{column.uniqueId}"> |
25 | | - <div class="t3-page-ce-actions t3js-page-new-ce" id="colpos-{column.columnNumber}-page-{column.context.pageId}-{column.uniqueId}"> |
26 | | - <f:if condition="{column.newContentElementWizardShouldBeSkipped}"> |
27 | | - <f:then> |
28 | | - <a href="{column.newContentUrl}" title="{newContentTitle}" class="btn btn-default btn-sm"> |
| 31 | + <div class="t3-page-ce t3js-page-ce"> |
| 32 | + <f:if condition="{column.newContentElementWizardShouldBeSkipped}"> |
| 33 | + <f:then> |
| 34 | + <a href="{column.newContentUrl}" title="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:newContentElement')}" class="btn btn-default btn-sm"> |
| 35 | + <core:icon identifier="actions-add" /> |
| 36 | + <f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:createNewContent" /> |
| 37 | + </a> |
| 38 | + </f:then> |
| 39 | + <f:else> |
| 40 | + <typo3-backend-new-content-element-wizard-button url="{column.newContentUrl}" subject="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:newContentElement')}"> |
| 41 | + <button type="button" class="btn btn-default btn-sm"> |
29 | 42 | <core:icon identifier="actions-add" /> |
30 | 43 | <f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:createNewContent" /> |
31 | | - </a> |
32 | | - </f:then> |
33 | | - <f:else> |
34 | | - <typo3-backend-new-content-element-wizard-button url="{column.newContentUrl}" subject="{newContentTitle}"> |
35 | | - <button type="button" class="btn btn-default btn-sm"> |
36 | | - <core:icon identifier="actions-add" /> |
37 | | - <f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_layout.xlf:createNewContent" /> |
38 | | - </button> |
39 | | - </typo3-backend-new-content-element-wizard-button> |
40 | | - </f:else> |
41 | | - </f:if> |
42 | | - </div> |
| 44 | + </button> |
| 45 | + </typo3-backend-new-content-element-wizard-button> |
| 46 | + </f:else> |
| 47 | + </f:if> |
43 | 48 | <div class="t3-page-ce-dropzone t3js-page-ce-dropzone-available" hidden></div> |
44 | 49 | </div> |
45 | 50 | </f:if> |
0 commit comments