diff --git a/app/templates/post/post_options.html b/app/templates/post/post_options.html index 3ed7e80f..27c378da 100644 --- a/app/templates/post/post_options.html +++ b/app/templates/post/post_options.html @@ -62,7 +62,7 @@ {% endif -%}
  • {{ _('Report to moderators') }}
  • - {% if post.community.is_moderator() or post.community.is_owner() or current_user.is_admin() -%} + {% if current_user.is_authenticated and (post.community.is_moderator() or post.community.is_owner() or current_user.is_admin()) -%}
  • {{ _('View Voting Activity') }}
  • {% endif -%} diff --git a/app/templates/post/post_reply_options.html b/app/templates/post/post_reply_options.html index cf8348ce..666b9680 100644 --- a/app/templates/post/post_reply_options.html +++ b/app/templates/post/post_reply_options.html @@ -41,7 +41,7 @@ {{ _("Hide every post from author's instance: %(name)s", name=post_reply.instance.domain) }} {% endif -%} {% endif -%} - {% if post_reply.community.is_moderator() or post_reply.community.is_owner() or current_user.is_admin() -%} + {% if current_user.is_authenticated and (post_reply.community.is_moderator() or post_reply.community.is_owner() or current_user.is_admin()) -%}
  • {{ _('View Voting Activity') }}
  • {% endif -%}