aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-04-26 15:10:09 +0200
committerGrégoire Aubert <gregaubert@users.noreply.github.com>2017-05-01 16:26:31 +0200
commita194043a66e5ac190072489d2a18926504017f87 (patch)
treebab4dd2617bf20f0a64d82bbb64be251968a27fe /server/sonar-web/src/main/js/apps
parent8c6d2d803b706aed4ae325f9e7b05e09c3807720 (diff)
downloadsonarqube-a194043a66e5ac190072489d2a18926504017f87.tar.gz
sonarqube-a194043a66e5ac190072489d2a18926504017f87.zip
Simplify warning message when removing a member
Diffstat (limited to 'server/sonar-web/src/main/js/apps')
-rw-r--r--server/sonar-web/src/main/js/apps/organizations/components/forms/RemoveMemberForm.js11
-rw-r--r--server/sonar-web/src/main/js/apps/organizations/components/forms/__tests__/__snapshots__/RemoveMemberForm-test.js.snap14
2 files changed, 0 insertions, 25 deletions
diff --git a/server/sonar-web/src/main/js/apps/organizations/components/forms/RemoveMemberForm.js b/server/sonar-web/src/main/js/apps/organizations/components/forms/RemoveMemberForm.js
index 335b14cf1d9..5d001dc026e 100644
--- a/server/sonar-web/src/main/js/apps/organizations/components/forms/RemoveMemberForm.js
+++ b/server/sonar-web/src/main/js/apps/organizations/components/forms/RemoveMemberForm.js
@@ -76,17 +76,6 @@ export default class RemoveMemberForm extends React.PureComponent {
this.props.organization.name
)}
</p>
- <p>
- {translateWithParameters(
- 'organization.members.remove_warning_x',
- this.props.member.name
- )}
- </p>
- <ul>
- <li>{translate('organization.members.browse_projects')}</li>
- <li>{translate('projects_role.codeviewer')}</li>
- <li>{translate('projects_role.issueadmin')}</li>
- </ul>
</div>
<footer className="modal-foot">
<div>
diff --git a/server/sonar-web/src/main/js/apps/organizations/components/forms/__tests__/__snapshots__/RemoveMemberForm-test.js.snap b/server/sonar-web/src/main/js/apps/organizations/components/forms/__tests__/__snapshots__/RemoveMemberForm-test.js.snap
index 02bbffbc78e..9a736b8c6de 100644
--- a/server/sonar-web/src/main/js/apps/organizations/components/forms/__tests__/__snapshots__/RemoveMemberForm-test.js.snap
+++ b/server/sonar-web/src/main/js/apps/organizations/components/forms/__tests__/__snapshots__/RemoveMemberForm-test.js.snap
@@ -56,20 +56,6 @@ exports[`should render and open the modal 2`] = `
<p>
organization.members.remove_x.Admin Istrator.MyOrg
</p>
- <p>
- organization.members.remove_warning_x.Admin Istrator
- </p>
- <ul>
- <li>
- organization.members.browse_projects
- </li>
- <li>
- projects_role.codeviewer
- </li>
- <li>
- projects_role.issueadmin
- </li>
- </ul>
</div>
<footer
className="modal-foot"