... | in news.naml |
6 7
|
<override_macro name="news_details_row" requires="node">
</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>
|