## mako <%page expression_filter="h"/> <%namespace name='static' file='../../static_content.html'/> <%! from django.conf import settings from openedx.core.djangolib.js_utils import js_escaped_string from openedx.features.course_experience import SHOW_REVIEWS_TOOL_FLAG %> % if SHOW_REVIEWS_TOOL_FLAG.is_enabled(course.id):
## Coursetalk Widget
% endif <%static:webpack entry="CourseTalkReviews"> new CourseTalkReviews({ toggleButton: '.toggle-read-write-reviews', readSrc: "${settings.COURSE_TALK_READ_ONLY_SOURCE | n, js_escaped_string}", writeSrc: "${settings.COURSE_TALK_WRITE_ONLY_SOURCE | n, js_escaped_string}" });