board_table

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 "board_table".
... in board_table.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<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="20">
                    <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="20">
                                    <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>
Overrides default macro
... in view_board.naml
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<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="20">
                    <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="20">
                                    <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>
</macro>