mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 15:49:00 +02:00
feat(collections): display grid/view in collections list
This commit is contained in:
parent
0d3c5b06e2
commit
1a72eb91ee
@ -27,6 +27,48 @@ export default function buildHiddenSubtreeTemplates() {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: "_template_list_view",
|
||||||
|
type: "book",
|
||||||
|
title: "List View",
|
||||||
|
icon: "bx bx-list-ul",
|
||||||
|
attributes: [
|
||||||
|
{
|
||||||
|
name: "template",
|
||||||
|
type: "label"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "collection",
|
||||||
|
type: "label"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "viewType",
|
||||||
|
type: "label",
|
||||||
|
value: "list"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: "_template_grid_view",
|
||||||
|
type: "book",
|
||||||
|
title: "Grid View",
|
||||||
|
icon: "bx bxs-grid",
|
||||||
|
attributes: [
|
||||||
|
{
|
||||||
|
name: "template",
|
||||||
|
type: "label"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "collection",
|
||||||
|
type: "label"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "viewType",
|
||||||
|
type: "label",
|
||||||
|
value: "grid"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "_template_calendar",
|
id: "_template_calendar",
|
||||||
type: "book",
|
type: "book",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user