view_topics_page

NAML documentation   Watch a video
   Usages of this macro
... in ads_manual.naml
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<override_macro name="view_topics_page">
    <n.set_app_rows_per_page
Macro
Parameters: rows_per_page
 rows_per_page="[n.forum_topics_per_page
Macro
/]"/>
    <n.app_html
Macro
Requires: servlet
Parameters: head, body
>
        <head>
            <n.app_title
Macro
/>
            <n.topics_table_stylesheet
Macro
/>
                        <n.auto_ads
Macro
/>
        </head>
        <body>
                        <div class="ad-responsive-top" style="margin-top:10px;margin-bottom:10px;text-align:center">
                            <n.ad_responsive_top
Macro
/>
                        </div>
            <n.new_topic_action_link
Macro
Parameters: text
/>
            <n.subapps_action_link
Macro
Parameters: text
/>
            <n.people_action_link
Macro
Requires: node_page
/>
            <n.options_action_menu
Macro
Requires: node_page
/>
 
            <n.app_topic_pagination
Macro
Requires: node_page, servlet
Parameters: margin
 margin=".8em .3em .5em 0"/>
            <n.topics_table
Macro
Parameters: columns
.topics_table_columns
Macro
Requires: app_namespace
 />
            <n.app_topic_pagination
Macro
Requires: node_page, servlet
Parameters: margin
 margin=".8em .3em .5em 0"/>
            <n.forum_footer
Macro
/>
                        <script>
                            var nbl_showAds = !(window.nbl_canHideAds && window.localStorage && localStorage.nbl_noAds);
                            if(nbl_showAds) {
                                (adsbygoogle = window.adsbygoogle || []).push({});
                            }
                        </script>
        </body>
    </n.app_html>
</override_macro>
Overrides default macro
... in view_topics.naml
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<macro name="view_topics_page">
    <n.set_app_rows_per_page rows_per_page="[n.forum_topics_per_page/]"/>
    <n.app_html>
        <head>
            <n.app_title/>
            <n.topics_table_stylesheet/>
        </head>
        <body>
            <n.new_topic_action_link/>
            <n.subapps_action_link/>
            <n.people_action_link/>
            <n.options_action_menu/>
 
            <n.app_topic_pagination margin=".8em .3em .5em 0"/>
            <n.topics_table.topics_table_columns />
            <n.app_topic_pagination margin=".8em .3em .5em 0"/>
            <n.forum_footer/>
        </body>
    </n.app_html>
</macro>