1
0

#2 Folder sharing

This commit is contained in:
2023-01-23 21:02:09 +01:00
parent 7ba25aa455
commit b3ea85bdae
19 changed files with 184 additions and 70 deletions

View File

@@ -51,7 +51,7 @@ public class NotesController implements InitializingBean {
}
this.messageHelper.addAndClearAll(model);
model.addAttribute("currentNote", notePath);
model.addAttribute("currentNote", optNotePath.orElse(Path.of("/")));
model.addAttribute("tree", this.filesService.getTree(app, Optional.empty()));
model.addAttribute("dirs", this.filesService.collectDirs(app, Optional.empty()));
model.addAttribute("apps", this.appRegistry.getAll());
@@ -124,6 +124,6 @@ public class NotesController implements InitializingBean {
@Override
public void afterPropertiesSet() throws Exception {
this.filesService.createAppDirectory(this.app);
//this.filesService.createAppDirectory(this.app);
}
}

View File

@@ -4,4 +4,6 @@ nbscloud.notes.action.delete=Delete
nbscloud.notes.save.success=Saved
nbscloud.notes.delete.success=Deleted
nbscloud.notes.createDir.success=Directory created
nbscloud.notes.createNote.success=Note created
nbscloud.notes.createNote.success=Note created
nbscloud.notes.index.title=nbscloud - notes\:\u0020

View File

@@ -4,4 +4,6 @@ nbscloud.notes.action.delete=L\u00F6schen
nbscloud.notes.save.success=Gespeichert
nbscloud.notes.delete.success=Gel\u00F6scht
nbscloud.notes.createDir.success=Verzeichnis erstellt
nbscloud.notes.createNote.success=Notiz erstellt
nbscloud.notes.createNote.success=Notiz erstellt
nbscloud.notes.index.title=nbscloud - Notizen\:\u0020