[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

@@ -65,19 +65,6 @@ class ProgramsFragmentView(EdxFragmentView):
"""
return _('Programs')
def css_dependencies(self):
"""
Returns list of CSS files that this view depends on.
The helper function that it uses to obtain the list of CSS files
works in conjunction with the Django pipeline to ensure that in development mode
the files are loaded individually, but in production just the single bundle is loaded.
"""
if get_language_bidi():
return self.get_css_dependencies('style-learner-dashboard-rtl')
else:
return self.get_css_dependencies('style-learner-dashboard')
class ProgramDetailsFragmentView(EdxFragmentView):
"""
@@ -161,16 +148,3 @@ class ProgramDetailsFragmentView(EdxFragmentView):
Return page title for the standalone page.
"""
return _('Program Details')
def css_dependencies(self):
"""
Returns list of CSS files that this view depends on.
The helper function that it uses to obtain the list of CSS files
works in conjunction with the Django pipeline to ensure that in development mode
the files are loaded individually, but in production just the single bundle is loaded.
"""
if get_language_bidi():
return self.get_css_dependencies('style-learner-dashboard-rtl')
else:
return self.get_css_dependencies('style-learner-dashboard')