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
Some checks failed
Build & Push Docker / build (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user