<% content_for :head do %> <% end %> <% provide(:head_title, t("libraries.show.head_title", library: @repository.name)) %> <%= stylesheet_link_tag 'datatables' %> <% provide(:container_class, "no-second-nav-container") %> <% provide(:sidebar_url, sidebar_repositories_path) %> <% provide(:sidebar_title, t('sidebar.repositories.sidebar_title')) %>
" data-table-url="<%= load_table_repository_path(@repository) %>">
<% if @repository.active? %>

<% if @inline_editable_title_config.present? %> <%= render partial: "shared/inline_editing", locals: { initial_value: @repository.name, config: @inline_editable_title_config } %> <% else %>
<%= @repository.name %>
<%= inventory_shared_status_icon(@repository, current_team) %> <% end %>

<% if @repository.shared_with_anybody? %> <% team_name = @repository.team == current_team ? t('repositories.show.your_team') : @repository.team.name %>
<%= t('repositories.show.subtitle', team_name: team_name) %>
<% end %>
<% end %>
<% if @repository.archived? %>   <%= t('repositories.show.archived_inventory', repository_name: @repository.name) %> <% else %> <%= t('repositories.show.archived_inventory_items', repository_name: @repository.name) %> <% end %>
<%= render partial: 'label_printers/label_printer_modal' %> <%= render partial: "repositories/repository_table", locals: { repository: @repository, repository_index_link: repository_table_index_path(@repository) } %>
<%= render partial: 'repositories/import_repository_records_modal', locals: { repository: @repository } %> <%= render partial: "repositories/delete_record_modal" %> <%= render partial: 'repositories/export_repository_modal', locals: { repository: @repository } %> <%= render partial: 'repository_columns/manage_column_modal', locals: { my_module_page: false } %> <%= render partial: "repository_stock_values/manage_modal" %> <%= render partial: "toolbar_buttons" %> <%= render partial: "assign_items_to_task_modal" %> <% if @repository.is_a?(BmtRepository) %> <%= render partial: 'save_bmt_filter_modal' %> <%= javascript_include_tag 'vue_bmt_filter' %> <% else %> <%= render partial: 'repository_filters' %> <%= render partial: 'save_repository_filter_modal' %> <% end %> <%= javascript_include_tag 'vue_components_action_toolbar' %> <%= javascript_include_tag 'vue_repository_search' %> <%= javascript_include_tag 'repositories/edit', nonce: true %> <%= javascript_include_tag 'repositories/repository_datatable', nonce: true %> <%= javascript_include_tag "repositories/show", nonce: true %> <%= javascript_include_tag 'inputmask', nonce: true %> <%= javascript_include_tag 'emoji_button', nonce: true %> <%= javascript_include_tag 'pdf_js', nonce: true %> <%= stylesheet_link_tag 'pdf_js_styles' %>