[BD-10] [DEPR-92] Remove scss files that use pattern library

This commit is contained in:
Aura Milena Alba
2020-08-12 12:12:36 -05:00
committed by GitHub
parent dbe40dae1a
commit 0192de00b2
41 changed files with 1 additions and 2460 deletions

View File

@@ -27,12 +27,10 @@ def show_reference_template(request, template):
e.g. /template/ux/reference/index.html?name=Foo
"""
try:
uses_pattern_library = u'/pattern-library/' in request.path
is_v1 = u'/v1/' in request.path
uses_bootstrap = not uses_pattern_library and not is_v1
uses_bootstrap = not is_v1
context = {
'request': request,
'uses_pattern_library': uses_pattern_library,
'uses_bootstrap': uses_bootstrap,
}
context.update(request.GET.dict())