diff --git a/src/components/dashboard/users/SectionTitleContainer.tsx b/src/components/dashboard/users/SectionTitleContainer.tsx index 2347fac8f7..03d6478c2f 100644 --- a/src/components/dashboard/users/SectionTitleContainer.tsx +++ b/src/components/dashboard/users/SectionTitleContainer.tsx @@ -1,21 +1,31 @@ import React, { FunctionComponent } from 'react'; +import SectionTitleButtonElement from './SectionTitleButtonElement'; import SectionTitleLinkElement from './SectionTitleLinkElement'; type IProps = { title: string; + isBtnVisible?: boolean; + titleLink?: string; } -const SectionTitleContainer: FunctionComponent = ({title}: IProps) => { +const SectionTitleContainer: FunctionComponent = ({title, isBtnVisible, titleLink}: IProps) => { return (

{title}

+ + {isBtnVisible && } +
diff --git a/src/components/pages/NewUserPage.tsx b/src/components/pages/NewUserPage.tsx index 8d42140885..9642e29856 100644 --- a/src/components/pages/NewUserPage.tsx +++ b/src/components/pages/NewUserPage.tsx @@ -177,7 +177,11 @@ const NewUserPage: FunctionComponent = () => { return (
- +
{ return (
- +
{ return (
- + { return (
- +
diff --git a/src/components/pages/UserPasswordPage.tsx b/src/components/pages/UserPasswordPage.tsx index ef8bd3ca33..91e7898c1f 100644 --- a/src/components/pages/UserPasswordPage.tsx +++ b/src/components/pages/UserPasswordPage.tsx @@ -23,7 +23,11 @@ const UserPasswordPage: FunctionComponent = () => { return (
- +
{ return (
-
-
-

- {globalize.translate('HeaderUsers')} -

- - -
-
- {users.map(user => { - return ; - })} -
+ + +
+ {users.map(user => { + return ; + })}