This commit is contained in:
Van
2019-03-28 12:14:02 +08:00
parent e3d7be6f23
commit 59450e3218
9 changed files with 524 additions and 292 deletions

View File

@@ -18,16 +18,20 @@
-->
<#macro comments commentList article>
<div class="article__comment">
<div class="comment__title">${commentLabel}</div>
<div id="comments">
<div class="comment">
<div class="comment__wrapper wrapper">
<div class="comment__title">
${commentLabel}
</div>
<#if article.commentable>
<textarea rows="3" placeholder="${commentContentCannotEmptyLabel}" id="comment"></textarea>
</#if>
<ul id="comments">
<#list commentList as comment>
<#include 'common-comment.ftl'/>
</#list>
</ul>
</div>
<#if article.commentable>
<textarea rows="3" placeholder="${postCommentsLabel}"
class="comment__textarea" id="comment"></textarea>
</#if>
</div>
</#macro>