File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ def _override_openedx_docker_image(
151151 (
152152 f"mfe-env-config-runtime-definitions-{ mfe } " ,
153153 """
154- const { HeaderWidget, FooterWidget } = require("@anas_hameed/edly-saas-widget");
154+ const { HeaderWidget, FooterWidget, MultiSiteBannerWidget } = require("@anas_hameed/edly-saas-widget");
155155 """ ,
156156 ),
157157 ]
@@ -237,6 +237,17 @@ def _override_openedx_docker_image(
237237},
238238"""
239239
240+ ACCOUNT_FOOTER_WIDGET = FOOTER_WIDGET + """
241+ {
242+ op: PLUGIN_OPERATIONS.Insert,
243+ widget: {
244+ id: 'multi_site_banner_injector',
245+ type: DIRECT_PLUGIN,
246+ RenderWidget: MultiSiteBannerWidget,
247+ },
248+ },
249+ """
250+
240251HEADER_WIDGET = """
241252{
242253 op: PLUGIN_OPERATIONS.Hide,
@@ -261,6 +272,9 @@ def _override_openedx_docker_image(
261272 "authoring" : {
262273 "studio_footer_slot" : FOOTER_WIDGET
263274 },
275+ "account" : {
276+ "footer_slot" : ACCOUNT_FOOTER_WIDGET ,
277+ },
264278}
265279
266280DEFAULT_CONFIG = {
You can’t perform that action at this time.
0 commit comments