Adds missing templates

This commit is contained in:
Mouse Reeve 2021-04-01 14:36:18 -07:00
parent 7599d18799
commit ec8eb01a0f
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,6 @@
{% extends 'snippets/filters_panel/filters_panel.html' %}
{% block filter_fields %}
{% include 'settings/status_filter.html' %}
{% endblock %}

View file

@ -0,0 +1,19 @@
{% extends 'snippets/filters_panel/filter_field.html' %}
{% load i18n %}
{% block filter %}
<legend class="label">{% trans "Status" %}</legend>
<label class="is-block">
<input type="checkbox" class="checkbox" name="status" value="requested" {% if not request.GET.status or "requested" in request.GET.status %}checked{% endif %}>
{% trans "Requested" %}
</label>
<label class="is-block">
<input type="checkbox" class="checkbox" name="status" value="sent" {% if not request.GET.status or "sent" in request.GET.status %}checked{% endif %}>
{% trans "Sent" %}
</label>
<label class="is-block">
<input type="checkbox" class="checkbox" name="status" value="accepted" {% if not request.GET.status or "accepted" in request.GET.status %}checked{% endif %}>
{% trans "Accepted" %}
</label>
{% endblock %}