[BUGFIX] Fix syntax and logic errors in BE Fluid templates
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Resources / Private / Partials / DocHeader.html
1 <div class="module-loading-indicator"></div>
2 <div class="module-docheader t3js-module-docheader">
3 <div class="module-docheader-bar module-docheader-bar-navigation t3js-module-docheader-bar t3js-module-docheader-bar-navigation row">
4 <f:variable name="columnCssClass">module-docheader-bar-column-left col-xs-12 text-right</f:variable>
5 <f:if condition="{docHeader.menus}">
6 <f:if condition="{docHeader.menus -> f:count()} > 1">
7 <f:then>
8 <f:variable name="columnCssClass">module-docheader-bar-column-right col-xs-12 col-sm-7 col-md-6 col-lg-8 text-right</f:variable>
9 <div class="module-docheader-bar-column-left col-xs-12 col-sm-5 col-md-6 col-lg-4">
10 <div class="form-inline row">
11 <f:for each="{docHeader.menus}" as="menu">
12 <div class="form-group form-group-sm col-xs-6">
13 <f:render partial="Menus/SelectBoxJumpMenu" arguments="{menu:menu}"/>
14 </div>
15 </f:for>
16 </div>
17 </div>
18 </f:then>
19 <f:else>
20 <f:variable name="columnCssClass">module-docheader-bar-column-right col-xs-12 col-sm-9 text-right</f:variable>
21 <div class="module-docheader-bar-column-left col-xs-12 col-sm-3">
22 <div class="form-inline">
23 <f:for each="{docHeader.menus}" as="menu">
24 <div class="form-group form-group-sm">
25 <f:render partial="Menus/SelectBoxJumpMenu" arguments="{menu:menu}"/>
26 </div>
27 </f:for>
28 </div>
29 </div>
30 </f:else>
31 </f:if>
32 </f:if>
33 <div class="{columnCssClass}">
34 <f:if condition="{docHeader.metaInformation.recordInformation}">
35 <span class="typo3-docheader-pagePath">
36 <f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.path"/>: <f:format.raw>{docHeader.metaInformation.path}</f:format.raw>
37 </span>
38 <strong>
39 <f:format.raw>
40 {docHeader.metaInformation.recordInformationIcon} {docHeader.metaInformation.recordInformationTitle} <f:if condition="{docHeader.metaInformation.recordInformationUid}">[{docHeader.metaInformation.recordInformationUid}]</f:if>
41 </f:format.raw>
42 </strong>
43 {docHeader.metaInformation.recordInformationAdditionalInfo}
44 </f:if>
45 </div>
46 </div>
47 <div class="module-docheader-bar module-docheader-bar-buttons t3js-module-docheader-bar t3js-module-docheader-bar-buttons">
48 <div class="module-docheader-bar-column-left">
49 <f:render partial="ButtonBar" arguments="{buttons:docHeader.buttons.left}" />
50 </div>
51 <div class="module-docheader-bar-column-right">
52 <f:render partial="ButtonBar" arguments="{buttons:docHeader.buttons.right}" />
53 </div>
54 </div>
55 </div>