481 B
481 B
Jahresziele
const pages = dv.current().file.inlinks.where(p => dv.page(p.path).tags?.includes('process/project'));
dv.table(["Project", "Status", "Completed", "Tasks"], pages.map(p => {
const page = dv.page(p.path);
const tasks = page.file.tasks;
return [
page.file.link,
page.status,
tasks.where(t => t.fullyCompleted === true).length,
tasks.length
]
}));
^<% tp.file.title %>i