2016-12-05 14:06:38 +01:00
|
|
|
- if current_user.loged_in_with_france_connect?
|
2016-12-01 13:01:00 +01:00
|
|
|
%div{ id: "fconnect-profile", "data-fc-logout-url" => '/users/sign_out" data-method="delete' }
|
|
|
|
%a.text-info{ href: "#" }
|
|
|
|
= "#{current_user.given_name} #{current_user.family_name}"
|
2016-12-05 14:06:38 +01:00
|
|
|
= link_to "", "/users/sign_out", method: :delete, class: "btn fa fa-power-off off-fc-link"
|
2016-08-22 16:36:25 +02:00
|
|
|
|
2016-12-05 14:06:38 +01:00
|
|
|
- else
|
|
|
|
= link_to "", "/users/sign_out", method: :delete, class: "btn btn-md fa fa-sign-out"
|