Title EDT

This commit is contained in:
Sébastien Lehmann 2023-12-29 09:48:20 +01:00
parent 924037d5c6
commit c88464125e

View File

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