Difference between revisions of "HQ:Code Test"

Line 1,046: Line 1,046:
 
var medal_assigned = false;
 
var medal_assigned = false;
 
var award_assigned = false;
 
var award_assigned = false;
var nominations_assigned = false;
+
var nom = false;
 
var trim_text="";
 
var trim_text="";
 
 
Line 1,095: Line 1,095:
 
}
 
}
 
 
nominations_assigned = true;
+
nom = true;
 
}  
 
}  
  
Line 1,129: Line 1,129:
 
 
 
//if the team wasnt nominated
 
//if the team wasnt nominated
if(nominations_assigned  == false){
+
if(nom == false){
 
data[x].nominations = '-';
 
data[x].nominations = '-';
 
}
 
}

Revision as of 14:49, 16 September 2019

Loading...

Code setup page

This page will help you setup the awards and results page

  1. Place the awards and medals into a excel file to create the variable notation
  2. Place the variables indicated on the code on this page
  3. Place the resulting data bases into the results and all teams info pages