{% extends 'profile/base.html' %} {% load qa_tags %} {% block content %} Flags raised by {{profileData}} - Stack Overflow

Flags raised by {{profileData}}

Flagging is a way to bring inappropriate content or behavior to the attention of the community. See: What is flagging?
These are the flags that you have raised, along with their current status. You can filter this list using the links in the sidebar.

{% for flag in results %}
{% if flag.question_forFlag %} {{flag.actions_Flag_Q}} {% elif flag.answer_forFlag %} {{flag.actions_Flag_Q}} {% else %} {{flag.why_flagging}} {% endif %} – {% if flag.question_forFlag %} {{flag.flagged_by}} {% elif flag.answer_forFlag %} {{flag.flagged_by}} {% else %} {{flag.flagged_by}} {% endif %} {% if flag.question_forFlag %} {{flag.flagged_at}} {% elif flag.answer_forFlag %} {{flag.flagged_at}} {% else %} {{flag.date}} {% endif %}   {% if flag.question_forFlag %} {% for review in flag.question_forFlag.reviewflagpost_set.all %} {% if review.flagReviewActions == "DELETE_IT" or review.flagReviewActions == "CLOSE_IT" %} Helpful {% elif review.flagReviewActions == "STAY_AS_IT_IS" %} Rejected {% endif %} {% endfor %} {% elif flag.answer_forFlag %} {% for review in flag.answer_forFlag.reviewflagpost_set.all %} {% if review.flagReviewActions == "DELETE_IT" or review.flagReviewActions == "CLOSE_IT" %} Helpful {% elif review.flagReviewActions == "STAY_AS_IT_IS" %} Rejected {% endif %} {% endfor %} {% else %} {% for review in flag.comment_of.reviewflagcomment_set.all %} {% if review.c_flagReviewActions == "DELETE_IT" %} Helpful {% else %} Rejected {% endif %} {% endfor %} {% endif %}
{% endfor %}
 
{% endblock content %}