Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: replace use of mustache templates with edx-utils template #105

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions recommender/recommender.py
Original file line number Diff line number Diff line change
Expand Up @@ -998,12 +998,11 @@ def student_view(self, _context=None): # pylint: disable=unused-argument
))
frag.add_css_url("//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css")
frag.add_javascript_url("//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js")
frag.add_javascript_url('//cdnjs.cloudflare.com/ajax/libs/mustache.js/0.8.1/mustache.min.js')
frag.add_javascript_url('//cdnjs.cloudflare.com/ajax/libs/intro.js/0.5.0/intro.min.js')
frag.add_css(self.resource_string("static/css/tooltipster.css"))
frag.add_css(self.resource_string("static/css/tooltipster.bundle.min.css"))
frag.add_css(self.resource_string("static/css/recommender.css"))
frag.add_css(self.resource_string("static/css/introjs.css"))
frag.add_javascript(self.resource_string("static/js/src/jquery.tooltipster.min.js"))
frag.add_javascript(self.resource_string("static/js/src/tooltipster.bundle.min.js"))
if statici18n_js_url := self._get_statici18n_js_url():
frag.add_javascript(statici18n_js_url)
frag.add_javascript(self.resource_string("static/js/src/cats.js"))
Expand Down
1 change: 1 addition & 0 deletions recommender/static/css/tooltipster.bundle.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

264 changes: 0 additions & 264 deletions recommender/static/css/tooltipster.css

This file was deleted.

1 change: 0 additions & 1 deletion recommender/static/js/src/jquery.tooltipster.min.js

This file was deleted.

Loading