mirror of
https://github.com/zadam/trilium.git
synced 2025-10-19 22:58:52 +02:00
feat(collection/presentation): add template for presentation & slide
This commit is contained in:
parent
96f5b55d9f
commit
113061902e
@ -423,7 +423,11 @@
|
||||
"board_note_third": "Third note",
|
||||
"board_status_todo": "To Do",
|
||||
"board_status_progress": "In Progress",
|
||||
"board_status_done": "Done"
|
||||
"board_status_done": "Done",
|
||||
"presentation": "Presentation",
|
||||
"presentation_slide": "Presentation slide",
|
||||
"presentation_slide_first": "First slide",
|
||||
"presentation_slide_second": "Second slide"
|
||||
},
|
||||
"sql_init": {
|
||||
"db_not_initialized_desktop": "DB not initialized, please follow on-screen instructions.",
|
||||
|
@ -234,6 +234,70 @@ export default function buildHiddenSubtreeTemplates() {
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "_template_presentation",
|
||||
type: "book",
|
||||
title: t("hidden_subtree_templates.presentation"),
|
||||
icon: "bx bx-slideshow",
|
||||
attributes: [
|
||||
{
|
||||
name: "template",
|
||||
type: "label"
|
||||
},
|
||||
{
|
||||
name: "viewType",
|
||||
type: "label",
|
||||
value: "presentation"
|
||||
},
|
||||
{
|
||||
name: "collection",
|
||||
type: "label"
|
||||
},
|
||||
{
|
||||
name: "child:template",
|
||||
type: "relation",
|
||||
value: "_template_presentation_slide"
|
||||
}
|
||||
],
|
||||
children: [
|
||||
{
|
||||
id: "_template_presentation_first",
|
||||
type: "text",
|
||||
title: t("hidden_subtree_templates.presentation_slide_first"),
|
||||
attributes: [
|
||||
{
|
||||
name: "template",
|
||||
type: "relation",
|
||||
value: "_template_presentation_slide"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "_template_presentation_second",
|
||||
type: "text",
|
||||
title: t("hidden_subtree_templates.presentation_slide_second"),
|
||||
attributes: [
|
||||
{
|
||||
name: "template",
|
||||
type: "relation",
|
||||
value: "_template_presentation_slide"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "_template_presentation_slide",
|
||||
type: "text",
|
||||
title: t("hidden_subtree_templates.presentation_slide"),
|
||||
icon: "bx bx-rectangle",
|
||||
attributes: [
|
||||
{
|
||||
name: "slide",
|
||||
type: "label"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user