Added icons for SSO providers
This commit is contained in:
parent
2d70ee3bdd
commit
79bf7a2276
8 changed files with 46 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue