+ Collaborateur : {{ note.collaborateur.nom }} {{ note.collaborateur.prenom }}
+ Créé le {{ note.dateCreation | date : 'dd/MM/yyyy à hh:mm'}}
+ Dernère mise à jour le {{ note.dateMiseAjour | date : 'dd/MM/yyyy à hh:mm'}}
+
+ Titre
+
+
+ Contenu de la note
+
+
+
+
\ No newline at end of file
diff --git a/src/app/notes/details-note/details-note.component.ts b/src/app/notes/details-note/details-note.component.ts
new file mode 100644
index 0000000..a934f5d
--- /dev/null
+++ b/src/app/notes/details-note/details-note.component.ts
@@ -0,0 +1,28 @@
+import { Component, OnInit } from "@angular/core";
+import { ActivatedRoute } from "@angular/router";
+import { DetailsNoteDTO, NotesService } from "@shared/api-swagger";
+import { Subscription } from "rxjs";
+
+
+@Component({
+ selector: "app-details-note",
+ templateUrl: "./details-note.component.html"
+})
+export class DetailsNoteComponent implements OnInit{
+
+ note: DetailsNoteDTO;
+
+ noteSubscription: Subscription;
+
+ constructor(private noteService: NotesService, private activatedRoute: ActivatedRoute) {}
+
+ ngOnInit() {
+ const id: any = this.activatedRoute.snapshot.paramMap.get("id");
+ if(id != undefined) {
+ this.noteSubscription = this.noteService.getNoteById(id).subscribe(
+ note => this.note = note,
+ err => console.log(err)
+ )
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/app/notes/notes.component.html b/src/app/notes/notes.component.html
index dc958bb..ef8c786 100644
--- a/src/app/notes/notes.component.html
+++ b/src/app/notes/notes.component.html
@@ -39,7 +39,7 @@