From dfc09e9cf73fe5afcb9beb2dde49bd8cff3b846f Mon Sep 17 00:00:00 2001 From: Andreas Kozadinos Date: Thu, 1 Aug 2024 00:04:18 +0300 Subject: [PATCH] Update Labels, Hide Fields in Enrollment Request Review Page --- .../account/messages/messages_en.properties | 2 +- .../EnrollmentRequest.tsx | 17 +++++------------ 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/src/main/resources/theme/rciam-group/account/messages/messages_en.properties b/src/main/resources/theme/rciam-group/account/messages/messages_en.properties index 0dbaa03..3aaa98d 100644 --- a/src/main/resources/theme/rciam-group/account/messages/messages_en.properties +++ b/src/main/resources/theme/rciam-group/account/messages/messages_en.properties @@ -257,4 +257,4 @@ sshKeys=SSH Keys sshKeysDescrption=This is a list of SSH keys associated with your account. Remove any keys that you do not recognize. sshKeyErrorInvalid=Key is invalid. You must supply a key in OpenSSH public key format sshKeyErrorDublicate=Key is already in use -userAuthnAuthorityLabel=Authentication Authority \ No newline at end of file +userAuthnAuthorityLabel=Authentication Provider(s) \ No newline at end of file diff --git a/src/main/resources/theme/rciam-group/account/src/app/content/group-management-pages/EnrollmentRequest.tsx b/src/main/resources/theme/rciam-group/account/src/app/content/group-management-pages/EnrollmentRequest.tsx index 469ffa9..fbb3107 100644 --- a/src/main/resources/theme/rciam-group/account/src/app/content/group-management-pages/EnrollmentRequest.tsx +++ b/src/main/resources/theme/rciam-group/account/src/app/content/group-management-pages/EnrollmentRequest.tsx @@ -52,6 +52,8 @@ export const EnrollmentRequest: FC = (props) => { props.close(); } + + return ( = (props) => { >
{enrollmentRequest?.userIdentifier?enrollmentRequest?.userIdentifier:Msg.localize('notAvailable')}
+ {/* = (props) => { */} - - {enrollmentRequest?.userIdPName ? - {enrollmentRequest.userIdPName} - : - - } - = (props) => { >
{enrollmentRequest?.user?.email}
- @@ -240,7 +233,7 @@ export const EnrollmentRequest: FC = (props) => { : } - + */}