aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/project-admin/quality-profiles
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/project-admin/quality-profiles
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/project-admin/quality-profiles')
-rw-r--r--server/sonar-web/src/main/js/apps/project-admin/quality-profiles/QualityProfiles.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/project-admin/quality-profiles/QualityProfiles.js b/server/sonar-web/src/main/js/apps/project-admin/quality-profiles/QualityProfiles.js
index ee3d6a0e774..00e93a54471 100644
--- a/server/sonar-web/src/main/js/apps/project-admin/quality-profiles/QualityProfiles.js
+++ b/server/sonar-web/src/main/js/apps/project-admin/quality-profiles/QualityProfiles.js
@@ -19,6 +19,7 @@
*/
// @flow
import React from 'react';
+import Helmet from 'react-helmet';
import { connect } from 'react-redux';
import Header from './Header';
import Table from './Table';
@@ -29,6 +30,7 @@ import {
getProjectAdminProjectProfiles,
getComponent
} from '../../../store/rootReducer';
+import { translate } from '../../../helpers/l10n';
type Props = {
allProfiles: Array<{}>,
@@ -59,6 +61,8 @@ class QualityProfiles extends React.PureComponent {
return (
<div className="page page-limited">
+ <Helmet title={translate('project_quality_profiles.page')} />
+
<Header />
{profiles.length > 0