mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 21:19:01 +01:00
feat(views/board): set up template
This commit is contained in:
parent
b1b756b179
commit
af797489e8
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@ -170,8 +170,35 @@ 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
|
||||
}
|
||||
]
|
||||
},
|
||||
]
|
||||
};
|
||||
|
||||
return templates;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user