... | in news_details_row.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 27
|
<override_macro name="news_details_row" requires="node">
<div class="news-details weak-color">
<n.owner Binary Namespace: NodeNamespace
Parameters:
do
♦ ♦ Macro Requires: user
Parameters:
size, border_class, group
♦ ♦
<span class="nowrap">
<t>by <t.author.owner Binary Namespace: NodeNamespace
Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
Parameters:
truncate
♦ ♦
•
</span>
<span class="nowrap"><n.when_created Binary Namespace: NodeNamespace
Parameters:
do
♦ ♦ Macro Requires: date
♦ ♦
<span>|</span>
<span class="nowrap"><n.views Macro Requires: node
Parameters:
show_text
♦ ♦
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
condition
♦ ♦ Macro Requires: node
♦ ♦
<then>
<span>|</span>
<span class="nowrap">
<img src="http://theunknown23.weebly.com/files/theme/message.png" align="absmiddle" height="14" width="15"/>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: NodeNamespace
♦ ♦
<then><n.comments_link Macro Requires: node
♦ ♦
<else>0 <t>answers | <span style="color:#ea7400; font-weight:bold;">be the first to answer</span></t></else>
</n.if.has_replies>
</span>
</then>
</n.if.not.is_locked_topic>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Macro Requires: node, node_list
♦ ♦
<then><span><img src="/images/pin.png" width="20" height="21" style="margin:0 .5em" align="absmiddle"/></span></then>
</n.if.is_pinned_in_loop>
</div>
</override_macro>
|
... | in view_news.naml |
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208
|
<macro name="news_details_row" requires="node">
<div class="news-details weak-color">
<span class="nowrap">
<t>by <t.author.owner.name truncate="20"/></t>
•
</span>
<span class="nowrap"><n.when_created.short_format/></span>
<span>|</span>
<span class="nowrap"><n.views show_text="true"/></span>
<n.if.not.is_locked_topic>
<then>
<span>|</span>
<span class="nowrap">
<img src="/images/icon_message.png" align="absmiddle" height="14" width="15"/>
<n.if.has_replies>
<then><n.comments_link/></then>
<else>0 <t>comments</t></else>
</n.if.has_replies>
</span>
</then>
</n.if.not.is_locked_topic>
<n.if.is_pinned_in_loop>
<then><span><img src="/images/pin.png" width="20" height="21" style="margin:0 .5em" align="absmiddle"/></span></then>
</n.if.is_pinned_in_loop>
</div>
</macro>
|
Free forum by Nabble | Edit this page |