🐛 fixed comment manage page error

pull/137/head
ruibaby 2019-03-07 10:21:42 +08:00
parent da1696bdb9
commit dfa1001125
1 changed files with 4 additions and 4 deletions

View File

@ -50,13 +50,13 @@
<#if comments.content?size gt 0>
<#list comments.content as comment>
<tr>
<td><a href="${comment.commentAuthorUrl}" target="_blank">${comment.commentAuthor}</a></td>
<td><p>${comment.commentContent}</p></td>
<td><a href="${comment.commentAuthorUrl!}" target="_blank">${comment.commentAuthor!}</a></td>
<td><p>${comment.commentContent!}</p></td>
<td>
<#if comment.post.postType == "post">
<a target="_blank" href="/archives/${comment.post.postUrl}#comment-id-${comment.commentId?c}">${comment.post.postTitle}</a>
<a target="_blank" href="/archives/${comment.post.postUrl}#comment-id-${comment.commentId?c}">${comment.post.postTitle!}</a>
<#else >
<a target="_blank" href="/p/${comment.post.postUrl}#comment-id-${comment.commentId?c}">${comment.post.postTitle}</a>
<a target="_blank" href="/p/${comment.post.postUrl}#comment-id-${comment.commentId?c}">${comment.post.postTitle!}</a>
</#if>
</td>
<td>${comment.commentDate?string('yyyy-MM-dd HH:mm')}</td>