diff options
Diffstat (limited to 'quoins/templates/post.html')
-rw-r--r-- | quoins/templates/post.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/quoins/templates/post.html b/quoins/templates/post.html index 72ee748..d290f3b 100644 --- a/quoins/templates/post.html +++ b/quoins/templates/post.html | |||
@@ -51,10 +51,10 @@ | |||
51 | </a> | 51 | </a> |
52 | </span> | 52 | </span> |
53 | | 53 | |
54 | <span class="blog-comment-user" py:if="comment.author_url"> | 54 | <span class="blog-comment-user" py:if="quoins.comment_author_url(comment)"> |
55 | <a href="${comment.author_url}" rel="nofollow">${comment.author_name}</a> | 55 | <a href="${quoins.comment_author_url(comment)}" rel="nofollow">${comment.author_name}</a> |
56 | </span> | 56 | </span> |
57 | <span class="blog-comment-user" py:if="not comment.author_url"> | 57 | <span class="blog-comment-user" py:if="not quoins.comment_author_url(comment)"> |
58 | ${comment.author_name} | 58 | ${comment.author_name} |
59 | </span> | 59 | </span> |
60 | <br /> | 60 | <br /> |
@@ -62,7 +62,7 @@ | |||
62 | ${comment.created.strftime('%B %d, %Y at %I:%M %p')} | 62 | ${comment.created.strftime('%B %d, %Y at %I:%M %p')} |
63 | </span> | 63 | </span> |
64 | 64 | ||
65 | <span py:if="tg.identity and 'blog-post' in [x.permission_name for x in tg.identity.user.permissions]"> | 65 | <span py:if="'blog-post' in [x.permission_name for x in tg.identity.user.permissions]"> |
66 | | 66 | |
67 | <a href="${quoins.url('/delete_comment/%s'%comment.id)}"> | 67 | <a href="${quoins.url('/delete_comment/%s'%comment.id)}"> |
68 | Delete comment | 68 | Delete comment |