feat(views/board): set up template

This commit is contained in:
Elian Doran 2025-07-20 10:30:48 +03:00
parent b1b756b179
commit af797489e8
No known key found for this signature in database
2 changed files with 31 additions and 2 deletions

View File

@ -317,6 +317,8 @@
"start-time": "Start Time",
"end-time": "End Time",
"geolocation": "Geolocation",
"built-in-templates": "Built-in templates"
"built-in-templates": "Built-in templates",
"board": "Board",
"status": "Status"
}
}

View File

@ -170,7 +170,34 @@ export default function buildHiddenSubtreeTemplates() {
isInheritable: true
}
]
}
},
{
id: "_template_board",
type: "book",
title: t("hidden_subtree_templates.board"),
icon: "bx bx-columns",
attributes: [
{
name: "template",
type: "label"
},
{
name: "collection",
type: "label"
},
{
name: "viewType",
type: "label",
value: "board"
},
{
name: "label:status",
type: "label",
value: `promoted,alias=${t("hidden_subtree_templates.status")},single,text`,
isInheritable: true
}
]
},
]
};