2021-03-08 23:49:44 +00:00
|
|
|
{% extends 'settings/admin_layout.html' %}
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block header %}{% trans "Reports" %}{% endblock %}
|
|
|
|
|
|
|
|
{% block panel %}
|
|
|
|
<div class="tabs">
|
|
|
|
<ul>
|
|
|
|
<li class="{% if filter == 'open' %}is-active{% endif %}"{% if filter == 'open' %} aria-current="page"{% endif %}>
|
|
|
|
<a href="{% url 'settings-reports' %}?status=open">{% trans "Open" %}</a>
|
|
|
|
</li>
|
|
|
|
<li class="{% if filter == 'resolved' %}is-active{% endif %}"{% if filter == 'resolved' %} aria-current="page"{% endif %}>
|
|
|
|
<a href="{% url 'settings-reports' %}?status=closed">{% trans "Resolved" %}</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2021-03-09 18:08:02 +00:00
|
|
|
<div class="block">
|
2021-03-08 23:49:44 +00:00
|
|
|
{% for report in reports %}
|
2021-03-09 18:08:02 +00:00
|
|
|
<div class="block">
|
2021-03-08 23:49:44 +00:00
|
|
|
{% include 'settings/report_preview.html' with report=report %}
|
2021-03-09 18:08:02 +00:00
|
|
|
</div>
|
2021-03-08 23:49:44 +00:00
|
|
|
{% endfor %}
|
2021-03-09 18:08:02 +00:00
|
|
|
</div>
|
2021-03-08 23:49:44 +00:00
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|