{namespace neos=Neos\Neos\ViewHelpers}
{namespace fusion=Neos\Fusion\ViewHelpers}
{namespace theme=Newland\CityTheme\ViewHelpers}

<f:if condition="{result}">
    <h3>List Nodes by Type:</h3>
    <ol>
        <f:for each="{result}" as="nodeType">
            <li class="mt-4">
                <b>NodeType:</b> {searchType}<br>
                <b>Frontend:</b> <a href="/neos/edirect?node={nodeType.nodeData.path}@live;language=de" target="_blank">{nodeType.nodeData.properties.title}</a><br>
                <b>Backend:</b> <a href="/neos/content?node={nodeType.nodeData.path}@user-{theme:UserName()};language=de" target="_blank">NodeType im Backend anzeigen</a>
            </li>
        </f:for>
    </ol>
</f:if>