% if can_manage_repository_rows?(@repository) %>
<% if can_manage_repository_rows?(@repository) %>
<% end %>
<% if can_create_repository_rows?(@repository) %>
<% end %>
<%= render partial: 'repositories/toolbar/print_label_button' %>
<% if can_delete_repository_rows?(@repository) %>
<% end %>
<% if can_delete_repository_rows?(@repository) %>
<% end %>
<% elsif @repository.shared_with_read?(current_team) %>
<%= render partial: 'repositories/toolbar/print_label_button' %>
<%= t('repositories.index.view_only_permission_label') %>
<% elsif can_read_repository?(@repository) %>
<%= render partial: 'repositories/toolbar/print_label_button' %>
<% end %>