Merge pull request #4268 from betagouv/fix-4266-remove-home-link

Ajout d'un lien vers la page précédente sur le logo DS
This commit is contained in:
LeSim 2019-09-03 15:52:59 +02:00 committed by GitHub
commit 6b7d76fb28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,10 @@
.header-inner-content
.flex.align-center
= link_to '', root_path_for_profile(nav_bar_profile), class: "header-logo", title: "Revenir à laccueil"
- if params[:controller] == 'users/commencer'
= link_to 'Revenir en arrière', url_for(:back), class: "button", title: "Revenir sur le site de mon administration"
- else
= link_to '', root_path_for_profile(nav_bar_profile), class: "header-logo", title: "Revenir à laccueil"
- if nav_bar_profile == :instructeur && instructeur_signed_in?
- current_url = request.path_info