Skip to content

Commit

Permalink
Merge pull request #750 from maykinmedia/feature/1697-menubutton-on-m…
Browse files Browse the repository at this point in the history
…obile-when-onderwerpen-is-off

💄 [#1697] Hiding menu-button on mobile if Onderwerpen is hidden
  • Loading branch information
alextreme authored Aug 31, 2023
2 parents 01d78ba + 914b0e7 commit d18beb2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
<header class="header" aria-label="Navigatie header">
<div class="header__container">
<div class="header__menu">
{% if request.user.is_authenticated or not config.hide_categories_from_anonymous_users %}
<button class="header__button" aria-expanded="false">
<div class="header__menu-icon">
<span class="closed">{% trans "Menu" %}</span>
<span class="open">{% trans "Sluiten" %}</span>
</div>
</button>
{% endif %}
{% firstof config.logo.default_alt_text config.name as logo_alt_text %}
{% logo src=config.logo.file.url alt="Homepage "|add:logo_alt_text svg_height=75 %}

Expand Down

0 comments on commit d18beb2

Please sign in to comment.