mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
Updated owner role box in user details
refs. https://github.com/TryGhost/Team/issues/3351
This commit is contained in:
parent
5386fc923f
commit
fb6c79906a
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-width="1.5px"><g><path d="M21.92,17l1.32-10a.75.75,0,0,0-1.08-.78L17.88,9.56a.74.74,0,0,1-1.09-.16L12.56,3.22a.74.74,0,0,0-1.12,0L7.21,9.4a.74.74,0,0,1-1.09.16L1.84,6.3a.75.75,0,0,0-1.08.78L2.08,17Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></path><line x1="2.25" y1="21.03" x2="21.75" y2="21.03" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"></line></g></svg>
|
After Width: | Height: | Size: 502 B |
@ -1,6 +1,7 @@
|
||||
import Avatar from '../../../../admin-x-ds/global/Avatar';
|
||||
import Button from '../../../../admin-x-ds/global/Button';
|
||||
import Heading from '../../../../admin-x-ds/global/Heading';
|
||||
import Icon from '../../../../admin-x-ds/global/Icon';
|
||||
import IconButton from '../../../../admin-x-ds/global/IconButton';
|
||||
import Menu from '../../../../admin-x-ds/global/Menu';
|
||||
import Modal from '../../../../admin-x-ds/global/Modal';
|
||||
@ -36,7 +37,8 @@ const RoleSelector: React.FC<UserDetailProps> = ({user, setUserData}) => {
|
||||
return (
|
||||
<>
|
||||
<Heading level={6}>Role</Heading>
|
||||
<div>
|
||||
<div className='flex h-[295px] flex-col items-center justify-center gap-3 bg-grey-75 px-10 py-20 text-center text-sm text-grey-800'>
|
||||
<Icon color='grey-800' name='crown' size='lg' />
|
||||
This user is the owner of the site. To change their role, you need to transfer the ownership first.
|
||||
</div>
|
||||
</>
|
||||
|
Loading…
Reference in New Issue
Block a user