diff --git a/Resources/Private/Layouts/Backend.html b/Resources/Private/Layouts/Backend.html index 1f469de55cdf4139ad8d584164f26c381c7ea81b..ce137adab56b356ea2642552c579239f826590b1 100644 --- a/Resources/Private/Layouts/Backend.html +++ b/Resources/Private/Layouts/Backend.html @@ -15,27 +15,13 @@ <div class="module-docheader-bar-column-left"> </div> <div class="module-docheader-bar-column-right"> - <span class="typo3-docheader-pagePath"> - <f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.path"/>: - <f:format.raw>{docHeader.metaInformation.path}</f:format.raw> - </span> - <f:format.raw>{docHeader.metaInformation.recordInformation}</f:format.raw> + <f:render partial="Path" arguments="{docHeader: docHeader}"/> </div> </div> <div class="module-docheader-bar module-docheader-bar-buttons t3js-module-docheader-bar t3js-module-docheader-bar-buttons"> - <div class="module-docheader-bar-column-left"> - <div class="btn-toolbar" role="toolbar" aria-label=""> - <f:render section="iconButtons"/> - </div> - </div> - <div class="module-docheader-bar-column-right" style="display: flex; align-items: center;"> - <a href="https://www.sgalinski.de/" target="_blank" rel="noopener noreferrer" - title="Created by the TYPO3 agency sgalinski"> - <img src="{f:uri.resource(path: 'Icons/logo-icon.svg')}" alt="Sgalinski Logo" style="width: 34px; height: 25.75px;" /> - </a> - <f:render partial="Backend/ButtonBar" arguments="{buttons:docHeader.buttons.right}"/> - </div> + + <f:render partial="BaseDocHeader" arguments="{docHeader: docHeader}"/> </div> </div> <div class="module-body t3js-module-body"> diff --git a/Resources/Private/Partials/BaseDocHeader.html b/Resources/Private/Partials/BaseDocHeader.html new file mode 100644 index 0000000000000000000000000000000000000000..a3914edf4ece63ce145e74225344bbb452bae400 --- /dev/null +++ b/Resources/Private/Partials/BaseDocHeader.html @@ -0,0 +1,14 @@ +<!--Extbase Version --> + +<div class="module-docheader-bar-column-left"> + <f:render partial="Backend/ButtonBar" arguments="{buttons:docHeader.buttons.left}"/> +</div> + +<div class="module-docheader-bar-column-right" style="display: flex; align-items: center;"> + <a href="https://www.sgalinski.de/" target="_blank" rel="noopener noreferrer" + title="Created by the TYPO3 agency sgalinski"> + <img src="{f:uri.resource(path: 'Icons/logo-icon.svg')}" alt="Sgalinski Logo" + style="width: 34px; height: 25.75px;"/> + </a> + <f:render partial="Backend/ButtonBar" arguments="{buttons:docHeader.buttons.right}"/> +</div> diff --git a/Resources/Private/Partials/Path.html b/Resources/Private/Partials/Path.html new file mode 100644 index 0000000000000000000000000000000000000000..11695636bcdca41fb3d389804614260246c462c2 --- /dev/null +++ b/Resources/Private/Partials/Path.html @@ -0,0 +1,5 @@ +<span class="typo3-docheader-pagePath"> + <f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.path"/>: <f:format.raw>{docHeader.metaInformation.path}</f:format.raw> + </span> + +<f:format.raw>{docHeader.metaInformation.recordInformation}</f:format.raw>