gallery_section

NAML documentation   Watch a video
   Usages of this macro
... in view_mixed.naml
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<macro name="gallery_section" requires="node" parameters="length">
    <tr class="header-row category-row shaded-bg-color">
        <n.table_header
Macro
Parameters: do
.>
            <td class="medium-border-color"></td>
            <n.topics_column
Macro
Parameters: width, count, title
 title="[n.node_link
Macro
Requires: node
Parameters: text, href, title, class, target
 class='second-font category-link'/]" count="[n.topic_count
Binary
Namespace: NodeNamespace
Parameters: filter
/]"/>
            <td class="medium-border-color" colspan="[n.mixed_table_column_count
Macro
Parameters: do
.minus
Binary
Namespace: IntegerNamespace
Parameters: i
 i='1'/]"></td>
        </n.table_header.>
    </tr>
    <tr class="main-row">
        <td colspan="[n.mixed_table_column_count
Macro
Parameters: do
/]" class="medium-border-color" style="width:auto;overflow:hidden">
            <n.slider
Macro
Requires: html
Parameters: contents
.>
                <n.topics_list
Macro
Requires: node
Parameters: filter, start, length, sort, do
. sort="pinned-and-last-node-date" length="[n.length/]" filter="[n.app_topic_filter
Macro
Requires: node_page, servlet
/]">
                    <n.loop
Macro
Requires: sequence
Parameters: by, do
.>
                        <td align="center" style="padding:0 .5em">
                            <n.current_node
Binary
Namespace: NodeList
Parameters: do
.gallery_cell
Macro
/>
                        </td>
                    </n.loop.>
                    <n.set_var
Binary
Namespace: BasicNamespace
Parameters: name, value
. name="last_loop_has_more"><n.there_is_more
Binary
Namespace: NodeList
/></n.set_var.>
                </n.topics_list.>
            </n.slider.>
        </td>
    </tr>
    <n.subapp_section_extra_row
Macro
Parameters: has_more
 has_more="[n.var
Binary
Namespace: BasicNamespace
Parameters: name
 name='has_more_rows'/]"/>
</macro>