Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 394 Bytes

001 - Projects.md

File metadata and controls

8 lines (7 loc) · 394 Bytes

Projects

let buttons = '`BUTTON[increase-priority,decrease-priority,pause]`';
let projectPages = dv.pages().filter(x => x.type == 'project' && x.status && x.status.toLowerCase() === "active");
let projects = projectPages.map(x => [x.file.link, x.file.frontmatter.status, x.file.frontmatter.priority, buttons]);
dv.table(['Name', 'Status', 'Priority', 'Actions'], projects);