mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 16:45:43 -06:00
30 lines
773 B
TypeScript
30 lines
773 B
TypeScript
import React from 'react';
|
|
|
|
import { Page } from 'app/core/components/Page/Page';
|
|
import { contextSrv } from 'app/core/core';
|
|
|
|
import UserInviteForm from './UserInviteForm';
|
|
|
|
export function UserInvitePage() {
|
|
const subTitle = (
|
|
<>
|
|
Send invitation or add existing Grafana user to the organization.
|
|
<span className="highlight-word"> {contextSrv.user.orgName}</span>
|
|
</>
|
|
);
|
|
|
|
return (
|
|
<Page navId="users" pageNav={{ text: 'Invite user' }} subTitle={subTitle}>
|
|
<Page.Contents>
|
|
<Page.OldNavOnly>
|
|
<h3 className="page-sub-heading">Invite user</h3>
|
|
<div className="p-b-2">{subTitle}</div>
|
|
</Page.OldNavOnly>
|
|
<UserInviteForm />
|
|
</Page.Contents>
|
|
</Page>
|
|
);
|
|
}
|
|
|
|
export default UserInvitePage;
|