Browse Source

SONAR-12695 Add a single Community link in the footer

tags/8.5.0.37579
Wouter Admiraal 3 years ago
parent
commit
e8c6d6921a

+ 16
- 8
server/sonar-web/src/main/js/app/components/GlobalFooter.tsx View File

@@ -70,21 +70,29 @@ export default function GlobalFooter({
</li>
)}
<li className="page-footer-menu-item">
<a href="http://www.gnu.org/licenses/lgpl-3.0.txt">{translate('footer.license')}</a>
<a
href="http://www.gnu.org/licenses/lgpl-3.0.txt"
rel="noopener noreferrer"
target="_blank">
{translate('footer.license')}
</a>
</li>
<li className="page-footer-menu-item">
<a href="http://www.sonarqube.org?referrer=sonarqube">{translate('footer.community')}</a>
<a
href="https://community.sonarsource.com/c/help/sq"
rel="noopener noreferrer"
target="_blank">
{translate('footer.community')}
</a>
</li>
<li className="page-footer-menu-item">
<Link to="/documentation">{translate('footer.documentation')}</Link>
</li>
<li className="page-footer-menu-item">
<a href="https://redirect.sonarsource.com/doc/community.html">
{translate('footer.support')}
</a>
</li>
<li className="page-footer-menu-item">
<a href="https://redirect.sonarsource.com/doc/plugin-library.html">
<a
href="https://redirect.sonarsource.com/doc/plugin-library.html"
rel="noopener noreferrer"
target="_blank">
{translate('footer.plugins')}
</a>
</li>

+ 21
- 30
server/sonar-web/src/main/js/app/components/__tests__/__snapshots__/GlobalFooter-test.tsx.snap View File

@@ -24,6 +24,8 @@ exports[`should display the sq version 1`] = `
>
<a
href="http://www.gnu.org/licenses/lgpl-3.0.txt"
rel="noopener noreferrer"
target="_blank"
>
footer.license
</a>
@@ -32,7 +34,9 @@ exports[`should display the sq version 1`] = `
className="page-footer-menu-item"
>
<a
href="http://www.sonarqube.org?referrer=sonarqube"
href="https://community.sonarsource.com/c/help/sq"
rel="noopener noreferrer"
target="_blank"
>
footer.community
</a>
@@ -48,20 +52,13 @@ exports[`should display the sq version 1`] = `
footer.documentation
</Link>
</li>
<li
className="page-footer-menu-item"
>
<a
href="https://redirect.sonarsource.com/doc/community.html"
>
footer.support
</a>
</li>
<li
className="page-footer-menu-item"
>
<a
href="https://redirect.sonarsource.com/doc/plugin-library.html"
rel="noopener noreferrer"
target="_blank"
>
footer.plugins
</a>
@@ -106,6 +103,8 @@ exports[`should not render the only logged in information 1`] = `
>
<a
href="http://www.gnu.org/licenses/lgpl-3.0.txt"
rel="noopener noreferrer"
target="_blank"
>
footer.license
</a>
@@ -114,7 +113,9 @@ exports[`should not render the only logged in information 1`] = `
className="page-footer-menu-item"
>
<a
href="http://www.sonarqube.org?referrer=sonarqube"
href="https://community.sonarsource.com/c/help/sq"
rel="noopener noreferrer"
target="_blank"
>
footer.community
</a>
@@ -130,20 +131,13 @@ exports[`should not render the only logged in information 1`] = `
footer.documentation
</Link>
</li>
<li
className="page-footer-menu-item"
>
<a
href="https://redirect.sonarsource.com/doc/community.html"
>
footer.support
</a>
</li>
<li
className="page-footer-menu-item"
>
<a
href="https://redirect.sonarsource.com/doc/plugin-library.html"
rel="noopener noreferrer"
target="_blank"
>
footer.plugins
</a>
@@ -173,6 +167,8 @@ exports[`should render the only logged in information 1`] = `
>
<a
href="http://www.gnu.org/licenses/lgpl-3.0.txt"
rel="noopener noreferrer"
target="_blank"
>
footer.license
</a>
@@ -181,7 +177,9 @@ exports[`should render the only logged in information 1`] = `
className="page-footer-menu-item"
>
<a
href="http://www.sonarqube.org?referrer=sonarqube"
href="https://community.sonarsource.com/c/help/sq"
rel="noopener noreferrer"
target="_blank"
>
footer.community
</a>
@@ -197,20 +195,13 @@ exports[`should render the only logged in information 1`] = `
footer.documentation
</Link>
</li>
<li
className="page-footer-menu-item"
>
<a
href="https://redirect.sonarsource.com/doc/community.html"
>
footer.support
</a>
</li>
<li
className="page-footer-menu-item"
>
<a
href="https://redirect.sonarsource.com/doc/plugin-library.html"
rel="noopener noreferrer"
target="_blank"
>
footer.plugins
</a>

+ 0
- 1
sonar-core/src/main/resources/org/sonar/l10n/core.properties View File

@@ -3102,7 +3102,6 @@ footer.privacy=Privacy
footer.production_database_explanation=The embedded database will not scale, it will not support upgrading to newer versions of {instance}, and there is no support for migrating your data out of it into a different database engine.
footer.production_database_warning=Embedded database should be used for evaluation purposes only
footer.security=Security
footer.support=Get Support
footer.status=Status
footer.terms=Terms
footer.twitter=Twitter

Loading…
Cancel
Save