change_view_links

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "change_view_links".
... in change_view_links.naml
1
2
3
4
5
6
7
8
9
10
11
<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>
Overrides default macro
... in topic.naml
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
<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/>
            <n.threaded_icon_link/>
        </else>
    </n.if.equal>
</macro>