2016-07-21 19:11:15 +08:00
|
|
|
<% provide(:head_title, raw(t("my_modules.module_archive.head_title", project: @my_module.project.name, module: @my_module.name))) %>
|
2016-02-12 23:52:43 +08:00
|
|
|
<%= render partial: "shared/sidebar" %>
|
|
|
|
<%= render partial: "shared/secondary_navigation" %>
|
|
|
|
|
|
|
|
<div clas="row">
|
|
|
|
<div class="col-xs-3">
|
|
|
|
<% i = 0 %>
|
|
|
|
<% @archived_results.each do |result| %>
|
|
|
|
|
|
|
|
<%= render partial: "my_modules/archive/result.html.erb", locals: { result: result } %>
|
|
|
|
|
|
|
|
<% i = i + 1 %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% if i == 0 %>
|
|
|
|
<em><%=t "my_modules.module_archive.no_archived_results" %></em>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|