From: stanislavh Date: Fri, 10 Feb 2023 11:20:50 +0000 (+0100) Subject: SONAR-18130 Breadcrumb region is missing appropriate roles and/or attributes X-Git-Tag: 10.0.0.68432~233 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2549a33517216e6b0d15fe8b66db7b0f0d953231;p=sonarqube.git SONAR-18130 Breadcrumb region is missing appropriate roles and/or attributes --- diff --git a/server/sonar-web/src/main/js/app/styles/init/lists.css b/server/sonar-web/src/main/js/app/styles/init/lists.css index b61d1d68adb..a6bea0b85bb 100644 --- a/server/sonar-web/src/main/js/app/styles/init/lists.css +++ b/server/sonar-web/src/main/js/app/styles/init/lists.css @@ -46,6 +46,15 @@ ol.list-styled { list-style: none; } +.list-breadcrumbs > li { + display: inline-block; +} + +.list-breadcrumbs > li:not(:first-of-type)::before { + content: '/' / ''; + margin-inline: 3px; +} + ul.list-inline > li, div.list-inline > div { display: inline-block; diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileHeader.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileHeader.tsx index c02116e3877..b128ae8bdd8 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileHeader.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileHeader.tsx @@ -65,13 +65,18 @@ export default function ProfileHeader(props: Props) { )} /> )} -
- - {translate('quality_profiles.page')} - - {' / '} - {profile.languageName} -
+

diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties index e212d87eba0..9ff58aa9d78 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -29,6 +29,7 @@ beta=BETA blocker=Blocker bold=Bold branch=Branch +breadcrumbs=Breadcrumbs by_=by calendar=Calendar cancel=Cancel