diff options
Diffstat (limited to 'quoins/templates/delete_post.html')
-rw-r--r-- | quoins/templates/delete_post.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quoins/templates/delete_post.html b/quoins/templates/delete_post.html index 94df1d3..e81500a 100644 --- a/quoins/templates/delete_post.html +++ b/quoins/templates/delete_post.html | |||
@@ -68,7 +68,7 @@ | |||
68 | ${comment.created.strftime('%B %d, %Y at %I:%M %p')} | 68 | ${comment.created.strftime('%B %d, %Y at %I:%M %p')} |
69 | </span> | 69 | </span> |
70 | 70 | ||
71 | <span py:if="'blog-post' in [x.permission_name for x in tg.identity.user.permissions]"> | 71 | <span py:if="tg.identity and 'blog-post' in [x.permission_name for x in tg.identity.user.permissions]"> |
72 | | 72 | |
73 | <a href="${quoins.url('/delete_comment/%s'%comment.id)}"> | 73 | <a href="${quoins.url('/delete_comment/%s'%comment.id)}"> |
74 | Delete comment | 74 | Delete comment |