special_app_topic_filter

NAML documentation   Watch a video
   Usages of this macro
... in tweaks.naml
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<macro name="special_app_topic_filter" requires="node_page,servlet">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.is_root
Binary
Namespace: NodeNamespace
>
        <then>
            <n.compress
Macro
Parameters: text
.>
                <n.separate
Binary
Namespace: BasicNamespace
Parameters: text1, text2, separator
>
                    <text1>
                        parent_id not in (<n.subapps_with_hidden_topics
Macro
/>)
                    </text1>
                    <separator>
                        and
                    </separator>
                    <text2>
                        <n.hide_null
Binary
Namespace: BasicNamespace
Parameters: value
.app_topic_filter
Macro
Requires: node_page, servlet
 />
                    </text2>
                </n.separate>
            </n.compress.>
        </then>
        <else.app_topic_filter
Macro
Requires: node_page, servlet
/>
    </n.if.page_node.is_root>
</macro>