board_table.naml

<override_macro name="board_table" dot_parameter="columns">
    <div style="clear:both"></div>
    <table class="main medium-border-color">
        <n.if.page_node.has_children>
            <then>
                <n.page_node.children_list. length="40">
                    <n.loop.>
                        <n.table_header.>
                            <tr class="category-row shaded-bg-color">
                                <n.columns/>
                            </tr>
                        </n.table_header.>
                        <n.if.current_node.has_children>
                            <then>
                                <n.current_node.children_list. length="40">
                                    <n.loop.>
                                        <tr class="main-row">
                                            <n.columns/>
                                        </tr>
                                    </n.loop.>
                                    <n.if.there_is_more>
                                        <then>
                                            <tr>
                                                <td></td>
                                                <td colspan="4"><n.page_node.node_link href="[n.url template='view_standard'/]" text="[t]View more[/t]"/> &raquo;</td>
                                            </tr>
                                        </then>
                                    </n.if.there_is_more>
                                </n.current_node.children_list.>
                            </then>
                            <else>
                                <tr>
                                    <td style="width:35px"></td>
                                    <td style="padding:.7em .5em">
                                        <n.if.current_node.is_app>
                                            <then><t>No sub-forums</t></then>
                                            <else><t>No replies</t></else>
                                        </n.if.current_node.is_app>
                                    </td>
                                    <td colspan="3"></td>
                                </tr>
                            </else>
                        </n.if.current_node.has_children>
                    </n.loop.>
                    <n.if.there_is_more>
                        <then>
                            <tr>
                                <td colspan="5" style="padding:.5em"><n.page_node.node_link href="[n.url template='view_standard'/]" text="[t]More categories[/t]"/> &raquo;</td>
                            </tr>
                        </then>
                    </n.if.there_is_more>
                </n.page_node.children_list.>
            </then>
            <else>
                <tr>
                    <td colspan="4"><t>No sub-forums</t></td>
                </tr>
            </else>
        </n.if.page_node.has_children>
    </table>
    <div style="clear:both"></div>
</override_macro>