mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-21 20:09:23 +02:00
linted
This commit is contained in:
parent
15fc5bf0e9
commit
40d6423bb6
1 changed files with 4 additions and 1 deletions
|
@ -96,6 +96,9 @@ def portfolio_permissions(request):
|
||||||
"has_organization_feature_flag": False,
|
"has_organization_feature_flag": False,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
def is_widescreen_mode(request):
|
def is_widescreen_mode(request):
|
||||||
widescreen_paths = ["/domains/", "/requests/"]
|
widescreen_paths = ["/domains/", "/requests/"]
|
||||||
return {"is_widescreen_mode": any(path in request.path for path in widescreen_paths)} #any(path in request.path for path in widescreen_paths)
|
return {
|
||||||
|
"is_widescreen_mode": any(path in request.path for path in widescreen_paths)
|
||||||
|
} # any(path in request.path for path in widescreen_paths)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue