Skip to content

Commit

Permalink
content: use responsable rather than dirigeants in service public
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierJp committed May 31, 2024
1 parent bb77552 commit 7bd2adf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function ResponsableSection({ servicePublic }: IProps) {
return (
<DataSection
id="responsables-service-public"
title={`Dirigeants`}
title={`Responsable(s)`}
sources={[EAdministration.DILA]}
notFoundInfo={<NotFoundInfo />}
data={servicePublic}
Expand All @@ -21,15 +21,15 @@ export default function ResponsableSection({ servicePublic }: IProps) {
<>
{!servicePublic.affectationPersonne ? (
<p>
Ce service public n’a pas d’équipe dirigeante enregistrée auprès
de la <DILA />.
Ce service public n’a pas de responsable enregistré auprès de la{' '}
<DILA />.
</p>
) : (
<>
<p>
Ce service public possède{' '}
{servicePublic.affectationPersonne.length} dirigeant(es)
enregistré(es) auprès de la <DILA />
{servicePublic.affectationPersonne.length} responsable(s)
enregistré(s) auprès de la <DILA />
{servicePublic.liens.annuaireServicePublic && (
<>
{' '}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function SubServicesDataSection({
Ce service public se compose de {subServices.length} départements :
</p>
<FullTable
head={['Nom du département', 'Équipe dirigeante']}
head={['Nom du département', 'Responsable(s)']}
body={subServices.map((service) => {
return [
service.urlServicePublic ? (
Expand Down
1 change: 1 addition & 0 deletions components/service-public-section/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default function ServicePublicSection({
>
{(servicePublic) => (
<>
{servicePublic.mission && <p>{servicePublic.mission}</p>}
<TwoColumnTable body={getTableData(servicePublic, uniteLegale)} />
{servicePublic.liens.annuaireServicePublic && (
<p>
Expand Down

0 comments on commit 7bd2adf

Please sign in to comment.