1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00
piwigo_ynh/sources/themes/smartpocket/template/comment_list.tpl

13 lines
471 B
Smarty
Raw Normal View History

2014-07-06 13:21:10 +02:00
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">{'User comments'|@translate}</li>
{foreach from=$comments item=comment name=comment_loop}
<li>
{if !isset($from) or $from!="picture"}<a href="{$comment.U_PICTURE}">
<img src="{$pwg->derivative_url($thumbnail_derivative_params, $comment.src_image)}">{/if}
<h3>{$comment.AUTHOR}</h3>
<p>{$comment.CONTENT}</p>
{if !isset($from) or $from!="comment"}</a>{/if}
</li>
{/foreach}
</ul>