aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/organizations/navigation
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/organizations/navigation')
-rw-r--r--server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js12
-rw-r--r--server/sonar-web/src/main/js/apps/organizations/navigation/__tests__/__snapshots__/OrganizationNavigation-test.js.snap42
2 files changed, 27 insertions, 27 deletions
diff --git a/server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js b/server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js
index a167596b06f..eff625b4fac 100644
--- a/server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js
+++ b/server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js
@@ -86,13 +86,11 @@ export default class OrganizationNavigation extends React.Component {
<nav className="navbar navbar-context page-container" id="context-navigation">
<div className="navbar-context-inner">
<div className="container">
- <ul className="nav navbar-nav nav-crumbs">
- <li>
- <Link to={`/organizations/${organization.key}`}>
- {organization.name}
- </Link>
- </li>
- </ul>
+ <h2 className="navbar-context-title">
+ <Link to={`/organizations/${organization.key}`} className="link-base-color">
+ <strong>{organization.name}</strong>
+ </Link>
+ </h2>
<ul className="nav navbar-nav nav-tabs">
<li>
diff --git a/server/sonar-web/src/main/js/apps/organizations/navigation/__tests__/__snapshots__/OrganizationNavigation-test.js.snap b/server/sonar-web/src/main/js/apps/organizations/navigation/__tests__/__snapshots__/OrganizationNavigation-test.js.snap
index 361c77f09cb..4d4d4d7d237 100644
--- a/server/sonar-web/src/main/js/apps/organizations/navigation/__tests__/__snapshots__/OrganizationNavigation-test.js.snap
+++ b/server/sonar-web/src/main/js/apps/organizations/navigation/__tests__/__snapshots__/OrganizationNavigation-test.js.snap
@@ -6,17 +6,18 @@ exports[`test admin 1`] = `
className="navbar-context-inner">
<div
className="container">
- <ul
- className="nav navbar-nav nav-crumbs">
- <li>
- <Link
- onlyActiveOnIndex={false}
- style={Object {}}
- to="/organizations/foo">
+ <h2
+ className="navbar-context-title">
+ <Link
+ className="link-base-color"
+ onlyActiveOnIndex={false}
+ style={Object {}}
+ to="/organizations/foo">
+ <strong>
Foo
- </Link>
- </li>
- </ul>
+ </strong>
+ </Link>
+ </h2>
<ul
className="nav navbar-nav nav-tabs">
<li>
@@ -93,17 +94,18 @@ exports[`test regular user 1`] = `
className="navbar-context-inner">
<div
className="container">
- <ul
- className="nav navbar-nav nav-crumbs">
- <li>
- <Link
- onlyActiveOnIndex={false}
- style={Object {}}
- to="/organizations/foo">
+ <h2
+ className="navbar-context-title">
+ <Link
+ className="link-base-color"
+ onlyActiveOnIndex={false}
+ style={Object {}}
+ to="/organizations/foo">
+ <strong>
Foo
- </Link>
- </li>
- </ul>
+ </strong>
+ </Link>
+ </h2>
<ul
className="nav navbar-nav nav-tabs">
<li>