scinote-web/app/views/experiments/_no_task_results.html.erb
2023-05-24 18:15:41 +02:00

15 lines
708 B
Text

<div class="tasks-no-results-container" id="tasksNoResultsContainer">
<%= 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>
<div class="no-data-container pt-10">
<% if params[:view_mode] == 'archived' %>
<em><%= t('experiments.empty_state.no_archived_modules') %></em>
<% elsif @experiment.archived_branch? %>
<em><%= t('experiments.empty_state.no_active_modules_archived_branch') %></em>
<% else %>
<em><%= t('experiments.empty_state.no_active_modules') %></em>
<% end %>
</div>