child_topics_section

NAML documentation   Watch a video
   Usages of this 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
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.has_child_topics
Binary
Namespace: NodeNamespace
>
        <then>
            <n.top_topics
Macro
Parameters: do
.>
                <n.table_header
Macro
Parameters: do
.>
                    <tr class="header-row shaded-bg-color">
                        <n.columns/>
                    </tr>
                </n.table_header.>
                <n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.children_list
Macro
Requires: node
Parameters: filter, start, length, sort, do
. length="[n.length/]" filter="[n.no_pinned_subapps_filter
Binary
Namespace: NodeNamespace
/]">
                    <n.loop
Macro
Requires: sequence
Parameters: by, do
.>
                        <tr class="main-row">
                            <n.columns/>
                        </tr>
                    </n.loop.>
                    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.there_is_more
Binary
Namespace: NodeList
>
                        <then>
                            <tr class="main-row">
                                <td>&nbsp;</td>
                                <td class="medium-border-color" colspan="[n.mixed_table_column_count
Macro
Parameters: do
.minus
Binary
Namespace: IntegerNamespace
Parameters: i
 i='1'/]" style="padding:.6em .8em">
                                    <n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.node_link
Macro
Requires: node
Parameters: text, href, title, class, target
                                        href="[n.url
Macro
Requires: node
Parameters: template, date, index_record
 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>