From: Stas Vilchik Date: Mon, 30 Apr 2018 15:48:01 +0000 (+0200) Subject: SONAR-10609 add web api link X-Git-Tag: 7.5~1268 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=093c4b17921519b435fe868672774dd3aa0d544c;p=sonarqube.git SONAR-10609 add web api link --- diff --git a/server/sonar-web/src/main/js/app/components/embed-docs-modal/EmbedDocsPopup.tsx b/server/sonar-web/src/main/js/app/components/embed-docs-modal/EmbedDocsPopup.tsx index 9a886fb4508..1c2ba28fa9d 100644 --- a/server/sonar-web/src/main/js/app/components/embed-docs-modal/EmbedDocsPopup.tsx +++ b/server/sonar-web/src/main/js/app/components/embed-docs-modal/EmbedDocsPopup.tsx @@ -155,6 +155,11 @@ export default class EmbedDocsPopup extends React.PureComponent { +
  • + + {translate('api_documentation.page')} + +
  • {this.context.onSonarCloud && this.renderSonarCloudLinks()} {!this.context.onSonarCloud && this.renderSonarQubeLinks()} diff --git a/server/sonar-web/src/main/js/app/components/embed-docs-modal/__tests__/__snapshots__/EmbedDocsPopup-test.tsx.snap b/server/sonar-web/src/main/js/app/components/embed-docs-modal/__tests__/__snapshots__/EmbedDocsPopup-test.tsx.snap index 082ef152ac5..ba950f69c47 100644 --- a/server/sonar-web/src/main/js/app/components/embed-docs-modal/__tests__/__snapshots__/EmbedDocsPopup-test.tsx.snap +++ b/server/sonar-web/src/main/js/app/components/embed-docs-modal/__tests__/__snapshots__/EmbedDocsPopup-test.tsx.snap @@ -69,6 +69,16 @@ exports[`should display suggestion links 1`] = ` /> +
  • + + api_documentation.page + +