Sha256: eeb694fbf9b1117ddc6380b0932b0103d9d56cf5974d4977532b30865ef2197a

Contents?: true

Size: 1.17 KB

Versions: 73

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.checkouts.first.due_date, :format => :short) -%>
          )
        <%- end -%>
      </td>
    </tr>
  <%- end -%>
</table>

Version data entries

73 entries across 73 versions & 2 rubygems

Version Path
enju_biblio-0.1.0.pre55 app/views/manifestations/_show_holding.mobile.erb
enju_biblio-0.1.0.pre54 app/views/manifestations/_show_holding.mobile.erb
enju_biblio-0.1.0.pre53 app/views/manifestations/_show_holding.mobile.erb
enju_biblio-0.1.0.pre52 app/views/manifestations/_show_holding.mobile.erb
enju_biblio-0.1.0.pre51 app/views/manifestations/_show_holding.mobile.erb
enju_biblio-0.1.0.pre50 app/views/manifestations/_show_holding.mobile.erb
enju_biblio-0.1.0.pre49 app/views/manifestations/_show_holding.mobile.erb
enju_biblio-0.1.0.pre48 app/views/manifestations/_show_holding.mobile.erb
enju_biblio-0.1.0.pre47 app/views/manifestations/_show_holding.mobile.erb
enju_biblio-0.1.0.pre46 app/views/manifestations/_show_holding.mobile.erb
enju_biblio-0.1.0.pre45 app/views/manifestations/_show_holding.mobile.erb
enju_flower-0.1.0.pre12 app/views/manifestations/_show_holding.mobile.erb
enju_biblio-0.1.0.pre44 app/views/manifestations/_show_holding.mobile.erb
enju_biblio-0.1.0.pre43 app/views/manifestations/_show_holding.mobile.erb
enju_flower-0.1.0.pre11 app/views/manifestations/_show_holding.mobile.erb
enju_flower-0.1.0.pre10 app/views/manifestations/_show_holding.mobile.erb
enju_biblio-0.1.0.pre42 app/views/manifestations/_show_holding.mobile.erb
enju_biblio-0.1.0.pre41 app/views/manifestations/_show_holding.mobile.erb
enju_flower-0.1.0.pre9 app/views/manifestations/_show_holding.mobile.erb
enju_biblio-0.1.0.pre40 app/views/manifestations/_show_holding.mobile.erb