]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-9838 Append "Administration" to all titles of admin pages
authorStas Vilchik <stas.vilchik@sonarsource.com>
Wed, 11 Oct 2017 09:18:45 +0000 (11:18 +0200)
committerStas Vilchik <stas.vilchik@sonarsource.com>
Thu, 12 Oct 2017 08:23:25 +0000 (10:23 +0200)
server/sonar-web/src/main/js/app/components/AdminContainer.js

index 86d867a2c5eb9c623d52c54e135767c30e68cdab..0794e8f79cd2157a56aa2e315502eb78e3ed7b57 100644 (file)
@@ -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>