{% extends 'safety/safety_base.html' %} {% load custom_tags_and_filters %} {% block title %}Safety issues{% endblock %} {% block safety_title %}Existing safety issues{% endblock %} {% block tab_content %}

This page lists ongoing safety issues.

Use the buttons on the right side to report a safety concern or view past safety issues.

{% button type="delete" url="create_safety_issue" value="Report safety concern" icon="glyphicon-plus-sign" %} {% button type="info" url="resolved_safety_issues" value="Past safety issues" icon="glyphicon-list" %}
{% if tickets %} {% for ticket in tickets %} {% if user.is_staff %} {% endif %}

{% if ticket.id in notifications %} New {% endif %} Concern

{{ ticket.concern|linebreaksbr }}
{% if not ticket.visible %} This issue is hidden from users
{% endif %} {% if ticket.location %}Location: {{ ticket.location }}
{% endif %} {% if ticket.reporter %} Reported on {{ ticket.creation_time }}{% if user.is_staff %} by {{ ticket.reporter }}{% endif %}
{% else %} Reported anonymously on {{ ticket.creation_time }}
{% endif %}
{% if ticket.progress %}

Progress

{{ ticket.progress|linebreaksbr }}
{% endif %}
{% if user.is_staff %}
{% endif %} {% endfor %} {% else %}

There are no ongoing safety issues.

{% endif %} {% endblock %}