[TASK] Fluidification of UserToolbarItem
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Resources / Private / Templates / ToolbarItems / UserToolbarItem.html
1 <span class="toolbar-item-avatar">{icon -> f:format.raw()}</span>
2 <f:if condition="{switchUserMode}">
3 <f:then>
4 <span class="toolbar-item-name" title="{f:translate(key: 'LLL:EXT:lang/locallang_misc.xlf:switchtouser', htmlEscape: 'TRUE')} {username}">
5 {f:translate(key: 'LLL:EXT:lang/locallang_misc.xlf:switchtousershort', htmlEscape: 'FALSE')}
6 {f:if(condition: '{realName}', then: '{realname} ({username})', else: '{username}')}
7 </span>
8 </f:then>
9 <f:else>
10 <span class="toolbar-item-name" title="{username}">
11 {f:if(condition: '{realName}', then: '{realName}', else: '{username}')}
12 </span>
13 </f:else>
14 </f:if>