adds data-hook to repositories/show page

This commit is contained in:
zmagod 2018-06-07 10:50:48 +02:00
parent 43a60b632a
commit c0b659a252

View file

@ -70,8 +70,8 @@
</li>
<% end %>
<% if can_manage_repository?(@repository) %>
<li role="separator" class="divider"></li>
<li>
<li data-hook="destroy-repository-option" role="separator" class="divider"></li>
<li data-hook="destroy-repository-option">
<%= link_to t('repositories.index.options_dropdown.delete'),
team_repository_destroy_modal_path(current_team, repository_id: @repository),
class: "delete-repo-option",