mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 21:56:12 +08:00
15 lines
705 B
Text
15 lines
705 B
Text
<% 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 %>
|
|
<% project_is_managable = can_manage_project?(@project) %>
|
|
<% cards.each do |card| %>
|
|
<% cache [current_user, @project, card] do %>
|
|
<%= render partial: 'projects/show/experiment_card',
|
|
locals: { experiment: card, project: @project, project_is_managable: project_is_managable } %>
|
|
<% end %>
|
|
<% end %>
|
|
<% end %>
|