diff --git a/app/views/invites/_dropdown.html.haml b/app/views/invites/_dropdown.html.haml index 368c359ef..7fda74dd5 100644 --- a/app/views/invites/_dropdown.html.haml +++ b/app/views/invites/_dropdown.html.haml @@ -5,7 +5,10 @@ Voir les personnes invitées %span.badge= dossier.invites.count - else - Inviter une personne à modifier ce dossier + - if dossier.read_only? + Inviter une personne à consulter ce dossier + - else + Inviter une personne à modifier ce dossier .dropdown-content.fade-in-down = render partial: "invites/form", locals: { dossier: dossier } diff --git a/app/views/layouts/_footer.html.haml b/app/views/layouts/_footer.html.haml index 711e0da84..40a87c284 100644 --- a/app/views/layouts/_footer.html.haml +++ b/app/views/layouts/_footer.html.haml @@ -3,16 +3,14 @@ = link_to 'DINSIC', "http://etatplateforme.modernisation.gouv.fr" = Time.zone.now.year \- - = link_to 'Nouveautés', 'https://github.com/betagouv/demarches-simplifiees.fr/releases', target: '_blank' + = link_to 'Nouveautés', 'https://doc.demarches-simplifiees.fr/nouveautes', target: '_blank' \- = link_to 'Statistiques', stats_path, data: { turbolinks: false } # Turbolinks disabled for Chartkick. See Issue #350 \- - = link_to 'CGU / Mentions légales', CGU_URL + = link_to 'CGU / Mentions légales', CGU_URL, target: '_blank' \- - = contact_link 'Contact' + = link_to 'Documentation', DOC_URL, target: '_blank' \- - = link_to 'Documentation', DOC_URL + = link_to 'FAQ', FAQ_ADMIN_URL, target: '_blank' \- - = link_to 'FAQ', FAQ_ADMIN_URL - \- - = link_to 'Inscription ateliers en ligne', WEBINAIRE_URL + = link_to 'Inscription ateliers en ligne', WEBINAIRE_URL, target: '_blank' diff --git a/app/views/layouts/left_panels/_left_panel_admin_procedurescontroller_navbar.html.haml b/app/views/layouts/left_panels/_left_panel_admin_procedurescontroller_navbar.html.haml index 18d34a23d..4429e2052 100644 --- a/app/views/layouts/left_panels/_left_panel_admin_procedurescontroller_navbar.html.haml +++ b/app/views/layouts/left_panels/_left_panel_admin_procedurescontroller_navbar.html.haml @@ -62,6 +62,10 @@ .procedure-list-element{ class: ('active' if active == 'MonAvis') } MonAvis + %a#onglet-description{ href: url_for(admin_procedures_path()) } + .procedure-list-element + Sortir + .split-hr-left diff --git a/app/views/new_administrateur/_breadcrumbs.html.haml b/app/views/new_administrateur/_breadcrumbs.html.haml index cb42e5dd6..eaff46f36 100644 --- a/app/views/new_administrateur/_breadcrumbs.html.haml +++ b/app/views/new_administrateur/_breadcrumbs.html.haml @@ -5,3 +5,4 @@ %li= step - if defined?(preview) && preview = link_to "Prévisualiser le formulaire", apercu_procedure_path(@procedure), target: "_blank", rel: "noopener", class: 'button' + = link_to "Continuer >", admin_procedure_path(@procedure), title: 'Vous pourrez revenir ici par la suite', class: 'button accepted' diff --git a/app/views/users/dossiers/merci.html.haml b/app/views/users/dossiers/merci.html.haml index 4cd67b54b..d2da1ab4d 100644 --- a/app/views/users/dossiers/merci.html.haml +++ b/app/views/users/dossiers/merci.html.haml @@ -16,8 +16,9 @@ %b dossier en ligne. %p Vous pouvez - %b le modifier - et + - if !@dossier.read_only? + %b le modifier + et %b échanger avec un instructeur. .flex.column.align-center