[TASK] Fluidification of UserToolbarItem
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Resources / Private / Templates / ToolbarItems / UserToolbarItemDropDown.html
1 {namespace core = TYPO3\CMS\Core\ViewHelpers}
2
3 <div class="dropdown-table">
4 <f:for each="{modules}" as="module">
5 <div class="dropdown-table-row"
6 id="{module.name -> f:format.htmlspecialchars()}"
7 data-modulename="{module.name -> f:format.htmlspecialchars()}"
8 data-navigationcomponentid="{module.navigationComponentId -> f:format.htmlspecialchars()}"
9 data-navigationframescript="{module.navigationFrameScript -> f:format.htmlspecialchars()}"
10 data-navigationframescriptparameters="{module.navigationFrameScriptParameters -> f:format.htmlspecialchars()}"
11 >
12 <div class="dropdown-table-column dropdown-table-icon">{module.icon -> f:format.raw()}</div>
13 <div class="dropdown-table-column dropdown-table-title">
14 <f:link.typolink parameter="{module.link}" title="{module.description}" class="modlink">
15 {module.title}
16 </f:link.typolink>
17 </div>
18 </div>
19 </f:for>
20 </div>
21 <hr>
22 <f:link.typolink parameter="{logoutUrl}" class="btn btn-danger pull-right" target="_top">
23 {icon -> f:format.raw()}
24 <f:if condition="{switchUserMode}">
25 <f:then>
26 {f:translate(key: 'LLL:EXT:lang/locallang_core.xlf:buttons.exit', htmlEscape: 'FALSE')}
27 </f:then>
28 <f:else>
29 {f:translate(key: 'LLL:EXT:lang/locallang_core.xlf:buttons.logout', htmlEscape: 'FALSE')}
30 </f:else>
31 </f:if>
32 </f:link.typolink>