Sha256: acfed501cb0bba09522fb83a20b073c56a037614f166826743e45b8bbc89e86c

Contents?: true

Size: 1.3 KB

Versions: 33

Compression:

Stored size: 1.3 KB

Contents

<table class="table table-striped" id="outgoing-transfers">
  <thead>
    <tr>
      <th>Title</th>
      <th>Date</th>
      <th>To</th>
      <th>Status</th>
      <th>Comments</th>
    </tr>
  </thead>
  <tbody>
    <% outgoing_proxy_deposits.each do |req| %>
      <% unless req.receiving_user.blank? %>
        <tr>
          <td> <%= show_transfer_request_title(req) %> </td>
          <td data-sort="<%= req.created_at.getutc.iso8601(5) %>">
            <relative-time datetime="<%= req.created_at.getutc.iso8601 %>" title="<%= req.created_at.to_formatted_s(:standard) %>">
              <%= req.created_at.to_formatted_s(:long_ordinal) %>
            </relative-time>
          </td>

          <td><%= link_to req.receiving_user.name, hyrax.user_path(req.receiving_user) %></td>

          <td>
            <% if req.pending? %>
              <%= button_to "Cancel", hyrax.transfer_path(req), method: :delete, class:'btn btn-sm btn-danger', data: {confirm: "Are you sure you want to cancel this request?"} %>
            <% else %>
              <%= req.status.capitalize %>
            <% end %>
          </td>

          <td><%= req.sender_comment %></td>
        </tr>
      <% else %>
          <% Rails.logger.error "A proxy request has no receiver: #{req.inspect}" %>
      <% end %>
    <% end %>
  </tbody>
</table>

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
hyrax-2.9.6 app/views/hyrax/transfers/_sent.html.erb
hyrax-2.9.5 app/views/hyrax/transfers/_sent.html.erb
hyrax-2.9.4 app/views/hyrax/transfers/_sent.html.erb
hyrax-2.9.3 app/views/hyrax/transfers/_sent.html.erb
hyrax-2.9.2 app/views/hyrax/transfers/_sent.html.erb
hyrax-2.9.1 app/views/hyrax/transfers/_sent.html.erb
hyrax-2.9.0 app/views/hyrax/transfers/_sent.html.erb
hyrax-2.8.0 app/views/hyrax/transfers/_sent.html.erb
hyrax-2.7.2 app/views/hyrax/transfers/_sent.html.erb
hyrax-2.7.1 app/views/hyrax/transfers/_sent.html.erb
hyrax-2.7.0 app/views/hyrax/transfers/_sent.html.erb
hyrax-2.6.0 app/views/hyrax/transfers/_sent.html.erb
hyrax-2.5.1 app/views/hyrax/transfers/_sent.html.erb
hyrax-2.5.0 app/views/hyrax/transfers/_sent.html.erb
hyrax-3.0.0.pre.beta2 app/views/hyrax/transfers/_sent.html.erb
hyrax-2.4.1 app/views/hyrax/transfers/_sent.html.erb
hyrax-3.0.0.pre.beta1 app/views/hyrax/transfers/_sent.html.erb
hyrax-2.4.0 app/views/hyrax/transfers/_sent.html.erb
hyrax-2.3.3 app/views/hyrax/transfers/_sent.html.erb
hyrax-2.3.2 app/views/hyrax/transfers/_sent.html.erb