diff options
Diffstat (limited to 'quoins/templates/post.html')
-rw-r--r-- | quoins/templates/post.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quoins/templates/post.html b/quoins/templates/post.html index d290f3b..fc606db 100644 --- a/quoins/templates/post.html +++ b/quoins/templates/post.html | |||
@@ -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="'blog-post' in [x.permission_name for x in tg.identity.user.permissions]"> | 65 | <span py:if="tg.identity and '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 |