diff --git a/app/views/root/_footer.html.haml b/app/views/root/_footer.html.haml index af360e236..644714b52 100644 --- a/app/views/root/_footer.html.haml +++ b/app/views/root/_footer.html.haml @@ -43,3 +43,5 @@ = link_to "FAQ", FAQ_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer" %li.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" diff --git a/app/views/shared/dossiers/_demande.html.haml b/app/views/shared/dossiers/_demande.html.haml index 1ac304855..8eef11616 100644 --- a/app/views/shared/dossiers/_demande.html.haml +++ b/app/views/shared/dossiers/_demande.html.haml @@ -10,9 +10,17 @@ - if dossier.etablissement.present? = 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? = 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 - champs = dossier.champs.includes(:type_de_champ) - if champs.any? diff --git a/app/views/shared/dossiers/editable_champs/_pays.html.haml b/app/views/shared/dossiers/editable_champs/_pays.html.haml index aba08f38a..af0ee8b74 100644 --- a/app/views/shared/dossiers/editable_champs/_pays.html.haml +++ b/app/views/shared/dossiers/editable_champs/_pays.html.haml @@ -1,3 +1,4 @@ = form.select :value, Champs::PaysChamp.pays, + include_blank: true, required: champ.mandatory? diff --git a/app/views/shared/dossiers/editable_champs/_regions.html.haml b/app/views/shared/dossiers/editable_champs/_regions.html.haml index 460a4b1af..8920cfc3c 100644 --- a/app/views/shared/dossiers/editable_champs/_regions.html.haml +++ b/app/views/shared/dossiers/editable_champs/_regions.html.haml @@ -1,3 +1,4 @@ = form.select :value, Champs::RegionChamp.regions, + include_blank: true, required: champ.mandatory? diff --git a/config/initializers/urls.rb b/config/initializers/urls.rb index f77379b64..433221047 100644 --- a/config/initializers/urls.rb +++ b/config/initializers/urls.rb @@ -22,4 +22,5 @@ MENTIONS_LEGALES_URL = [CGU_URL, "4-mentions-legales"].join("#") API_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "api"].join("/") WEBHOOK_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "webhook"].join("/") 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"