<% cache([manifestation, fragment: 'show_holding_html', role: current_user_role_name, locale: @locale]) do %>
<% if defined?(EnjuCirculation) %> <% end %> <%- manifestation.items.each do |item| -%> <% if defined?(EnjuCirculation) %> <% end %> <% if policy(item).update? %> <%= 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.retained? %>
<%= t('reserve.retained') %> <% end %> <% if item.rent? %>
( <%= t('activerecord.attributes.checkout.due_date') -%>: <%= l(item.latest_checkout.due_date, format: :short) -%> ) <% end %>
<% end %>