Skip to content

Commit

Permalink
add page slug in the id for other side menus
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-Crow committed Jul 25, 2024
1 parent 8cdd876 commit 7172ae7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions blog/templates/blog/blog_index_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ <h1>
<div class="fr-sidemenu__inner">
<button class="fr-sidemenu__btn"
hidden
aria-controls="fr-sidemenu-wrapper"
aria-controls="fr-sidemenu-wrapper-{{ page.slug }}"
aria-expanded="false">{% translate "Filters" %}</button>
<div class="fr-collapse" id="fr-sidemenu-wrapper">
<div class="fr-collapse" id="fr-sidemenu-wrapper-{{ page.slug }}">
<div class="fr-sidemenu__title" id="fr-sidemenu-title">{% translate "Filters" %}</div>
{% if categories and page.filter_by_category %}
<div class="fr-my-3w">
Expand Down
4 changes: 2 additions & 2 deletions events/templates/events/events_archive_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ <h1>
<div class="fr-sidemenu__inner">
<button class="fr-sidemenu__btn"
hidden
aria-controls="fr-sidemenu-wrapper"
aria-controls="fr-sidemenu-wrapper-{{ page.slug }}"
aria-expanded="false">{% translate "Filters" %}</button>
<div class="fr-collapse" id="fr-sidemenu-wrapper">
<div class="fr-collapse" id="fr-sidemenu-wrapper-{{ page.slug }}">
<div class="fr-sidemenu__title" id="fr-sidemenu-title">{% translate "Filters and export" %}</div>

<div class="fr-my-3w">
Expand Down
4 changes: 2 additions & 2 deletions events/templates/events/events_index_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ <h1>
<div class="fr-sidemenu__inner">
<button class="fr-sidemenu__btn"
hidden
aria-controls="fr-sidemenu-wrapper"
aria-controls="fr-sidemenu-wrapper-{{ page.slug }}"
aria-expanded="false">{% translate "Filters" %}</button>
<div class="fr-collapse" id="fr-sidemenu-wrapper">
<div class="fr-collapse" id="fr-sidemenu-wrapper-{{ page.slug }}">
<div class="fr-sidemenu__title" id="fr-sidemenu-title">{% translate "Filters and export" %}</div>

<h2 class="fr-h6">{% translate "Filter by date" %}</h2>
Expand Down

0 comments on commit 7172ae7

Please sign in to comment.