Sha256: 77080907e55e9bcd2b763c68f8a82ecda156fc985097566d593581bda2f00a97

Contents?: true

Size: 1.17 KB

Versions: 47

Compression:

Stored size: 1.17 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>
  <%- manifestation.items.on_shelf.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

47 entries across 46 versions & 3 rubygems

Version Path
enju_biblio-0.3.1 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.0 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.0.rc.1 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.3.0.beta.2 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.2.5 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.2.4 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.2.3 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.2.2 app/views/manifestations/_show_holding.html+phone.erb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.0/app/views/manifestations/_show_holding.html+phone.erb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_biblio-0.2.1/app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.2.1 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.2.0 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.2.0.beta.4 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.2.0.beta.3 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.2.0.beta.2 app/views/manifestations/_show_holding.html+phone.erb
enju_flower-0.1.2 app/views/manifestations/_show_holding.mobile.erb
enju_biblio-0.2.0.beta.1 app/views/manifestations/_show_holding.html+phone.erb
enju_biblio-0.1.3 app/views/manifestations/_show_holding.mobile.erb
enju_flower-0.1.1 app/views/manifestations/_show_holding.mobile.erb
enju_biblio-0.1.2 app/views/manifestations/_show_holding.mobile.erb