{% if current_user.is_authenticated -%} {% if post_reply.user_id == current_user.id -%}
  • {{ _('Edit') }}
  • {% endif -%} {% if post_reply.user_id == current_user.id or post.community.is_moderator() or post.community.is_owner() or current_user.is_admin() -%} {% if post_reply.deleted -%}
  • {{ _('Restore') }}
  • {% if not post_reply.has_replies() -%} {% if post.community.is_moderator() or current_user.is_admin() or (post_reply.user_id == current_user.id and post_reply.deleted_by == post_reply.user_id) -%}
  • {{ _('Purge') }}
  • {% endif -%} {% endif -%} {% else -%}
  • {{ _('Delete') }}
  • {% endif -%} {% endif -%} {% if existing_bookmark -%}
  • {{ _('Remove bookmark') }}
  • {% else -%}
  • {{ _('Bookmark') }}
  • {% endif -%} {% if post_reply.user_id != current_user.id -%}
  • {{ _('Block author @%(author_name)s', author_name=post_reply.author.user_name) }}
  • {% if post_reply.instance_id and post_reply.instance_id != 1 -%}
  • {{ _("Hide every post from author's instance: %(name)s", name=post_reply.instance.domain) }}
  • {% endif -%} {% endif -%} {% if current_user.is_authenticated and (current_user.is_admin() or current_user.is_staff()) -%}
  • {{ _('View Voting Activity') }}
  • {% endif -%} {% endif -%}
  • {{ _('Report to moderators') }}