Added icons for SSO providers

This commit is contained in:
Christoph Haas 2018-08-08 21:27:47 +02:00
parent 2d70ee3bdd
commit 79bf7a2276
8 changed files with 46 additions and 1 deletions

View file

@ -50,6 +50,8 @@ nav.top-bar
ul.menu
li.menu-text class=('active' if controller_name=='my')
- if user_signed_in?
= link_to "My", my_profile_path
= link_to my_profile_path
= image_tag "/images/sso/icons/#{current_user.provider}.svg", width: 20
' My
- else
= link_to 'Login', new_user_session_path