diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-10-11 11:18:45 +0200 |
---|---|---|
committer | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-10-12 10:23:25 +0200 |
commit | 7fe0ca0b44bb645835c5f59e0d5b87aac730db63 (patch) | |
tree | f62d056072397de160e941990833a47ff46fae80 | |
parent | 1a3aa64c200c6aeefc2510a9c56fdee42499a84d (diff) | |
download | sonarqube-7fe0ca0b44bb645835c5f59e0d5b87aac730db63.tar.gz sonarqube-7fe0ca0b44bb645835c5f59e0d5b87aac730db63.zip |
SONAR-9838 Append "Administration" to all titles of admin pages
-rw-r--r-- | server/sonar-web/src/main/js/app/components/AdminContainer.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/app/components/AdminContainer.js b/server/sonar-web/src/main/js/app/components/AdminContainer.js index 86d867a2c5e..0794e8f79cd 100644 --- a/server/sonar-web/src/main/js/app/components/AdminContainer.js +++ b/server/sonar-web/src/main/js/app/components/AdminContainer.js @@ -52,9 +52,11 @@ class AdminContainer extends React.PureComponent { return null; } + const defaultTitle = translate('layout.settings'); + return ( <div> - <Helmet title={translate('layout.settings')} /> + <Helmet defaultTitle={defaultTitle} titleTemplate={'%s - ' + defaultTitle} /> <SettingsNav location={this.props.location} extensions={adminPages} /> {this.props.children} </div> |