... | in view_news.naml |
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
|
<macro name="news_table">
<table id="news-table" class="news-table medium-border-color">
<n.page_node Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
Parameters:
filter, start, length, sort, do
♦ ♦
sort="pinned-and-root-node-date"
start="[n.app_index_record Macro Requires: servlet
♦ ♦
length="[n.app_rows_per_page Macro Requires: node_page
♦ ♦
filter="[n.app_topic_filter Macro Requires: node_page, servlet
♦ ♦
>
<n.handle_empty_newspaper Macro Requires: node_list, node_page
♦ ♦
<n.loop Macro Requires: sequence
Parameters:
by, do
♦ ♦ Binary Namespace: NodeList
Parameters:
do
♦ ♦
<tr>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: NodeNamespace
♦ ♦
<then>
<td class="news-row thumbnail-cell light-border-color">
<n.thumbnail_box Macro ♦ ♦
</td>
<td class="news-row light-border-color" style="vertical-align:top">
<n.news_text_cell Macro Requires: node
♦ ♦
</td>
</then>
<else>
<td class="news-row light-border-color" style="vertical-align:top" colspan="2">
<n.news_text_cell Macro Requires: node
♦ ♦
</td>
</else>
</n.if.has_thumbnail>
</tr>
</n.loop.current_node.>
</n.page_node.topics_list.>
</table>
</macro>
|