scinote-web/app/views/sample_my_modules/_index.html.erb

14 lines
544 B
Text
Raw Normal View History

<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 %>
<li><em><%= t 'experiments.canvas.popups.no_samples' %></em></li>
2016-02-12 23:52:43 +08:00
<% else %>
<% @samples.each do |sample| %>
<li><span class="text-muted glyphicon glyphicon-triangle-right"></span><span><%= sample.name %></span></li>
<% end %>
<% end %>
<hr>
<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>