commit
614ec77acf
5 changed files with 13 additions and 0 deletions
|
@ -43,3 +43,5 @@
|
||||||
= link_to "FAQ", FAQ_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
|
= link_to "FAQ", FAQ_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
|
||||||
%li.footer-link
|
%li.footer-link
|
||||||
= link_to "Accessibilité", accessibilite_path, :class => "footer-link"
|
= link_to "Accessibilité", accessibilite_path, :class => "footer-link"
|
||||||
|
%li.footer-link
|
||||||
|
= link_to "Disponibilité", STATUS_PAGE_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
|
||||||
|
|
|
@ -10,9 +10,17 @@
|
||||||
- if dossier.etablissement.present?
|
- if dossier.etablissement.present?
|
||||||
= render partial: "shared/dossiers/identite_entreprise", locals: { etablissement: dossier.etablissement, profile: profile }
|
= render partial: "shared/dossiers/identite_entreprise", locals: { etablissement: dossier.etablissement, profile: profile }
|
||||||
|
|
||||||
|
- if profile == 'usager' && !dossier.read_only?
|
||||||
|
.flex.row-reverse
|
||||||
|
= link_to "Modifier le SIRET", siret_dossier_path(dossier), class: 'button'
|
||||||
|
|
||||||
- if dossier.individual.present?
|
- if dossier.individual.present?
|
||||||
= render partial: "shared/dossiers/identite_individual", locals: { individual: dossier.individual }
|
= render partial: "shared/dossiers/identite_individual", locals: { individual: dossier.individual }
|
||||||
|
|
||||||
|
- if profile == 'usager' && !dossier.read_only?
|
||||||
|
.flex.row-reverse
|
||||||
|
= link_to "Modifier l'identité", identite_dossier_path(dossier), class: 'button'
|
||||||
|
|
||||||
.tab-title Formulaire
|
.tab-title Formulaire
|
||||||
- champs = dossier.champs.includes(:type_de_champ)
|
- champs = dossier.champs.includes(:type_de_champ)
|
||||||
- if champs.any?
|
- if champs.any?
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
= form.select :value,
|
= form.select :value,
|
||||||
Champs::PaysChamp.pays,
|
Champs::PaysChamp.pays,
|
||||||
|
include_blank: true,
|
||||||
required: champ.mandatory?
|
required: champ.mandatory?
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
= form.select :value,
|
= form.select :value,
|
||||||
Champs::RegionChamp.regions,
|
Champs::RegionChamp.regions,
|
||||||
|
include_blank: true,
|
||||||
required: champ.mandatory?
|
required: champ.mandatory?
|
||||||
|
|
|
@ -22,4 +22,5 @@ MENTIONS_LEGALES_URL = [CGU_URL, "4-mentions-legales"].join("#")
|
||||||
API_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "api"].join("/")
|
API_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "api"].join("/")
|
||||||
WEBHOOK_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "webhook"].join("/")
|
WEBHOOK_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "webhook"].join("/")
|
||||||
FAQ_URL = "https://faq.demarches-simplifiees.fr"
|
FAQ_URL = "https://faq.demarches-simplifiees.fr"
|
||||||
|
STATUS_PAGE_URL = "https://status.demarches-simplifiees.fr"
|
||||||
MATOMO_IFRAME_URL = "https://stats.data.gouv.fr/index.php?module=CoreAdminHome&action=optOut&language=fr&&fontColor=333333&fontSize=16px&fontFamily=Muli"
|
MATOMO_IFRAME_URL = "https://stats.data.gouv.fr/index.php?module=CoreAdminHome&action=optOut&language=fr&&fontColor=333333&fontSize=16px&fontFamily=Muli"
|
||||||
|
|
Loading…
Reference in a new issue