%= content_for :sidebar do %>
<% if can_create_repositories?(current_team) %>
-
<% end %>
<% repositories.each do |repository| %>
-
<% if current_page?(repository_path(repository)) %>
<%= repository.name %>
<% else %>
<%= link_to repository.name,
repository_path(repository),
data: { 'no-turbolink' => 'true' } %>
<% end %>
<%= inventory_shared_status_icon(repository, current_team) %>
<% end %>
<% end %>