mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-15 04:36:34 +00:00
Merge branch 'main' into production
This commit is contained in:
commit
afa831d140
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