<%= render partial: 'shared/locales' %>
<%= render partial: 'the_notify/link' %>
<% if current_user %>
<% if current_user.avatar.attached? %>
<%= image_tag current_user.avatar.variant(resize: '28x28'), class: 'ui avatar image' %>
<% else %>
<%= image_tag 'default_avatar.jpg', size: '28x28', class: 'ui avatar image' %>
<% end %>
<%= current_user.name %>
<% else %>
<%= link_to login_path, class: 'item' do %>
Login/Join
<% end %>
<% end %>