Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove tasks from search filters #81

Open
wants to merge 1 commit into
base: PO-331
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ Perustuu projektiin [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
- PO-288: Teeman värit manifest tiedostoon ja meta tagiin
- PO-267: Näytetään kun haku on käynnissä

### Muutettu
- PO-349: Otetaan "tasks" pois haku filttereistä

### Korjattu
- PO-293: Vinkkien järjestäminen

Expand Down
29 changes: 14 additions & 15 deletions content/themes/custom/partials/shared/agegroup-filters.dust
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,24 @@
<div class="filter-opener">
<input type="checkbox" class="custom checkbox" name="post_guids[]" value="{.guid}">
<p>{@apititle /}</p>
<input type="checkbox" role="button" class="collapse-toggle custom checkbox">
<div class="collapsed">
<div class="collapsed-content checkbox field-list">

{?taskgroups}
{@set key="children" value=taskgroups /}
{:else}
{@set key="children" value=tasks /}
{/taskgroups}
{?taskgroups}
<input type="checkbox" role="button" class="collapse-toggle custom checkbox">
<div class="collapsed">
<div class="collapsed-content checkbox field-list">

{#children}
<label class="filter-opener">
<input type="checkbox" class="custom checkbox" name="post_guids[]" value="{.guid}">
<p>{@apititle /}</p>
</label>
{/children}
{#taskgroups}
<label class="filter-opener">
<input type="checkbox" class="custom checkbox" name="post_guids[]" value="{.guid}">
<p>{@apititle /}</p>
</label>
{/taskgroups}

</div>
</div>
</div>
{:else}
<div class="collapsed"></div>
{/taskgroups}
</div>
{/taskgroups}

Expand Down