change_view_links.naml

<override_macro name="change_view_links" requires="node">
    <n.if.equal value1="[n.get_parameter name='view'/]" value2="[n.threaded_view/]">
        <then>
            <n.classic_icon_link/>
            <n.list_icon_link/>
        </then>
        <else>
            <n.classic_icon_link/>
        </else>
    </n.if.equal>
</override_macro>