Remove rename button from dropdown (#1994)

This commit is contained in:
aignatov-bio 2019-08-19 14:29:38 +02:00 committed by GitHub
parent a505ef2462
commit 58d9be480f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,14 +80,6 @@
</a>
</li>
<% end %>
<% if can_manage_repository?(@repository) %>
<li>
<%= link_to t('repositories.index.options_dropdown.rename'),
team_repository_rename_modal_path(current_team, repository_id: @repository),
class: "rename-repo-option",
remote: true %>
</li>
<% end %>
<% if can_create_repositories?(@repository.team) %>
<li>
<%= link_to t('repositories.index.options_dropdown.copy'),