Difference between revisions of "Dev/Results"
m (syntax error) |
(Improved award sorting -- no award sorts to end of alphabet) |
||
Line 135: | Line 135: | ||
'missing': { | 'missing': { | ||
sort: 5, | sort: 5, | ||
− | filter: 'medal data missing unavailable', | + | filter: 'medal data missing medal data not available medal data unavailable', |
html: "<img title='Medal Data Not Available' src='https://igem.org/images/medals/seal_blocked.png'>" | html: "<img title='Medal Data Not Available' src='https://igem.org/images/medals/seal_blocked.png'>" | ||
} | } | ||
Line 161: | Line 161: | ||
}, | }, | ||
{ //Award Column | { //Award Column | ||
− | ' | + | 'defaultContent': '' |
− | ' | + | 'data': function(row, type, val, meta) { |
+ | if (type == 'sort') { | ||
+ | return (row.award == '' ? 'zzzzz' : row.award); //No Award will sort alphabetically last | ||
+ | } | ||
+ | else { | ||
+ | return row.award; | ||
+ | } | ||
+ | } | ||
} | } | ||
] | ] |
Revision as of 21:08, 23 September 2015
Comprehensive Results from iGEM
View: [All Teams] [Award Winners] | [Africa] [Asia] [Europe] [Latin America][other?]
Team | Award |
---|