aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js')
-rw-r--r--server/sonar-web/src/main/js/app/components/GlobalFooterSonarCloud.tsx3
-rw-r--r--server/sonar-web/src/main/js/app/components/__tests__/__snapshots__/GlobalFooterSonarCloud-test.tsx.snap11
-rw-r--r--server/sonar-web/src/main/js/apps/about/sonarcloud/Footer.tsx5
3 files changed, 19 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/app/components/GlobalFooterSonarCloud.tsx b/server/sonar-web/src/main/js/app/components/GlobalFooterSonarCloud.tsx
index 87d9cb5d715..3c45ab1a6e1 100644
--- a/server/sonar-web/src/main/js/app/components/GlobalFooterSonarCloud.tsx
+++ b/server/sonar-web/src/main/js/app/components/GlobalFooterSonarCloud.tsx
@@ -60,6 +60,9 @@ export default function GlobalFooterSonarCloud() {
<Link to="/documentation/privacy">{translate('footer.privacy')}</Link>
</li>
<li className="page-footer-menu-item">
+ <Link to="/documentation/security">{translate('footer.security')}</Link>
+ </li>
+ <li className="page-footer-menu-item">
<a
href="https://community.sonarsource.com/c/help/sc"
rel="noopener noreferrer"
diff --git a/server/sonar-web/src/main/js/app/components/__tests__/__snapshots__/GlobalFooterSonarCloud-test.tsx.snap b/server/sonar-web/src/main/js/app/components/__tests__/__snapshots__/GlobalFooterSonarCloud-test.tsx.snap
index fd080d29f0c..3f5dac2e82e 100644
--- a/server/sonar-web/src/main/js/app/components/__tests__/__snapshots__/GlobalFooterSonarCloud-test.tsx.snap
+++ b/server/sonar-web/src/main/js/app/components/__tests__/__snapshots__/GlobalFooterSonarCloud-test.tsx.snap
@@ -69,6 +69,17 @@ exports[`should render correctly 1`] = `
<li
className="page-footer-menu-item"
>
+ <Link
+ onlyActiveOnIndex={false}
+ style={Object {}}
+ to="/documentation/security"
+ >
+ footer.security
+ </Link>
+ </li>
+ <li
+ className="page-footer-menu-item"
+ >
<a
href="https://community.sonarsource.com/c/help/sc"
rel="noopener noreferrer"
diff --git a/server/sonar-web/src/main/js/apps/about/sonarcloud/Footer.tsx b/server/sonar-web/src/main/js/apps/about/sonarcloud/Footer.tsx
index 327e3d7875f..202ae9f353c 100644
--- a/server/sonar-web/src/main/js/apps/about/sonarcloud/Footer.tsx
+++ b/server/sonar-web/src/main/js/apps/about/sonarcloud/Footer.tsx
@@ -103,6 +103,11 @@ export default function Footer() {
Privacy
</Link>
</li>
+ <li className="spacer-top">
+ <Link className="sc-footer-link" to="/documentation/security">
+ Security
+ </Link>
+ </li>
</ul>
</div>
</nav>