mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 21:24:54 +08:00
24 lines
722 B
Text
24 lines
722 B
Text
|
<td>
|
||
|
</td>
|
||
|
<% if assigned %>
|
||
|
<td data-sort="1">
|
||
|
<span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
|
||
|
<% else %>
|
||
|
<td data-sort="0">
|
||
|
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
|
||
|
<% end %>
|
||
|
</td>
|
||
|
<td><%= sample.name %></td>
|
||
|
<% if sample.sample_type %>
|
||
|
<td><%= sample.sample_type.name %></td>
|
||
|
<% else %>
|
||
|
<td><%= t("samples.table.no_type")%></td>
|
||
|
<% end %>
|
||
|
<% if sample.sample_group %>
|
||
|
<td> <font color="<%= sample.sample_group.color %>"><%= sample.sample_group.name %></font></td>
|
||
|
<% else %>
|
||
|
<td><%= t("samples.table.no_group")%></td>
|
||
|
<% end %>
|
||
|
<td><%= l(sample.created_at, format: :full) %></td>
|
||
|
<td><%= sample.user.full_name %></td>
|