<div class="neos-menu-section">
	<a href="{{unbound items.contentModuleUri}}" title="{{translate id='contentView' fallback='Content View'}}" class="neos-menu-headline" data-neos-tooltip data-placement="right">
		<i class="fas fa-file"></i> {{translate id="content" fallback="Content"}}
	</a>
	{{view view.ToggleMenuPanelHeadline classNames="neos-menu-collapse" group="content"}}
	{{#collection tagName="div" classNames="neos-menu-list" contentBinding="items.sites"}}
		{{#if uri}}
			<a href="{{unbound uri}}" title="{{unbound nodeName}}" {{bindAttr class="active:neos-active"}} data-neos-tooltip data-placement="right">
				<i class="fas fa-globe"></i> {{unbound name}}
			</a>
		{{else}}
			<span href="#" title="{{unbound nodeName}}" class="neos-menu-item neos-disabled" data-neos-tooltip data-placement="right">
				<i class="fas fa-globe"></i> {{unbound name}}
			</span>
		{{/if}}
	{{/collection}}
</div>

{{#collection tagName="div" itemClassNames="neos-menu-section" contentBinding="items.modules"}}
	{{#unless hideInMenu}}
		{{#view view.parentView.parentView.LinkView hrefBinding="uri" labelBinding="label" descriptionBinding="description" classNameBindings=":neos-menu-headline active:neos-active"}}
			{{#if icon}}<i class="{{unbound icon}}"></i>{{else}}<i class="fas fa-puzzle-piece"></i>{{/if}} {{boundTranslate idBinding="label" package="Neos.Neos" source="Modules"}}
		{{/view}}
		{{view view.parentView.parentView.ToggleMenuPanelHeadline classNames="neos-menu-collapse" groupBinding="view.content.group"}}

		{{#collection tagName="div" classNames="neos-menu-list" contentBinding="submodules"}}
			{{#unless hideInMenu}}
				{{#view view.parentView.parentView.parentView.parentView.LinkView hrefBinding="uri" labelBinding="label" descriptionBinding="description" classNameBindings="active:neos-active"}}
					{{#if icon}}<i class="{{unbound icon}}"></i>{{else}}<i class="fas fa-puzzle-piece"></i>{{/if}} {{boundTranslate idBinding="label" package="Neos.Neos" source="Modules"}}
				{{/view}}
			{{/unless}}
		{{/collection}}
	{{/unless}}
{{/collection}}

<button id="neos-menu-sticky-button" {{bindAttr class=":neos-button controller.menuPanelStickyMode:neos-pressed"}} {{action "toggleMenuPanelStickyMode" target="controller"}} title="{{translate id='content.menu.menuPanel.toggleStickyMode' fallback='Toggle sticky menu mode'}}" data-neos-toggle="dropdown" data-neos-tooltip data-placement="right"></button>
