manin nav active state when senior-official

This commit is contained in:
Rachid Mrad 2024-09-09 12:27:18 -04:00
parent 3a7044d31e
commit b824ebfa05
No known key found for this signature in database

View file

@ -70,7 +70,7 @@
<li class="usa-nav__primary-item">
{% url 'organization' as url %}
<!-- Move the padding from the a to the span so that the descenders do not get cut off -->
<a href="{{ url }}" class="usa-nav-link padding-y-0 {% if request.path == '/organization/' %} usa-current{% endif %}">
<a href="{{ url }}" class="usa-nav-link padding-y-0 {% if request.path == '/organization/' or request.path == '/senior-official/' %} usa-current{% endif %}">
<span class="ellipsis ellipsis--23 ellipsis--desktop-50 padding-y-1 desktop:padding-y-2">
{{ portfolio.organization_name }}
</span>