... | in subapp_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 25 26
|
<override_macro name="subapp_section" requires="node" dot_parameter="columns" parameters="length">
<tr class="header-row category-row shaded-bg-color">
<n.table_header.>
<n.columns/>
</n.table_header.>
</tr>
<n.if.has_children>
<then>
<n.children_list. length="[n.length/]">
<n.loop.>
<n.if.current_node.can_be_viewed_by_visitor>
<then>
<tr class="main-row">
<n.columns/>
</tr>
</then>
</n.if.current_node.can_be_viewed_by_visitor>
</n.loop.>
<n.set_var. name="has_more_rows"><n.there_is_more/></n.set_var.>
</n.children_list.>
<n.subapp_section_extra_row has_more="[n.var name='has_more_rows'/]"/>
</then>
<else.subapp_section_extra_row has_more="[n.false/]"/>
</n.if.has_children>
</override_macro>
|
... | in view_mixed.naml |
224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244
|
<macro name="subapp_section" requires="node" dot_parameter="columns" parameters="length">
<tr class="header-row category-row shaded-bg-color">
<n.table_header.>
<n.columns/>
</n.table_header.>
</tr>
<n.if.has_children>
<then>
<n.children_list. length="[n.length/]">
<n.loop.>
<tr class="main-row">
<n.columns/>
</tr>
</n.loop.>
<n.set_var. name="has_more_rows"><n.there_is_more/></n.set_var.>
</n.children_list.>
<n.subapp_section_extra_row has_more="[n.var name='has_more_rows'/]"/>
</then>
<else.subapp_section_extra_row has_more="[n.false/]"/>
</n.if.has_children>
</macro>
|
Powered by Nabble | Edit this page |