From 536ee99c52f9e7ac3afaa65f4a5ac2f6f7302746 Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon, 18 Jul 2022 12:40:49 +0100 Subject: [PATCH] [JENKINS-68986] Remove link element from breadcrumb items without href (#6837) Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com> --- .../resources/lib/layout/breadcrumb.jelly | 21 ++++++++++++---- .../resources/lib/layout/breadcrumbBar.jelly | 17 ++++--------- war/src/main/less/modules/breadcrumbs.less | 24 ++++++++++--------- 3 files changed, 33 insertions(+), 29 deletions(-) diff --git a/core/src/main/resources/lib/layout/breadcrumb.jelly b/core/src/main/resources/lib/layout/breadcrumb.jelly index 56117a62d83d..69c451477aaf 100644 --- a/core/src/main/resources/lib/layout/breadcrumb.jelly +++ b/core/src/main/resources/lib/layout/breadcrumb.jelly @@ -26,6 +26,9 @@ THE SOFTWARE. Used inside <l:layout> to render additional breadcrumb items. + + Display name of the breadcrumb. + URL that the breadcrumb item links to. Can be omitted. @@ -33,16 +36,24 @@ THE SOFTWARE. If specified, this ID will be assigned to the LI element. This is useful for programmatically adding the context menu - - Display name of the breadcrumb. + + If true, this breadcrumb item will include a '⌄' symbol to display a dropdown menu with items + from the '{breadcrumb.href}/contextMenu' path. Since TODO
  • - - ${attrs.title} - + + + ${attrs.title} + + + + ${attrs.title} + + +
  • diff --git a/core/src/main/resources/lib/layout/breadcrumbBar.jelly b/core/src/main/resources/lib/layout/breadcrumbBar.jelly index 770e4ee15beb..cb2047167653 100644 --- a/core/src/main/resources/lib/layout/breadcrumbBar.jelly +++ b/core/src/main/resources/lib/layout/breadcrumbBar.jelly @@ -42,19 +42,10 @@ THE SOFTWARE.