Skip to content

Commit

Permalink
Change wording for tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
s-rubenstein committed Nov 1, 2024
1 parent a7c5307 commit 404a501
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/data_search/DatasetSearchTableConstants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const makeStudyTableHeaders = (datasets: DatasetTerm[], selected: number[
const indeterminate = numberSelected > 0 && numberSelected < studyDatasetIds.length;
const checkboxId = `${datasets[0].study.studyId}-is-selected-checkbox`;
const isSelectableStudy = datasets.filter(isSelectable).length === datasets.length;
const tooltipText = 'This study contains some open or external datasets. Select the \'View By Datasets\' tab to apply for access to datasets in this study.';
const tooltipText = 'This study contains one or more dataset that is either open access or whose requests are managed outside DUOS. Go to the datasets tab for additional information per dataset.';
return {
data: <>
<ReactTooltip
Expand Down Expand Up @@ -260,7 +260,7 @@ export const makeDatasetTableHeader = (datasets: DatasetTerm[], selected: number
cellDataFn: (dataset: DatasetTerm) => {
const isSelected = selected.includes(dataset.datasetId);
const checkboxId = `${dataset.datasetId}-is-selected-checkbox`;
const tooltipText = `${dataset.accessManagement == 'open' ? 'Applying for access to open access datasets is not necessary' : 'To apply for access to external access datasets, please follow the link to the external site'}`;
const tooltipText = `${dataset.accessManagement == 'open' ? 'Open access data doesn’t require a request, go to the link in the data location column to proceed.' : 'Data access is managed outside DUOS, follow the link in the data location column to proceed'}`;
return {
data: <>
<ReactTooltip
Expand Down

0 comments on commit 404a501

Please sign in to comment.