{namespace neos=Neos\Neos\ViewHelpers}
<div id="neos-user-actions">
	<div class="neos-button-group neos-user-menu" data-csrf-Token="{f:security.csrfToken()}" data-module-basepath="{neos:uri.module(path: '')}">
		<button class="neos-dropdown-toggle neos-button" data-neos-toggle="dropdown" href="#" title="{neos:backend.translate(id: 'userSettings.usermenu', source: 'Modules', value: 'User Menu')}" data-neos-tooltip data-placement="left">
			<f:render partial="Backend/UserImage" arguments="{_all}" />
			<span>{user.name.fullName}</span>
			<i class="fas fa-chevron-down"></i>
		</button>
		<ul class="neos-dropdown-menu" role="menu" aria-labelledby="dLabel">
			<li>
				<neos:link.module path="user/usersettings">
					<i class="fas fa-wrench"></i> {neos:backend.translate(id: 'userSettings.label', source: 'Modules', value: 'User Settings')}
				</neos:link.module>
			</li>
			<li>
				<f:form controller="Login" action="logout">
					<f:form.button value="logout"><i class="fas fa-sign-out-alt"></i> {neos:backend.translate(id: 'logout', value: 'Logout')}</f:form.button>
				</f:form>
			</li>
		</ul>
	</div>
</div>
