mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-13 21:19:42 +02:00
resolve merge issues
This commit is contained in:
parent
faddfcec50
commit
58db599d60
3 changed files with 6 additions and 5 deletions
|
@ -143,7 +143,7 @@ class CheckPortfolioMiddleware:
|
||||||
if current_path == self.home and request.user.is_authenticated and request.user.is_org_user(request):
|
if current_path == self.home and request.user.is_authenticated and request.user.is_org_user(request):
|
||||||
|
|
||||||
if request.user.has_base_portfolio_permission():
|
if request.user.has_base_portfolio_permission():
|
||||||
portfolio = request.user.portfolio0
|
portfolio = request.user.portfolio
|
||||||
|
|
||||||
# Add the portfolio to the request object
|
# Add the portfolio to the request object
|
||||||
request.portfolio = portfolio
|
request.portfolio = portfolio
|
||||||
|
|
|
@ -39,8 +39,9 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="usa-nav__primary-item">
|
<li class="usa-nav__primary-item">
|
||||||
|
{% url 'portfolio-organization' portfolio.id as url %}
|
||||||
<!-- Move the padding from the a to the span so that the descenders do not get cut off -->
|
<!-- Move the padding from the a to the span so that the descenders do not get cut off -->
|
||||||
<a href="#" class="usa-nav-link padding-y-0">
|
<a href="{{ url }}" class="usa-nav-link padding-y-0">
|
||||||
<span class="ellipsis ellipsis--23 ellipsis--desktop-50 padding-y-1 desktop:padding-y-2">
|
<span class="ellipsis ellipsis--23 ellipsis--desktop-50 padding-y-1 desktop:padding-y-2">
|
||||||
{{ portfolio.organization_name }}
|
{{ portfolio.organization_name }}
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% extends 'portfolio.html' %}
|
{% extends 'portfolio_base.html' %}
|
||||||
|
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue