diff --git a/files/templates/CHRISTMAS/comments/CommentActions.html b/files/templates/CHRISTMAS/comments/CommentActions.html index 76eb7028e7..f6de23d68b 100644 --- a/files/templates/CHRISTMAS/comments/CommentActions.html +++ b/files/templates/CHRISTMAS/comments/CommentActions.html @@ -149,7 +149,7 @@ {% endif %} - {% if v and c.post and (v.admin_level > 1 or v.id == c.post.author_id) %} + {% if v and c.post %}

  • diff --git a/files/templates/CHRISTMAS/modals/ModalCommentActions.html b/files/templates/CHRISTMAS/modals/ModalCommentActions.html index c1a0c17ec2..54a2422fc1 100644 --- a/files/templates/CHRISTMAS/modals/ModalCommentActions.html +++ b/files/templates/CHRISTMAS/modals/ModalCommentActions.html @@ -68,17 +68,30 @@ {% endif %} {% endif %} - {% if v and c.post and (v.admin_level > 1 or v.id == c.post.author_id) %} -
  • - -
  • -
  • - -
  • + {% if v and c.post %} + {% if v.admin_level > 1 %} +
  • + +
  • +
  • + +
  • + {% elif v.id == c.post.author_id %} +
  • + +
  • +
  • + +
  • + {% endif %} {% endif %} {% if v %} {% if v.admin_level > 0 and v.id==c.author_id %}