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:
commit
6b7d76fb28
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,10 @@
|
|||
.header-inner-content
|
||||
|
||||
.flex.align-center
|
||||
= link_to '', root_path_for_profile(nav_bar_profile), class: "header-logo", title: "Revenir à l’accueil"
|
||||
- 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 à l’accueil"
|
||||
|
||||
- if nav_bar_profile == :instructeur && instructeur_signed_in?
|
||||
- current_url = request.path_info
|
||||
|
|
Loading…
Reference in a new issue