mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 23:23:12 -04:00
Merge pull request #604 from GSA/602-no-top-nav-for-logged-in-users
bug: Adjust conditional code to show nav when user is logged in
This commit is contained in:
@@ -110,7 +110,8 @@
|
|||||||
] %}
|
] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set navigation = [
|
<!-- Add navigation back after pilot -->
|
||||||
|
{# {% set navigation = [
|
||||||
{
|
{
|
||||||
"href": url_for('main.get_started'),
|
"href": url_for('main.get_started'),
|
||||||
"text": "Using notify",
|
"text": "Using notify",
|
||||||
@@ -131,7 +132,7 @@
|
|||||||
"text": "Sign in",
|
"text": "Sign in",
|
||||||
"active": header_navigation.is_selected('sign-in')
|
"active": header_navigation.is_selected('sign-in')
|
||||||
}
|
}
|
||||||
] %}
|
] %} #}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{{ govukHeader({
|
{{ govukHeader({
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<fieldset class="govuk-fieldset margin-bottom-5
|
<fieldset class="govuk-fieldset margin-y-5
|
||||||
{%- if params.classes %} {{ params.classes }}{% endif %}"
|
{%- if params.classes %} {{ params.classes }}{% endif %}"
|
||||||
{%- if params.describedBy %} aria-describedby="{{ params.describedBy }}"{% endif %}
|
{%- if params.describedBy %} aria-describedby="{{ params.describedBy }}"{% endif %}
|
||||||
{%- for attribute, value in params.attributes %} {{ attribute }}="{{ value }}"{% endfor %}>
|
{%- for attribute, value in params.attributes %} {{ attribute }}="{{ value }}"{% endfor %}>
|
||||||
|
|||||||
@@ -71,7 +71,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<button type="button" class="usa-menu-btn">Menu</button>
|
<button type="button" class="usa-menu-btn">Menu</button>
|
||||||
</div>
|
</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">
|
||||||
<img src="/static/images/usa-icons/close.svg" role="img" alt="Close" />
|
<img src="/static/images/usa-icons/close.svg" role="img" alt="Close" />
|
||||||
@@ -117,5 +117,5 @@
|
|||||||
</section> -->
|
</section> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav> #}
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
Reference in New Issue
Block a user