diff --git a/cms/templates/studio_xblock_wrapper.html b/cms/templates/studio_xblock_wrapper.html index 9ae3a3a5dd..b2fc928f42 100644 --- a/cms/templates/studio_xblock_wrapper.html +++ b/cms/templates/studio_xblock_wrapper.html @@ -20,6 +20,7 @@ show_inline = xblock.has_children and not xblock_url section_class = "level-nesting" if show_inline else "level-element" label = determine_label(xblock.display_name_with_default, xblock.scope_ids.block_type) messages = xblock.validate().to_json() +has_not_configured_message = messages.get('summary',{}).get('type', None) == 'not-configured' block_is_unit = is_unit(xblock) %> @@ -190,7 +191,7 @@ block_is_unit = is_unit(xblock) % if not is_root:
- % if xblock_url: + % if xblock_url and not has_not_configured_message:
${_('This block contains multiple components.')}