<%= show_transfer_request_title(req) %> |
<%= req.created_at.to_formatted_s(:long_ordinal) %>
|
<%= link_to req.sending_user.name, hyrax.user_path(req.sending_user) %> |
<% if req.pending? %>
<%# = button_to "Accept and allow depositor to retain edit access", hyrax.accept_transfer_path(req), method: :put, class: 'btn btn-primary' %>
<%# = button_to "Accept and reset access", hyrax.accept_transfer_path(req, reset: true), method: :put, class: 'btn btn-primary' %>
<%# = button_to "Accept & Authorize Proxy", hyrax.accept_transfer_path(req, sticky: true), method: :put, class: 'btn btn-primary' %>
<%= button_to t(".reject"), hyrax.reject_transfer_path(req), method: :put, class: 'btn btn-sm btn-danger', data: {confirm: t(".are_you_sure_you_want_to_reject_this_request")} %>
<% else %>
<%= req.status.capitalize %>
<% end %>
|
<%= req.sender_comment %> |
<% else %>
<% Rails.logger.error "A proxy request has no sender: #{req.inspect}" %>
<% end %>
<% end %>