Skip to content

Commit

Permalink
fix: rename cnfs with conseiller numérique
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-gavanier committed Jul 24, 2023
1 parent fe82e68 commit d7e129b
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/assets/data/source.json
Original file line number Diff line number Diff line change
Expand Up @@ -8308,7 +8308,7 @@
},
{
"id": "882",
"nom": "Conseiller Numérique France Services Saint Gervais d'Auvergne",
"nom": "Conseiller Numérique Saint Gervais d'Auvergne",
"services": "Prendre en main un ordinateur;Utiliser le numérique au quotidien;Approfondir ma culture numérique;Prendre en main un smartphone ou une tablette;Promouvoir la citoyenneté numérique;Accompagner les démarches de santé;Devenir autonome dans les démarches administratives;Réaliser des démarches administratives avec un accompagnement",
"pivot": "00000000000000",
"commune": "Saint gervais d'auvergne",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ describe('label presenter', (): void => {

expect(labelPresentation).toStrictEqual<LabelPresentation>({
ref: LabelNational.CNFS,
nom: 'Conseiller numérique France Services',
nom: 'Conseiller numérique',
description:
'Un Conseiller numérique France Services a pour mission d’accompagner les Français dans leur appropriation des usages numériques quotidiens',
'Un Conseiller numérique a pour mission d’accompagner les Français dans leur appropriation des usages numériques quotidiens',
url: 'https://www.conseiller-numerique.gouv.fr/',
carracteristiques: [
Service.RealiserDesDemarchesAdministratives,
Expand Down
4 changes: 2 additions & 2 deletions src/features/cartographie/presenters/label/label.presenter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export const labelToDisplayMap: Map<LabelNational, LabelPresentation> = new Map<
LabelNational.CNFS,
{
ref: LabelNational.CNFS,
nom: 'Conseiller numérique France Services',
nom: 'Conseiller numérique',
description:
'Un Conseiller numérique France Services a pour mission d’accompagner les Français dans leur appropriation des usages numériques quotidiens',
'Un Conseiller numérique a pour mission d’accompagner les Français dans leur appropriation des usages numériques quotidiens',
url: 'https://www.conseiller-numerique.gouv.fr/',
carracteristiques: [
Service.RealiserDesDemarchesAdministratives,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ const availableSourcesMap: Map<string, SourcePresentation> = new Map<string, Sou
[
'conseiller-numerique',
{
label: 'Conseiller numérique France Services',
label: 'Conseiller numérique',
link: 'https://www.data.gouv.fr/fr/datasets/lieux-de-mediation-numerique-sur-le-territoire-national-fournis-par-conseiller-numerique-1/',
detail: "Ces données sont intégrées via l'espace Coop CNFS",
update_link: 'https://coop.conseiller-numerique.gouv.fr/mes-lieux-activite',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@
<span class="text-lowercase">{{ coordinateur.perimetre }}</span>
</span>
<br />
<i class="text-muted">{{ coordinateur.nombreDePersonnesCoordonnees }} {{ coordinateur.dispositif }}</i>
<i class="text-muted">
{{ coordinateur.nombreDePersonnesCoordonnees }}
<ng-container [ngPlural]="coordinateur.nombreDePersonnesCoordonnees">
<ng-template ngPluralCase="1">conseiller numérique</ng-template>
<ng-template ngPluralCase="other">conseillers numériques</ng-template>
</ng-container>
</i>
</div>
</mgl-popup>
<ng-container *ngFor="let coordinateur of coordinateurs; index as i; trackBy: trackByCoordinateurId">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<span class="fw-bold flex-grow-1" [ngSwitch]="sortForm.controls.by.value">
<ng-container *ngSwitchCase="'nom'">Trier par nom</ng-container>
<ng-container *ngSwitchCase="'codePostal'">Trier par code postal</ng-container>
<ng-container *ngSwitchCase="'nombreCnfs'">Trier par nombre de CnFS</ng-container>
<ng-container *ngSwitchCase="'nombreCnfs'">Trier par nombre de conseillers numériques</ng-container>
</span>
<i class="ri-lg" [ngClass]="(collapseSort.isCollapsed$ | async) ? 'ri-arrow-down-s-line' : 'ri-close-line'"></i>
</button>
Expand Down Expand Up @@ -81,7 +81,7 @@
for="byNombreCnfs"
class="form-check-label fw-bold ms-2 w-100"
[class.text-muted]="sortForm.controls.by.value !== 'nombreCnfs'">
Trier par nombre de CnFS
Trier par nombre de conseillers numériques
</label>
</div>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
<td class="px-3 align-middle">
<div class="bg-primary rounded-circle square-xs"></div>
</td>
<th>CnFS coordonnés</th>
<th>Conseillers numériques coordonnés</th>
<td class="small fst-italic">{{ nombreConseillersCoordonnes$ | async }}</td>
</tr>
<tr>
<td class="px-3 align-middle">
<div class="bg-muted rounded-circle square-xs"></div>
</td>
<th>CnFS non-coordonnés</th>
<th>Conseillers numériques non-coordonnés</th>
<td class="small fst-italic">{{ nombreConseillersNonCoordonnes$ | async }}</td>
</tr>
</tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ <h1 class="h2 fw-bold mb-0">{{ coordinateur.nom }}</h1>
style="height: 24px"
class="me-1" />
Coordonne
<b>{{ coordinateur.nombreDePersonnesCoordonnees}} {{ coordinateur.dispositif }}</b>
<b>
{{ coordinateur.nombreDePersonnesCoordonnees}}
<ng-container [ngPlural]="coordinateur.nombreDePersonnesCoordonnees">
<ng-template ngPluralCase="1">conseiller numérique</ng-template>
<ng-template ngPluralCase="other">conseillers numériques</ng-template>
</ng-container>
</b>
répartis sur
<b>
{{ coordinateur.nombreDeStructuresAvecDesPersonnesCoordonnees}}
Expand Down Expand Up @@ -77,7 +83,7 @@ <h1 class="h2 fw-bold mb-0">{{ coordinateur.nom }}</h1>
</div>
</div>
<div class="h-100 overflow-scroll p-4">
<span class="text-muted">CNFS À PROXIMITÉ</span>
<span class="text-muted">CONSEILLERS NUMÉRIQUES À PROXIMITÉ</span>
<div class="row g-3 mt-2">
<div *ngFor="let conseiller of conseillers$ | async" class="position-relative col-6">
<div class="bg-light p-3 h-100 d-flex flex-column">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@
<h5 class="mb-0 fw-bold">{{ coordinateur.prenom }} {{ coordinateur.nom }}</h5>
</div>
<div class="col-auto text-end fst-italic">
<small>{{ coordinateur.nombreDePersonnesCoordonnees }} {{ coordinateur.dispositif }}</small>
<small>
{{ coordinateur.nombreDePersonnesCoordonnees }}
<ng-container [ngPlural]="coordinateur.nombreDePersonnesCoordonnees">
<ng-template ngPluralCase="1">conseiller numérique</ng-template>
<ng-template ngPluralCase="other">conseillers numériques</ng-template>
</ng-container>
</small>
<br />
<small>{{ coordinateur.commune }} ({{ coordinateur.codePostal }})</small>
</div>
Expand Down

0 comments on commit d7e129b

Please sign in to comment.