forked from tykayn/funky-framadate-front
50e56a0396
à la racine, quand on lance le serveur, on a le framadate tel qu'il est aujourd'hui en ajoutant sur l'url, on accède à la maquette interactive dans son état actuel
19 lines
966 B
Smarty
19 lines
966 B
Smarty
<div id="comments_list">
|
|
<form action="{if $admin}{poll_url id=$admin_poll_id admin=true}{else}{poll_url id=$poll_id}{/if}" method="POST">
|
|
{if $comments|count > 0}
|
|
<h3>{__('Comments', 'Comments')}</h3>
|
|
{foreach $comments as $comment}
|
|
<div class="comment">
|
|
{if $admin && !$expired}
|
|
<button type="submit" name="delete_comment" value="{$comment->id|html}" class="btn btn-link" title="{__('Comments', 'Remove comment')}"><span class="glyphicon glyphicon-remove text-danger"></span><span class="sr-only">{__('Generic', 'Remove')}</span></button>
|
|
{/if}
|
|
<span class="comment_date">{$comment->date|date_format:$date_format['txt_datetime_short']}</span>
|
|
<b>{$comment->name|html}</b>
|
|
<span>{$comment->comment|escape|nl2br}</span>
|
|
</div>
|
|
{/foreach}
|
|
{/if}
|
|
</form>
|
|
<div id="comments_alerts"></div>
|
|
</div>
|