Fix test
This commit is contained in:
parent
ee9c38c0f8
commit
0f1236aa7a
1 changed files with 7 additions and 3 deletions
|
@ -7,10 +7,14 @@
|
|||
%a{href: '/'}
|
||||
= image_tag('logo-tps.png', class: 'logo')
|
||||
|
||||
%a{href: (current_gestionnaire.procedure_filter.empty? ? '/' : backoffice_dossiers_procedure_path(current_gestionnaire.procedure_filter)), class: 'btn btn-md'}
|
||||
-if gestionnaire_signed_in? || user_signed_in?
|
||||
- if gestionnaire_signed_in?
|
||||
%a{href: (current_gestionnaire.procedure_filter.empty? ? '/' : backoffice_dossiers_procedure_path(current_gestionnaire.procedure_filter)), class: 'btn btn-md'}
|
||||
Mes Dossiers
|
||||
-elsif administrateur_signed_in?
|
||||
- elsif user_signed_in?
|
||||
%a{href: '/', class: 'btn btn-md'}
|
||||
Mes Dossiers
|
||||
- elsif administrateur_signed_in?
|
||||
%a{href: '/', class: 'btn btn-md'}
|
||||
Mes Procédures
|
||||
|
||||
#sign_out
|
||||
|
|
Loading…
Reference in a new issue