view_category_page

NAML documentation   Watch a video
   Usages of this macro
... in view_category_page.naml
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<override_macro name="view_category_page">
    <n.app_html
Macro
Requires: servlet
Parameters: head, body
>
        <head>
            <n.app_title
Macro
/>
            <n.category_table_stylesheet
Macro
/>
        </head>
        <body>
            <n.topics_action_link
Macro
Requires: node_page, servlet
Parameters: only_if_has_subapps
/>
            <n.people_action_link
Macro
Requires: node_page
/>
            <n.options_action_menu
Macro
Requires: node_page
/>
 
            <n.category_table
Macro
Parameters: columns
.>
                <n.subcategories_column
Macro
Parameters: width, title
/>
 
                <n.last_post_column
Macro
Parameters: width, white_space, title
/>
            </n.category_table.>
 
            <n.forum_footer
Macro
/>
        </body>
    </n.app_html>
</override_macro>
Overrides administrator change
... in view_category_page.naml
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<override_macro name="view_category_page">
    <n.app_html>
        <head>
            <n.app_title/>
            <n.category_table_stylesheet/>
        </head>
        <body>
            <n.topics_action_link/>
            <n.people_action_link/>
            <n.options_action_menu/>
 
            <n.category_table.>
                <n.subcategories_column/>
 
                <n.last_post_column/>
            </n.category_table.>
 
            <n.forum_footer/>
        </body>
    </n.app_html>
</override_macro>
Overrides administrator change
... in view_category_page.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<override_macro name="view_category_page">
    <n.app_html>
        <head>
            <n.app_title/>
            <n.category_table_stylesheet/>
        </head>
        <body>
            <n.topics_action_link/>
            <n.people_action_link/>
            <n.options_action_menu/>
 
            <n.category_table.>
                
                <n.subcategories_column/>
                <n.last_post_column/>
            </n.category_table.>
 
            <n.forum_footer/>
        </body>
    </n.app_html>
</override_macro>
Overrides default macro
... in view_category.naml
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<macro name="view_category_page">
    <n.app_html>
        <head>
            <n.app_title/>
            <n.category_table_stylesheet/>
        </head>
        <body>
            <n.topics_action_link/>
            <n.people_action_link/>
            <n.options_action_menu/>
 
            <n.category_table.>
                <n.subcategories_column/>
                <n.topic_count_column width="5em"/>
                <n.post_count_column width="5em"/>
                <n.last_post_column/>
            </n.category_table.>
 
            <n.forum_footer/>
        </body>
    </n.app_html>
</macro>