From 14fc454bc597e4e7e12cd0a197e2fddefb21a7ad Mon Sep 17 00:00:00 2001 From: Hamsini Malli Sivakumar Date: Fri, 13 Oct 2023 09:40:24 -0400 Subject: [PATCH] renamed page --- src/Routes.js | 4 ++-- ...SharingLanguageTool.js => ConsentTextGenerator.js} | 11 ++++------- 2 files changed, 6 insertions(+), 9 deletions(-) rename src/pages/{DataSharingLanguageTool.js => ConsentTextGenerator.js} (92%) diff --git a/src/Routes.js b/src/Routes.js index d29dcee95..d6639a582 100644 --- a/src/Routes.js +++ b/src/Routes.js @@ -24,7 +24,7 @@ import NIHPilotInfo from './pages/NIHPilotInfo'; import {Status} from './pages/Status'; import {SummaryVotes} from './pages/SummaryVotes'; import BackgroundSignIn from './pages/BackgroundSignIn'; -import DataSharingLanguageTool from './pages/DataSharingLanguageTool'; +import ConsentTextGenerator from './pages/ConsentTextGenerator'; import AdminManageInstitutions from './pages/AdminManageInstitutions'; import AdminManageLC from './pages/AdminManageLC'; import DatasetStatistics from './pages/DatasetStatistics'; @@ -63,7 +63,7 @@ const Routes = (props) => ( - + diff --git a/src/pages/DataSharingLanguageTool.js b/src/pages/ConsentTextGenerator.js similarity index 92% rename from src/pages/DataSharingLanguageTool.js rename to src/pages/ConsentTextGenerator.js index 09af7b597..237d514e1 100644 --- a/src/pages/DataSharingLanguageTool.js +++ b/src/pages/ConsentTextGenerator.js @@ -10,7 +10,7 @@ import {useState} from 'react'; const buttonStyle = { marginBottom: '2rem', color: '#777', }; const labelStyle = { fontFamily: 'Montserrat', fontSize: '15px' }; -export default function DataSharingLanguageTool() { +export default function ConsentTextGenerator() { const [general, setGeneral] = useState(false); const [hmb, setHmb] = useState(false); const [diseases, setDiseases] = useState(false); @@ -63,7 +63,7 @@ export default function DataSharingLanguageTool() { return ( div({style: {...Styles.PAGE, color: '#1f3b50' }}, [ div({style: {...Styles.TITLE, marginTop: '3.5rem'}}, [ - 'Consent Form Text Generator' + 'Consent Text Generator' ]), div({style: {...Styles.SMALL, marginTop: '1rem'}}, [ 'This tool is made publicly available by the DUOS team for anyone' + @@ -84,9 +84,7 @@ export default function DataSharingLanguageTool() { div({className: 'form-group', style: {marginTop: '1rem'}}, [ label({style: Styles.MEDIUM}, [ '1. Permitted data uses', br(), - span({style: Styles.MEDIUM_DESCRIPTION}, ['Choose the permitted data uses for your study\'s data.']), br(), - span({style: Styles.MEDIUM_DESCRIPTION}, ['First, you must determine what type of secondary use is permitted for you study\'s data.' + - ' You do this by selecting one of the options in the following section:']), + span({style: Styles.MEDIUM_DESCRIPTION}, ['Determine what type of secondary use is permitted for you study\'s data.']), ]), div({}, [ RadioButton({ @@ -163,8 +161,7 @@ export default function DataSharingLanguageTool() { div({className: 'form-group', style: {marginTop: '2rem'}}, [ label({style: {...Styles.MEDIUM, marginBottom: '5px'}}, [ '2. Additional constraints', br(), - span({style: Styles.MEDIUM_DESCRIPTION}, ['Choose any additional constraints you need to put on future uses of your data.']), br(), - span({style: Styles.MEDIUM_DESCRIPTION}, ['Then if necessary, you may choose additional terms on your study\'s data to govern it\'s use by adding requirements or limitations.']), + span({style: Styles.MEDIUM_DESCRIPTION}, ['If necessary, choose any additional terms on your study\'s data to govern its use.']), ]), div({}, [