2022-07-20 09:02:25 -05:00
|
|
|
import React from 'react';
|
2022-04-22 08:33:13 -05:00
|
|
|
|
2022-07-06 10:00:56 -05:00
|
|
|
import { Page } from 'app/core/components/Page/Page';
|
2021-11-08 11:41:04 -06:00
|
|
|
import { contextSrv } from 'app/core/core';
|
2022-04-22 08:33:13 -05:00
|
|
|
|
|
|
|
import UserInviteForm from './UserInviteForm';
|
2020-02-20 01:01:14 -06:00
|
|
|
|
2022-07-20 09:02:25 -05:00
|
|
|
export function UserInvitePage() {
|
|
|
|
const subTitle = (
|
|
|
|
<>
|
|
|
|
Send invitation or add existing Grafana user to the organization.
|
|
|
|
<span className="highlight-word"> {contextSrv.user.orgName}</span>
|
|
|
|
</>
|
|
|
|
);
|
2020-02-20 01:01:14 -06:00
|
|
|
|
|
|
|
return (
|
2023-04-14 03:43:11 -05:00
|
|
|
<Page navId="global-users" pageNav={{ text: 'Invite user' }} subTitle={subTitle}>
|
2020-02-20 01:01:14 -06:00
|
|
|
<Page.Contents>
|
|
|
|
<UserInviteForm />
|
|
|
|
</Page.Contents>
|
|
|
|
</Page>
|
|
|
|
);
|
2022-07-20 09:02:25 -05:00
|
|
|
}
|
2020-02-20 01:01:14 -06:00
|
|
|
|
2022-07-20 09:02:25 -05:00
|
|
|
export default UserInvitePage;
|