diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-07-24 16:12:39 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2017-07-31 11:27:51 +0200 |
commit | 30cc3b95809bce6a3e1ca81ee7d661590fb772ac (patch) | |
tree | 9d5ecc869ad95e5b81c093943d50fb70f30d1219 /server/sonar-web/src/main/js/apps/project-admin/deletion | |
parent | 1cbd06a5264b83da40e6d4a41e31762e5835feb6 (diff) | |
download | sonarqube-30cc3b95809bce6a3e1ca81ee7d661590fb772ac.tar.gz sonarqube-30cc3b95809bce6a3e1ca81ee7d661590fb772ac.zip |
SONAR-9531 Change the application space
Diffstat (limited to 'server/sonar-web/src/main/js/apps/project-admin/deletion')
-rw-r--r-- | server/sonar-web/src/main/js/apps/project-admin/deletion/Header.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/project-admin/deletion/Header.js b/server/sonar-web/src/main/js/apps/project-admin/deletion/Header.js index d236654ed98..8269e2ac6af 100644 --- a/server/sonar-web/src/main/js/apps/project-admin/deletion/Header.js +++ b/server/sonar-web/src/main/js/apps/project-admin/deletion/Header.js @@ -22,9 +22,12 @@ import React from 'react'; import { translate } from '../../../helpers/l10n'; export default function Header(props: { component: { qualifier: string } }) { - const description = ['VW', 'SVW'].includes(props.component.qualifier) + const { qualifier } = props.component; + const description = ['VW', 'SVW'].includes(qualifier) ? translate('portfolio_deletion.page.description') - : translate('project_deletion.page.description'); + : qualifier === 'APP' + ? translate('application_deletion.page.description') + : translate('project_deletion.page.description'); return ( <header className="page-header"> |