scinote-web/app/views/projects/show/_experiments_list.html.erb

15 lines
600 B
Text
Raw Normal View History

2021-02-12 19:12:26 +08:00
<% if filters_included && cards.blank? %>
<div class="no-results-container">
<%= image_tag('/images/no_search_results.png', class: 'no-results-img') %>
<div class="no-results-title"><%= t('projects.index.no_results_found') %></div>
<div class="no-results-description"><%= t('projects.index.no_results_description') %></div>
</div>
<% else %>
2022-08-31 21:26:10 +08:00
<% cards.each do |card| %>
<% cache [current_user, @project, card] do %>
<%= render partial: 'projects/show/experiment_card',
locals: { experiment: card, project: @project } %>
2021-02-12 19:12:26 +08:00
<% end %>
<% end %>
<% end %>