mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 19:09:22 +02:00
linted
This commit is contained in:
parent
89787fc978
commit
9b2b26a3e0
2 changed files with 1 additions and 4 deletions
|
@ -103,6 +103,4 @@ def portfolio_permissions(request):
|
|||
|
||||
def is_widescreen_mode(request):
|
||||
widescreen_paths = ["/domains/", "/requests/"]
|
||||
return {
|
||||
"is_widescreen_mode": any(path in request.path for path in widescreen_paths) or request.path == "/"
|
||||
}
|
||||
return {"is_widescreen_mode": any(path in request.path for path in widescreen_paths) or request.path == "/"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue