Skip to content

Commit

Permalink
User icon updated (publiclab#5240)
Browse files Browse the repository at this point in the history
  • Loading branch information
divyabaid16 authored and jywarren committed Mar 30, 2019
1 parent 9517d3f commit 900464f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/views/layouts/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@
<% if current_user %>
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<div class="profile-icon">
<i class="fa fa-user-circle fa-lg" style="color:white;"></i>
<% if current_user.profile_image == "https://www.gravatar.com/avatar/eb721d116a28f4a4da4ea67340c8ce75" %>
<i class="fa fa-user-circle fa-lg" style="color:white;"></i>
<% else %>
<img class="img-circle" id="profile-photo" style="width:20px; height:20px; margin-right:8px;" src="<%= current_user.profile_image %>" />
<% end %>
</div>
</a>
<ul class="dropdown-menu">
Expand Down

0 comments on commit 900464f

Please sign in to comment.