diff --git a/app/indexers/hyrax/indexers/resource_indexer.rb b/app/indexers/hyrax/indexers/resource_indexer.rb index 71273bc166..41e3627907 100644 --- a/app/indexers/hyrax/indexers/resource_indexer.rb +++ b/app/indexers/hyrax/indexers/resource_indexer.rb @@ -47,6 +47,7 @@ def to_solr "system_modified_dtsi": resource.updated_at, "has_model_ssim": resource.to_rdf_representation, "human_readable_type_tesim": resource.human_readable_type, + "human_readable_type_sim": resource.human_readable_type, "alternate_ids_sim": resource.alternate_ids.map(&:to_s) }.with_indifferent_access end diff --git a/app/views/hyrax/base/_form_member_of_collections.html.erb b/app/views/hyrax/base/_form_member_of_collections.html.erb index 08a8ad32ac..ea92bf4e56 100644 --- a/app/views/hyrax/base/_form_member_of_collections.html.erb +++ b/app/views/hyrax/base/_form_member_of_collections.html.erb @@ -33,6 +33,10 @@ HTML Properties: + + This table will only display data if works are assigned to collections + + diff --git a/app/views/hyrax/leases/_list_expired_active_leases.html.erb b/app/views/hyrax/leases/_list_expired_active_leases.html.erb index 9ffb9964bd..2b25e711e7 100644 --- a/app/views/hyrax/leases/_list_expired_active_leases.html.erb +++ b/app/views/hyrax/leases/_list_expired_active_leases.html.erb @@ -32,7 +32,7 @@ <%= render 'hyrax/batch_select/add_button', document: curation_concern %> <%= curation_concern.human_readable_type %> - <%= link_to curation_concern, edit_lease_path(curation_concern) %> + <%= visibility_badge(curation_concern.visibility) %> <%= curation_concern.lease_expiration_date %> <%= visibility_badge(curation_concern.visibility_after_lease) %> @@ -40,9 +40,9 @@ - <%= check_box_tag "leases[#{i}][copy_visibility]", curation_concern.id, true %> - <%= t('.change_all', cc: curation_concern) %> - <%= visibility_badge(curation_concern.visibility_after_lease) %>? + <%= check_box_tag "leases[#{i}][copy_visibility]", curation_concern.id, true, 'aria-labelledby': "leases_#{i}_copy_visibility" %> + <%= link_to t('.deactivate'), lease_path(curation_concern), method: :delete, class: 'btn btn-primary' %>