2017-01-12 23:54:15 +08:00
|
|
|
<% provide(:head_title, t("my_modules.module_archive.head_title", project: h(@my_module.experiment.project.name), module: h(@my_module.name)).html_safe) %>
|
2020-12-10 22:15:36 +08:00
|
|
|
<% provide(:sidebar_title, t("sidebar.my_module.sidebar_title")) %>
|
|
|
|
|
|
|
|
<%= content_for :sidebar do %>
|
2023-06-21 20:13:20 +08:00
|
|
|
<%= render partial: 'shared/sidebar/my_module',
|
2021-06-18 22:52:19 +08:00
|
|
|
locals: {
|
|
|
|
my_modules: @experiment_my_modules,
|
|
|
|
experiment: @experiment,
|
|
|
|
current_my_module: @my_module
|
|
|
|
}
|
|
|
|
%>
|
2020-12-10 22:15:36 +08:00
|
|
|
<% end %>
|
2016-02-12 23:52:43 +08:00
|
|
|
|
2023-05-15 20:17:41 +08:00
|
|
|
<% provide(:container_class, 'no-second-nav-container') %>
|
|
|
|
<div class="content-pane flexible">
|
|
|
|
<%= render partial: 'my_modules/header' %>
|
2023-06-29 17:17:41 +08:00
|
|
|
<!-- Header Actions -->
|
|
|
|
<%= render partial: 'my_modules/header_actions' %>
|
|
|
|
<div class="row mt-5">
|
2019-07-23 20:51:00 +08:00
|
|
|
<% if @archived_results.any? %>
|
2018-05-08 22:33:42 +08:00
|
|
|
<% @archived_results.each do |result| %>
|
2019-07-23 20:51:00 +08:00
|
|
|
<div class="col-xs-3">
|
2023-06-21 20:13:20 +08:00
|
|
|
<%= render partial: "my_modules/archive/result", locals: { result: result } %>
|
2019-07-23 20:51:00 +08:00
|
|
|
</div>
|
2018-05-08 22:33:42 +08:00
|
|
|
<% end %>
|
2019-07-23 20:51:00 +08:00
|
|
|
<% else %>
|
2018-05-08 22:33:42 +08:00
|
|
|
<div class="col-xs-12">
|
|
|
|
<em><%=t "my_modules.module_archive.no_archived_results" %></em>
|
|
|
|
</div>
|
2019-07-23 20:51:00 +08:00
|
|
|
<% end %>
|
|
|
|
</div>
|
2016-08-08 21:04:02 +08:00
|
|
|
</div>
|
2021-07-07 17:34:28 +08:00
|
|
|
|
2023-04-06 23:16:43 +08:00
|
|
|
<%= javascript_include_tag 'pdf_js' %>
|
|
|
|
<%= stylesheet_link_tag 'pdf_js_styles' %>
|