@@ -39,30 +39,36 @@ const DataDictionarySubmissionRequest = {
39
39
description :
40
40
'Please fill out this form to request access to submit data dictionaries to your study on the HEAL Platform.' ,
41
41
resultTitle : 'Your access request has been submitted!' ,
42
- resultSubtitle :
43
- 'Thank you for your submission. Requests take up to 1 business day to complete. You will be notified of the status.' ,
42
+ resultSubtitle : ( ) => (
43
+ 'Thank you for your submission. Requests take up to 1 business day to complete. You will be notified of the status.'
44
+ ) ,
44
45
showStudyName : true ,
45
46
showGrantNumber : false ,
46
47
showDisclaimer : true ,
47
48
subjectLine : 'Data dictionary submission access request for' ,
48
49
successRedirectLink : '/discovery' ,
49
50
successRedirectText : 'Go to Discovery Page' ,
50
- pendingRequestText : 'There is already a pending request for this study/user combination, please wait while we are processing your request.' ,
51
+ pendingRequestText : ( ) => (
52
+ 'There is already a pending request for this study/user combination, please wait while we are processing your request.'
53
+ ) ,
51
54
} ;
52
55
const WorkspaceAccessRequest = {
53
56
name : 'WorkspaceAccessRequest' ,
54
57
title : 'Workspace Access Request' ,
55
58
description : workspaceRegistrationConfig ?. workspaceInfoMessage || 'Please fill out this form to request and be approved for access to workspace.' ,
56
59
resultTitle : 'Your access request has been submitted!' ,
57
- resultSubtitle :
58
- 'Thank you for your submission. Requests take up to 1 business day to complete. Please check back then.' ,
60
+ resultSubtitle : ( ) => (
61
+ 'Thank you for your submission. Requests take up to 1 business day to complete. Please check back then.'
62
+ ) ,
59
63
showStudyName : false ,
60
64
showGrantNumber : true ,
61
65
showDisclaimer : false ,
62
66
subjectLine : 'Workspace Access Request for Workspace in' ,
63
67
successRedirectLink : workspaceRegistrationConfig ?. successRedirect . link || '/discovery' ,
64
68
successRedirectText : workspaceRegistrationConfig ?. successRedirect . text || 'Go to Discovery Page' ,
65
- pendingRequestText : 'There is already a pending request for workspace access for this user. Please wait while we are processing your request' ,
69
+ pendingRequestText : ( ) => (
70
+ 'There is already a pending request for workspace access for this user. Please wait while we are processing your request'
71
+ ) ,
66
72
} ;
67
73
const determineSpecificFormInfo = ( path : String ) => {
68
74
if ( path === '/study-reg/request-access' ) {
0 commit comments