mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-02 21:51:51 +08:00
adds data-hook to repositories/show page
This commit is contained in:
parent
43a60b632a
commit
c0b659a252
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue