From 5831e63dcfae3421eddd67a1a872350109770509 Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Tue, 30 May 2023 14:53:18 +0200 Subject: [PATCH] Added images to avatars in AdminX Settings refs. https://github.com/TryGhost/Team/issues/3318 --- .../src/components/settings/general/LockSite.tsx | 8 ++++---- .../src/components/settings/general/Users.tsx | 4 ++-- .../settings/general/modals/UserDetailModal.tsx | 10 ++++++---- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/ghost/admin-x-settings/src/components/settings/general/LockSite.tsx b/ghost/admin-x-settings/src/components/settings/general/LockSite.tsx index b4cc95a20c..02862428d9 100644 --- a/ghost/admin-x-settings/src/components/settings/general/LockSite.tsx +++ b/ghost/admin-x-settings/src/components/settings/general/LockSite.tsx @@ -33,13 +33,13 @@ const LockSite: React.FC = () => { { key: 'private', value: passwordEnabled ? ( -
- +
+ Your site is password protected
) : ( -
- +
+ Your site is not password protected
) diff --git a/ghost/admin-x-settings/src/components/settings/general/Users.tsx b/ghost/admin-x-settings/src/components/settings/general/Users.tsx index d195282951..5e80ba2e56 100644 --- a/ghost/admin-x-settings/src/components/settings/general/Users.tsx +++ b/ghost/admin-x-settings/src/components/settings/general/Users.tsx @@ -24,7 +24,7 @@ const Owner: React.FC<{user: User}> = ({user}) => { return (
- +
{user.name} — Owner Edit {user.email} @@ -58,7 +58,7 @@ const UsersList: React.FC = ({users, updateUser}) => { showDetailModal(user)}/>} - avatar={()} + avatar={()} detail={user.email} hideActions={true} id={`list-item-${user.id}`} diff --git a/ghost/admin-x-settings/src/components/settings/general/modals/UserDetailModal.tsx b/ghost/admin-x-settings/src/components/settings/general/modals/UserDetailModal.tsx index 2f69357f78..ebea2722e3 100644 --- a/ghost/admin-x-settings/src/components/settings/general/modals/UserDetailModal.tsx +++ b/ghost/admin-x-settings/src/components/settings/general/modals/UserDetailModal.tsx @@ -254,10 +254,12 @@ const UserDetailModal:React.FC = ({user, updateUser}) => { >
-
- - {user.name} - Administrator +
+ +
+ {user.name} + Administrator +