Skip to content

Commit

Permalink
Filter section status: Use status text in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
csutter committed Oct 4, 2024
1 parent 47d7b25 commit 515a5f2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<%= render "components/filter_section", {
heading_text: date_facet.name,
visually_hidden_heading_prefix: "Filter by",
status_text: date_facet.status_text,
id: "facet_date_#{date_facet.key}",
index_section: index,
index_section_count: count,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<%= render "components/filter_section", {
heading_text: option_select_facet.name,
visually_hidden_heading_prefix: "Filter by",
status_text: option_select_facet.status_text,
id: "facet_option_select_#{option_select_facet.key}",
index_section: index,
index_section_count: count,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<%= render "components/filter_section", {
heading_text: sort_facet.name,
status_text: sort_facet.status_text,
id: "facet_sort",
index_section: index,
index_section_count: count,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<%= render "components/filter_section", {
heading_text: taxon_facet.name,
visually_hidden_heading_prefix: "Filter by",
status_text: taxon_facet.status_text,
id: "facet_taxon_#{taxon_facet.key}",
index_section: index,
index_section_count: count,
Expand Down

0 comments on commit 515a5f2

Please sign in to comment.