Difference between revisions of "Dev/Awards2"

Line 214: Line 214:
  
 
//what award did they win ? (trims from after Best to the next empty space )
 
//what award did they win ? (trims from after Best to the next empty space )
help = (awards_set[x].award).substring( 19, ( (awards_set[x].award).indexOf(' ', (awards_set[x].award).indexOf(' ') + 1) )  );
+
help = (awards_set[x].award).substring( 19, (awards_set[x].award).length );
console.log(help);
+
 
award_temp = (  (awards_set[x].award).substring( 19,  ((awards_set[x].award).indexOf(' ', (awards_set[x].award).indexOf(' ') + 1) )  ));
+
 
 +
award_temp = (  help.substring( 0,  (help).indexOf(' ', (help).indexOf(' ') + 1) )  ));
  
 
//append to the undergrad or overgrad  
 
//append to the undergrad or overgrad  
 
$("#"+award_temp+"_"+awards_set[x].section).append( "<li>" + awards_set[x].team_name + "</li>" );
 
$("#"+award_temp+"_"+awards_set[x].section).append( "<li>" + awards_set[x].team_name + "</li>" );
  
award_temp ="";
+
award_temp ="";
 +
help="";
 
}  
 
}  
  

Revision as of 22:47, 6 November 2017

MENU

AWARDS

Best Diagnostics Project

Nominations

Best Energy Project

Nominations

Best Environment Project

Nominations

Best Food and Nutrition Project

Nominations

Best Foundational Advance Project

Nominations

Best Information Processing Advance Project

Nominations

GOLD

SILVER

BRONZE