aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/update-center
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/update-center
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/update-center')
-rw-r--r--server/sonar-web/src/main/js/apps/update-center/components/UpdateCenterAppContainer.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/update-center/components/UpdateCenterAppContainer.js b/server/sonar-web/src/main/js/apps/update-center/components/UpdateCenterAppContainer.js
index 4745b919ec2..cd5a9f8f105 100644
--- a/server/sonar-web/src/main/js/apps/update-center/components/UpdateCenterAppContainer.js
+++ b/server/sonar-web/src/main/js/apps/update-center/components/UpdateCenterAppContainer.js
@@ -18,9 +18,11 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import React from 'react';
+import Helmet from 'react-helmet';
import { connect } from 'react-redux';
import init from '../init';
import { getSettingValue } from '../../../store/rootReducer';
+import { translate } from '../../../helpers/l10n';
class UpdateCenterAppContainer extends React.PureComponent {
componentDidMount() {
@@ -38,6 +40,7 @@ class UpdateCenterAppContainer extends React.PureComponent {
// but react wants it to be there to unmount it
return (
<div>
+ <Helmet title={translate('update_center.page')} />
<div ref="container" />
</div>
);