child_topics_section

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 "child_topics_section".
... in child_topics_section.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<override_macro name="child_topics_section" dot_parameter="columns" parameters="length">
    <n.if.page_node.has_child_topics>
        <then>
            <n.top_topics.>
                <n.table_header.>
                    <tr class="header-row shaded-bg-color">
                        <n.columns/>
                    </tr>
                </n.table_header.>
                <n.page_node.children_list. length="[n.length/]" filter="[n.no_pinned_subapps_filter/]">
                    <n.loop.>
                        <tr class="main-row">
                            <n.columns/>
                        </tr>
                    </n.loop.>
                    <n.if.there_is_more>
                        <then>
                            <tr class="main-row">
                                <td>&nbsp;</td>
                                <td class="main-border-color" colspan="[n.mixed_table_column_count.minus i='1'/]" style="padding:.6em .8em">
                                    <n.page_node.node_link
                                        href="[n.url template='view_standard'/]"
                                        title="[t]View all messages under this sub-forum[/t]"
                                        text="[t]View more[/t]"
                                    /> &raquo;
                                </td>
                            </tr>
                        </then>
                    </n.if.there_is_more>
                </n.page_node.children_list.>
            </n.top_topics.>
        </then>
    </n.if.page_node.has_child_topics>
</override_macro>
Overrides default macro
... in view_mixed.naml
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<macro name="child_topics_section" dot_parameter="columns" parameters="length">
    <n.if.page_node.has_child_topics>
        <then>
            <n.top_topics.>
                <n.table_header.>
                    <tr class="header-row shaded-bg-color">
                        <n.columns/>
                    </tr>
                </n.table_header.>
                <n.page_node.children_list. length="[n.length/]" filter="[n.no_pinned_subapps_filter/]">
                    <n.loop.>
                        <tr class="main-row">
                            <n.columns/>
                        </tr>
                    </n.loop.>
                    <n.if.there_is_more>
                        <then>
                            <tr class="main-row">
                                <td>&nbsp;</td>
                                <td class="medium-border-color" colspan="[n.mixed_table_column_count.minus i='1'/]" style="padding:.6em .8em">
                                    <n.page_node.node_link
                                        href="[n.url template='view_standard'/]"
                                        title="[t]View all messages under this sub-forum[/t]"
                                        text="[t]View more[/t]"
                                    /> &raquo;
                                </td>
                            </tr>
                        </then>
                    </n.if.there_is_more>
                </n.page_node.children_list.>
            </n.top_topics.>
        </then>
    </n.if.page_node.has_child_topics>
</macro>