Skip to content

Commit

Permalink
renamed page
Browse files Browse the repository at this point in the history
  • Loading branch information
hams7504 committed Oct 13, 2023
1 parent 1342716 commit 14fc454
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/Routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -63,7 +63,7 @@ const Routes = (props) => (
<Route path="/privacy" component={PrivacyPolicy} />
<Route path="/tos" component={TermsOfService} props={props} />
<Route path="/tos_acceptance" component={TermsOfServiceAcceptance} props={props} />
<Route path="/consent_form_generator" component={DataSharingLanguageTool} />
<Route path="/consent_text_generator" component={ConsentTextGenerator} />
<Route path="/nih_dms_policy" component={NIHDMSPolicyInfo} />
<Route path="/anvil_dms_policy" component={AnVILDMSPolicyInfo} />
<AuthenticatedRoute path="/profile" component={UserProfile} props={props} rolesAllowed={[USER_ROLES.all]} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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' +
Expand All @@ -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({
Expand Down Expand Up @@ -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({}, [
Expand Down

0 comments on commit 14fc454

Please sign in to comment.