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';
|
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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user