mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 15:49:00 +02:00
feat(views/board): add preset notes
This commit is contained in:
parent
af797489e8
commit
b7b0b39afc
@ -319,6 +319,12 @@
|
||||
"geolocation": "Geolocation",
|
||||
"built-in-templates": "Built-in templates",
|
||||
"board": "Board",
|
||||
"status": "Status"
|
||||
"status": "Status",
|
||||
"board_note_first": "First note",
|
||||
"board_note_second": "Second note",
|
||||
"board_note_third": "Third note",
|
||||
"board_status_todo": "To Do",
|
||||
"board_status_progress": "In Progress",
|
||||
"board_status_done": "Done"
|
||||
}
|
||||
}
|
||||
|
@ -196,6 +196,38 @@ export default function buildHiddenSubtreeTemplates() {
|
||||
value: `promoted,alias=${t("hidden_subtree_templates.status")},single,text`,
|
||||
isInheritable: true
|
||||
}
|
||||
],
|
||||
children: [
|
||||
{
|
||||
id: "_template_board_first",
|
||||
title: t("hidden_subtree_templates.board_note_first"),
|
||||
attributes: [{
|
||||
name: "status",
|
||||
value: t("hidden_subtree_templates.board_status_todo"),
|
||||
type: "label"
|
||||
}],
|
||||
type: "text"
|
||||
},
|
||||
{
|
||||
id: "_template_board_second",
|
||||
title: t("hidden_subtree_templates.board_note_second"),
|
||||
attributes: [{
|
||||
name: "status",
|
||||
value: t("hidden_subtree_templates.board_status_progress"),
|
||||
type: "label"
|
||||
}],
|
||||
type: "text"
|
||||
},
|
||||
{
|
||||
id: "_template_board_third",
|
||||
title: t("hidden_subtree_templates.board_note_third"),
|
||||
attributes: [{
|
||||
name: "status",
|
||||
value: t("hidden_subtree_templates.board_status_done"),
|
||||
type: "label"
|
||||
}],
|
||||
type: "text"
|
||||
}
|
||||
]
|
||||
},
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user