Sha256: 9792df8cb68a7fb8246ad9fd450904f5cec29d9c5c059025508229c49be414c2

Contents?: true

Size: 1.15 KB

Versions: 20

Compression:

Stored size: 1.15 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.localize %>
      </td>
      <td>
        <%= item.shelf_display_name.localize -%>
      </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.localize 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

20 entries across 20 versions & 1 rubygems

Version Path
enju_biblio-0.3.18 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.17 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.16 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.15 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.14 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.13 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.12 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.11 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.10 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.10.rc.3 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.10.rc.2 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.10.rc.1 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.9 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.8 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.7 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.6 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.5 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.4 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.3 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.2 app/views/manifestations/_show_holding.html+phone.erb