Sha256: 2c65090fb65a84d87c5c1578daa1c75b4091a8fdfde2e2ae6e570675a1cc88db

Contents?: true

Size: 1.32 KB

Versions: 36

Compression:

Stored size: 1.32 KB

Contents

<table class="index">
  <tr>
    <th><%= t('page.title') -%></th>
    <th><%= t('activerecord.models.item') -%></th>
    <th><%= t('activerecord.attributes.checkout.due_date') -%></th>
    <th><%= t('activerecord.models.user') -%></th>
  </tr>

<%- @checkins.each_with_index do |checkin, i| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td>
      <%= render 'manifestations/show_index', :manifestation => checkin.item.manifestation -%>
    </td>
    <td>
      <%= link_to checkin.item.item_identifier, checkin.item -%>
      <br />
      (<%= link_to checkin.item.shelf.library.display_name.localize, checkin.item.shelf.library %>)
      <% if defined?(EnjuInterLibraryLoan) %>
        <br />
        <%- unless checkin.item.shelf.library == current_user.library -%>
          <span style="color: red"><%= link_to t('activerecord.models.inter_library_loan'), item_inter_library_loans_path(checkin.item) -%></span>
        <%- end -%>
      <% end %>
    </td>
    <td>
      <%- if checkin.checkout -%>
        <%= l(checkin.checkout.due_date, :format => :only_date) -%>
      <%- end -%>
    </td>
    <td>
      <% if checkin.checkout.try(:user) %>
        <%= link_to checkin.checkout.user.username, checkin.checkout.user -%>
      <% end %>
    </td>
  </tr>
<%- end -%>
</table>

<%= javascript_tag("$('#checkin_item_identifier').focus()") -%>

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
enju_circulation-0.0.66 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.65 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.64 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.63 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.62 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.61 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.60 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.59 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.58 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.57 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.56 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.55 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.54 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.53 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.52 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.51 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.50 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.49 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.48 app/views/checkins/_checkin.html.erb
enju_circulation-0.0.47 app/views/checkins/_checkin.html.erb