forked from mirrors/bookwyrm
27 lines
820 B
HTML
27 lines
820 B
HTML
{% 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>
|
|
|
|
<ul>
|
|
{% for report in reports %}
|
|
<li class="card">
|
|
{% include 'settings/report_preview.html' with report=report %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
{% endblock %}
|
|
|