Sha256: 69ab7965bdf6c22ecaaec7a704be9cf3177c1a724edf339ead27f10b943a9d1d

Contents?: true

Size: 511 Bytes

Versions: 3

Compression:

Stored size: 511 Bytes

Contents

<td>
  <%= item.circulation_status.display_name if item.circulation_status -%>
  <% if item.use_restriction.name == 'Not For Loan' %>
    <br />
    <%= item.use_restriction.display_name %>
  <% else %>
    <% if item.retained? %>
      <br />
      <%= t('reserve.retained') %>
    <% end %>
    <% if item.rent? %>
      <br />
      (
        <%= t('activerecord.attributes.checkout.due_date') -%>:
        <%= l(item.latest_checkout.due_date, format: :only_date) -%>
      )
    <% end %>
  <% end %>
</td>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_circulation-0.4.0.rc.1 app/views/manifestations/_circulation_status.html.erb
enju_circulation-0.4.0.beta.4 app/views/manifestations/_circulation_status.html.erb
enju_circulation-0.4.0.beta.3 app/views/manifestations/_circulation_status.html.erb