diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2017-02-02 10:24:30 +0100 |
---|---|---|
committer | Stas Vilchik <stas-vilchik@users.noreply.github.com> | 2017-02-02 13:32:25 +0100 |
commit | b815ace63bf5ad05778734bcfab9a8191d164098 (patch) | |
tree | 362bfb75b80ae3c99c2673ce60fd20e165e2806f /server/sonar-web/src/main/js/apps/organizations/navigation | |
parent | 4f604c496b27ed6491330729e3ea6422faf69db8 (diff) | |
download | sonarqube-b815ace63bf5ad05778734bcfab9a8191d164098.tar.gz sonarqube-b815ace63bf5ad05778734bcfab9a8191d164098.zip |
fix display of organizations
Diffstat (limited to 'server/sonar-web/src/main/js/apps/organizations/navigation')
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> |