aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/components/GlobalFooter.tsx
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2018-05-03 17:13:04 +0200
committerSonarTech <sonartech@sonarsource.com>2018-05-08 20:20:44 +0200
commitc56d00ae68483a0c3bfda8637f4b66c1f377c502 (patch)
treee2a36fc648e271768ed26301ec075aedb1f2bcc1 /server/sonar-web/src/main/js/app/components/GlobalFooter.tsx
parentcfab69910851579f365aefa3e4b048c54c92a0ff (diff)
downloadsonarqube-c56d00ae68483a0c3bfda8637f4b66c1f377c502.tar.gz
sonarqube-c56d00ae68483a0c3bfda8637f4b66c1f377c502.zip
SONAR-10656 Remove SonarQube occurences when SonarCloud is enabled
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/GlobalFooter.tsx')
-rw-r--r--server/sonar-web/src/main/js/app/components/GlobalFooter.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/app/components/GlobalFooter.tsx b/server/sonar-web/src/main/js/app/components/GlobalFooter.tsx
index eacbe1883b0..5baa8f12be9 100644
--- a/server/sonar-web/src/main/js/app/components/GlobalFooter.tsx
+++ b/server/sonar-web/src/main/js/app/components/GlobalFooter.tsx
@@ -22,6 +22,7 @@ import * as PropTypes from 'prop-types';
import { Link } from 'react-router';
import GlobalFooterSonarCloud from './GlobalFooterSonarCloud';
import GlobalFooterBranding from './GlobalFooterBranding';
+import InstanceMessage from '../../components/common/InstanceMessage';
import { translate, translateWithParameters } from '../../helpers/l10n';
interface Props {
@@ -48,7 +49,9 @@ export default class GlobalFooter extends React.PureComponent<Props> {
<p className="big" id="evaluation_warning">
{translate('footer.production_database_warning')}
</p>
- <p>{translate('footer.production_database_explanation')}</p>
+ <p>
+ <InstanceMessage message={translate('footer.production_database_explanation')} />
+ </p>
</div>
)}