news_page_layout

NAML documentation   Watch a video
   Usages of this macro
... in view_news.naml
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<macro name="news_page_layout" requires="narrow_app_namespace">
    <n.new_topic_action_link
Macro
Parameters: text
 text="[t]New Post[/t]"/>
    <n.subapps_action_link
Macro
Parameters: text
 text="[t]Subcategories[/t]"/>
    <n.people_action_link
Macro
Requires: node_page
/>
    <n.options_action_menu
Macro
Requires: node_page
/>
 
    <div style="clear:both"/>
    <n.widget
Macro
Parameters: contents, title
.>
        <div class="sidebar-section shaded-bg-color">
            <n.app_topic_pagination
Macro
Requires: node_page, servlet
Parameters: margin
 margin=".2em .5em"/>
            <h2 class="news-header">
                <t>Topics</t>
                <span class="weak-color topic-count">
                    (<n.app_topic_count
Macro
Requires: node_page, servlet
/>)
                </span>
            </h2>
        </div>
        <n.news_table
Macro
/>
        <n.app_topic_pagination
Macro
Requires: node_page, servlet
Parameters: margin
 margin=".5em .3em"/>
    </n.widget.>
    <n.forum_footer
Macro
/>
</macro>