forked from ScoDoc/DocScoDoc
update partition editor suite à update API
This commit is contained in:
parent
b0ebdf2fb9
commit
ddf281f394
@ -96,9 +96,9 @@
|
||||
let output = "";
|
||||
arrayGroups.forEach((groupe) => {
|
||||
/***************/
|
||||
outputMasques += `<div data-idgroupe="${groupe.id}"><span class="editing move">||</span><span>${groupe.name}</span><span class="editing modif">✏️</span><span class="editing suppr">❌</span></div>`;
|
||||
outputMasques += `<div data-idgroupe="${groupe.id}"><span class="editing move">||</span><span>${groupe.group_name}</span><span class="editing modif">✏️</span><span class="editing suppr">❌</span></div>`; // patch JMP (renommage du champ name dans l API)
|
||||
/***************/
|
||||
output += templateGroupe_zoneGroupes(groupe.id, groupe.name);
|
||||
output += templateGroupe_zoneGroupes(groupe.id, groupe.group_name); // patch JMP (renommage du champ name dans l API)
|
||||
})
|
||||
return output;
|
||||
})()}
|
||||
@ -134,7 +134,7 @@
|
||||
})
|
||||
arrayGroups.forEach((groupe) => {
|
||||
output += `
|
||||
<label><input type=radio name="${partition.id}-${etudiant.etudid}" value="${groupe.id}" ${(etudiant.partitions[partition.id] == groupe.id) ? "checked" : ""}><span>${groupe.name}</span></label>`;
|
||||
<label><input type=radio name="${partition.id}-${etudiant.etudid}" value="${groupe.id}" ${(etudiant.partitions[partition.id] == groupe.id) ? "checked" : ""}><span>${groupe.group_name}</span></label>`;
|
||||
|
||||
if (etudiant.partitions[partition.id] == groupe.id) {
|
||||
affected = true;
|
||||
|
Loading…
Reference in New Issue
Block a user