diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2017-01-17 11:48:59 +0100 |
---|---|---|
committer | Stas Vilchik <stas-vilchik@users.noreply.github.com> | 2017-02-01 09:43:03 +0100 |
commit | b05ca1f05a0c33f0aabad1357c7c52d85d4146c7 (patch) | |
tree | f6fa55c5474e5089a660135fd792b74d68f0d782 /server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js | |
parent | 48352acd1566349548b2e1000c268fa5d509b63c (diff) | |
download | sonarqube-b05ca1f05a0c33f0aabad1357c7c52d85d4146c7.tar.gz sonarqube-b05ca1f05a0c33f0aabad1357c7c52d85d4146c7.zip |
SONAR-8655 Create page to delete organization
Diffstat (limited to 'server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js b/server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js index 017f240647a..e3a24180b19 100644 --- a/server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js +++ b/server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js @@ -23,7 +23,8 @@ import { Link, IndexLink } from 'react-router'; import { translate } from '../../../helpers/l10n'; const ADMIN_PATHS = [ - 'edit' + 'edit', + 'delete' ]; export default class OrganizationNavigation extends React.Component { @@ -54,6 +55,11 @@ export default class OrganizationNavigation extends React.Component { {translate('edit')} </Link> </li> + <li> + <Link to={`/organizations/${organization.key}/delete`} activeClassName="active"> + {translate('delete')} + </Link> + </li> </ul> </li> ); |