diff --git a/titles/idac/frontend/js/idac_scripts.js b/titles/idac/frontend/js/idac_scripts.js index e652337..dffc1ea 100644 --- a/titles/idac/frontend/js/idac_scripts.js +++ b/titles/idac/frontend/js/idac_scripts.js @@ -11,7 +11,7 @@ function evaluateRank(evalId) { } else if (evalId >= 13 && evalId <= 16) { return "Expert"; } else if (evalId >= 17 && evalId <= 20) { - return "Professional"; + return "Pro"; } else if (evalId >= 21 && evalId <= 24) { return "Master"; } else if (evalId == 25) { diff --git a/titles/idac/frontend/ranking/js/scripts.js b/titles/idac/frontend/ranking/js/scripts.js index 900061b..9b2fc57 100644 --- a/titles/idac/frontend/ranking/js/scripts.js +++ b/titles/idac/frontend/ranking/js/scripts.js @@ -19,13 +19,14 @@ function loadRanking(courseId, pageNumber = 1) { var total_pages = data.total_pages; // Generate the HTML table - var tableHtml = '
# | Name/Car | Time | Eval | Store/Date |
---|
# | Name/Car | Time | Eval | Store/Date | ||
---|---|---|---|---|---|---|
' + ranking.rank + ' | '; tableHtml += '' + ranking.name + ' ' + getCarName(ranking.style_car_id) + ' | ';
- tableHtml += '' + formatGoalTime(ranking.record) + ' | '; - tableHtml += '' + evaluateRank(ranking.eval_id) + ' | '; + tableHtml += '' + formatGoalTime(ranking.record) + ' | '; + tableHtml += '' + evaluateRank(ranking.eval_id) + ' | '; // Ignore the Store and Date columns on small screens tableHtml += '' + ranking.store + ' ' + ranking.update_date + ' | ';
tableHtml += '