Commit 12ca1de4 authored by Matija Obreza's avatar Matija Obreza

Updated terminology for versioned subset

parent c0db02e1
......@@ -1993,7 +1993,9 @@
"license": "License",
"creationDate": "Creation date",
"source": "Source",
"newVersionAvailable": "Current version of the subset available"
"version": "Version",
"newVersionLink": "See current version of the subset",
"currentVersion": "Current version"
},
"subsetDisplay": {
"subsetCreators": "Subset creators",
......
......@@ -8,7 +8,9 @@
"license": "License",
"creationDate": "Creation date",
"source": "Source",
"newVersionAvailable": "Current version of the subset available"
"version": "Version",
"newVersionLink": "See current version of the subset",
"currentVersion": "Current version"
},
"subsetDisplay": {
"subsetCreators": "Subset creators",
......
......@@ -71,8 +71,7 @@ const SubsetCard = (
{ ` ${t('accessions.common.modelName', {count: subset.accessionCount})}` }
{ subset.currentVersion &&
<span className="float-right">
{ t('subsets.public.c.subsetCard.newVersionAvailable') }
<SubsetLink uuid={ subset.currentVersion }>{ ` ${t('common:label.here')}` }</SubsetLink>
<SubsetLink uuid={ subset.currentVersion }>{ t('subsets.public.c.subsetCard.currentVersion') }</SubsetLink>
</span>
}
<DashboardCardDates item={ subset }/>
......@@ -122,9 +121,9 @@ const SubsetCard = (
<ExternalLink link={ subset.source }/>
</PropertiesItem> }
{ subset.currentVersion &&
<PropertiesItem classes={ {propertiesRow: classes.hasNewVersion} } title={ t('subsets.public.c.subsetCard.newVersionAvailable') }>
<PropertiesItem classes={ {propertiesRow: classes.hasNewVersion} } title={ t('subsets.public.c.subsetCard.version') }>
<span>
<SubsetLink uuid={ subset.currentVersion }>{ t('common:label.here') }</SubsetLink>
<SubsetLink uuid={ subset.currentVersion }>{ t('subsets.public.c.subsetCard.newVersionLink') }</SubsetLink>
</span>
</PropertiesItem>
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment