mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 06:06:56 +08:00
25 lines
1 KiB
Text
25 lines
1 KiB
Text
<% provide(:head_title, t("storage_locations.index.head_title")) %>
|
|
<% provide(:container_class, "no-second-nav-container") %>
|
|
|
|
<% if current_team %>
|
|
<div class="content-pane flexible">
|
|
<div class="content-header">
|
|
<div class="title-row">
|
|
<h1><%= t('storage_locations.index.head_title') %></h1>
|
|
</div>
|
|
</div>
|
|
<div class="content-body" data-e2e="e2e-CO-storage_-ocations">
|
|
<div id="storageLocationsTable" class="fixed-content-body">
|
|
<storage-locations
|
|
actions-url="<%= actions_toolbar_storage_locations_path(current_team) %>"
|
|
data-source="<%= storage_locations_path(format: :json, parent_id: params[:parent_id]) %>"
|
|
direct-upload-url="<%= rails_direct_uploads_url %>"
|
|
create-url="<%= storage_locations_path(parent_id: params[:parent_id]) if can_create_storage_locations?(current_team) %>"
|
|
storage-location-tree-url="<%= tree_storage_locations_path %>"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<%= javascript_include_tag 'vue_storage_locations_table' %>
|
|
<% end %>
|