From 91247fa02f08bf79c7d5c1efce7f61b7f1c0149f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B4mulo=20Penido?= Date: Wed, 21 May 2025 20:50:57 -0300 Subject: [PATCH] fix: remove double edit buttons on unit outline (#36770) --- cms/templates/studio_xblock_wrapper.html | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/cms/templates/studio_xblock_wrapper.html b/cms/templates/studio_xblock_wrapper.html index f349ea9786..7ecf299722 100644 --- a/cms/templates/studio_xblock_wrapper.html +++ b/cms/templates/studio_xblock_wrapper.html @@ -211,13 +211,12 @@ upstream_info = UpstreamLink.try_get_for_block(xblock, log_error=False) % endif - % if not show_inline: -
  • - - ${_("Details")} - -
  • - % endif + % elif not show_inline: +
  • + + ${_("Details")} + +
  • % endif % endif