... | in view_standard.naml |
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
|
<macro name="standard_table" dot_parameter="columns">
<div style="clear:both"></div>
<table class="main medium-border-color">
<n.table_header.>
<tr class="header-row shaded-bg-color">
<n.columns/>
</tr>
</n.table_header.>
<n.page_node.children_list.
start="[n.app_index_record/]"
length="[n.app_rows_per_page/]"
filter="[n.app_topic_filter/]"
sort="[n.if.app_is_by_priority][then]priority[/then][else]pinned-and-last-node-date[/else][/n.if.app_is_by_priority]"
>
<n.loop.>
<tr class="[n.even_row_background/] main-row">
<n.columns/>
</tr>
<n.if.next_node>
<then>
<tr class="[n.odd_row_background/] main-row">
<n.columns/>
</tr>
</then>
</n.if.next_node>
</n.loop.>
</n.page_node.children_list.>
<n.if.not.page_node.has_children>
<then>
<tr>
<td></td>
<td colspan="10" style="padding:.8em 0">
<t>Empty</t>
</td>
</tr>
</then>
</n.if.not.page_node.has_children>
</table>
<div style="clear:both"></div>
</macro>
|
Free forum by Nabble | Edit this page |