diff --git a/src/app/home/home-assistante/home-assistante.component.ts b/src/app/home/home-assistante/home-assistante.component.ts
index 9f2aa73..2fc7111 100644
--- a/src/app/home/home-assistante/home-assistante.component.ts
+++ b/src/app/home/home-assistante/home-assistante.component.ts
@@ -103,7 +103,7 @@ export class HomeAssistanteComponent implements OnInit, AfterViewInit {
* Récupérer la liste des EP Disponibles dès l'initialisation.
*/
ngOnInit() {
- this.updateDataSource();
+ //this.updateDataSource();
}
diff --git a/src/app/referents/assignation-referent/assignation-referent.component.html b/src/app/referents/assignation-referent/assignation-referent.component.html
new file mode 100644
index 0000000..6fcb867
--- /dev/null
+++ b/src/app/referents/assignation-referent/assignation-referent.component.html
@@ -0,0 +1,2 @@
+
+
Assignation référent
diff --git a/src/app/referents/assignation-referent/assignation-referent.component.ts b/src/app/referents/assignation-referent/assignation-referent.component.ts
new file mode 100644
index 0000000..9b27e63
--- /dev/null
+++ b/src/app/referents/assignation-referent/assignation-referent.component.ts
@@ -0,0 +1,14 @@
+import { Component, OnInit } from "@angular/core";
+
+@Component({
+ selector: 'assignation-referent',
+ templateUrl: './assignation-referent.component.html'
+})
+export class AssignationReferentComponent implements OnInit {
+
+ constructor() {}
+
+ ngOnInit() {
+
+ }
+}
\ No newline at end of file
diff --git a/src/app/referents/referents.module.ts b/src/app/referents/referents.module.ts
index 9a368d6..4aa108e 100644
--- a/src/app/referents/referents.module.ts
+++ b/src/app/referents/referents.module.ts
@@ -10,10 +10,11 @@ import { MatTablesModule } from "@shared/mat-tables/mat-tables.module";
import { ReferentsComponent } from './referents.component';
import { DetailsReferentComponent } from './details-referent/details-referent.component';
import { ReferentsRoutingModule } from './referents.routing.module';
+import { AssignationReferentComponent } from "./assignation-referent/assignation-referent.component";
@NgModule({
declarations: [ DetailsReferentComponent,
- ReferentsComponent
+ ReferentsComponent, AssignationReferentComponent
],
exports: [ ReferentsComponent
],
diff --git a/src/app/referents/referents.routing.module.ts b/src/app/referents/referents.routing.module.ts
index 35af0e6..135d8d8 100644
--- a/src/app/referents/referents.routing.module.ts
+++ b/src/app/referents/referents.routing.module.ts
@@ -8,17 +8,22 @@ import { DetailsReferentComponent } from "./details-referent/details-referent.co
import { paths_referents } from "@shared/utils/paths";
import { AuthGuard } from '@shared/auth/auth.guard';
+import { AssignationReferentComponent } from './assignation-referent/assignation-referent.component';
/**
* Routes du module référents
*/
const routes: Routes = [
- {
- path:'',
+ { path:'',
component: ReferentsComponent,
pathMatch: 'full',
canActivate: [AuthGuard]
},
+ {
+ path:paths_referents.assignation,
+ component: AssignationReferentComponent,
+ canActivate: [AuthGuard]
+ },
{
path:paths_referents.get,
component: DetailsReferentComponent,
diff --git a/src/app/shared/nav-menu/nav-menu-assistante/nav-menu-assistante.component.html b/src/app/shared/nav-menu/nav-menu-assistante/nav-menu-assistante.component.html
index 31e0c68..d616202 100644
--- a/src/app/shared/nav-menu/nav-menu-assistante/nav-menu-assistante.component.html
+++ b/src/app/shared/nav-menu/nav-menu-assistante/nav-menu-assistante.component.html
@@ -6,4 +6,12 @@
-
+
+
+
+
+
+
diff --git a/src/app/shared/utils/paths.ts b/src/app/shared/utils/paths.ts
index c237e9d..0c8b5ea 100644
--- a/src/app/shared/utils/paths.ts
+++ b/src/app/shared/utils/paths.ts
@@ -89,6 +89,7 @@ const paths_home = {
const paths_referents = {
base: "/referents",
path: "referents",
+ assignation: "assignations",
get: ":id"
};