diff --git a/src/app/app.component.ts b/src/app/app.component.ts index d68cb3de..fbc366c5 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -21,6 +21,8 @@ export class AppComponent implements OnInit, OnDestroy { public devModeEnabled = !environment.production; private themeSubscription: Subscription; + public environment = environment; + constructor( private router: Router, private titleService: Title, diff --git a/src/app/core/components/header/header.component.html b/src/app/core/components/header/header.component.html index bbe7f57f..eaaf2b93 100644 --- a/src/app/core/components/header/header.component.html +++ b/src/app/core/components/header/header.component.html @@ -6,7 +6,7 @@ {{ appTitle }} - + (dev) @@ -47,8 +47,18 @@ -
- Environnement de développement: voici des liens de démonstration issus des fixtures Doctrine de date-poll-api. +
+ + + Ce site est un espace de démonstration, les informations que vous y mettrez seront régulièrement supprimées. + N'en faites pas une utilisation réelle. +
+ +
+ voici des liens de démonstration issus des fixtures Doctrine de date-poll-api.
= this.userService.user; - public env = environment; @Input() public appTitle = environment.appTitle; @Input() public appLogo = environment.appLogo; mobileMenuVisible = false; + public environment = environment; constructor(private userService: UserService) {} diff --git a/src/app/features/administration/form/base-config/base-config.component.html b/src/app/features/administration/form/base-config/base-config.component.html index 92c2817a..625f2af0 100644 --- a/src/app/features/administration/form/base-config/base-config.component.html +++ b/src/app/features/administration/form/base-config/base-config.component.html @@ -6,6 +6,13 @@


+ errors: +
+			form.errors :
+				{{ form.controls.title.errors | json }}
+			
+ + + Ce champ est requis +