Add filter problems by solved
This commit is contained in:
parent
d1e5aaa3e1
commit
aa8abdec20
3 changed files with 23 additions and 4 deletions
|
@ -7,13 +7,20 @@
|
|||
<input id="search" type="text" name="search" value="{{ search_query or '' }}"
|
||||
placeholder="{{ _('Search problems...') }}">
|
||||
</div>
|
||||
{% if request.user.is_authenticated %}
|
||||
{% if feed_type != 'volunteer' and request.user.is_authenticated %}
|
||||
<div>
|
||||
<input id="hide_solved" type="checkbox" name="hide_solved" value="1"
|
||||
{% if hide_solved %}checked{% endif %}>
|
||||
<label for="hide_solved">{{ _('Hide solved problems') }}</label>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if feed_type == 'volunteer' and request.user.is_authenticated %}
|
||||
<div>
|
||||
<input id="show_solved_only" type="checkbox" name="show_solved_only" value="1"
|
||||
{% if show_solved_only %}checked{% endif %}>
|
||||
<label for="show_solved_only">{{ _('Show solved problems') }}</label>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if feed_type != 'volunteer' %}
|
||||
<div>
|
||||
<input id="show_types" type="checkbox" name="show_types" value="1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue