... | in gallery_section.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
|
<override_macro name="gallery_section" requires="node" parameters="length">
<tr class="header-row category-row shaded-bg-color">
<n.table_header.>
<td class="main-border-color"></td>
<n.topics_column title="[n.node_link class='second-font category-link'/]" count="[n.topic_count/]"/>
<td class="main-border-color" colspan="[n.mixed_table_column_count.minus i='1'/]"></td>
</n.table_header.>
</tr>
<tr class="main-row">
<td colspan="[n.mixed_table_column_count/]" class="main-border-color" style="width:auto;overflow:hidden">
<n.slider.>
<n.topics_list. sort="pinned-and-last-node-date" length="[n.length/]" filter="[n.app_topic_filter/]">
<n.loop.>
<td align="center" style="padding:0 .5em">
<n.current_node.gallery_cell/>
</td>
</n.loop.>
<n.set_var. name="last_loop_has_more"><n.there_is_more/></n.set_var.>
</n.topics_list.>
</n.slider.>
</td>
</tr>
<n.subapp_section_extra_row has_more="[n.var name='has_more_rows'/]"/>
</override_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.>
<td class="medium-border-color"></td>
<n.topics_column title="[n.node_link class='second-font category-link'/]" count="[n.topic_count/]"/>
<td class="medium-border-color" colspan="[n.mixed_table_column_count.minus i='1'/]"></td>
</n.table_header.>
</tr>
<tr class="main-row">
<td colspan="[n.mixed_table_column_count/]" class="medium-border-color" style="width:auto;overflow:hidden">
<n.slider.>
<n.topics_list. sort="pinned-and-last-node-date" length="[n.length/]" filter="[n.app_topic_filter/]">
<n.loop.>
<td align="center" style="padding:0 .5em">
<n.current_node.gallery_cell/>
</td>
</n.loop.>
<n.set_var. name="last_loop_has_more"><n.there_is_more/></n.set_var.>
</n.topics_list.>
</n.slider.>
</td>
</tr>
<n.subapp_section_extra_row has_more="[n.var name='has_more_rows'/]"/>
</macro>
|
Free forum by Nabble | Naml |