mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 02:48:25 -04:00
Adjusting conditional logic to hide responsive menu button if navigation isn't present
This commit is contained in:
@@ -55,12 +55,11 @@
|
|||||||
<em class="logo-text usa-logo__text">
|
<em class="logo-text usa-logo__text">
|
||||||
<a href="/" title="notify.gov">notify.gov</a>
|
<a href="/" title="notify.gov">notify.gov</a>
|
||||||
</em>
|
</em>
|
||||||
<button type="button" class="usa-menu-btn">Menu</button>
|
{% if params.navigation %}
|
||||||
|
<button type="button" class="usa-menu-btn">Menu</button>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% if current_user.is_authenticated %}
|
</div>
|
||||||
<button type="button" class="usa-menu-btn">Menu</button>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
<nav aria-label="Primary navigation" class="usa-nav">
|
<nav aria-label="Primary navigation" class="usa-nav">
|
||||||
<div class="usa-nav__inner">
|
<div class="usa-nav__inner">
|
||||||
<button type="button" class="usa-nav__close">
|
<button type="button" class="usa-nav__close">
|
||||||
|
|||||||
Reference in New Issue
Block a user