Commit 79240567 authored by Oleksii Savran's avatar Oleksii Savran
Browse files

Accession collecting source

parent ad249b17
......@@ -554,6 +554,30 @@
"600": "GMO",
"999": "Other"
},
"collectingSource": {
"10": "Wild habitat",
"11": "Forest or woodland",
"12": "Shrubland",
"13": "Grassland",
"14": "Desert or tundra",
"15": "Aquatic habitat",
"20": "Field or cultivated habitat",
"21": "Field",
"22": "Orchard",
"23": "Backyard, kitchen or home garden (urban, peri-urban or rural)",
"24": "Fallow land",
"25": "Pasture",
"26": "Farm store",
"27": "Threshing floor",
"28": "Park",
"30": "Market or shop",
"40": "Institute, Experimental station, Research organization, Genebank",
"50": "Seed company",
"60": "Weedy, disturbed or ruderal habitat",
"61": "Roadside",
"62": "Field margin",
"99": "Other"
},
"overview": {
"Other": "Other",
"Not specified": "Not specified",
......
......@@ -217,6 +217,30 @@
"600": "GMO",
"999": "Other"
},
"collectingSource": {
"10": "Wild habitat",
"11": "Forest or woodland",
"12": "Shrubland",
"13": "Grassland",
"14": "Desert or tundra",
"15": "Aquatic habitat",
"20": "Field or cultivated habitat",
"21": "Field",
"22": "Orchard",
"23": "Backyard, kitchen or home garden (urban, peri-urban or rural)",
"24": "Fallow land",
"25": "Pasture",
"26": "Farm store",
"27": "Threshing floor",
"28": "Park",
"30": "Market or shop",
"40": "Institute, Experimental station, Research organization, Genebank",
"50": "Seed company",
"60": "Weedy, disturbed or ruderal habitat",
"61": "Roadside",
"62": "Field margin",
"99": "Other"
},
"overview": {
"Other": "Other",
"Not specified": "Not specified",
......
......@@ -290,8 +290,14 @@ class BrowsePage extends React.Component<IBrowsePageProps, any> {
<AuditedInfo info={ auditAccessionCollect.collDate }/>
</PropertiesItem>
}
{ accession.coll.collSrc &&
<PropertiesItem key="collSrc" title={ t(`accessions.common.coll.collSrc`) }>
{ t(`accessions.common.collectingSource.${accession.coll.collSrc}`) }
<AuditedInfo info={ auditAccessionCollect.collSrc }/>
</PropertiesItem>
}
{ accession.coll &&
[ 'collMissId', 'collNumb', 'collSite', 'collSrc' ]
[ 'collMissId', 'collNumb', 'collSite' ]
.filter((prop) => accession.coll[prop] !== null).map((prop) => (
<PropertiesItem key={ prop } title={ t(`accessions.common.coll.${prop}`) }>
{ accession.coll[prop] }
......
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