2023-12-07 03:53:11 +08:00
|
|
|
<% provide(:head_title, t("projects.show.head_title", project: h(@project.name)).html_safe) %>
|
|
|
|
|
|
|
|
<div class="content-pane flexible projects-show">
|
|
|
|
<%= render partial: 'experiments/index/header' %>
|
|
|
|
<div id="ExperimentsList" class="fixed-content-body">
|
|
|
|
<experiments-list
|
|
|
|
actions-url="<%= actions_toolbar_experiments_path %>"
|
2023-12-12 19:17:38 +08:00
|
|
|
create-url="<%= project_experiments_path(@project) if can_create_project_experiments?(@project) %>"
|
2023-12-07 03:53:11 +08:00
|
|
|
data-source="<%= experiments_path(project_id: @project, format: :json) %>"
|
|
|
|
active-page-url="<%= experiments_path(project_id: @project, view_mode: :active) %>"
|
|
|
|
archived-page-url="<%= experiments_path(project_id: @project, view_mode: :archived) %>"
|
|
|
|
current-view-mode="<%= params[:view_mode] || :active %>"
|
2023-12-11 22:41:03 +08:00
|
|
|
user-roles-url="<%= user_roles_projects_path %>"
|
2024-03-15 17:36:47 +08:00
|
|
|
:archived="<%= @project.archived?%>"
|
2023-12-07 03:53:11 +08:00
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<%= javascript_include_tag 'vue_experiments_list' %>
|
2023-12-11 22:41:03 +08:00
|
|
|
</div>
|