-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3468 from alphagov/filter-panel-facets
All content finder: Show filters based on actual facets
- Loading branch information
Showing
7 changed files
with
49 additions
and
25 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
app/views/finders/all_content_finder_facets/_date_facet.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<%= render "components/filter_section", { | ||
heading_text: date_facet.name, | ||
visually_hidden_heading_prefix: "Filter by", | ||
id: "facet_date_#{date_facet.key}" | ||
} do %> | ||
TODO: Date facet | ||
<% end %> |
1 change: 1 addition & 0 deletions
1
app/views/finders/all_content_finder_facets/_hidden_clearable_facet.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<%# TODO: Hidden clearable facet %> |
7 changes: 7 additions & 0 deletions
7
app/views/finders/all_content_finder_facets/_option_select_facet.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<%= render "components/filter_section", { | ||
heading_text: option_select_facet.name, | ||
visually_hidden_heading_prefix: "Filter by", | ||
id: "facet_option_select_#{option_select_facet.key}" | ||
} do %> | ||
TODO: Option select facet | ||
<% end %> |
7 changes: 7 additions & 0 deletions
7
app/views/finders/all_content_finder_facets/_taxon_facet.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<%= render "components/filter_section", { | ||
heading_text: taxon_facet.name, | ||
visually_hidden_heading_prefix: "Filter by", | ||
id: "facet_taxon_#{taxon_facet.key}" | ||
} do %> | ||
TODO: Taxon facet | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters