Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DUOS-2673] Add hyperlink to NHGRI policy #2341

Merged
merged 2 commits into from
Oct 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/components/data_submission/NIHDataManagement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {div, h, h2, h3} from 'react-hyperscript-helpers';
import {div, h, h2, h3, span, a} from 'react-hyperscript-helpers';
import { FormFieldTypes, FormField, FormValidators } from '../forms/forms';
import { useState } from 'react';
import { YES_NHGRI_YES_PHS_ID, YES_NHGRI_NO_PHS_ID, NO_NHGRI_YES_ANVIL } from './NihAnvilUse';
Expand Down Expand Up @@ -69,7 +69,11 @@ export const NIHDataManagement = (props) => {
type: FormFieldTypes.YESNORADIOGROUP,
id: 'alternativeDataSharingPlan',
defaultValue: formData?.alternativeDataSharingPlan,
title: 'Are you requesting an Alternative Data Sharing Plan for samples that cannot be shared through a public repository or database?',
title: span([
'Are you requesting an Alternative Data Sharing Plan ',
a({href: 'https://www.genome.gov/about-nhgri/Policies-Guidance/Data-Sharing-Policies-and-Expectations#genomic-data-sharing'}, '(info)'),
' for samples that cannot be shared through a public repository or database?'
]),
onChange: ({key, value}) => {
setShowAlternativeDataSharingPlan(value);
onChange({key, value});
Expand Down
Loading