<%=h lab_group.name %>: <% for chip_type in @chip_types %> <% if ChipTransaction.has_transactions?(lab_group.id,chip_type.id) %> <%= link_to(h=chip_type.name, { :controller => "chip_transactions", :action => "list_subset", :lab_group_id => lab_group.id, :chip_type_id => chip_type.id}) %> <% end %> <% end %>
<% end %> <% else %> <% if current_user.staff_or_admin? %>There are currently no chip inventories
<% else %>You belong to no lab groups, and therefore cannot see any array inventories
Please contact your administrator at
<%=h SiteConfig.administrator_email %>
if you need
to be added to any lab groups.