#2 Folder sharing
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user