forked from rebillar/site-accueil-insa
Replaced saturday and sunday by weekend in planning
This commit is contained in:
parent
cc0da3590f
commit
1fd533363c
1 changed files with 2 additions and 3 deletions
|
@ -14,8 +14,7 @@ let dayNames =
|
|||
'Mercredi',
|
||||
'Jeudi',
|
||||
'Vendredi',
|
||||
'Samedi',
|
||||
'Dimanche'];
|
||||
'Weekend',];
|
||||
|
||||
$(document).ready(function () {
|
||||
generateTable();
|
||||
|
@ -60,7 +59,7 @@ function clicked($elem){
|
|||
function generateTable() {
|
||||
tableWrapper.html(''); // Reset the table
|
||||
generateHours();
|
||||
for (let i = 1; i <= 7; i++) { // Iterate over the days
|
||||
for (let i = 1; i <= 6; i++) { // Iterate over the days
|
||||
tableWrapper.append('<div class="day-column" id="day_' + i + '"><div class="planning-header">' + dayNames[i] + '</div></div>');
|
||||
let $dayColumn = $('#day_'+i);
|
||||
getDayActivities(i, function (data) {
|
||||
|
|
Loading…
Reference in a new issue