% provide(:head_title, t("my_modules.repository.head_title",
project: h(@project.name),
module: h(@my_module.name),
repository: @repository.name).html_safe) %>
<%= render partial: "shared/sidebar" %>
<%= render partial: "shared/secondary_navigation" %>
<%= @repository.name %>
<% if can_assign_repository_records(@my_module, @repository) %>
<% end %>
<% if can_unassign_repository_records(@my_module, @repository) %>
<% end %>
<%= render partial: "repositories/repository_table",
locals: {
repository: @repository,
my_module: @my_module,
repository_index_link: repository_index_my_module_path(@my_module, @repository, format: :json)
}
%>
<%= stylesheet_link_tag 'datatables' %>
<%= javascript_include_tag 'repositories/repository_datatable' %>
<%= javascript_include_tag 'repositories/my_module_repository' %>