From 7dd00034ba127fd7bebe3445c0711d228e9749ab Mon Sep 17 00:00:00 2001 From: Christian Beeznest Date: Tue, 20 May 2025 16:07:06 -0500 Subject: [PATCH] Course: Fix breadcrumb in Vue tools, show tool name and folder hierarchy - refs BT#20950 --- assets/vue/components/Breadcrumb.vue | 73 +++++++++++++++++++++++- public/main/course_description/index.php | 1 - public/main/course_progress/index.php | 5 -- 3 files changed, 71 insertions(+), 8 deletions(-) diff --git a/assets/vue/components/Breadcrumb.vue b/assets/vue/components/Breadcrumb.vue index b1311d1da1d..e6b2c1f68bd 100644 --- a/assets/vue/components/Breadcrumb.vue +++ b/assets/vue/components/Breadcrumb.vue @@ -25,12 +25,13 @@ diff --git a/public/main/course_description/index.php b/public/main/course_description/index.php index fc60c687293..78b3a5cee08 100644 --- a/public/main/course_description/index.php +++ b/public/main/course_description/index.php @@ -32,7 +32,6 @@ } // interbreadcrumb -$interbreadcrumb[] = ['url' => 'index.php?'.api_get_cidreq(), 'name' => get_lang('Description')]; if (1 == $description_type) { $interbreadcrumb[] = ['url' => '#', 'name' => get_lang('Description')]; } diff --git a/public/main/course_progress/index.php b/public/main/course_progress/index.php index 7dbb278a6c7..b93ee3b875b 100644 --- a/public/main/course_progress/index.php +++ b/public/main/course_progress/index.php @@ -179,11 +179,6 @@ function update_done_thematic_advance(selected_value) { $action = 'thematic_details'; } -$interbreadcrumb[] = [ - 'url' => $currentUrl, - 'name' => get_lang('Thematic control'), -]; - $actionLeft = ''; // instance thematic object for using like library here $thematicManager = new Thematic();