Sha256: 8b9c8654af8bf1ca0a890eb0bf65c5a0c7b559c5f73d47128963f9f3e58914f7
Contents?: true
Size: 1.92 KB
Versions: 11
Compression:
Stored size: 1.92 KB
Contents
<% if assets_with_expired_embargoes.blank? %> <table class="embargoes table"> <thead> <tr> <%= render partial: 'table_headers' %> </tr> </thead> <tbody> <tr> <td colspan="5" class="text-center"> <p><%= t('.missing') %></p> </td> </tr> </tbody> </table> <% else %> <%= form_tag embargoes_path, method: :patch do %> <%= submit_tag t('.deactivate_selected'), class: 'btn btn-primary' %> <table class="embargoes table"> <thead> <tr> <th></th> <%= render partial: 'table_headers' %> </tr> </thead> <tbody> <% assets_with_expired_embargoes.each_with_index do |curation_concern, i| %> <tr> <td><%= render 'hyrax/batch_select/add_button', document: curation_concern %></td> <td class="human-readable-type"><%= curation_concern.human_readable_type %></td> <td class="title"><%= link_to curation_concern, edit_embargo_path(curation_concern) %></td> <td class="current-visibility"><%= visibility_badge(curation_concern.visibility) %></td> <td class="embargo-release-date"><%= curation_concern.embargo_release_date %></td> <td class="visibility-after-embargo"><%= visibility_badge(curation_concern.visibility_after_embargo) %></td> <td class="actions"><%= link_to t('.deactivate'), embargo_path(curation_concern), method: :delete, class: 'btn btn-primary' %></td> </tr> <tr data-behavior="extra" data-id="<%= curation_concern.id %>" class="extra-embargo-info"> <td></td> <td colspan=5> <%= check_box_tag "embargoes[#{i}][copy_visibility]", curation_concern.id, true %> <%= t('.change_all', cc: curation_concern) %> <%= visibility_badge(curation_concern.visibility_after_embargo) %>? </td> </tr> <% end %> </tbody> </table> <% end %> <% end %>
Version data entries
11 entries across 11 versions & 1 rubygems