Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Website
Commits
79240567
Commit
79240567
authored
Jan 28, 2019
by
Oleksii Savran
Browse files
Accession collecting source
parent
ad249b17
Changes
3
Hide whitespace changes
Inline
Side-by-side
locales/en/translations.json
View file @
79240567
...
...
@@ -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"
,
...
...
src/accessions/translations.json
View file @
79240567
...
...
@@ -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"
,
...
...
src/accessions/ui/DisplayPage.tsx
View file @
79240567
...
...
@@ -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
]
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment