Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1200 from 18F/ab-org-user-management-copy
Browse files Browse the repository at this point in the history
Adjust copy explaining org users
  • Loading branch information
Andrew Suprenant committed Aug 23, 2017
2 parents 7ffd028 + 92ac1fe commit db51d3b
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions static_src/components/user_list.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,28 @@ export default class UserList extends React.Component {
return (this.props.userType === 'org_users') ? 'Organization' : 'Space';
}

get inviteDocumentation() {
if (!config.docs.invite_user) return null;

return (
<span>
To invite a user and give them roles, see <a href={ config.docs.invite_user }>Managing Teammates</a>.&nbsp;
<b>
Removing all roles does not remove a user from an organization.
Users with no roles will remain in the organization until you remove them,
but they will be unable to perform any actions.
</b>
</span>
);
}

get documentation() {
return (
<PanelDocumentation description>
<p>
{ this.userTypePretty } Managers can change these roles. For details
about these roles, see <a href="https://docs.cloudfoundry.org/concepts/roles.html#roles">Cloud Foundry roles and permissions</a>.
{ config.docs.invite_user &&
<span> To invite a user and give them roles, see <a href={ config.docs.invite_user }>Managing Teammates</a>.
</span>
}
{ this.inviteDocumentation }
</p>
</PanelDocumentation>
);
Expand Down

0 comments on commit db51d3b

Please sign in to comment.