<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<p class="dropdown-headline" id="help-dropdown-headline"><f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang_toolbar.xlf:toolbarItems.help" /></p>
<f:if condition="{modules}">
    <nav class="t3js-helpmenu">
        <ul class="dropdown-list" role="menu" aria-labelledby="help-dropdown-headline">
            <f:for each="{modules}" as="module">
                <li>
                    <a
                        href="{f:if(condition: module.path, then: '{f:be.uri(route: module.identifier)}', else: '#')}"
                        title="{f:translate(key: module.description, default: module.description)}"
                        class="dropdown-item"
                        role="menuitem"
                        data-moduleroute-identifier="{module.identifier}"
                    >
                        <span class="dropdown-item-columns">
                            <span class="dropdown-item-column dropdown-item-column-icon" aria-hidden="true">
                                <core:icon identifier="{module.iconIdentifier}" size="small" alternativeMarkupIdentifier="inline" />
                            </span>
                            <span class="dropdown-item-column dropdown-item-column-title">
                                <f:translate key="{module.title}">{module.title}</f:translate>
                            </span>
                        </span>
                    </a>
                </li>
            </f:for>
            <li>
                <a
                    class="dropdown-item"
                    role="menuitem"
                    href="https://docs.typo3.org/" target="_blank" rel="noreferrer">
                    <span class="dropdown-item-columns">
                        <span class="dropdown-item-column dropdown-item-column-icon" aria-hidden="true">
                            <core:icon identifier="module-cshmanual" size="small" alternativeMarkupIdentifier="inline" />
                        </span>
                        <span class="dropdown-item-column dropdown-item-column-title">
                            <f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang.xlf:onlineDocumentation">TYPO3 Online Documentation</f:translate>
                            <span class="visually-hidden">(<f:translate key="LLL:EXT:backend/Resources/Private/Language/locallang.xlf:opensInANewWindow" />)</span>
                        </span>
                        <core:icon identifier="actions-window-open" />
                    </span>
                </a>
            </li>
        </ul>
    </nav>
</f:if>
</html>
