moviewyrm/bookwyrm/templates/settings/reports.html

28 lines
820 B
HTML
Raw Normal View History

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>
<ul>
{% for report in reports %}
<li class="card">
{% include 'settings/report_preview.html' with report=report %}
</li>
{% endfor %}
</ul>
{% endblock %}