<% if defined?(EnjuCirculation) %> <% end %> <%- manifestation.items.on_shelf.each do |item| -%> <% if defined?(EnjuCirculation) %> <% end %> <% if can? :update, item %> <%= render 'items/tooltip', :item => item %> <% end %> <%- end -%>
<%= t('activerecord.attributes.item.item_identifier') -%> <%= t('activerecord.models.library') -%> <%= t('activerecord.models.shelf') -%> <%= t('activerecord.attributes.item.call_number') -%><%= t('activerecord.models.circulation_status') -%>
<%- if item.item_identifier? -%> <%= link_to(item.item_identifier, item, :id => "item_identifier_item_#{item.id}") -%> <%- else -%> (<%= link_to t('item.no_number'), item -%>) <%- end -%> <%= link_to(item.shelf.library.display_name.localize, item.shelf.library, :id => "library_item_#{item.id}") %> <%= link_to(item.shelf_display_name.localize, item.shelf, :id => "shelf_item_#{item.id}")-%> <%= render 'items/shelf_picture', :item => item -%> <%= item.call_number -%> <%= item.circulation_status.display_name.localize if item.circulation_status -%> <%- if item.rent? -%> ( <%= t('activerecord.attributes.checkout.due_date') -%>: <%= l(item.latest_checkout.due_date, :format => :short) -%> ) <%- end -%>
<%- if can? :create, Item -%>

<%= link_to t('page.new', :model => t('activerecord.models.item')), new_manifestation_item_path(manifestation) -%>

<%- end -%>