2016-06-12 14:04:42 +02:00
|
|
|
<div class='global-comment-list'>
|
|
|
|
<ul><!--
|
2017-02-09 00:48:06 +01:00
|
|
|
--><% for (let post of ctx.response.results) { %><!--
|
2016-06-12 14:04:42 +02:00
|
|
|
--><li><!--
|
|
|
|
--><div class='post-thumbnail'><!--
|
|
|
|
--><% if (ctx.canViewPosts) { %><!--
|
2017-01-20 21:51:04 +01:00
|
|
|
--><a href='<%- ctx.formatClientLink('post', post.id) %>'><!--
|
2016-06-12 14:04:42 +02:00
|
|
|
--><% } %><!--
|
|
|
|
--><%= ctx.makeThumbnail(post.thumbnailUrl) %><!--
|
|
|
|
--><% if (ctx.canViewPosts) { %><!--
|
|
|
|
--></a><!--
|
|
|
|
--><% } %><!--
|
|
|
|
--></div><!--
|
2016-06-23 11:41:52 +02:00
|
|
|
--><div class='comments-container' data-for='<%- post.id %>'></div><!--
|
2016-06-12 14:04:42 +02:00
|
|
|
--></li><!--
|
|
|
|
--><% } %><!--
|
|
|
|
--></ul>
|
|
|
|
</div>
|