Skip to content

Commit

Permalink
lägg till korsningsrisk
Browse files Browse the repository at this point in the history
  • Loading branch information
majsan committed May 14, 2018
1 parent 26ef557 commit fdf6865
Showing 1 changed file with 40 additions and 1 deletion.
41 changes: 40 additions & 1 deletion lexicons/sesamfroer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ window.lexicons.push({
name: {
'all': 'Sesam frökatalog'
},
tabs: ["Frö", "Medlem"],
tabs: ["Frö", "Medlem", "Korsningsrisk"],
view: 'COLUMNS',
structure: {
table: 1,
Expand Down Expand Up @@ -94,6 +94,45 @@ window.lexicons.push({
search: 'mnr',
column: 9,
tab: 1
},
'hybrid_risk': {
label: 'Korsning',
properties: {
'comment': {
label: {
'swe': 'Kommentar',
'eng': '-'
},
search: 'hybrid_risk.comment',
column: 10,
tab: 2
},
'risk': {
label: 'Korsningsrisk',
search: 'hybrid_risk.risk',
column: 11,
tab: 2
},
'self-pollination': {
label: 'Självpollinerande',
search: 'hybrid_risk.self-pollination',
column: 12,
tab: 2,
render: function(aBool) {
if(aBool) {
return "ja"
} else {
return "nej"
}
}
},
'specices': {
label: 'Arter',
search: 'hybrid_risk.specices',
column: 13,
tab: 2
}
}
}
}
}
Expand Down

0 comments on commit fdf6865

Please sign in to comment.