From: Stas Vilchik Date: Tue, 12 Jun 2018 07:58:13 +0000 (+0200) Subject: SONAR-10807 Update support link to the new community forum X-Git-Tag: 7.5~990 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bac6a9b4f3480ae6f14c060f08be5cf5d8f0d064;p=sonarqube.git SONAR-10807 Update support link to the new community forum --- diff --git a/server/sonar-web/public/images/embed-doc/google-group-icon.svg b/server/sonar-web/public/images/embed-doc/google-group-icon.svg deleted file mode 100644 index fd581b716c0..00000000000 --- a/server/sonar-web/public/images/embed-doc/google-group-icon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/server/sonar-web/public/images/embed-doc/so-icon.svg b/server/sonar-web/public/images/embed-doc/so-icon.svg deleted file mode 100644 index 12ba4acd52c..00000000000 --- a/server/sonar-web/public/images/embed-doc/so-icon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file 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 9beafb064fb..ea95ca18dbf 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 @@ -86,13 +86,10 @@ export default class EmbedDocsPopup extends React.PureComponent { return (
  • - {this.renderTitle(translate('embed_docs.get_support'))}
  • - {this.renderIconLink( - 'https://about.sonarcloud.io/contact/', - 'sc-icon.svg', - translate('embed_docs.contact_form') - )} + + {translate('embed_docs.get_help')} +
  • {this.renderTitle(translate('embed_docs.stay_connected'))} @@ -117,20 +114,10 @@ export default class EmbedDocsPopup extends React.PureComponent {
  • )}
  • - {this.renderTitle(translate('embed_docs.get_support'))}
  • - {this.renderIconLink( - 'https://groups.google.com/forum/#!forum/sonarqube', - 'google-group-icon.svg', - 'Google Groups' - )} -
  • -
  • - {this.renderIconLink( - 'http://stackoverflow.com/questions/tagged/sonarqube', - 'so-icon.svg', - 'Stack Overflow' - )} + + {translate('embed_docs.get_help')} +
  • {this.renderTitle(translate('embed_docs.stay_connected'))} 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 0984724bfcd..5f4d22a7aa1 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 @@ -71,41 +71,13 @@ exports[`should display suggestion links 1`] = `
  • -
  • - embed_docs.get_support -
  • - Google Groups - Google Groups - -
  • -
  • - - Stack Overflow - Stack Overflow + embed_docs.get_help