diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index 62aab10..2ea2f43 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -43,6 +43,7 @@ import localeFr from '@angular/common/locales/fr';
import { CardAvatarComponent } from './components/card-avatar/card-avatar.component';
import { HumeurComponent } from './components/humeur/humeur.component';
import { DeconnexionComponent } from './components/deconnexion/deconnexion.component';
+import { AlertComponent } from './components/alert/alert.component';
registerLocaleData(localeFr)
@NgModule({
@@ -82,7 +83,8 @@ registerLocaleData(localeFr)
PageUpdateAccountComponent,
CardAvatarComponent,
DeconnexionComponent,
- HumeurComponent
+ HumeurComponent,
+ AlertComponent
],
imports: [
BrowserModule,
diff --git a/src/app/components/alert/alert.component.html b/src/app/components/alert/alert.component.html
index 1f67880..32e0ec5 100644
--- a/src/app/components/alert/alert.component.html
+++ b/src/app/components/alert/alert.component.html
@@ -1,4 +1,4 @@
-
+
{{alert.content}}
\ No newline at end of file
diff --git a/src/app/components/signin/signin.component.html b/src/app/components/signin/signin.component.html
index 83e4a52..5cb3e7a 100644
--- a/src/app/components/signin/signin.component.html
+++ b/src/app/components/signin/signin.component.html
@@ -27,10 +27,11 @@
-
diff --git a/src/app/components/signin/signin.component.ts b/src/app/components/signin/signin.component.ts
index ff6c04d..cb092a3 100644
--- a/src/app/components/signin/signin.component.ts
+++ b/src/app/components/signin/signin.component.ts
@@ -44,4 +44,9 @@ export class SigninComponent implements OnInit {
this.isShow = true;
}
}
+
+ onClickCloseAlert(){
+ console.log('fermeture');
+ this.isShow = ! this.isShow;
+ }
}
diff --git a/src/app/pages/page-agenda/page-agenda.component.html b/src/app/pages/page-agenda/page-agenda.component.html
index f667068..f71faf6 100644
--- a/src/app/pages/page-agenda/page-agenda.component.html
+++ b/src/app/pages/page-agenda/page-agenda.component.html
@@ -1,7 +1,9 @@
-
+
+
diff --git a/src/app/pages/page-agenda/page-agenda.component.ts b/src/app/pages/page-agenda/page-agenda.component.ts
index d9d86a2..0b23896 100644
--- a/src/app/pages/page-agenda/page-agenda.component.ts
+++ b/src/app/pages/page-agenda/page-agenda.component.ts
@@ -58,6 +58,7 @@ export class PageAgendaComponent implements AfterViewInit {
ngOnInit(): void {
this.userId = this.tokenService.getCurrentMembreId();
this.teamId = this.tokenService.getCurrentTeamId();
+ this.role = this.tokenService.getRole();
}
// petite triche pour eviter la repetition du nom dans le RDV