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) %>
|
2018-11-29 18:28:36 +08:00
|
|
|
<%= render partial: "shared/sidebar", locals: { current_task: @my_module, page: 'task' } %>
|
2016-02-12 23:52:43 +08:00
|
|
|
<%= render partial: "shared/secondary_navigation" %>
|
|
|
|
|
2018-05-12 00:02:17 +08:00
|
|
|
<div class="content-pane" id="result-archive">
|
2019-07-23 20:51:00 +08:00
|
|
|
<div class="row">
|
|
|
|
<% 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">
|
|
|
|
<%= render partial: "my_modules/archive/result.html.erb", locals: { result: result } %>
|
|
|
|
</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>
|
2018-04-13 15:43:14 +08:00
|
|
|
|
2019-04-02 22:38:53 +08:00
|
|
|
<script>FilePreviewModal.init()</script>
|