diff --git a/app/assets/stylesheets/login.scss b/app/assets/stylesheets/login.scss index 4da0a6e5e..62174eb79 100644 --- a/app/assets/stylesheets/login.scss +++ b/app/assets/stylesheets/login.scss @@ -8,7 +8,7 @@ padding: 20px; #btn_fc { - background-image: url('/assets/logo_FC_02.png'); + background-image: image-url('logo_FC_02.png'); background-repeat: no-repeat; background-size: 38px; background-position-x: 5px; @@ -21,7 +21,7 @@ margin-left:auto; margin-right:auto; } - + hr { margin-top: 50px; margin-bottom: 40px; diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 470eea59f..12c6b712e 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -20,7 +20,7 @@ - elsif user_signed_in? %div.user{style: 'decorate:none; box-shadow:none; float:right; margin-top:8px'} -if current_user.loged_in_with_france_connect - %img.logo_fc_small{src: '/assets/logo_FC_02_small.png'} + = image_tag('logo_FC_02_small.png', class: 'logo_fc_small') -else %i.fa.fa-user = current_user.email