Sha256: b8189cdd585dea71cd6a59c4e0158adeb6eb781bfcebf64ccfb16263613d063f
Contents?: true
Size: 1.12 KB
Versions: 3
Compression:
Stored size: 1.12 KB
Contents
<table class="table table-striped"> <tr> <th><%= t('activerecord.models.library') -%></th> <th><%= t('activerecord.models.shelf') -%></th> <th><%= t('activerecord.attributes.item.call_number') -%></th> <th><%= t('activerecord.attributes.item.item_identifier') -%></th> <th><%= t('activerecord.models.circulation_status') -%></th> </tr> <%- items.each do |item| -%> <tr> <td> <%= item.shelf.library.display_name %> </td> <td> <%= item.shelf_display_name -%> </td> <td> <%= item.call_number -%> </td> <td> <%- if item.item_identifier? -%> <%= link_to item.item_identifier, item -%> <%- else -%> (<%= link_to t('item.no_number'), item -%>) <%- end -%> </td> <td> <%= item.circulation_status.display_name if item.circulation_status -%> <%- if item.rent? -%> ( <%= t('activerecord.attributes.checkout.due_date') -%>: <%= l(item.latest_checkout.due_date, format: :short) -%> ) <%- end -%> </td> </tr> <%- end -%> </table>
Version data entries
3 entries across 3 versions & 1 rubygems