public holidays in bold

This commit is contained in:
Greg 2025-05-10 22:31:37 +02:00
parent 5e4aa9b18c
commit 33c9ec58ff

View File

@ -78,9 +78,13 @@ function renderTable() {
if (rowIdx === closestIdx) tr.id = 'current-match-row'; if (rowIdx === closestIdx) tr.id = 'current-match-row';
// Date cell // Date cell
const dateTd = document.createElement('td'); const dateTd = document.createElement('td');
dateTd.innerText = date;
if (date === '29/05/25' || date === '25/12/25') { if (date === '29/05/25' || date === '25/12/25') {
const strong = document.createElement('strong');
strong.innerText = date;
dateTd.appendChild(strong);
dateTd.title = 'Public Holiday'; dateTd.title = 'Public Holiday';
} else {
dateTd.innerText = date;
} }
tr.appendChild(dateTd); tr.appendChild(dateTd);
// Player attendance // Player attendance