aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/settings/components
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-05-09 15:43:19 +0200
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-05-10 11:56:20 +0200
commit9821488bd9e3f764dc4f3a7fdd4beda93e870254 (patch)
tree493e62164676d84fc491b1c9421d1ae0d20100c9 /server/sonar-web/src/main/js/apps/settings/components
parenta6f37fa019f167563152670e3812efb383c4eeb2 (diff)
downloadsonarqube-9821488bd9e3f764dc4f3a7fdd4beda93e870254.tar.gz
sonarqube-9821488bd9e3f764dc4f3a7fdd4beda93e870254.zip
SONAR-8369 SONAR-8722 Sanitize page titles
Diffstat (limited to 'server/sonar-web/src/main/js/apps/settings/components')
-rw-r--r--server/sonar-web/src/main/js/apps/settings/components/App.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/settings/components/App.js b/server/sonar-web/src/main/js/apps/settings/components/App.js
index c86abf3956a..d357cff1fbc 100644
--- a/server/sonar-web/src/main/js/apps/settings/components/App.js
+++ b/server/sonar-web/src/main/js/apps/settings/components/App.js
@@ -19,6 +19,7 @@
*/
// @flow
import React from 'react';
+import Helmet from 'react-helmet';
import { connect } from 'react-redux';
import PageHeader from './PageHeader';
import CategoryDefinitionsList from './CategoryDefinitionsList';
@@ -26,6 +27,7 @@ import AllCategoriesList from './AllCategoriesList';
import WildcardsHelp from './WildcardsHelp';
import { fetchSettings } from '../store/actions';
import { getSettingsAppDefaultCategory } from '../../../store/rootReducer';
+import { translate } from '../../../helpers/l10n';
import '../styles.css';
type Props = {
@@ -78,6 +80,8 @@ class App extends React.PureComponent {
return (
<div id="settings-page" className="page page-limited">
+ <Helmet title={translate('settings.page')} />
+
<PageHeader component={this.props.component} />
<div className="settings-layout">
<div className="settings-side">