2021-03-08 23:49:44 +00:00
|
|
|
{% extends 'settings/admin_layout.html' %}
|
|
|
|
{% load i18n %}
|
|
|
|
|
2021-03-09 20:35:07 +00:00
|
|
|
{% block title %}{% trans "Reports" %}{% endblock %}
|
2021-03-08 23:49:44 +00:00
|
|
|
{% block header %}{% trans "Reports" %}{% endblock %}
|
|
|
|
|
|
|
|
{% block panel %}
|
|
|
|
<div class="tabs">
|
|
|
|
<ul>
|
2021-03-09 20:35:07 +00:00
|
|
|
<li class="{% if not resolved %}is-active{% endif %}"{% if not resolved == 'open' %} aria-current="page"{% endif %}>
|
|
|
|
<a href="{% url 'settings-reports' %}?resolved=false">{% trans "Open" %}</a>
|
2021-03-08 23:49:44 +00:00
|
|
|
</li>
|
2021-03-09 20:35:07 +00:00
|
|
|
<li class="{% if resolved %}is-active{% endif %}"{% if resolved %} aria-current="page"{% endif %}>
|
|
|
|
<a href="{% url 'settings-reports' %}?resolved=true">{% trans "Resolved" %}</a>
|
2021-03-08 23:49:44 +00:00
|
|
|
</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 %}
|
|
|
|
|