This commit is contained in:
CocoByte 2024-09-18 23:08:39 -06:00
parent 89787fc978
commit 9b2b26a3e0
No known key found for this signature in database
GPG key ID: BBFAA2526384C97F
2 changed files with 1 additions and 4 deletions

View file

@ -103,6 +103,4 @@ def portfolio_permissions(request):
def is_widescreen_mode(request): def is_widescreen_mode(request):
widescreen_paths = ["/domains/", "/requests/"] widescreen_paths = ["/domains/", "/requests/"]
return { return {"is_widescreen_mode": any(path in request.path for path in widescreen_paths) or request.path == "/"}
"is_widescreen_mode": any(path in request.path for path in widescreen_paths) or request.path == "/"
}

View file

@ -565,7 +565,6 @@ class TestPortfolio(WebTest):
loaded into the DOM for org model pages""" loaded into the DOM for org model pages"""
self.check_widescreen_is_loaded("domains") self.check_widescreen_is_loaded("domains")
@less_console_noise_decorator @less_console_noise_decorator
@override_flag("organization_feature", active=False) @override_flag("organization_feature", active=False)
def test_widescreen_css_non_org_model(self): def test_widescreen_css_non_org_model(self):