mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 10:06:53 +08:00
15 lines
610 B
Text
15 lines
610 B
Text
<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? %>
|
|
<span><%= t('labels.archived')%></span>
|
|
<% end %>
|
|
<%= repository.name %>
|
|
<%= inventory_shared_status_icon(repository, current_team) %>
|
|
<% end %>
|
|
</li>
|
|
<% end %>
|
|
</ul>
|