mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-29 21:11:16 +00:00
Adds missing templates
This commit is contained in:
parent
7599d18799
commit
ec8eb01a0f
2 changed files with 25 additions and 0 deletions
6
bookwyrm/templates/settings/invite_request_filters.html
Normal file
6
bookwyrm/templates/settings/invite_request_filters.html
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{% extends 'snippets/filters_panel/filters_panel.html' %}
|
||||||
|
|
||||||
|
{% block filter_fields %}
|
||||||
|
{% include 'settings/status_filter.html' %}
|
||||||
|
{% endblock %}
|
||||||
|
|
19
bookwyrm/templates/settings/status_filter.html
Normal file
19
bookwyrm/templates/settings/status_filter.html
Normal 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 %}
|
||||||
|
|
Loading…
Reference in a new issue