From 606c084914975e801a1b9a4240eb06d52518901a Mon Sep 17 00:00:00 2001 From: Vini75 <55738774+Vini75@users.noreply.github.com> Date: Tue, 24 Sep 2019 15:49:25 +0200 Subject: [PATCH 1/5] Add link to entreprises datagouv.fr --- app/views/shared/dossiers/_identite_entreprise.html.haml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/shared/dossiers/_identite_entreprise.html.haml b/app/views/shared/dossiers/_identite_entreprise.html.haml index 33f0ce548..6b271d21b 100644 --- a/app/views/shared/dossiers/_identite_entreprise.html.haml +++ b/app/views/shared/dossiers/_identite_entreprise.html.haml @@ -71,3 +71,6 @@ %tr %th.libelle Date de déclaration : %td= try_format_date(etablissement.association_date_declaration) + +%p + = link_to 'Autres informations sur l’organisme', "https://entreprise.data.gouv.fr/etablissement/#{etablissement.siret}" From 7f1b34926ff247763dcb21e97f07cc3dcf8e69dc Mon Sep 17 00:00:00 2001 From: Vini75 <55738774+Vini75@users.noreply.github.com> Date: Tue, 24 Sep 2019 15:55:06 +0200 Subject: [PATCH 2/5] link to entreprisedatagouv.fr on user --- .../users/dossiers/etablissement/_infos_entreprise.html.haml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/users/dossiers/etablissement/_infos_entreprise.html.haml b/app/views/users/dossiers/etablissement/_infos_entreprise.html.haml index 9667a54bd..8eec4460b 100644 --- a/app/views/users/dossiers/etablissement/_infos_entreprise.html.haml +++ b/app/views/users/dossiers/etablissement/_infos_entreprise.html.haml @@ -47,3 +47,6 @@ - if etablissement.exercices.present? %p.etablissement-exercices Les exercices comptables des trois dernières années seront joints à votre dossier. + +%p + = link_to 'Autres informations sur l’organisme', "https://entreprise.data.gouv.fr/etablissement/#{etablissement.siret}" From 9968eb69c00b6a0d96f6071cd8d4a558ecb3075c Mon Sep 17 00:00:00 2001 From: Vini75 <55738774+Vini75@users.noreply.github.com> Date: Tue, 24 Sep 2019 16:14:23 +0200 Subject: [PATCH 3/5] Adjust link to entreprisedatagouv --- app/views/shared/dossiers/_identite_entreprise.html.haml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/shared/dossiers/_identite_entreprise.html.haml b/app/views/shared/dossiers/_identite_entreprise.html.haml index 6b271d21b..17d1caf02 100644 --- a/app/views/shared/dossiers/_identite_entreprise.html.haml +++ b/app/views/shared/dossiers/_identite_entreprise.html.haml @@ -73,4 +73,6 @@ %td= try_format_date(etablissement.association_date_declaration) %p - = link_to 'Autres informations sur l’organisme', "https://entreprise.data.gouv.fr/etablissement/#{etablissement.siret}" + = link_to '➡ Autres informations sur l’organisme sur « entreprises.data.gouv.fr »', + "https://entreprise.data.gouv.fr/etablissement/#{etablissement.siret}", + target: "_blank" From 8c977dca09246d003f9731571080eaa03dc18ef4 Mon Sep 17 00:00:00 2001 From: Vini75 <55738774+Vini75@users.noreply.github.com> Date: Tue, 24 Sep 2019 16:14:31 +0200 Subject: [PATCH 4/5] Adjust link to entreprisedatagouv --- .../dossiers/etablissement/_infos_entreprise.html.haml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/users/dossiers/etablissement/_infos_entreprise.html.haml b/app/views/users/dossiers/etablissement/_infos_entreprise.html.haml index 8eec4460b..2e5a6fda9 100644 --- a/app/views/users/dossiers/etablissement/_infos_entreprise.html.haml +++ b/app/views/users/dossiers/etablissement/_infos_entreprise.html.haml @@ -47,6 +47,8 @@ - if etablissement.exercices.present? %p.etablissement-exercices Les exercices comptables des trois dernières années seront joints à votre dossier. - + %p - = link_to 'Autres informations sur l’organisme', "https://entreprise.data.gouv.fr/etablissement/#{etablissement.siret}" + = link_to '➡ Autres informations sur l’organisme sur « entreprises.data.gouv.fr »', + "https://entreprise.data.gouv.fr/etablissement/#{etablissement.siret}", + target: "_blank" From 650e973d0a9807eba2bf9641d6a8c554d997ac45 Mon Sep 17 00:00:00 2001 From: Nicolas Bouilleaud Date: Tue, 24 Sep 2019 16:20:34 +0200 Subject: [PATCH 5/5] Fix plural in entreprise(s).data.gouv.fr --- app/views/shared/dossiers/_identite_entreprise.html.haml | 2 +- .../users/dossiers/etablissement/_infos_entreprise.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/shared/dossiers/_identite_entreprise.html.haml b/app/views/shared/dossiers/_identite_entreprise.html.haml index 17d1caf02..9fcd2a0c9 100644 --- a/app/views/shared/dossiers/_identite_entreprise.html.haml +++ b/app/views/shared/dossiers/_identite_entreprise.html.haml @@ -73,6 +73,6 @@ %td= try_format_date(etablissement.association_date_declaration) %p - = link_to '➡ Autres informations sur l’organisme sur « entreprises.data.gouv.fr »', + = link_to '➡ Autres informations sur l’organisme sur « entreprise.data.gouv.fr »', "https://entreprise.data.gouv.fr/etablissement/#{etablissement.siret}", target: "_blank" diff --git a/app/views/users/dossiers/etablissement/_infos_entreprise.html.haml b/app/views/users/dossiers/etablissement/_infos_entreprise.html.haml index 2e5a6fda9..21ab7a5f8 100644 --- a/app/views/users/dossiers/etablissement/_infos_entreprise.html.haml +++ b/app/views/users/dossiers/etablissement/_infos_entreprise.html.haml @@ -49,6 +49,6 @@ %p.etablissement-exercices Les exercices comptables des trois dernières années seront joints à votre dossier. %p - = link_to '➡ Autres informations sur l’organisme sur « entreprises.data.gouv.fr »', + = link_to '➡ Autres informations sur l’organisme sur « entreprise.data.gouv.fr »', "https://entreprise.data.gouv.fr/etablissement/#{etablissement.siret}", target: "_blank"