2016-07-28 22:41:10 +08:00
|
|
|
<h5 class="text-center"><%= t('experiments.canvas.popups.samples_tab') %></h5>
|
2016-02-12 23:52:43 +08:00
|
|
|
<hr>
|
|
|
|
<ul class="no-style double-line">
|
|
|
|
<% if @number_of_samples == 0 then %>
|
2016-07-28 22:41:10 +08:00
|
|
|
<li><em><%= t 'experiments.canvas.popups.no_samples' %></em></li>
|
2016-02-12 23:52:43 +08:00
|
|
|
<% else %>
|
|
|
|
<% @samples.each do |sample| %>
|
2018-07-09 19:13:44 +08:00
|
|
|
<li><span class="text-muted fas fa-caret-right"></span><span><%= sample.name %></span></li>
|
2016-02-12 23:52:43 +08:00
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<hr>
|
2016-07-28 22:41:10 +08:00
|
|
|
<li><%= link_to t("experiments.canvas.popups.manage_samples"), samples_my_module_url(id: @my_module.id) %></li>
|
2016-02-12 23:52:43 +08:00
|
|
|
</ul>
|