public holidays in bold
This commit is contained in:
parent
5e4aa9b18c
commit
33c9ec58ff
@ -78,9 +78,13 @@ function renderTable() {
|
||||
if (rowIdx === closestIdx) tr.id = 'current-match-row';
|
||||
// Date cell
|
||||
const dateTd = document.createElement('td');
|
||||
dateTd.innerText = date;
|
||||
if (date === '29/05/25' || date === '25/12/25') {
|
||||
const strong = document.createElement('strong');
|
||||
strong.innerText = date;
|
||||
dateTd.appendChild(strong);
|
||||
dateTd.title = 'Public Holiday';
|
||||
} else {
|
||||
dateTd.innerText = date;
|
||||
}
|
||||
tr.appendChild(dateTd);
|
||||
// Player attendance
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user