Line 926: | Line 926: | ||
} | } | ||
− | } | + | }// end of data team search |
+ | |||
//sort the awards and nominations by section | //sort the awards and nominations by section | ||
Line 935: | Line 936: | ||
var appendable_name = (unique_awards[z]).replace(/ /g, "_"); | var appendable_name = (unique_awards[z]).replace(/ /g, "_"); | ||
− | + | //append awards | |
− | + | ||
for(x=0; x< temp_array_awards.length; x++ ){ | for(x=0; x< temp_array_awards.length; x++ ){ | ||
Line 948: | Line 948: | ||
for(x=0; x< temp_array_nominations.length; x++ ){ | for(x=0; x< temp_array_nominations.length; x++ ){ | ||
− | |||
− | |||
//remove all empty spaces (if this is high school team | //remove all empty spaces (if this is high school team | ||
− | var | + | var section_appendable_name = (temp_array_nominations[x][0]).replace(/ /g, "_"); |
+ | // string to hold the class selection of where to append the nominees | ||
+ | var nominee_classes_append = "#"+appendable_name+" > .nominees_box_wrapper > .nominated_teams > .section_"+section_appendable_name; | ||
− | + | //if it doesn't exist already, create it and append this nominee | |
− | + | if ($(nominee_classes_append).length){ | |
− | if ($( | + | $(nominee_classes_append).append("<a href='https://2019.igem.org/Team:"+temp_array_nominations[x][1]+"'>"+ |
− | $( | + | "<li>"+temp_array_nominations[x][1]+"</li>"+ |
+ | "</a>"); | ||
} | } | ||
+ | //if it already exists, append the current nominee | ||
else { | else { | ||
− | $("#"+appendable_name+"> .nominees_box_wrapper").append("<div class='nominated_teams'> <div class='team_section'>" | + | $("#"+appendable_name+"> .nominees_box_wrapper").append("<div class='nominated_teams'>"+ |
− | + | "<div class='team_section'>"+temp_array_nominations[x][1]+"</div>"+ | |
− | + | "<ul class='section_"+section_appendable_name+"'>"+ | |
− | + | "<a href='https://2019.igem.org/Team:"+temp_array_nominations[x][1]+"'> | |
− | } | + | "<li>"+temp_array_nominations[x][1]+"</li>"+ |
− | + | "</a>"+ | |
− | } | + | "</ul>"+ |
+ | "</div>"); | ||
+ | } | ||
+ | }// end of nominations array | ||
− | } | + | }// end of prizes for |
Revision as of 16:07, 19 September 2019
iGEM 2019 Results - Coming soon!
Congratulations to all participants in the 2019 International Genetically Engineered Machine competition!
Your hard work and achievements are truly worthy of celebration!
On this page you will find the winners and nominees for the: Track Prizes, the Awards, Medals: Gold, Silver, and Bronze, and Awards and Medals by Team