feat: added beamer to edx-platform (#33701)
This commit is contained in:
@@ -2859,3 +2859,4 @@ derived_collection_entry('EVENT_BUS_PRODUCER_CONFIG', 'org.openedx.content_autho
|
||||
'course-authoring-xblock-lifecycle', 'enabled')
|
||||
derived_collection_entry('EVENT_BUS_PRODUCER_CONFIG', 'org.openedx.content_authoring.xblock.deleted.v1',
|
||||
'course-authoring-xblock-lifecycle', 'enabled')
|
||||
BEAMER_PRODUCT_ID = ""
|
||||
|
||||
@@ -678,3 +678,4 @@ INACTIVE_USER_URL = f'http{"s" if HTTPS == "on" else ""}://{CMS_BASE}'
|
||||
############## Event bus producer ##############
|
||||
EVENT_BUS_PRODUCER_CONFIG = merge_producer_configs(EVENT_BUS_PRODUCER_CONFIG,
|
||||
ENV_TOKENS.get('EVENT_BUS_PRODUCER_CONFIG', {}))
|
||||
BEAMER_PRODUCT_ID = ENV_TOKENS.get('BEAMER_PRODUCT_ID', BEAMER_PRODUCT_ID)
|
||||
|
||||
@@ -188,4 +188,10 @@ from openedx.core.release import RELEASE_LINE
|
||||
<%include file="widgets/segment-io-footer.html" />
|
||||
<div class="modal-cover"></div>
|
||||
</body>
|
||||
<script>
|
||||
var beamer_config = {
|
||||
product_id : "${settings.BEAMER_PRODUCT_ID | n, js_escaped_string}"
|
||||
};
|
||||
</script>
|
||||
<script type="text/javascript" src="https://app.getbeamer.com/js/beamer-embed.js" defer="defer"></script>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user