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
ab2d9ab7
Commit
ab2d9ab7
authored
Sep 21, 2018
by
Matija Obreza
Browse files
Cleanup
Signed-off-by:
Matija Obreza
<
matija.obreza@croptrust.org
>
parent
7d374366
Changes
2
Hide whitespace changes
Inline
Side-by-side
locales/en/translations.json
View file @
ab2d9ab7
...
...
@@ -119,7 +119,7 @@
"f"
:
{
"NOT"
:
"Excluding {{what}}"
,
"accessions"
:
{
"crop
s
"
:
"Crop
name
"
,
"crop"
:
"Crop"
,
"acceNumb"
:
"Accession number"
,
"seqNo"
:
"Sequential number"
,
"sampStat"
:
"Biological status"
,
...
...
@@ -191,7 +191,12 @@
"available"
:
{
"true"
:
"Available for distribution"
,
"false"
:
"Not available for distribution"
,
"null"
:
"Availability not known"
"null"
:
"Availability not provided"
},
"mlsStatus"
:
{
"true"
:
"Accession is part of the Multi-lateral system of ITPGRFA"
,
"false"
:
"Not declared in the Multi-lateral system of ITPGRFA "
,
"null"
:
"Status not provided"
},
"coll"
:
{
"collCode"
:
"Collecting institute code"
,
...
...
@@ -254,7 +259,7 @@
"taxonomy genusSpecies"
:
"Species"
,
"countryOfOrigin code3"
:
"Country of Origin"
,
"donorCode"
:
"FAO WIEWS code of donor institute"
,
"mlsStatus"
:
"
Available for distribution under the MLS
"
,
"mlsStatus"
:
"
ITGPRFA Multi-lateral system
"
,
"available"
:
"Available for distribution"
,
"duplSite"
:
"Site of safety duplication"
,
"breederCode"
:
"Breeder code"
,
...
...
src/ui/pages/accessions/DisplayPage.tsx
View file @
ab2d9ab7
...
...
@@ -142,7 +142,7 @@ class BrowsePage extends React.Component<IBrowsePageProps, any> {
))
}
</
PropertiesItem
>
}
<
PropertiesItem
title
=
"Availability for distribution"
keepEmpty
>
{
t
(
`accession.available.
${
accession
.
available
}
`
)
}
</
PropertiesItem
>
<
PropertiesItem
title
=
"
Availability for distribution under the
MLS"
keepEmpty
>
{
t
(
`accession.
available
.
${
accession
.
mlsStatus
}
`
)
}
</
PropertiesItem
>
<
PropertiesItem
title
=
"
ITPGRFA
MLS"
keepEmpty
>
{
t
(
`accession.
mlsStatus
.
${
accession
.
mlsStatus
}
`
)
}
</
PropertiesItem
>
<
PropertiesItem
title
=
"Donor institute"
>
{
accession
.
donorCode
}
</
PropertiesItem
>
<
PropertiesItem
title
=
"Donor accession number"
>
{
accession
.
donorNumb
}
</
PropertiesItem
>
...
...
@@ -169,12 +169,13 @@ class BrowsePage extends React.Component<IBrowsePageProps, any> {
<
PropertiesItem
title
=
"Provided crop name"
>
{
accession
.
cropName
}
</
PropertiesItem
>
</
Properties
>
</
PageSection
>
{
accession
.
donorCode
||
(
accession
.
aliases
&&
accession
.
aliases
.
length
>
0
)
&&
{
(
accession
.
donorCode
||
(
accession
.
aliases
&&
accession
.
aliases
.
length
>
0
))
&&
<
PageSection
title
=
"Accession names"
>
<
Properties
>
{
accession
.
donorCode
&&
<
PropertiesItem
title
=
{
t
(
'
accession.alias.DONORNUMB
'
)
}
>
{
accession
.
donorNumb
}
{
accession
.
donorCode
}
</
PropertiesItem
>
}
{
accession
.
donorCode
&&
<
PropertiesItem
title
=
{
t
(
'
accession.alias.DONORNUMB
'
)
}
>
{
accession
.
donorNumb
}
<
em
>
{
accession
.
donorCode
}
</
em
></
PropertiesItem
>
}
{
accession
.
aliases
&&
accession
.
aliases
.
map
((
alias
)
=>
(
<
PropertiesItem
key
=
{
alias
.
id
}
title
=
{
t
(
`accession.alias.
${
alias
.
aliasType
}
`
)
}
>
{
alias
.
name
}
{
alias
.
usedBy
}
</
PropertiesItem
>
<
PropertiesItem
key
=
{
alias
.
id
}
title
=
{
t
(
`accession.alias.
${
alias
.
aliasType
}
`
)
}
>
{
alias
.
name
}
<
em
>
{
alias
.
usedBy
}
</
em
></
PropertiesItem
>
))
}
</
Properties
>
</
PageSection
>
...
...
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