1
0
forked from ScoDoc/ScoDoc

Title id EDT

This commit is contained in:
Sébastien Lehmann 2023-12-29 09:41:25 +01:00
parent 21207b2dad
commit c456133487

View File

@ -259,7 +259,7 @@
<span class="editing calendarEdit" title="${title_EDT}">📅</span> <span class="editing calendarEdit" title="${title_EDT}">📅</span>
<span class="editing suppr">❌</span>`; <span class="editing suppr">❌</span>`;
if (title_EDT) { if (groupe.edt_id) {
div.querySelector(".calendarEdit").classList.add("actif"); div.querySelector(".calendarEdit").classList.add("actif");
} }
@ -801,7 +801,7 @@
let btnGroupe = document.querySelector(`#zonePartitions .groupes [data-idgroupe="${idGroupe}"]`); let btnGroupe = document.querySelector(`#zonePartitions .groupes [data-idgroupe="${idGroupe}"]`);
btnGroupe.dataset.idedt = id_EDT; btnGroupe.dataset.idedt = id_EDT;
btnGroupe.querySelector(".calendarEdit").title = id_EDT || ""; btnGroupe.querySelector(".calendarEdit").title = `Identifiant EDT: ${id_EDT || this.parentElement.parentElement.querySelector("span").innerText}`;
if (id_EDT) { if (id_EDT) {
btnGroupe.querySelector(".calendarEdit").classList.add("actif"); btnGroupe.querySelector(".calendarEdit").classList.add("actif");