hyrax 2.1.0.beta1 → 2.1.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +9 -49
- data/.rubocop_fixme.yml +1 -0
- data/.travis.yml +1 -1
- data/Gemfile +3 -3
- data/README.md +4 -2
- data/app/actors/hyrax/actors/file_set_actor.rb +0 -1
- data/app/actors/hyrax/actors/interpret_visibility_actor.rb +1 -3
- data/app/actors/hyrax/actors/model_actor.rb +4 -0
- data/app/assets/javascripts/hyrax.js +1 -1
- data/app/assets/javascripts/hyrax/app.js.erb +1 -1
- data/app/assets/javascripts/hyrax/authority_select.es6 +15 -7
- data/app/assets/javascripts/hyrax/collections.js +188 -9
- data/app/assets/javascripts/hyrax/content_blocks.js +13 -1
- data/app/assets/javascripts/hyrax/editor.es6 +2 -1
- data/app/assets/javascripts/hyrax/proxy_rights.js +2 -2
- data/app/assets/javascripts/hyrax/turbolinks_events.js +5 -0
- data/app/assets/stylesheets/hyrax/_accessibility.scss +21 -0
- data/app/assets/stylesheets/hyrax/_catalog.scss +21 -16
- data/app/assets/stylesheets/hyrax/_collections.scss +48 -7
- data/app/assets/stylesheets/hyrax/_modal.scss +4 -0
- data/app/assets/stylesheets/hyrax/_settings.scss +1 -1
- data/app/assets/stylesheets/hyrax/dashboard.scss +0 -1
- data/app/controllers/concerns/hyrax/breadcrumbs.rb +3 -1
- data/app/controllers/concerns/hyrax/embargoes_controller_behavior.rb +17 -1
- data/app/controllers/concerns/hyrax/leases_controller_behavior.rb +10 -0
- data/app/controllers/concerns/hyrax/local_file_downloads_controller_behavior.rb +86 -0
- data/app/controllers/concerns/hyrax/works_controller_behavior.rb +14 -11
- data/app/controllers/hyrax/admin/collection_types_controller.rb +11 -1
- data/app/controllers/hyrax/api/items_controller.rb +2 -6
- data/app/controllers/hyrax/batch_edits_controller.rb +6 -0
- data/app/controllers/hyrax/batch_uploads_controller.rb +1 -1
- data/app/controllers/hyrax/dashboard/collections_controller.rb +4 -7
- data/app/controllers/hyrax/dashboard/profiles_controller.rb +2 -0
- data/app/controllers/hyrax/dashboard_controller.rb +2 -2
- data/app/controllers/hyrax/depositors_controller.rb +19 -0
- data/app/controllers/hyrax/downloads_controller.rb +3 -4
- data/app/controllers/hyrax/embargoes_controller.rb +2 -0
- data/app/controllers/hyrax/file_sets_controller.rb +12 -0
- data/app/controllers/hyrax/leases_controller.rb +2 -0
- data/app/controllers/hyrax/my/works_controller.rb +9 -0
- data/app/controllers/hyrax/my_controller.rb +0 -1
- data/app/controllers/hyrax/transfers_controller.rb +1 -3
- data/app/controllers/hyrax/users_controller.rb +1 -3
- data/app/forms/hyrax/forms/admin/collection_type_form.rb +1 -1
- data/app/forms/hyrax/forms/permission_template_form.rb +1 -4
- data/app/forms/hyrax/forms/work_form.rb +1 -3
- data/app/helpers/hyrax/citations_behaviors/common_behavior.rb +1 -3
- data/app/helpers/hyrax/citations_behaviors/formatters/chicago_formatter.rb +1 -5
- data/app/helpers/hyrax/collections_helper.rb +7 -4
- data/app/helpers/hyrax/file_set_helper.rb +0 -1
- data/app/helpers/hyrax/hyrax_helper_behavior.rb +0 -1
- data/app/helpers/hyrax/trophy_helper.rb +0 -1
- data/app/indexers/hyrax/admin_set_indexer.rb +2 -0
- data/app/inputs/multi_value_select_input.rb +1 -3
- data/app/jobs/attach_files_to_work_job.rb +5 -1
- data/app/jobs/import_url_job.rb +9 -8
- data/app/models/admin_set.rb +1 -5
- data/app/models/concerns/hyrax/ability.rb +3 -4
- data/app/models/concerns/hyrax/collection_behavior.rb +0 -4
- data/app/models/concerns/hyrax/collection_nesting.rb +12 -0
- data/app/models/concerns/hyrax/suppressible.rb +1 -5
- data/app/models/featured_work_list.rb +1 -3
- data/app/models/hyrax/collection_type.rb +3 -2
- data/app/models/hyrax/permission_template_access.rb +6 -4
- data/app/models/proxy_deposit_request.rb +1 -1
- data/app/presenters/hyrax/collection_presenter.rb +0 -24
- data/app/presenters/hyrax/displays_image.rb +1 -1
- data/app/presenters/hyrax/file_set_presenter.rb +1 -1
- data/app/presenters/hyrax/menu_presenter.rb +1 -1
- data/app/presenters/hyrax/work_show_presenter.rb +15 -10
- data/app/search_builders/hyrax/abstract_type_relation.rb +2 -1
- data/app/search_builders/hyrax/collection_member_search_builder.rb +1 -1
- data/app/search_builders/hyrax/dashboard/collections_search_builder.rb +3 -1
- data/app/search_builders/hyrax/parent_collection_search_builder.rb +2 -2
- data/app/services/hyrax/admin_set_create_service.rb +1 -3
- data/app/services/hyrax/analytics.rb +1 -3
- data/app/services/hyrax/collection_member_service.rb +6 -5
- data/app/services/hyrax/collection_types/create_service.rb +37 -10
- data/app/services/hyrax/collections/permissions_create_service.rb +1 -3
- data/app/services/hyrax/collections/permissions_service.rb +6 -4
- data/app/views/catalog/_index_header_list_collection.html.erb +1 -1
- data/app/views/catalog/_index_header_list_default.html.erb +1 -1
- data/app/views/catalog/_index_list_default.html.erb +6 -10
- data/app/views/catalog/_search_form.html.erb +10 -11
- data/app/views/catalog/_thumbnail_list_collection.html.erb +1 -1
- data/app/views/catalog/_thumbnail_list_default.html.erb +1 -1
- data/app/views/hyrax/admin/admin_sets/_form.html.erb +1 -1
- data/app/views/hyrax/admin/admin_sets/_form_participant_table.html.erb +1 -1
- data/app/views/hyrax/admin/admin_sets/_form_participants.html.erb +1 -1
- data/app/views/hyrax/admin/admin_sets/_form_visibility.html.erb +3 -3
- data/app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb +2 -2
- data/app/views/hyrax/admin/admin_sets/index.html.erb +1 -1
- data/app/views/hyrax/admin/appearances/show.html.erb +4 -4
- data/app/views/hyrax/admin/collection_types/_form_settings.html.erb +3 -2
- data/app/views/hyrax/admin/collection_types/index.html.erb +2 -2
- data/app/views/hyrax/admin/features/index.html.erb +2 -4
- data/app/views/hyrax/admin/stats/_date_form.html.erb +3 -3
- data/app/views/hyrax/admin/stats/_top_data.html.erb +1 -1
- data/app/views/hyrax/admin/stats/show.html.erb +1 -1
- data/app/views/hyrax/admin/workflows/index.html.erb +0 -1
- data/app/views/hyrax/base/_file_manager_actions.html.erb +2 -2
- data/app/views/hyrax/base/_file_manager_member.html.erb +1 -1
- data/app/views/hyrax/base/_form_child_work_relationships.html.erb +1 -2
- data/app/views/hyrax/base/_form_files.html.erb +3 -3
- data/app/views/hyrax/base/_form_member_of_collections.html.erb +1 -2
- data/app/views/hyrax/base/_form_progress.html.erb +3 -3
- data/app/views/hyrax/base/_form_relationships.html.erb +2 -3
- data/app/views/hyrax/base/_form_representative.html.erb +0 -1
- data/app/views/hyrax/base/_form_share.html.erb +1 -3
- data/app/views/hyrax/base/_form_thumbnail.html.erb +0 -1
- data/app/views/hyrax/base/_form_visibility_component.html.erb +6 -6
- data/app/views/hyrax/base/_relationships_parent_rows.html.erb +3 -1
- data/app/views/hyrax/base/_representative_media.html.erb +1 -1
- data/app/views/hyrax/base/_share_with.html.erb +3 -3
- data/app/views/hyrax/base/_show_actions.html.erb +14 -1
- data/app/views/hyrax/base/_social_media.html.erb +5 -5
- data/app/views/hyrax/base/_work_title.erb +3 -1
- data/app/views/hyrax/base/_workflow_actions.html.erb +1 -1
- data/app/views/hyrax/base/inspect_work.html.erb +1 -1
- data/app/views/hyrax/base/show.html.erb +2 -2
- data/app/views/hyrax/batch_edits/_check_all.html.erb +2 -2
- data/app/views/hyrax/batch_edits/edit.html.erb +47 -44
- data/app/views/hyrax/batch_select/_add_button.html.erb +2 -2
- data/app/views/hyrax/citations/work.html.erb +3 -3
- data/app/views/hyrax/collections/_collection.html.erb +1 -1
- data/app/views/hyrax/collections/_default_group.html.erb +1 -1
- data/app/views/hyrax/collections/_list_collections.html.erb +2 -2
- data/app/views/hyrax/collections/_list_works.html.erb +1 -1
- data/app/views/hyrax/collections/_show_descriptions.html.erb +6 -6
- data/app/views/hyrax/collections/_show_document_list_row.html.erb +2 -2
- data/app/views/hyrax/collections/_show_parent_collections.html.erb +11 -38
- data/app/views/hyrax/collections/_sort_and_per_page.html.erb +13 -13
- data/app/views/hyrax/collections/_subcollection_list.html.erb +1 -1
- data/app/views/hyrax/collections/_view_type_group.html.erb +1 -1
- data/app/views/hyrax/collections/show.html.erb +122 -122
- data/app/views/hyrax/content_blocks/_form.html.erb +13 -12
- data/app/views/hyrax/content_blocks/_modal_content_block.html.erb +15 -0
- data/app/views/hyrax/dashboard/_index_partials/_proxy_rights.html.erb +25 -19
- data/app/views/hyrax/dashboard/_sidebar.html.erb +1 -1
- data/app/views/hyrax/dashboard/collections/_button_for_remove_selected_from_collection.html.erb +1 -1
- data/app/views/hyrax/dashboard/collections/_collection_title.html.erb +16 -16
- data/app/views/hyrax/dashboard/collections/_form.html.erb +3 -1
- data/app/views/hyrax/dashboard/collections/_form_branding.html.erb +11 -11
- data/app/views/hyrax/dashboard/collections/_form_default_group_delt.html.erb +1 -1
- data/app/views/hyrax/dashboard/collections/_form_discovery.html.erb +2 -2
- data/app/views/hyrax/dashboard/collections/_form_for_select_collection.html.erb +4 -4
- data/app/views/hyrax/dashboard/collections/_form_share.html.erb +51 -44
- data/app/views/hyrax/dashboard/collections/_form_share_table.html.erb +2 -2
- data/app/views/hyrax/dashboard/collections/_list_collections.html.erb +4 -4
- data/app/views/hyrax/dashboard/collections/_list_works.html.erb +1 -1
- data/app/views/hyrax/dashboard/collections/_modal_remove_from_collection.html.erb +10 -5
- data/app/views/hyrax/dashboard/collections/_modal_remove_sub_collection.html.erb +10 -5
- data/app/views/hyrax/dashboard/collections/_show_actions.html.erb +1 -1
- data/app/views/hyrax/dashboard/collections/_show_add_items_actions.html.erb +2 -2
- data/app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb +2 -2
- data/app/views/hyrax/dashboard/collections/_show_parent_collection_row.html.erb +10 -5
- data/app/views/hyrax/dashboard/collections/_show_parent_collections.html.erb +11 -34
- data/app/views/hyrax/dashboard/collections/_sort_and_per_page.html.erb +1 -1
- data/app/views/hyrax/dashboard/collections/_subcollection_list.html.erb +23 -17
- data/app/views/hyrax/dashboard/collections/show.html.erb +6 -6
- data/app/views/hyrax/dashboard/profiles/_edit_primary.html.erb +0 -4
- data/app/views/hyrax/dashboard/profiles/_trophy_edit.html.erb +16 -14
- data/app/views/hyrax/dashboard/profiles/show.html.erb +6 -0
- data/app/views/hyrax/dashboard/show_admin.html.erb +19 -3
- data/app/views/hyrax/dashboard/sidebar/_activity.html.erb +6 -0
- data/app/views/hyrax/dashboard/works/_list_works.html.erb +1 -1
- data/app/views/hyrax/depositors/index.html.erb +13 -0
- data/app/views/hyrax/embargoes/_list_expired_active_embargoes.html.erb +1 -1
- data/app/views/hyrax/embargoes/edit.html.erb +47 -35
- data/app/views/hyrax/embargoes/index.html.erb +6 -7
- data/app/views/hyrax/file_sets/_actions.html.erb +6 -2
- data/app/views/hyrax/file_sets/_extra_fields_modal.html.erb +3 -3
- data/app/views/hyrax/file_sets/_groups_description.html.erb +0 -1
- data/app/views/hyrax/file_sets/_permission_form.html.erb +3 -3
- data/app/views/hyrax/file_sets/edit.html.erb +24 -20
- data/app/views/hyrax/file_sets/media_display/_audio.html.erb +23 -6
- data/app/views/hyrax/file_sets/media_display/_default.html.erb +1 -1
- data/app/views/hyrax/file_sets/media_display/_video.html.erb +23 -6
- data/app/views/hyrax/leases/_list_expired_active_leases.html.erb +1 -1
- data/app/views/hyrax/leases/edit.html.erb +47 -35
- data/app/views/hyrax/leases/index.html.erb +6 -6
- data/app/views/hyrax/my/_collection_action_menu.html.erb +1 -1
- data/app/views/hyrax/my/_facet_limit.html.erb +1 -2
- data/app/views/hyrax/my/_facet_pagination.html.erb +6 -6
- data/app/views/hyrax/my/_facet_pivot.html.erb +1 -1
- data/app/views/hyrax/my/_results_pagination.html.erb +1 -1
- data/app/views/hyrax/my/collections/_facets.html.erb +1 -1
- data/app/views/hyrax/my/collections/_list_collections.html.erb +5 -5
- data/app/views/hyrax/my/collections/_modal_add_subcollection.html.erb +3 -2
- data/app/views/hyrax/my/collections/_modal_add_to_collection.html.erb +3 -1
- data/app/views/hyrax/my/collections/_modal_add_to_collection_permission_deny.html.erb +1 -1
- data/app/views/hyrax/my/collections/_modal_collection_types_to_create.html.erb +2 -2
- data/app/views/hyrax/my/collections/_modal_delete_collection.html.erb +1 -2
- data/app/views/hyrax/my/collections/_modal_delete_deny.html.erb +1 -1
- data/app/views/hyrax/my/collections/_modal_delete_selected_collections.html.erb +2 -2
- data/app/views/hyrax/my/collections/_tabs.html.erb +2 -2
- data/app/views/hyrax/my/collections/index.html.erb +7 -3
- data/app/views/hyrax/my/facet.html.erb +1 -1
- data/app/views/hyrax/my/index.html.erb +6 -2
- data/app/views/hyrax/my/works/_facets.html.erb +1 -1
- data/app/views/hyrax/my/works/_list_works.html.erb +1 -1
- data/app/views/hyrax/my/works/_tabs.html.erb +2 -2
- data/app/views/hyrax/my/works/index.html.erb +6 -2
- data/app/views/hyrax/notifications/_notifications.html.erb +1 -1
- data/app/views/hyrax/pages/_form.html.erb +12 -12
- data/app/views/hyrax/pages/show.html.erb +1 -1
- data/app/views/hyrax/single_use_links_viewer/show.html.erb +1 -1
- data/app/views/hyrax/stats/file.html.erb +6 -2
- data/app/views/hyrax/stats/work.html.erb +6 -2
- data/app/views/hyrax/transfers/_received.html.erb +6 -6
- data/app/views/hyrax/transfers/_sent.html.erb +2 -2
- data/app/views/hyrax/transfers/new.html.erb +0 -1
- data/app/views/hyrax/users/_activity_log.html.erb +2 -2
- data/app/views/hyrax/users/_profile_tabs.html.erb +1 -1
- data/app/views/hyrax/users/_search_form.html.erb +1 -1
- data/app/views/hyrax/users/_user.html.erb +0 -1
- data/app/views/hyrax/users/index.html.erb +1 -1
- data/app/views/kaminari/blacklight_compact/_paginator.html.erb +1 -2
- data/app/views/layouts/_head_tag_content.html.erb +2 -2
- data/app/views/layouts/error.html.erb +1 -1
- data/app/views/layouts/hyrax.html.erb +6 -3
- data/app/views/layouts/hyrax/dashboard.html.erb +6 -3
- data/app/views/records/show_fields/_based_near.html.erb +0 -1
- data/app/views/records/show_fields/_contributor.html.erb +0 -1
- data/app/views/records/show_fields/_date_created.html.erb +0 -1
- data/app/views/records/show_fields/_description.html.erb +1 -1
- data/app/views/records/show_fields/_identifier.html.erb +0 -1
- data/app/views/records/show_fields/_language.html.erb +0 -1
- data/app/views/records/show_fields/_publisher.html.erb +0 -1
- data/app/views/records/show_fields/_related_url.html.erb +0 -1
- data/app/views/records/show_fields/_resource_type.html.erb +0 -1
- data/app/views/records/show_fields/_subject.html.erb +0 -1
- data/app/views/shared/_citations.html.erb +17 -17
- data/app/views/shared/_select_work_type_modal.html.erb +2 -2
- data/config/locales/hyrax.de.yml +198 -189
- data/config/locales/hyrax.en.yml +21 -14
- data/config/locales/hyrax.es.yml +9 -0
- data/config/locales/hyrax.fr.yml +9 -0
- data/config/locales/hyrax.it.yml +9 -0
- data/config/locales/hyrax.pt-BR.yml +9 -0
- data/config/locales/hyrax.zh.yml +9 -0
- data/config/routes.rb +1 -0
- data/hyrax.gemspec +7 -18
- data/lib/generators/hyrax/models_generator.rb +0 -1
- data/lib/generators/hyrax/templates/db/migrate/20180302200051_add_branding_to_collection_type.rb.erb +5 -0
- data/lib/generators/hyrax/work/templates/feature_spec.rb.erb +1 -1
- data/lib/hyrax/configuration.rb +2 -4
- data/lib/hyrax/engine.rb +22 -4
- data/lib/hyrax/version.rb +1 -1
- data/spec/actors/hyrax/actors/lease_actor_spec.rb +16 -0
- data/spec/controllers/hyrax/admin/appearances_controller_spec.rb +1 -1
- data/spec/controllers/hyrax/admin/collection_types_controller_spec.rb +2 -0
- data/spec/controllers/hyrax/admin/features_controller_spec.rb +1 -1
- data/spec/controllers/hyrax/admin/workflow_roles_controller_spec.rb +1 -1
- data/spec/controllers/hyrax/admin/workflows_controller_spec.rb +1 -1
- data/spec/controllers/hyrax/batch_edits_controller_spec.rb +14 -1
- data/spec/controllers/hyrax/batch_uploads_controller_spec.rb +2 -2
- data/spec/controllers/hyrax/citations_controller_spec.rb +4 -2
- data/spec/controllers/hyrax/collections_controller_spec.rb +32 -4
- data/spec/controllers/hyrax/content_blocks_controller_spec.rb +1 -1
- data/spec/controllers/hyrax/dashboard/collections_controller_spec.rb +11 -6
- data/spec/controllers/hyrax/depositors_controller_spec.rb +11 -0
- data/spec/controllers/hyrax/downloads_controller_spec.rb +42 -0
- data/spec/controllers/hyrax/embargoes_controller_spec.rb +40 -1
- data/spec/controllers/hyrax/file_sets_controller_spec.rb +10 -2
- data/spec/controllers/hyrax/generic_works_controller_spec.rb +38 -6
- data/spec/controllers/hyrax/leases_controller_spec.rb +11 -0
- data/spec/controllers/hyrax/my/collections_controller_spec.rb +1 -1
- data/spec/controllers/hyrax/my/works_controller_spec.rb +1 -1
- data/spec/controllers/hyrax/pages_controller_spec.rb +1 -1
- data/spec/controllers/hyrax/stats_controller_spec.rb +2 -0
- data/spec/controllers/hyrax/transfers_controller_spec.rb +1 -1
- data/spec/factories/collection_types.rb +10 -1
- data/spec/factories/collections.rb +5 -3
- data/spec/factories/collections_factory.rb +3 -3
- data/spec/factories/file_sets.rb +2 -6
- data/spec/factories/generic_works.rb +68 -4
- data/spec/factory_tests/collections_factory_spec.rb +2 -1
- data/spec/features/batch_create_spec.rb +60 -0
- data/spec/features/batch_edit_spec.rb +1 -0
- data/spec/features/browse_dashboard_works_spec.rb +1 -0
- data/spec/features/collection_multi_membership_spec.rb +9 -6
- data/spec/features/collection_spec.rb +1 -1
- data/spec/features/collection_type_spec.rb +49 -1
- data/spec/features/create_work_admin_spec.rb +2 -2
- data/spec/features/create_work_spec.rb +1 -0
- data/spec/features/dashboard/all_works.rb +10 -2
- data/spec/features/dashboard/collection_spec.rb +38 -17
- data/spec/features/dashboard/display_admin_dashboard_spec.rb +29 -0
- data/spec/features/dashboard/display_dashboard_spec.rb +1 -1
- data/spec/features/edit_content_block_admin_spec.rb +45 -0
- data/spec/features/edit_work_spec.rb +40 -2
- data/spec/features/ownership_transfer_spec.rb +1 -0
- data/spec/features/proxy_spec.rb +2 -2
- data/spec/features/search_spec.rb +2 -5
- data/spec/features/work_show_spec.rb +14 -4
- data/spec/forms/hyrax/forms/admin/collection_type_form_spec.rb +1 -0
- data/spec/forms/hyrax/forms/collection_form_spec.rb +1 -1
- data/spec/helpers/hyrax/ability_helper_spec.rb +2 -2
- data/spec/helpers/hyrax/collections_helper_spec.rb +12 -4
- data/spec/javascripts/authority_select_spec.js +1 -1
- data/spec/javascripts/settings_spec.js +1 -0
- data/spec/jobs/attach_files_to_work_job_spec.rb +13 -0
- data/spec/jobs/import_url_job_spec.rb +14 -0
- data/spec/models/collection_spec.rb +1 -0
- data/spec/models/concerns/hyrax/collection_nesting_spec.rb +16 -0
- data/spec/models/hyrax/collection_type_spec.rb +1 -0
- data/spec/presenters/hyrax/collection_presenter_spec.rb +1 -100
- data/spec/presenters/hyrax/file_set_presenter_spec.rb +17 -2
- data/spec/presenters/hyrax/menu_presenter_spec.rb +6 -0
- data/spec/presenters/hyrax/work_show_presenter_spec.rb +15 -3
- data/spec/search_builders/hyrax/abstract_type_relation_spec.rb +18 -0
- data/spec/search_builders/hyrax/dashboard/collections_search_builder_spec.rb +30 -19
- data/spec/search_builders/hyrax/parent_collection_search_builder_spec.rb +15 -0
- data/spec/services/hyrax/collection_member_service_spec.rb +10 -19
- data/spec/services/hyrax/collection_types/create_service_spec.rb +35 -2
- data/spec/services/hyrax/collections/collection_member_service_spec.rb +1 -1
- data/spec/services/hyrax/qa_select_service_spec.rb +0 -1
- data/spec/support/selectors.rb +15 -0
- data/spec/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb_spec.rb +2 -0
- data/spec/views/hyrax/admin/collection_types/_form_settings.html.erb_spec.rb +1 -0
- data/spec/views/hyrax/admin/stats/show.html.erb_spec.rb +9 -0
- data/spec/views/hyrax/base/_attributes.html.erb_spec.rb +1 -1
- data/spec/views/hyrax/base/_relationships.html.erb_spec.rb +13 -1
- data/spec/views/hyrax/base/_show_actions.html.erb_spec.rb +10 -0
- data/spec/views/hyrax/base/show.html.erb_spec.rb +8 -0
- data/spec/views/hyrax/collections/_show_parent_collections.html.erb_spec.rb +3 -53
- data/spec/views/hyrax/dashboard/_sidebar.html.erb_spec.rb +22 -0
- data/spec/views/hyrax/dashboard/collections/_form_share.erb_spec.rb +2 -1
- data/spec/views/hyrax/dashboard/collections/_show_actions.html.erb_spec.rb +13 -0
- data/spec/views/hyrax/dashboard/collections/_show_parent_collection_row.html.erb_spec.rb +26 -8
- data/spec/views/hyrax/dashboard/collections/_show_parent_collections.html.erb_spec.rb +7 -43
- data/spec/views/hyrax/dashboard/collections/_subcollection_list.html.erb_spec.rb +13 -1
- data/spec/views/hyrax/dashboard/collections/show.html.erb_spec.rb +1 -0
- data/spec/views/hyrax/dashboard/profiles/_trophy_edit.html.erb_spec.rb +36 -0
- data/spec/views/hyrax/dashboard/profiles/edit.html.erb_spec.rb +0 -38
- data/spec/views/hyrax/dashboard/profiles/show.html.erb_spec.rb +37 -0
- data/spec/views/hyrax/depositors/index.html.erb_spec.rb +13 -0
- data/spec/views/hyrax/file_sets/_actions.html.erb_spec.rb +15 -0
- data/spec/views/hyrax/file_sets/media_display/_audio.html.erb_spec.rb +29 -0
- data/spec/views/hyrax/file_sets/media_display/_default.html.erb_spec.rb +1 -1
- data/spec/views/hyrax/file_sets/media_display/_video.html.erb_spec.rb +29 -0
- data/spec/views/hyrax/my/collections/_list_collections.html.erb_spec.rb +6 -2
- data/tasks/hyrax_dev.rake +1 -3
- data/template.rb +1 -1
- metadata +49 -41
- data/app/assets/javascripts/hyrax/collections_forms.js +0 -108
@@ -1,5 +1,5 @@
|
|
1
1
|
<% # main container for facets/limits menu -%>
|
2
|
-
<% if has_facet_values?
|
2
|
+
<% if has_facet_values? %>
|
3
3
|
<div class="list-filters" role="group">
|
4
4
|
<span class="list-filters-label"><%= t("hyrax.dashboard.my.facet_label.collections") %></span>
|
5
5
|
<%= render_facet_partials %>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<% id = collection_presenter.id%>
|
1
|
+
<% id = collection_presenter.id %>
|
2
2
|
|
3
3
|
<%# Data attributes referenced by the javascript for row actions %>
|
4
4
|
<tr id="document_<%= id %>"
|
@@ -35,14 +35,14 @@
|
|
35
35
|
<div class="expanded-details">
|
36
36
|
<p>
|
37
37
|
<strong><%= t("hyrax.dashboard.my.collection_list.description") %></strong>
|
38
|
-
<br
|
38
|
+
<br /><%= collection_presenter.description.first %>
|
39
39
|
</p>
|
40
40
|
<p>
|
41
41
|
<strong><%= t("hyrax.dashboard.my.collection_list.edit_access") %></strong>
|
42
|
-
<br
|
42
|
+
<br />
|
43
43
|
<% if collection_presenter.edit_groups.present? %>
|
44
44
|
<%= t("hyrax.dashboard.my.collection_list.groups") %> <%= collection_presenter.edit_groups.join(', ') %>
|
45
|
-
<br/>
|
45
|
+
<br />
|
46
46
|
<% end %>
|
47
47
|
<%= t("hyrax.dashboard.my.collection_list.users") %> <%= collection_presenter.edit_people.join(', ') %>
|
48
48
|
</p>
|
@@ -54,7 +54,7 @@
|
|
54
54
|
</td>
|
55
55
|
<td><%= collection_presenter.permission_badge %></td>
|
56
56
|
<td><%= collection_presenter.total_viewable_items %></td>
|
57
|
-
<td class="date"><%=collection_presenter.modified_date.try(:to_formatted_s, :standard) %> </td>
|
57
|
+
<td class="date"><%= collection_presenter.modified_date.try(:to_formatted_s, :standard) %> </td>
|
58
58
|
<td>
|
59
59
|
<% if collection_presenter.solr_document.admin_set? %>
|
60
60
|
<%= render '/hyrax/my/admin_set_action_menu', admin_set_presenter: collection_presenter %>
|
@@ -11,18 +11,19 @@
|
|
11
11
|
<div class="modal-body">
|
12
12
|
<div class="modal-ajax-alert"></div>
|
13
13
|
<label><%= t('hyrax.collection.actions.nest_collections.select_label') %></label>
|
14
|
-
<input type="hidden" name="source" value="<%= source %>"
|
14
|
+
<input type="hidden" name="source" value="<%= source %>" /><input />
|
15
15
|
<select name="child_id">
|
16
16
|
<option value="none"><%= t("hyrax.dashboard.my.action.select") %></option>
|
17
17
|
<% colls = Hyrax::Collections::NestedCollectionQueryService.available_child_collections(parent: collection, scope: controller, limit_to_id: nil) %>
|
18
18
|
<% colls.each {|coll| %>
|
19
|
-
<option
|
19
|
+
<option value="<%= coll.id %>"><%= coll.title.first %></option>
|
20
20
|
<% } %>
|
21
21
|
</select>
|
22
22
|
</div>
|
23
23
|
|
24
24
|
<div class="modal-footer">
|
25
25
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t('helpers.action.cancel') %></button>
|
26
|
+
<% # '.modal-add-button' and '.modal-submit-button' classes applied below are used for JavaScript targeting %>
|
26
27
|
<button
|
27
28
|
disabled
|
28
29
|
type="button"
|
@@ -8,9 +8,11 @@
|
|
8
8
|
</div>
|
9
9
|
|
10
10
|
<div class="modal-body">
|
11
|
+
<!-- Any alert messaging mounts to this element -->
|
11
12
|
<div class="modal-ajax-alert"></div>
|
13
|
+
|
12
14
|
<label><%= t('hyrax.collection.actions.nested_subcollection.select_label') %></label>
|
13
|
-
<input type="hidden" name="source" value="<%= source %>"
|
15
|
+
<input type="hidden" name="source" value="<%= source %>" /><input />
|
14
16
|
<select name="parent_id">
|
15
17
|
<option value="none"><%= t("hyrax.dashboard.my.action.select") %></option>
|
16
18
|
</select>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<div class="modal-content">
|
4
4
|
<div class="modal-body">
|
5
5
|
<p><%= t('hyrax.dashboard.my.action.nesting_permission_denied') %></p>
|
6
|
-
</div>
|
6
|
+
</div>
|
7
7
|
<div class="modal-footer">
|
8
8
|
<button type="button" class="btn btn-primary" data-dismiss="modal"><%= t('helpers.action.close') %></button>
|
9
9
|
</div>
|
@@ -17,7 +17,7 @@
|
|
17
17
|
data-path="<%= new_admin_admin_set_path %>"
|
18
18
|
<% else %>
|
19
19
|
data-path="<%= "#{new_dashboard_collection_path}&collection_type_id=#{row_presenter.id}" %>"
|
20
|
-
<% end
|
20
|
+
<% end %> />
|
21
21
|
<h4><%= row_presenter.title %></h4>
|
22
22
|
<p><%= row_presenter.description %></p>
|
23
23
|
</label>
|
@@ -28,7 +28,7 @@
|
|
28
28
|
<div class="modal-footer">
|
29
29
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t('hyrax.dashboard.collection_type_actions.close') %>
|
30
30
|
</button>
|
31
|
-
<input type="submit" class="btn btn-primary" value="<%= t('hyrax.dashboard.collection_type_actions.create_collection') %>"
|
31
|
+
<input type="submit" class="btn btn-primary" value="<%= t('hyrax.dashboard.collection_type_actions.create_collection') %>" />
|
32
32
|
</div>
|
33
33
|
</form>
|
34
34
|
</div><!-- ./modal-content -->
|
@@ -11,8 +11,7 @@
|
|
11
11
|
data-dismiss="modal"><%= t('helpers.action.cancel') %></button>
|
12
12
|
<button type="button"
|
13
13
|
class="btn btn-danger modal-delete-button"
|
14
|
-
title="<%= t("hyrax.dashboard.my.action.delete_collection") %>"
|
15
|
-
><%= t('helpers.action.delete') %></button>
|
14
|
+
title="<%= t("hyrax.dashboard.my.action.delete_collection") %>"><%= t('helpers.action.delete') %></button>
|
16
15
|
</div>
|
17
16
|
</div>
|
18
17
|
</div>
|
@@ -7,11 +7,11 @@
|
|
7
7
|
<div class="modal-footer">
|
8
8
|
<div style="text-align: right; display: inline-block">
|
9
9
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t('helpers.action.cancel') %></button>
|
10
|
-
<div style="float: right; margin-left: 10px;"
|
10
|
+
<div style="float: right; margin-left: 10px;">
|
11
11
|
<%= render 'hyrax/dashboard/collections/button_for_batch_delete_collection', label: t('helpers.action.delete') %>
|
12
12
|
</div>
|
13
13
|
</div>
|
14
14
|
</div>
|
15
15
|
</div>
|
16
16
|
</div>
|
17
|
-
</div>
|
17
|
+
</div>
|
@@ -1,9 +1,9 @@
|
|
1
1
|
<ul class="nav nav-tabs" id="my_nav" role="navigation">
|
2
|
-
<span class="sr-only">You are currently listing your collections. You have <%= @response.docs.count %> <%= 'collection'.pluralize(@response.docs.count)%> </span>
|
2
|
+
<span class="sr-only">You are currently listing your collections. You have <%= @response.docs.count %> <%= 'collection'.pluralize(@response.docs.count) %> </span>
|
3
3
|
<li<%= ' class="active"'.html_safe if current_page?(hyrax.dashboard_collections_path(locale: nil)) %>>
|
4
4
|
<%= link_to t("hyrax.dashboard.#{current_ability.admin? ? 'all' : 'managed'}.collections"), hyrax.dashboard_collections_path %>
|
5
5
|
</li>
|
6
6
|
<li<%= ' class="active"'.html_safe if current_page?(hyrax.my_collections_path(locale: nil)) %>>
|
7
|
-
<%= link_to t('hyrax.dashboard.my.
|
7
|
+
<%= link_to t('hyrax.dashboard.my.your_collections'), hyrax.my_collections_path %>
|
8
8
|
</li>
|
9
9
|
</ul>
|
@@ -4,9 +4,13 @@
|
|
4
4
|
<%= atom_feed_link_tag route_set: hyrax %>
|
5
5
|
<% end %>
|
6
6
|
|
7
|
-
|
7
|
+
<script>
|
8
|
+
//<![CDATA[
|
9
|
+
|
8
10
|
<%= render partial: 'scripts', formats: [:js] %>
|
9
|
-
|
11
|
+
|
12
|
+
//]]>
|
13
|
+
</script>
|
10
14
|
|
11
15
|
<% provide :page_header do %>
|
12
16
|
<h1><span class="fa fa-folder-open"></span> <%= t("hyrax.admin.sidebar.collections") %></h1>
|
@@ -25,7 +29,7 @@
|
|
25
29
|
data-toggle="modal"
|
26
30
|
data-target="#collectiontypes-to-create"
|
27
31
|
data-behavior="select-collection">
|
28
|
-
<%= t(:'helpers.action.collection.new')%>
|
32
|
+
<%= t(:'helpers.action.collection.new') %>
|
29
33
|
</button>
|
30
34
|
<% else @collection_type_list_presenter.any? %>
|
31
35
|
<% # link directly to create collection form with type %>
|
@@ -5,9 +5,13 @@
|
|
5
5
|
<%= atom_feed_link_tag route_set: hyrax %>
|
6
6
|
<% end %>
|
7
7
|
|
8
|
-
|
8
|
+
<script>
|
9
|
+
//<![CDATA[
|
10
|
+
|
9
11
|
<%= render partial: 'scripts', formats: [:js] %>
|
10
|
-
|
12
|
+
|
13
|
+
//]]>
|
14
|
+
</script>
|
11
15
|
|
12
16
|
<% provide :page_header do %>
|
13
17
|
<h1><span class="fa fa-file"></span> <%= t("hyrax.admin.sidebar.works") %></h1>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<tr id="document_<%= document.id %>">
|
2
2
|
|
3
3
|
<td>
|
4
|
-
<label for="batch_document_<%= document.id %>" class="sr-only"><%=t("hyrax.dashboard.my.sr.batch_checkbox")%></label>
|
4
|
+
<label for="batch_document_<%= document.id %>" class="sr-only"><%= t("hyrax.dashboard.my.sr.batch_checkbox") %></label>
|
5
5
|
<%= render 'hyrax/batch_select/add_button', document: document %>
|
6
6
|
</td>
|
7
7
|
|
@@ -1,9 +1,9 @@
|
|
1
1
|
<ul class="nav nav-tabs" id="my_nav" role="navigation">
|
2
|
-
<span class="sr-only">You are currently listing your works. You have <%= @response.docs.count %> <%= 'work'.pluralize(@response.docs.count)%> </span>
|
2
|
+
<span class="sr-only">You are currently listing your works. You have <%= @response.docs.count %> <%= 'work'.pluralize(@response.docs.count) %> </span>
|
3
3
|
<li<%= ' class="active"'.html_safe if current_page?(hyrax.dashboard_works_path(locale: nil)) %>>
|
4
4
|
<%= link_to t("hyrax.dashboard.#{current_ability.admin? ? 'all' : 'managed'}.works"), hyrax.dashboard_works_path, data: { turbolinks: false } %>
|
5
5
|
</li>
|
6
6
|
<li<%= ' class="active"'.html_safe if current_page?(hyrax.my_works_path(locale: nil)) %>>
|
7
|
-
<%= link_to t('hyrax.dashboard.my.
|
7
|
+
<%= link_to t('hyrax.dashboard.my.your_works'), hyrax.my_works_path, data: { turbolinks: false } %>
|
8
8
|
</li>
|
9
9
|
</ul>
|
@@ -5,9 +5,13 @@
|
|
5
5
|
<%= atom_feed_link_tag route_set: hyrax %>
|
6
6
|
<% end %>
|
7
7
|
|
8
|
-
|
8
|
+
<script>
|
9
|
+
//<![CDATA[
|
10
|
+
|
9
11
|
<%= render partial: 'scripts', formats: [:js] %>
|
10
|
-
|
12
|
+
|
13
|
+
//]]>
|
14
|
+
</script>
|
11
15
|
|
12
16
|
<% provide :page_header do %>
|
13
17
|
<h1><span class="fa fa-file"></span> <%= t("hyrax.admin.sidebar.works") %></h1>
|
@@ -12,7 +12,7 @@
|
|
12
12
|
<tbody>
|
13
13
|
<% messages.each do |msg| %>
|
14
14
|
<tr>
|
15
|
-
<td>
|
15
|
+
<td data-sort="<%= msg.last_message.created_at.getutc.iso8601(5) %>">
|
16
16
|
<relative-time datetime="<%= msg.last_message.created_at.getutc.iso8601 %>" title="<%= msg.last_message.created_at.to_formatted_s(:standard) %>">
|
17
17
|
<%= msg.last_message.created_at.to_formatted_s(:long_ordinal) %>
|
18
18
|
</relative-time>
|
@@ -19,13 +19,13 @@
|
|
19
19
|
<%= simple_form_for ContentBlock.for(:about), url: hyrax.page_path(ContentBlock.for(:about)) do |f| %>
|
20
20
|
<div class="panel-body">
|
21
21
|
<div class="field form-group">
|
22
|
-
<%= f.label :about %><br
|
22
|
+
<%= f.label :about %><br />
|
23
23
|
<%= f.text_area :about, value: f.object.value, class: 'form-control tinymce', rows: 20, cols: 120 %>
|
24
24
|
</div>
|
25
25
|
</div>
|
26
26
|
<div class="panel-footer">
|
27
|
-
<%= link_to t(:'hyrax.pages.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-default pull-right'%>
|
28
|
-
<%= f.button :submit, class: 'btn btn-primary pull-right'%>
|
27
|
+
<%= link_to t(:'hyrax.pages.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-default pull-right' %>
|
28
|
+
<%= f.button :submit, class: 'btn btn-primary pull-right' %>
|
29
29
|
</div>
|
30
30
|
<% end %>
|
31
31
|
</div>
|
@@ -35,13 +35,13 @@
|
|
35
35
|
<%= simple_form_for ContentBlock.for(:help), url: hyrax.page_path(ContentBlock.for(:help)) do |f| %>
|
36
36
|
<div class="panel-body">
|
37
37
|
<div class="field form-group">
|
38
|
-
<%= f.label :help %><br
|
38
|
+
<%= f.label :help %><br />
|
39
39
|
<%= f.text_area :help, value: f.object.value, class: 'form-control tinymce', rows: 20, cols: 120 %>
|
40
40
|
</div>
|
41
41
|
</div>
|
42
42
|
<div class="panel-footer">
|
43
|
-
<%= link_to t(:'hyrax.pages.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-default pull-right'%>
|
44
|
-
<%= f.button :submit, class: 'btn btn-primary pull-right'%>
|
43
|
+
<%= link_to t(:'hyrax.pages.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-default pull-right' %>
|
44
|
+
<%= f.button :submit, class: 'btn btn-primary pull-right' %>
|
45
45
|
</div>
|
46
46
|
<% end %>
|
47
47
|
</div>
|
@@ -51,13 +51,13 @@
|
|
51
51
|
<%= simple_form_for ContentBlock.for(:agreement), url: hyrax.page_path(ContentBlock.for(:agreement)) do |f| %>
|
52
52
|
<div class="panel-body">
|
53
53
|
<div class="field form-group">
|
54
|
-
<%= f.label :agreement %><br
|
54
|
+
<%= f.label :agreement %><br />
|
55
55
|
<%= f.text_area :agreement, value: f.object.value, class: 'form-control tinymce', rows: 20, cols: 120 %>
|
56
56
|
</div>
|
57
57
|
</div>
|
58
58
|
<div class="panel-footer">
|
59
|
-
<%= link_to t(:'hyrax.pages.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-default pull-right'%>
|
60
|
-
<%= f.button :submit, class: 'btn btn-primary pull-right'%>
|
59
|
+
<%= link_to t(:'hyrax.pages.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-default pull-right' %>
|
60
|
+
<%= f.button :submit, class: 'btn btn-primary pull-right' %>
|
61
61
|
</div>
|
62
62
|
<% end %>
|
63
63
|
</div>
|
@@ -67,13 +67,13 @@
|
|
67
67
|
<%= simple_form_for ContentBlock.for(:terms), url: hyrax.page_path(ContentBlock.for(:terms)) do |f| %>
|
68
68
|
<div class="panel-body">
|
69
69
|
<div class="field form-group">
|
70
|
-
<%= f.label :terms %><br
|
70
|
+
<%= f.label :terms %><br />
|
71
71
|
<%= f.text_area :terms, value: f.object.value, class: 'form-control tinymce', rows: 20, cols: 120 %>
|
72
72
|
</div>
|
73
73
|
</div>
|
74
74
|
<div class="panel-footer">
|
75
|
-
<%= link_to t(:'hyrax.pages.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-default pull-right'%>
|
76
|
-
<%= f.button :submit, class: 'btn btn-primary pull-right'%>
|
75
|
+
<%= link_to t(:'hyrax.pages.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-default pull-right' %>
|
76
|
+
<%= f.button :submit, class: 'btn btn-primary pull-right' %>
|
77
77
|
</div>
|
78
78
|
<% end %>
|
79
79
|
</div>
|
@@ -1,7 +1,11 @@
|
|
1
1
|
<!-- Adapted from jquery-flot examples https://github.com/flot/flot/blob/master/examples/visitors/index.html -->
|
2
|
-
|
2
|
+
<script>
|
3
|
+
//<![CDATA[
|
4
|
+
|
3
5
|
var hyrax_item_stats = <%= @stats.to_flot.to_json.html_safe %>;
|
4
|
-
|
6
|
+
|
7
|
+
//]]>
|
8
|
+
</script>
|
5
9
|
|
6
10
|
<%= content_tag :h1, @file_set, class: "lower" %>
|
7
11
|
|
@@ -1,7 +1,11 @@
|
|
1
1
|
<!-- Adapted from jquery-flot examples https://github.com/flot/flot/blob/master/examples/visitors/index.html -->
|
2
|
-
|
2
|
+
<script>
|
3
|
+
//<![CDATA[
|
4
|
+
|
3
5
|
var hyrax_item_stats = <%= @stats.to_flot.to_json.html_safe %>;
|
4
|
-
|
6
|
+
|
7
|
+
//]]>
|
8
|
+
</script>
|
5
9
|
|
6
10
|
<%= content_tag :h1, @stats, class: "lower" %>
|
7
11
|
|
@@ -13,12 +13,12 @@
|
|
13
13
|
<% unless req.sending_user.blank? %>
|
14
14
|
<tr>
|
15
15
|
<td> <%= show_transfer_request_title(req) %> </td>
|
16
|
-
<td>
|
16
|
+
<td data-sort="<%= req.created_at.getutc.iso8601(5) %>">
|
17
17
|
<relative-time datetime="<%= req.created_at.getutc.iso8601 %>" title="<%= req.created_at.to_formatted_s(:standard) %>">
|
18
18
|
<%= req.created_at.to_formatted_s(:long_ordinal) %>
|
19
19
|
</relative-time>
|
20
20
|
</td>
|
21
|
-
<td><%= link_to req.sending_user.name, hyrax.user_path(req.sending_user)
|
21
|
+
<td><%= link_to req.sending_user.name, hyrax.user_path(req.sending_user) %></td>
|
22
22
|
<td>
|
23
23
|
<% if req.pending? %>
|
24
24
|
<div class="btn-group">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<button class="btn btn-sm dropdown-toggle accept" data-toggle="dropdown" href="#"><span class="caret"></span></button>
|
27
27
|
<ul class="dropdown-menu">
|
28
28
|
<li>
|
29
|
-
<%= link_to 'Allow depositor to retain edit access', hyrax.accept_transfer_path(req), method: :put, class: 'accept-retain', title: 'Accept the file and allow the original depositor to retain access to edit the file and metadat'
|
29
|
+
<%= link_to 'Allow depositor to retain edit access', hyrax.accept_transfer_path(req), method: :put, class: 'accept-retain', title: 'Accept the file and allow the original depositor to retain access to edit the file and metadat' %>
|
30
30
|
</li>
|
31
31
|
<li>
|
32
32
|
<%= link_to 'Remove depositor access', hyrax.accept_transfer_path(req, reset: true), method: :put, class: 'accept-reset', title: 'Accept the file remove access from the original depositor.' %>
|
@@ -37,9 +37,9 @@
|
|
37
37
|
</ul>
|
38
38
|
</div>
|
39
39
|
|
40
|
-
|
41
|
-
|
42
|
-
|
40
|
+
<%# = button_to "Accept and allow depositor to retain edit access", hyrax.accept_transfer_path(req), method: :put, class: 'btn btn-primary' %>
|
41
|
+
<%# = button_to "Accept and reset access", hyrax.accept_transfer_path(req, reset: true), method: :put, class: 'btn btn-primary' %>
|
42
|
+
<%# = button_to "Accept & Authorize Proxy", hyrax.accept_transfer_path(req, sticky: true), method: :put, class: 'btn btn-primary' %>
|
43
43
|
<%= button_to "Reject", hyrax.reject_transfer_path(req), method: :put, class: 'btn btn-sm btn-danger', data: {confirm: "Are you sure you want to reject this request?"} %>
|
44
44
|
<% else %>
|
45
45
|
<%= req.status.capitalize %>
|
@@ -13,13 +13,13 @@
|
|
13
13
|
<% unless req.receiving_user.blank? %>
|
14
14
|
<tr>
|
15
15
|
<td> <%= show_transfer_request_title(req) %> </td>
|
16
|
-
<td>
|
16
|
+
<td data-sort="<%= req.created_at.getutc.iso8601(5) %>">
|
17
17
|
<relative-time datetime="<%= req.created_at.getutc.iso8601 %>" title="<%= req.created_at.to_formatted_s(:standard) %>">
|
18
18
|
<%= req.created_at.to_formatted_s(:long_ordinal) %>
|
19
19
|
</relative-time>
|
20
20
|
</td>
|
21
21
|
|
22
|
-
<td><%= link_to req.receiving_user.name, hyrax.user_path(req.receiving_user)
|
22
|
+
<td><%= link_to req.receiving_user.name, hyrax.user_path(req.receiving_user) %></td>
|
23
23
|
|
24
24
|
<td>
|
25
25
|
<% if req.pending? %>
|