{{ block make_treeview(treeviewData=nil) }} {{ if isset(treeviewData)}} {{ range index, folder := treeviewData.Folder.Folders }} {{ folderId := treeviewData.IdentifierChain+"_"+index }} {{ fileSize(folder.TotalSize(), T) }} {{ yield make_treeview(treeviewData=makeTreeViewData(folder, treeviewData.NestLevel+1, folderId)) }}
{{ end }} {{ range _, file := treeviewData.Folder.Files }} {{file.Filename()}} {{fileSize(file.Filesize, T, true)}} {{ end }} {{ end }} {{ end }}