File tree Expand file tree Collapse file tree 2 files changed +10
-27
lines changed
appShell/App/usageAgreements Expand file tree Collapse file tree 2 files changed +10
-27
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,12 @@ export const StudyAgreement: React.FunctionComponent<{}> = function({}) {
28
28
< UsageAgreement
29
29
alertMessage = {
30
30
< >
31
- < span style = { { color : 'red' } } > WARNING :</ span >
32
- All URLs in this website are private - do NOT include
33
- in manuscripts.
31
+ < span style = { { color : 'red' } } > Attention :</ span >
32
+ Please read and follow the rules about usage of MSK
33
+ clinical sequencing data in manuscripts.
34
34
</ >
35
35
}
36
+ dismissButtonText = { 'Acknowledge' }
36
37
persistenceKey = { STUDY_VIEW_WARNING_PERSISTENCE_KEY }
37
38
expirationInDays = { 90 }
38
39
clauses = { [
@@ -55,32 +56,14 @@ export const StudyAgreement: React.FunctionComponent<{}> = function({}) {
55
56
with any questions about getting the data transferred to the
56
57
public cBioPortal.
57
58
</ > ,
58
- < >
59
- When adding a link to a cBioPortal cohort in a manuscript,{ ' ' }
60
- < strong >
61
- I will not link to this private portal (
62
- { window . location . hostname } )
63
- </ strong >
64
- , but will instead link to this study on the public
65
- cBioPortal (
66
- < a href = "https://www.cbioportal.org/" target = "_blank" >
67
- cbioportal.org
68
- </ a >
69
- ). Contact{ ' ' }
70
- < a href = "mailto:[email protected] " >
71
-
72
- </ a > { ' ' }
73
- with any questions about getting the data transferred to the
74
- public cBioPortal.
75
- </ > ,
76
59
< >
77
60
I have read the{ ' ' }
78
61
< a
79
- href = "https://cmo. mskcc.org/index.php/msk-impact/ "
62
+ href = "https://mskcc.sharepoint.com/sites/pub-ResearchDG/SitePages/Home.aspx?ga=1 "
80
63
target = "_blank"
81
64
>
82
- MSK-IMPACT Data publication guidelines (intranet/VPN
83
- only)
65
+ I have read the MSK-IMPACT Research Data Governance
66
+ publication guidelines.
84
67
</ a >
85
68
.
86
69
</ > ,
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ interface IUsageAgreement {
15
15
clauses : JSX . Element [ ] ;
16
16
useCheckboxes ?: boolean ;
17
17
expirationInDays ?: number ;
18
+ dismissButtonText ?: string ;
18
19
}
19
20
20
21
@observer
@@ -68,7 +69,6 @@ export default class UsageAgreement extends React.Component<
68
69
'true' ,
69
70
this . expirationInSeconds
70
71
) ;
71
- //localStorage.setItem(this.props.persistenceKey, 'true');
72
72
}
73
73
74
74
@autobind
@@ -111,7 +111,7 @@ export default class UsageAgreement extends React.Component<
111
111
bsSize = "xsmall"
112
112
onClick = { this . handleModalShow }
113
113
>
114
- Dismiss
114
+ { this . props . dismissButtonText || ' Dismiss' }
115
115
</ Button >
116
116
</ ButtonGroup >
117
117
</ Alert >
@@ -122,7 +122,7 @@ export default class UsageAgreement extends React.Component<
122
122
container = { this }
123
123
aria-labelledby = "contained-modal-title"
124
124
>
125
- < Modal . Header closeButton >
125
+ < Modal . Header >
126
126
< Modal . Title
127
127
id = "contained-modal-title"
128
128
style = { { textAlign : 'center' } }
You can’t perform that action at this time.
0 commit comments