2021-01-06 17:13:10 +08:00
|
|
|
<ul class="sidebar-branch">
|
|
|
|
<% repositories.each do |repository| %>
|
|
|
|
<li class="sidebar-leaf" title="<%= repository.name %>">
|
|
|
|
<%= link_to repository_path(repository),
|
|
|
|
class: "sidebar-link repository-link #{ 'selected' if current_page?(repository_path(repository)) }",
|
|
|
|
data: {type: 'repository', id: repository.id } do %>
|
|
|
|
<% if repository.archived? %>
|
2023-06-02 08:03:41 +08:00
|
|
|
<span><%= t('labels.archived')%></span>
|
2021-01-06 17:13:10 +08:00
|
|
|
<% end %>
|
|
|
|
<%= repository.name %>
|
|
|
|
<%= inventory_shared_status_icon(repository, current_team) %>
|
|
|
|
<% end %>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|