mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 00:55:47 -06:00
* remove code outside of the topnav feature flag * delete NavBar folder * remove topnav toggle from backend * restructure AppChrome folder * fix utils mock * fix applinks tests * remove tests since they're covered in e2e * fix 1 of the approotpage tests * Fix another dashboardpage test * remove reverse portalling + test for plugins using deprecated onNavChanged method * kick drone * handle correlations
26 lines
617 B
TypeScript
26 lines
617 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="global-users" pageNav={{ text: 'Invite user' }} subTitle={subTitle}>
|
|
<Page.Contents>
|
|
<UserInviteForm />
|
|
</Page.Contents>
|
|
</Page>
|
|
);
|
|
}
|
|
|
|
export default UserInvitePage;
|