From 6f8e1367c7616ba1f2b83d8a5071cd353669deca 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 f349ea978686..7ecf2997220a 100644 --- a/cms/templates/studio_xblock_wrapper.html +++ b/cms/templates/studio_xblock_wrapper.html @@ -211,13 +211,12 @@ % endif - % if not show_inline: -
  • - - ${_("Details")} - -
  • - % endif + % elif not show_inline: +
  • + + ${_("Details")} + +
  • % endif % endif