| Line 1,126: | Line 1,126: | ||
} | } | ||
| + | |||
| + | } | ||
| + | |||
| + | //if the team wasnt nominated | ||
| + | if(nominations_assigned == false){ | ||
| + | data[x].nominations = '-'; | ||
| + | } | ||
| − | + | //if the didnt win an award | |
| − | + | if(award_assigned == false){ | |
| − | + | data[x].awards = '-'; | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
} | } | ||
| − | |||
| − | |||
} | } | ||
| Line 1,157: | Line 1,154: | ||
"'medal':'"+data[x].medal+"',"+ | "'medal':'"+data[x].medal+"',"+ | ||
"'award':'"+data[x].awards+"',"+ | "'award':'"+data[x].awards+"',"+ | ||
| − | "'nomination':'"+data[x].nominations+"' | + | "'nomination':'"+data[x].nominations+"'"+ |
"},</p>"); | "},</p>"); | ||
} | } | ||
Revision as of 20:04, 13 September 2019
Code setup page
This page will help you setup the awards and results page
- Place the awards and medals into a excel file to create the variable notation
- Place the variables indicated on the code on this page
- Place the resulting data bases into the results and all teams info pages