GITLAB

<%= link_to profile_path, :class => "pic" do %> <%= image_tag gravatar_icon(current_user.email) %> <% end %>
<% if current_user %> <%= javascript_tag do %> $(function() { $("#search" ).autocomplete({ source: <%= raw search_autocomplete_source %>, select: function(event, ui) { location.href = ui.item.url } }); }); <% end %> <% end %> <% if current_user.keys.all.empty? %>

ATTENTION!

No SSH Key is defined. You won't be able to use any Git command!

Click <%=link_to( 'here', keys_path ) %> to add one!

<% end %>