feat: v4.2 - garant v editoru+PDF, footnote index v bloků, stránka s poznámkami
Some checks failed
Build & Push Docker / build (push) Has been cancelled

This commit is contained in:
2026-02-20 17:43:19 +01:00
parent 6c4ca5e9be
commit feb75219a7
6 changed files with 190 additions and 17 deletions

View File

@@ -233,14 +233,24 @@ const Canvas = {
const inner = document.createElement('div');
inner.className = 'block-inner';
const timeLabel = `${block.start}${block.end}`;
const nameEl = document.createElement('span');
nameEl.className = 'block-title';
nameEl.textContent = block.title;
nameEl.textContent = block.title + (block.notes ? ' *' : '');
const timeEl = document.createElement('span');
timeEl.className = 'block-time';
timeEl.textContent = timeLabel + (isOvernight ? ' →' : '');
inner.appendChild(nameEl);
inner.appendChild(timeEl);
if (block.responsible) {
const respEl = document.createElement('span');
respEl.className = 'block-responsible';
respEl.textContent = block.responsible;
inner.appendChild(respEl);
}
el.appendChild(inner);
// Click to edit