From df8b16b8c94fd01c1b96abfb3c7e2dc63980fef5 Mon Sep 17 00:00:00 2001 From: Antonin Coquet <ext.sopra.acoquet@grandlyon.com> Date: Thu, 6 May 2021 15:54:33 +0200 Subject: [PATCH 1/3] feat: add women to public --- .../components/structure-details/structure-details.component.ts | 2 ++ src/app/structure-list/enum/public.enum.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/src/app/structure-list/components/structure-details/structure-details.component.ts b/src/app/structure-list/components/structure-details/structure-details.component.ts index bf25061ad..216b0d1bd 100644 --- a/src/app/structure-list/components/structure-details/structure-details.component.ts +++ b/src/app/structure-list/components/structure-details/structure-details.component.ts @@ -237,6 +237,8 @@ export class StructureDetailsComponent implements OnInit { return 'Tout public'; case PublicCategorie.under16Years: return 'Moins de 16 ans'; + case PublicCategorie.women: + return 'Femmes'; default: return null; } diff --git a/src/app/structure-list/enum/public.enum.ts b/src/app/structure-list/enum/public.enum.ts index 272561297..5d3136bca 100644 --- a/src/app/structure-list/enum/public.enum.ts +++ b/src/app/structure-list/enum/public.enum.ts @@ -4,4 +4,5 @@ export enum PublicCategorie { adult = 'adultes', elderly = 'seniorsPlusDe65Ans', all = 'toutPublic', + women = 'femme', } -- GitLab From 3504248e48ceed25532ecddf2934c7604a6db99a Mon Sep 17 00:00:00 2001 From: Antonin Coquet <ext.sopra.acoquet@grandlyon.com> Date: Thu, 6 May 2021 15:55:36 +0200 Subject: [PATCH 2/3] fix: naming issue --- src/app/structure-list/enum/public.enum.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/structure-list/enum/public.enum.ts b/src/app/structure-list/enum/public.enum.ts index 5d3136bca..39f8971da 100644 --- a/src/app/structure-list/enum/public.enum.ts +++ b/src/app/structure-list/enum/public.enum.ts @@ -4,5 +4,5 @@ export enum PublicCategorie { adult = 'adultes', elderly = 'seniorsPlusDe65Ans', all = 'toutPublic', - women = 'femme', + women = 'femmes', } -- GitLab From 9baacf230b8ee782d02cc95a300e6346d660462e Mon Sep 17 00:00:00 2001 From: Antonin Coquet <ext.sopra.acoquet@grandlyon.com> Date: Mon, 10 May 2021 11:22:32 +0200 Subject: [PATCH 3/3] fix: change public displayed for women --- .../components/structure-details/structure-details.component.ts | 2 +- src/app/structure-list/enum/public.enum.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/structure-list/components/structure-details/structure-details.component.ts b/src/app/structure-list/components/structure-details/structure-details.component.ts index 216b0d1bd..8006b9ba8 100644 --- a/src/app/structure-list/components/structure-details/structure-details.component.ts +++ b/src/app/structure-list/components/structure-details/structure-details.component.ts @@ -238,7 +238,7 @@ export class StructureDetailsComponent implements OnInit { case PublicCategorie.under16Years: return 'Moins de 16 ans'; case PublicCategorie.women: - return 'Femmes'; + return 'Uniquement femmes'; default: return null; } diff --git a/src/app/structure-list/enum/public.enum.ts b/src/app/structure-list/enum/public.enum.ts index 39f8971da..905f79748 100644 --- a/src/app/structure-list/enum/public.enum.ts +++ b/src/app/structure-list/enum/public.enum.ts @@ -4,5 +4,5 @@ export enum PublicCategorie { adult = 'adultes', elderly = 'seniorsPlusDe65Ans', all = 'toutPublic', - women = 'femmes', + women = 'uniquementFemmes', } -- GitLab