mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 19:20:47 +02:00
fix test
This commit is contained in:
parent
7089977c16
commit
425e7e995b
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ def is_widescreen_mode(request):
|
||||||
]
|
]
|
||||||
is_widescreen = any(path in request.path for path in widescreen_paths) or request.path == "/"
|
is_widescreen = any(path in request.path for path in widescreen_paths) or request.path == "/"
|
||||||
is_portfolio_widescreen = bool(
|
is_portfolio_widescreen = bool(
|
||||||
|
hasattr(request.user, "is_org_user") and
|
||||||
request.user.is_org_user(request) and
|
request.user.is_org_user(request) and
|
||||||
any(path in request.path for path in portfolio_widescreen_paths)
|
any(path in request.path for path in portfolio_widescreen_paths)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue