hydra-head 3.0.0pre1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +71 -0
- data/.gitmodules +6 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +257 -0
- data/README.textile +150 -0
- data/README_RAILS3_CHANGES.textile +42 -0
- data/Rakefile +5 -0
- data/TESTING.textile +85 -0
- data/app/controllers/assets_controller.rb +117 -0
- data/app/controllers/contributors_controller.rb +54 -0
- data/app/controllers/file_assets_controller.rb +152 -0
- data/app/controllers/permissions_controller.rb +137 -0
- data/app/controllers/user_sessions_controller.rb +14 -0
- data/app/helpers/article_metadata_helper.rb +80 -0
- data/app/helpers/blacklight_helper.rb +192 -0
- data/app/helpers/downloads_helper.rb +19 -0
- data/app/helpers/generic_content_objects_helper.rb +16 -0
- data/app/helpers/hydra_assets_helper.rb +75 -0
- data/app/helpers/hydra_djatoka_helper.rb +23 -0
- data/app/helpers/hydra_fedora_metadata_helper.rb +365 -0
- data/app/helpers/hydra_helper.rb +155 -0
- data/app/helpers/hydra_uploader_helper.rb +18 -0
- data/app/helpers/inline_editable_metadata_helper.rb +15 -0
- data/app/helpers/javascript_includes_helper.rb +93 -0
- data/app/helpers/release_process_helper.rb +32 -0
- data/app/models/audio_asset.rb +8 -0
- data/app/models/file_asset.rb +111 -0
- data/app/models/generic_content.rb +21 -0
- data/app/models/generic_image.rb +62 -0
- data/app/models/image_asset.rb +8 -0
- data/app/models/mods_asset.rb +6 -0
- data/app/models/role_mapper.rb +22 -0
- data/app/models/superuser.rb +6 -0
- data/app/models/video_asset.rb +8 -0
- data/app/views/_add_assets_links.html.erb +13 -0
- data/app/views/_brown_sidebar.html +15 -0
- data/app/views/_user_util_links.html.erb +31 -0
- data/app/views/catalog/_citation.html.erb +11 -0
- data/app/views/catalog/_constraints_element.html.erb +34 -0
- data/app/views/catalog/_delete_partials/_default.html.erb +29 -0
- data/app/views/catalog/_document_list.html.erb +11 -0
- data/app/views/catalog/_edit_partials/_default.html.erb +64 -0
- data/app/views/catalog/_edit_partials/_default_details.html.erb +15 -0
- data/app/views/catalog/_email_form.html.erb +9 -0
- data/app/views/catalog/_facets.html.erb +37 -0
- data/app/views/catalog/_flash_msg.html.erb +17 -0
- data/app/views/catalog/_home.html.erb +6 -0
- data/app/views/catalog/_home_text.html.erb +10 -0
- data/app/views/catalog/_index_partials/_default.html.erb +20 -0
- data/app/views/catalog/_index_partials/_default_details.html.erb +11 -0
- data/app/views/catalog/_index_partials/_default_group.html.erb +15 -0
- data/app/views/catalog/_search_form.html.erb +12 -0
- data/app/views/catalog/_show_partials/_default.html.erb +23 -0
- data/app/views/catalog/_show_partials/_default_details.html.erb +12 -0
- data/app/views/catalog/_show_partials/_facets.html.erb +52 -0
- data/app/views/catalog/_sms_form.html.erb +21 -0
- data/app/views/catalog/_sort_and_per_page.html.erb +22 -0
- data/app/views/catalog/_uva_tabs.html.erb +10 -0
- data/app/views/catalog/about.html.erb +0 -0
- data/app/views/catalog/show.html.erb +48 -0
- data/app/views/contributors/_add_contributor_split_button.html.erb +10 -0
- data/app/views/contributors/_edit_conference.html.erb +29 -0
- data/app/views/contributors/_edit_organization.html.erb +29 -0
- data/app/views/contributors/_edit_person.html.erb +42 -0
- data/app/views/contributors/_index.html.erb +12 -0
- data/app/views/contributors/_new.html.erb +10 -0
- data/app/views/contributors/_show_conference.html.erb +22 -0
- data/app/views/contributors/_show_organization.html.erb +29 -0
- data/app/views/contributors/_show_person.html.erb +17 -0
- data/app/views/contributors/new.html.erb +13 -0
- data/app/views/downloads/index.html.erb +1 -0
- data/app/views/file_assets/_deletable_result.html.erb +5 -0
- data/app/views/file_assets/_index.html.erb +15 -0
- data/app/views/file_assets/_new.html.erb +2 -0
- data/app/views/file_assets/_result.html.erb +16 -0
- data/app/views/file_assets/index.html.erb +5 -0
- data/app/views/fluid_infusion/_uploader.html.erb +81 -0
- data/app/views/fluid_infusion/_uploader_generic_content_objects.js.erb +38 -0
- data/app/views/fluid_infusion/_uploader_js.erb +45 -0
- data/app/views/generic_content_objects/_edit_description.html.erb +50 -0
- data/app/views/generic_content_objects/_new.html.erb +0 -0
- data/app/views/generic_content_objects/_show_description.html.erb +68 -0
- data/app/views/generic_content_objects/contributors/_edit_conference.html.erb +29 -0
- data/app/views/generic_content_objects/contributors/_edit_organization.html.erb +29 -0
- data/app/views/generic_content_objects/contributors/_edit_person.html.erb +37 -0
- data/app/views/generic_content_objects/contributors/_new.html.erb +10 -0
- data/app/views/generic_content_objects/contributors/_show_conference.html.erb +22 -0
- data/app/views/generic_content_objects/contributors/_show_organization.html.erb +22 -0
- data/app/views/generic_content_objects/contributors/_show_person.html.erb +38 -0
- data/app/views/generic_contents/_edit.html.erb +59 -0
- data/app/views/generic_contents/_index.html.erb +23 -0
- data/app/views/generic_contents/_show.html.erb +18 -0
- data/app/views/generic_contents/_show_content.html.erb +4 -0
- data/app/views/generic_images/_edit.html.erb +59 -0
- data/app/views/generic_images/_index.html.erb +24 -0
- data/app/views/generic_images/_show.html.erb +18 -0
- data/app/views/generic_images/_show_all.html.erb +14 -0
- data/app/views/generic_images/_show_content.html.erb +7 -0
- data/app/views/layouts/application.html.erb +57 -0
- data/app/views/layouts/hydra-head.html.erb +12 -0
- data/app/views/mods_assets/_edit.html.erb +49 -0
- data/app/views/mods_assets/_edit_description.html.erb +82 -0
- data/app/views/mods_assets/_edit_journal.html.erb +72 -0
- data/app/views/mods_assets/_index.html.erb +1 -0
- data/app/views/mods_assets/_index_list.html.erb +37 -0
- data/app/views/mods_assets/_index_table.html.erb +7 -0
- data/app/views/mods_assets/_progress_box.html.erb +82 -0
- data/app/views/mods_assets/_show.html.erb +44 -0
- data/app/views/mods_assets/_show_description.html.erb +44 -0
- data/app/views/mods_assets/_show_journal.html.erb +42 -0
- data/app/views/mods_assets/_show_permissions.html.erb +14 -0
- data/app/views/permissions/_edit_person_permissions.html.erb +35 -0
- data/app/views/permissions/_index.html.erb +55 -0
- data/app/views/permissions/_new.html.erb +18 -0
- data/app/views/permissions/index.html.erb +1 -0
- data/app/views/permissions/new.html.erb +1 -0
- data/app/views/shared/_delete_asset_confirmation.html.erb +17 -0
- data/app/views/user_sessions/_login_form.html.erb +10 -0
- data/app/views/user_sessions/logged_out.html.erb +1 -0
- data/config/routes.rb +12 -0
- data/fedora_conf/conf/fedora.fcfg +1021 -0
- data/hydra-head.gemspec +70 -0
- data/lib/application_controller.rb +25 -0
- data/lib/application_helper.rb +2 -0
- data/lib/engine.rb +30 -0
- data/lib/generators/hydra/head_generator.rb +152 -0
- data/lib/generators/hydra/templates/config/fedora.yml +17 -0
- data/lib/generators/hydra/templates/config/initializers/blacklight_config.rb +246 -0
- data/lib/generators/hydra/templates/config/initializers/fedora_config.rb +23 -0
- data/lib/generators/hydra/templates/config/initializers/hydra_config.rb +29 -0
- data/lib/generators/hydra/templates/config/role_map_cucumber.yml +10 -0
- data/lib/generators/hydra/templates/config/role_map_development.yml +12 -0
- data/lib/generators/hydra/templates/config/role_map_production.yml +2 -0
- data/lib/generators/hydra/templates/config/role_map_test.yml +15 -0
- data/lib/generators/hydra/templates/config/solr.yml +10 -0
- data/lib/generators/hydra/templates/config/solr_mappings.yml +22 -0
- data/lib/generators/hydra/templates/fedora_conf/conf/fedora.fcfg +1021 -0
- data/lib/generators/hydra/templates/migrations/add_user_attributes_table.rb +15 -0
- data/lib/generators/hydra/templates/migrations/create_superusers.rb +12 -0
- data/lib/generators/hydra/templates/solr_conf/conf/schema.xml +118 -0
- data/lib/generators/hydra/templates/solr_conf/conf/solrconfig.xml +332 -0
- data/lib/generators/hydra/templates/solr_conf/solr.xml +35 -0
- data/lib/hydra-head.rb +29 -0
- data/lib/hydra-head/engine.rb +9 -0
- data/lib/hydra-head/routes.rb +87 -0
- data/lib/hydra-head/version.rb +4 -0
- data/lib/hydra.rb +22 -0
- data/lib/hydra/access_controls_enforcement.rb +236 -0
- data/lib/hydra/access_controls_evaluation.rb +97 -0
- data/lib/hydra/assets_controller_helper.rb +144 -0
- data/lib/hydra/catalog.rb +64 -0
- data/lib/hydra/common_mods_index_methods.rb +42 -0
- data/lib/hydra/controller.rb +7 -0
- data/lib/hydra/file_assets_helper.rb +144 -0
- data/lib/hydra/fixtures.rb +43 -0
- data/lib/hydra/generic_content.rb +113 -0
- data/lib/hydra/generic_image.rb +100 -0
- data/lib/hydra/image.rb +177 -0
- data/lib/hydra/model_methods.rb +95 -0
- data/lib/hydra/model_mixins.rb +2 -0
- data/lib/hydra/model_mixins/common_metadata.rb +24 -0
- data/lib/hydra/model_mixins/mods_object.rb +16 -0
- data/lib/hydra/mods_article.rb +505 -0
- data/lib/hydra/mods_dataset.rb +165 -0
- data/lib/hydra/mods_generic_content.rb +494 -0
- data/lib/hydra/mods_image.rb +494 -0
- data/lib/hydra/repository_controller.rb +102 -0
- data/lib/hydra/rights_metadata.rb +189 -0
- data/lib/hydra/superuser_attributes.rb +12 -0
- data/lib/hydra/testing_server.rb +183 -0
- data/lib/hydra/user.rb +22 -0
- data/lib/mediashelf/active_fedora_helper.rb +72 -0
- data/lib/railties/all_tests.rake +23 -0
- data/lib/railties/hydra-fixtures.rake +184 -0
- data/lib/railties/hydra_jetty.rake +79 -0
- data/lib/railties/hyhead_cucumber.rake +127 -0
- data/lib/railties/hyhead_rspec.rake +137 -0
- data/lib/stanford/searchworks_helper.rb +1338 -0
- data/lib/stanford/solr_helper.rb +108 -0
- data/lib/uva/mods_index_methods.rb +24 -0
- data/solr_conf/conf/schema.xml +122 -0
- data/solr_conf/conf/solrconfig.xml +332 -0
- data/solr_conf/solr.xml +35 -0
- data/tasks/hydra-head-fixtures.rake +54 -0
- data/tasks/hydra-head.rake +247 -0
- data/tasks/hydra_jetty.rake +79 -0
- data/tasks/replicator.rake +27 -0
- data/tasks/solrizer-fedora.rake +53 -0
- data/tasks/solrizer.rake +13 -0
- data/test_support/etc/Gemfile +29 -0
- data/test_support/etc/rvmrc +32 -0
- data/test_support/features/button_add_assets.feature +22 -0
- data/test_support/features/button_add_generic_content.feature +11 -0
- data/test_support/features/button_add_image.feature +11 -0
- data/test_support/features/button_add_mods_asset.feature +11 -0
- data/test_support/features/contributor_add.feature +39 -0
- data/test_support/features/file_assets_list.feature +32 -0
- data/test_support/features/file_upload.feature +40 -0
- data/test_support/features/home_page.feature +9 -0
- data/test_support/features/html_validity.feature +47 -0
- data/test_support/features/mods_asset_contributors_edit.feature +80 -0
- data/test_support/features/mods_asset_create.feature +12 -0
- data/test_support/features/mods_asset_edit.feature +33 -0
- data/test_support/features/mods_asset_edit_without_permission.feature +10 -0
- data/test_support/features/mods_asset_search_result.feature +13 -0
- data/test_support/features/mods_asset_show.feature +39 -0
- data/test_support/features/permissions_add.feature +15 -0
- data/test_support/features/permissions_edit.feature +63 -0
- data/test_support/features/step_definitions/catalog_index_steps.rb +14 -0
- data/test_support/features/step_definitions/create_asset_steps.rb +7 -0
- data/test_support/features/step_definitions/edit_metadata_steps.rb +73 -0
- data/test_support/features/step_definitions/file_list_steps.rb +28 -0
- data/test_support/features/step_definitions/hydra_metadata_steps.rb +3 -0
- data/test_support/features/step_definitions/hydra_steps.rb +8 -0
- data/test_support/features/step_definitions/inline_editable_edit_steps.rb +77 -0
- data/test_support/features/step_definitions/search_steps.rb +88 -0
- data/test_support/features/step_definitions/searching_steps.rb +22 -0
- data/test_support/features/step_definitions/show_document_steps.rb +85 -0
- data/test_support/features/step_definitions/user_steps.rb +36 -0
- data/test_support/features/step_definitions/web_steps.rb +219 -0
- data/test_support/features/support/env.rb +55 -0
- data/test_support/features/support/paths.rb +80 -0
- data/test_support/features/switch_users.feature +14 -0
- data/test_support/features/view_catalog_index.feature +18 -0
- data/test_support/fixtures/empty_file.txt +0 -0
- data/test_support/fixtures/hydrangea_fixture_archivist_only_mods_article.foxml.xml +1212 -0
- data/test_support/fixtures/hydrangea_fixture_file_asset1.foxml.xml +4946 -0
- data/test_support/fixtures/hydrangea_fixture_mods_article1.foxml.xml +234 -0
- data/test_support/fixtures/hydrangea_fixture_mods_article2.foxml.xml +177 -0
- data/test_support/fixtures/hydrangea_fixture_mods_article3.foxml.xml +170 -0
- data/test_support/fixtures/hydrangea_fixture_mods_dataset1.foxml.xml +187 -0
- data/test_support/fixtures/hydrangea_fixture_uploaded_svg1.foxml.xml +676 -0
- data/test_support/fixtures/image.jp2 +0 -0
- data/test_support/fixtures/libra-oa_1.foxml.xml +2324 -0
- data/test_support/fixtures/libra-oa_2.foxml.xml +2422 -0
- data/test_support/spec/controllers/assets_controller_spec.rb +113 -0
- data/test_support/spec/controllers/catalog_controller_spec.rb +148 -0
- data/test_support/spec/controllers/catalog_controller_viewing_context_spec.rb +62 -0
- data/test_support/spec/controllers/contributors_controller_spec.rb +47 -0
- data/test_support/spec/controllers/file_assets_controller_spec.rb +189 -0
- data/test_support/spec/controllers/hydra_controller_spec.rb +15 -0
- data/test_support/spec/controllers/permissions_controller_spec.rb +80 -0
- data/test_support/spec/controllers/user_sessions_controller_spec.rb +35 -0
- data/test_support/spec/generators/hydra-head_generator_spec.rb +14 -0
- data/test_support/spec/helpers/access_controls_enforcement_spec.rb +212 -0
- data/test_support/spec/helpers/access_controls_evaluation_spec.rb +35 -0
- data/test_support/spec/helpers/assets_controller_helper_spec.rb +71 -0
- data/test_support/spec/helpers/blacklight_helper_spec.rb +64 -0
- data/test_support/spec/helpers/file_assets_helper_spec.rb +107 -0
- data/test_support/spec/helpers/hydra-repository_controller_spec.rb +32 -0
- data/test_support/spec/helpers/hydra_assets_helper_spec.rb +195 -0
- data/test_support/spec/helpers/hydra_djatoka_helper_spec.rb +32 -0
- data/test_support/spec/helpers/hydra_fedora_metadata_helper_spec.rb +215 -0
- data/test_support/spec/helpers/hydra_helper_spec.rb +73 -0
- data/test_support/spec/helpers/hydra_model_methods_spec.rb +95 -0
- data/test_support/spec/helpers/hydra_uploader_helper_spec.rb +18 -0
- data/test_support/spec/helpers/javascript_includes_helper_spec.rb +43 -0
- data/test_support/spec/integration/file_asset_spec.rb +150 -0
- data/test_support/spec/lib/active_fedora_helper_spec.rb +56 -0
- data/test_support/spec/lib/catalog_spec.rb +16 -0
- data/test_support/spec/lib/common_mods_index_methods_spec.rb +28 -0
- data/test_support/spec/models/audio_asset_spec.rb +23 -0
- data/test_support/spec/models/file_asset_spec.rb +42 -0
- data/test_support/spec/models/generic_content_spec.rb +29 -0
- data/test_support/spec/models/generic_image_spec.rb +58 -0
- data/test_support/spec/models/hydra_rights_metadata_spec.rb +162 -0
- data/test_support/spec/models/image_asset_spec.rb +23 -0
- data/test_support/spec/models/mods_asset_spec.rb +29 -0
- data/test_support/spec/models/role_mapper_spec.rb +22 -0
- data/test_support/spec/models/user_spec.rb +52 -0
- data/test_support/spec/models/video_asset_spec.rb +23 -0
- data/test_support/spec/rcov.opts +3 -0
- data/test_support/spec/spec.opts +4 -0
- data/test_support/spec/spec_helper.rb +44 -0
- data/test_support/spec/support/matchers/helper_matcher.rb +14 -0
- data/test_support/spec/support/matchers/solr_matchers.rb +60 -0
- data/test_support/spec/unit/hydra-head-engine_spec.rb +8 -0
- data/test_support/spec/unit/hydra-head_spec.rb +8 -0
- data/test_support/spec/utilities/hydra_testing_server_spec.rb +49 -0
- data/test_support/spec/views/uploader.html.erb_spec.rb +30 -0
- data/vendor/cache/RedCloth-4.2.3.gem +0 -0
- data/vendor/cache/abstract-1.0.0.gem +0 -0
- data/vendor/cache/actionmailer-3.0.9.gem +0 -0
- data/vendor/cache/actionpack-3.0.9.gem +0 -0
- data/vendor/cache/active-fedora-2.3.3.gem +0 -0
- data/vendor/cache/activemodel-3.0.9.gem +0 -0
- data/vendor/cache/activerecord-3.0.9.gem +0 -0
- data/vendor/cache/activeresource-3.0.9.gem +0 -0
- data/vendor/cache/activesupport-3.0.9.gem +0 -0
- data/vendor/cache/arel-2.0.10.gem +0 -0
- data/vendor/cache/blacklight-3.0.0.gem +0 -0
- data/vendor/cache/block_helpers-0.3.3.gem +0 -0
- data/vendor/cache/builder-2.1.2.gem +0 -0
- data/vendor/cache/capybara-1.0.0.gem +0 -0
- data/vendor/cache/childprocess-0.2.0.gem +0 -0
- data/vendor/cache/columnize-0.3.4.gem +0 -0
- data/vendor/cache/crack-0.1.8.gem +0 -0
- data/vendor/cache/cucumber-1.0.2.gem +0 -0
- data/vendor/cache/cucumber-rails-1.0.2.gem +0 -0
- data/vendor/cache/curb-0.7.15.gem +0 -0
- data/vendor/cache/daemons-1.1.4.gem +0 -0
- data/vendor/cache/database_cleaner-0.6.7.gem +0 -0
- data/vendor/cache/diff-lcs-1.1.2.gem +0 -0
- data/vendor/cache/equivalent-xml-0.2.7.gem +0 -0
- data/vendor/cache/erubis-2.6.6.gem +0 -0
- data/vendor/cache/facets-2.8.4.gem +0 -0
- data/vendor/cache/factory_girl-1.3.3.gem +0 -0
- data/vendor/cache/fastercsv-1.5.4.gem +0 -0
- data/vendor/cache/ffi-1.0.9.gem +0 -0
- data/vendor/cache/gherkin-2.4.5.gem +0 -0
- data/vendor/cache/haml-3.1.2.gem +0 -0
- data/vendor/cache/httparty-0.7.8.gem +0 -0
- data/vendor/cache/i18n-0.5.0.gem +0 -0
- data/vendor/cache/jettywrapper-0.0.10.gem +0 -0
- data/vendor/cache/json-1.5.3.gem +0 -0
- data/vendor/cache/json_pure-1.5.3.gem +0 -0
- data/vendor/cache/kaminari-0.12.4.gem +0 -0
- data/vendor/cache/launchy-2.0.3.gem +0 -0
- data/vendor/cache/linecache-0.46.gem +0 -0
- data/vendor/cache/logger-1.2.8.gem +0 -0
- data/vendor/cache/mail-2.2.19.gem +0 -0
- data/vendor/cache/marc-0.4.3.gem +0 -0
- data/vendor/cache/mediashelf-loggable-0.4.2.gem +0 -0
- data/vendor/cache/mime-types-1.16.gem +0 -0
- data/vendor/cache/mocha-0.9.12.gem +0 -0
- data/vendor/cache/multipart-post-1.1.2.gem +0 -0
- data/vendor/cache/nokogiri-1.5.0.gem +0 -0
- data/vendor/cache/om-1.2.5.gem +0 -0
- data/vendor/cache/polyglot-0.3.1.gem +0 -0
- data/vendor/cache/rack-1.2.3.gem +0 -0
- data/vendor/cache/rack-mount-0.6.14.gem +0 -0
- data/vendor/cache/rack-test-0.5.7.gem +0 -0
- data/vendor/cache/rails-3.0.9.gem +0 -0
- data/vendor/cache/railties-3.0.9.gem +0 -0
- data/vendor/cache/rake-0.9.2.gem +0 -0
- data/vendor/cache/rbx-require-relative-0.0.5.gem +0 -0
- data/vendor/cache/rcov-0.9.9.gem +0 -0
- data/vendor/cache/rdoc-3.8.gem +0 -0
- data/vendor/cache/rsolr-1.0.2.gem +0 -0
- data/vendor/cache/rsolr-ext-1.0.3.gem +0 -0
- data/vendor/cache/rspec-2.6.0.gem +0 -0
- data/vendor/cache/rspec-core-2.6.4.gem +0 -0
- data/vendor/cache/rspec-expectations-2.6.0.gem +0 -0
- data/vendor/cache/rspec-mocks-2.6.0.gem +0 -0
- data/vendor/cache/rspec-rails-2.6.1.gem +0 -0
- data/vendor/cache/ruby-debug-0.10.4.gem +0 -0
- data/vendor/cache/ruby-debug-base-0.10.4.gem +0 -0
- data/vendor/cache/rubyzip-0.9.4.gem +0 -0
- data/vendor/cache/sanitize-2.0.3.gem +0 -0
- data/vendor/cache/selenium-webdriver-0.2.2.gem +0 -0
- data/vendor/cache/solr-ruby-0.0.8.gem +0 -0
- data/vendor/cache/solrizer-1.1.0.gem +0 -0
- data/vendor/cache/solrizer-fedora-1.1.0.gem +0 -0
- data/vendor/cache/sqlite3-ruby-1.2.5.gem +0 -0
- data/vendor/cache/stomp-1.1.9.gem +0 -0
- data/vendor/cache/term-ansicolor-1.0.5.gem +0 -0
- data/vendor/cache/thor-0.14.6.gem +0 -0
- data/vendor/cache/treetop-1.4.9.gem +0 -0
- data/vendor/cache/trollop-1.16.2.gem +0 -0
- data/vendor/cache/tzinfo-0.3.29.gem +0 -0
- data/vendor/cache/unicode-0.4.0.gem +0 -0
- data/vendor/cache/will_paginate-2.3.15.gem +0 -0
- data/vendor/cache/xml-simple-1.1.0.gem +0 -0
- data/vendor/cache/xpath-0.1.4.gem +0 -0
- data/vendor/cache/yard-0.7.2.gem +0 -0
- metadata +1110 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
<form id="new_contributor" :action=>"http://localhost:3000/assets/#{params[:asset_id]}! /contributors", :method=>"post">
|
2
|
+
<input class="content_type" :type=>"hidden", :name=>"content_type", :value=>params[:content_type] />
|
3
|
+
<label :for=>"contributor_type">Contributor Type</label>
|
4
|
+
<select id="contributor_type" :name=>"contributor_type">
|
5
|
+
<option :value=>"person">Person</option>
|
6
|
+
<option :value=>"organization">Organization</option>
|
7
|
+
<option :value=>"conference">Conference</option>
|
8
|
+
</select>
|
9
|
+
<input :type=>"submit", :value=>"Add Contributor" />
|
10
|
+
</form>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<% conference = show_conference %>
|
2
|
+
<% conference_counter = show_conference_counter %>
|
3
|
+
<% conference_name = get_values_from_datastream(@document_fedora,'descMetadata', [{:conference=>conference_counter}, :namePart]).first %>
|
4
|
+
<% base_id = "conference_#{conference_counter}" %>
|
5
|
+
<% unless get_values_from_datastream(@document_fedora,"descMetadata", [{:conference=>conference_counter}, :namePart]).first.empty? %>
|
6
|
+
<li>
|
7
|
+
<dl class="conference contributor" id="<%= base_id %>">
|
8
|
+
<dt>
|
9
|
+
<%= fedora_field_label("descMetadata", [{:conference=>conference_counter}, :role, :text], "Conference's Role:") %>
|
10
|
+
<%= get_values_from_datastream(@document_fedora,"descMetadata", [{:conference=>conference_counter}, :role, :text]) %>
|
11
|
+
</dt>
|
12
|
+
<dd class="organization">
|
13
|
+
<ul>
|
14
|
+
<li>
|
15
|
+
<%= fedora_field_label("descMetadata", [{:conference=>conference_counter}, :namePart], "Conference:") %>
|
16
|
+
<%= get_values_from_datastream(@document_fedora,"descMetadata", [{:conference=>conference_counter}, :namePart]) %>
|
17
|
+
</li>
|
18
|
+
</ul>
|
19
|
+
</dd>
|
20
|
+
</dl>
|
21
|
+
</li>
|
22
|
+
<% end %>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<% organization = show_organization %>
|
2
|
+
<% organization_counter = show_organization_counter %>
|
3
|
+
<% organization_name = get_values_from_datastream(@document_fedora,'descMetadata', [{:organization=>organization_counter}, :namePart]).first %>
|
4
|
+
<% base_id = "organization_#{organization_counter}" %>
|
5
|
+
<% unless get_values_from_datastream(@document_fedora,"descMetadata", [{:organization => organization_counter}, :namePart]).first.empty? %>
|
6
|
+
<li>
|
7
|
+
<dl class="organization contributor" id="<%= base_id %>">
|
8
|
+
<dt>
|
9
|
+
<%= fedora_field_label("descMetadata", [{:organization => organization_counter}, :role, :text], "Organization's Role:") %>
|
10
|
+
<%= get_values_from_datastream(@document_fedora,"descMetadata", [{:organization => organization_counter}, :role, :text]) %>
|
11
|
+
</dt>
|
12
|
+
<dd class="organization">
|
13
|
+
<ul>
|
14
|
+
<li>
|
15
|
+
<%= fedora_field_label("descMetadata", [{:organization => organization_counter}, :namePart], "Organization:") %>
|
16
|
+
<%= get_values_from_datastream(@document_fedora,"descMetadata", [{:organization => organization_counter}, :namePart]) %>
|
17
|
+
</li>
|
18
|
+
</ul>
|
19
|
+
</dd>
|
20
|
+
</dl>
|
21
|
+
</li>
|
22
|
+
<% end %>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<% person = show_person %>
|
2
|
+
<% person_counter = show_person_counter %>
|
3
|
+
<% person_name = "#{get_values_from_datastream(@document_fedora,'descMetadata', [{:person=>person_counter}, :first_name])} #{get_values_from_datastream(@document_fedora,'descMetadata', [{:person=>person_counter}, :last_name])}" %>
|
4
|
+
<% base_id = "person_#{person_counter}" %>
|
5
|
+
<% unless ( get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :last_name]).first.empty? || get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :first_name]).first.empty? ) %>
|
6
|
+
<li>
|
7
|
+
<dl class="person contributor" id="<%= base_id %>">
|
8
|
+
<% unless get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :role]).first.empty? %>
|
9
|
+
<dt>
|
10
|
+
<%= fedora_field_label("descMetadata", [{:person=>person_counter}, :role, :text], "Person's Role:") %>
|
11
|
+
<%= get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :role, :text]) %>
|
12
|
+
</dt>
|
13
|
+
<% end %>
|
14
|
+
<dd class="multi_inline person">
|
15
|
+
<ul>
|
16
|
+
<% unless get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :first_name]).first.empty? %>
|
17
|
+
<li class="name_first">
|
18
|
+
<%= fedora_field_label("descMetadata", [{:person=>person_counter}, :first_name], "First Name") %>
|
19
|
+
<%= get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :first_name]) %>
|
20
|
+
</li>
|
21
|
+
<% end %>
|
22
|
+
<% unless get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :last_name]).first.empty? %>
|
23
|
+
<li class="name_last">
|
24
|
+
<%= fedora_field_label("descMetadata", [{:person=>person_counter}, :last_name], "Last Name") %>
|
25
|
+
<%= get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :last_name]) %>
|
26
|
+
</li>
|
27
|
+
<% end %>
|
28
|
+
<% unless get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :institution]).first.empty? %>
|
29
|
+
<li class="affiliation">
|
30
|
+
<%= fedora_field_label("descMetadata", [{:person=>person_counter}, :institution], "Institution") %>
|
31
|
+
<%= get_values_from_datastream(@document_fedora,"descMetadata", [{:person=>person_counter}, :institution]) %>
|
32
|
+
</li>
|
33
|
+
<% end %>
|
34
|
+
</ul>
|
35
|
+
</dd>
|
36
|
+
</dl>
|
37
|
+
</li>
|
38
|
+
<% end %>
|
@@ -0,0 +1,59 @@
|
|
1
|
+
<% stylesheet_links << "../plugin_assets/hydra-head/javascripts/date-picker/css/datepicker" %>
|
2
|
+
<% stylesheet_links << "../plugin_assets/hydra-head/javascripts/fancybox/jquery.fancybox-1.3.1.css" %>
|
3
|
+
<% stylesheet_links << ["../plugin_assets/hydra-head/javascripts/select_to_ui_slider/css/ui.slider.extras.css"] %>
|
4
|
+
<% stylesheet_links << ["slider", {:plugin=>"hydra-head"}] %>
|
5
|
+
|
6
|
+
|
7
|
+
<%# For slider controls %>
|
8
|
+
|
9
|
+
<div class="document_viewer" id="cover_container">
|
10
|
+
<div class="multipleEdit">
|
11
|
+
<div id="loading" style="display:none;">
|
12
|
+
<img src="/plugin_assets/hydra-head/images/ajax-loader.gif" width="32" height="32" alt="Saving..."/>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
|
16
|
+
<div id="accordion">
|
17
|
+
<h2 class="section-title"><a href="#">Description</a></h2>
|
18
|
+
<%= render :partial => "generic_content_objects/edit_description", :locals => { :content_type => "generic_content"} %>
|
19
|
+
|
20
|
+
<h2 class="section-title"><a href="#">Upload Content</a></h2>
|
21
|
+
<div class="uploads">
|
22
|
+
<h2><a id='toggle-uploader-generic' href="">Upload file</a></h2>
|
23
|
+
<div id='uploader'>
|
24
|
+
<%= render :partial=>"fluid_infusion/uploader" %>
|
25
|
+
<%# removed for HYDRA-150 %>
|
26
|
+
<%# render :partial=>"fluid_infusion/uploader_generic_content_objects.js" %>
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
<h2 class="section-title"><a href="#">Set permissions</a></h2>
|
33
|
+
<div id="permissions">
|
34
|
+
<%= render :partial => "permissions/index", :locals => {:document => document, :asset_id=>params[:id]} %>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<%#
|
40
|
+
// This hidden form really belongs elsewhere, but putting it inside of an
|
41
|
+
// accordion section un-hides it, so I stuck it here for now. -MZ
|
42
|
+
%>
|
43
|
+
<form id="new_contributor" action="<%=url_for(:action=>"create", :controller=>"contributors", :asset_id=>params[:id]) %>" method="post" style="display:none;">
|
44
|
+
<input class="content_type" type="hidden" name="content_type" value="mods_asset" />
|
45
|
+
<label for="contributor_type">Contributor Type</label>
|
46
|
+
<select id="contributor_type" name="contributor_type">
|
47
|
+
<option value="person">Person</option>
|
48
|
+
<option value="organization">Organization</option>
|
49
|
+
<option value="conference">Conference</option>
|
50
|
+
</select>
|
51
|
+
<input type="submit" value="Add Contributor" />
|
52
|
+
</form>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
<% sidebar_items << capture do %>
|
56
|
+
<%#= render :partial=>"catalog/_show_partials/facets", :locals=>{:document=>document, :facets_display_heading => "This document refers to:"} %>
|
57
|
+
<%#= render :partial=>'facets' %>
|
58
|
+
<%= delete_asset_link(params[:id], "article") %>
|
59
|
+
<% end %>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<tr class="document <%= cycle("even","odd") %>">
|
2
|
+
<td>
|
3
|
+
|
4
|
+
<%= link_to_document(document, :label => Blacklight.config[:show][:heading].to_sym, :counter => (counter + 1 + @response.params[:start].to_i)) %>
|
5
|
+
|
6
|
+
</td>
|
7
|
+
<td>
|
8
|
+
<% creator = get_person_from_role(document, "Creator") %>
|
9
|
+
<%= [creator[:last], creator[:first]].join(", ") unless creator.nil? %>
|
10
|
+
</td>
|
11
|
+
<td>
|
12
|
+
<%= DateTime.parse(document.fetch(:system_create_dt, "")).to_time %>
|
13
|
+
</td>
|
14
|
+
<td>
|
15
|
+
<%= (document[:medium_t] || document_type(document)).gsub(/^Generic/,"") %>
|
16
|
+
</td>
|
17
|
+
<td>
|
18
|
+
<%= get_file_asset_count(document)%>
|
19
|
+
</td>
|
20
|
+
<td>
|
21
|
+
Created
|
22
|
+
</td>
|
23
|
+
</tr>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<% stylesheet_links << "../plugin_assets/hydra-head/javascripts/fancybox/jquery.fancybox-1.3.1.css" %>
|
2
|
+
|
3
|
+
<style type="text/css" media="screen">
|
4
|
+
input.editable-edit, input.textile-edit {display:none}
|
5
|
+
</style>
|
6
|
+
|
7
|
+
<div class="document_viewer" id="cover_container">
|
8
|
+
|
9
|
+
<div id="accordion">
|
10
|
+
<h2 class="section-title"><a href="#">Description</a></h2>
|
11
|
+
<%= render :partial => "generic_content_objects/show_description", :locals => {:content_type => "generic_content"} %>
|
12
|
+
|
13
|
+
<h2 class="section-title"><a href="#">Content</a></h2>
|
14
|
+
<%= render :partial => "generic_contents/show_content" %>
|
15
|
+
|
16
|
+
</div>
|
17
|
+
|
18
|
+
</div>
|
@@ -0,0 +1,59 @@
|
|
1
|
+
<% stylesheet_links << "../plugin_assets/hydra-head/javascripts/date-picker/css/datepicker" %>
|
2
|
+
<% stylesheet_links << "../plugin_assets/hydra-head/javascripts/fancybox/jquery.fancybox-1.3.1.css" %>
|
3
|
+
<%# For slider controls %>
|
4
|
+
<% stylesheet_links << ["../plugin_assets/hydra-head/javascripts/select_to_ui_slider/css/ui.slider.extras.css"] %>
|
5
|
+
<% stylesheet_links << ["slider", {:plugin=>"hydra-head"}] %>
|
6
|
+
|
7
|
+
<div class="document_viewer" id="cover_container">
|
8
|
+
<div class="multipleEdit">
|
9
|
+
<div id="loading" style="display:none;">
|
10
|
+
<img src="/plugin_assets/hydra-head/images/ajax-loader.gif" width="32" height="32" alt="Saving..."/>
|
11
|
+
</img>
|
12
|
+
</div>
|
13
|
+
|
14
|
+
|
15
|
+
<div id="accordion">
|
16
|
+
<h2 class="section-title"><a href="#">Description</a></h2>
|
17
|
+
<%= render :partial => "generic_content_objects/edit_description", :locals => {:content_type => "generic_image"} %>
|
18
|
+
|
19
|
+
<h2 class="section-title"><a href="#">Upload Content</a></h2>
|
20
|
+
<div class="uploads">
|
21
|
+
<h2><a id='toggle-uploader-generic' href="">Upload file</a></h2>
|
22
|
+
<div id='uploader'>
|
23
|
+
<%= render :partial=>"fluid_infusion/uploader" %>
|
24
|
+
<%# removed for HYDRA-150 %>
|
25
|
+
<%# render :partial=>"fluid_infusion/uploader_generic_content_objects.js" %>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
<h2 class="section-title"><a href="#">Set permissions</a></h2>
|
32
|
+
<div id="permissions">
|
33
|
+
<%= render :partial => "permissions/index", :locals => {:document => document, :asset_id=>params[:id]} %>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<%#
|
39
|
+
// This hidden form really belongs elsewhere, but putting it inside of an
|
40
|
+
// accordion section un-hides it, so I stuck it here for now. -MZ
|
41
|
+
%>
|
42
|
+
<form id="new_contributor" action="<%=url_for(:action=>"create", :controller=>"contributors", :asset_id=>params[:id]) %>" method="post" style="display:none;">
|
43
|
+
<input class="content_type" type="hidden" name="content_type" value="generic_content" />
|
44
|
+
<label for="contributor_type">Contributor Type</label>
|
45
|
+
<select id="contributor_type" name="contributor_type">
|
46
|
+
<option value="person">Person</option>
|
47
|
+
<option value="organization">Organization</option>
|
48
|
+
<option value="conference">Conference</option>
|
49
|
+
</select>
|
50
|
+
<input type="submit" value="Add Contributor" />
|
51
|
+
</form>
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
<% sidebar_items << capture do %>
|
55
|
+
<%#= render :partial=>"catalog/_show_partials/facets", :locals=>{:document=>document, :facets_display_heading => "This document refers to:"} %>
|
56
|
+
<%#= render :partial=>'facets' %>
|
57
|
+
<%= delete_asset_link(params[:id], "GenericImage").html_safe %>
|
58
|
+
<% end %>
|
59
|
+
<%= async_load_tag(file_asset_path(params[:id], :layout=>"false", :method => ":get"), 'uploads') %>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<tr class="document <%= cycle("even","odd") %>">
|
2
|
+
<td>
|
3
|
+
<img width="75" src="<%= datastream_disseminator_url(document[:id], "thumbnail") %>" alt="thumb">
|
4
|
+
|
5
|
+
<%= link_to_document(document, :label => Blacklight.config[:show][:heading].to_sym, :counter => (counter + 1 + @response.params[:start].to_i)) %>
|
6
|
+
|
7
|
+
</td>
|
8
|
+
<td>
|
9
|
+
<% creator = get_person_from_role(document, "Creator") %>
|
10
|
+
<%= [creator[:last], creator[:first]].join(", ") unless creator.nil? %>
|
11
|
+
</td>
|
12
|
+
<td>
|
13
|
+
<%= DateTime.parse(document.fetch(:system_create_dt, "")).to_time %>
|
14
|
+
</td>
|
15
|
+
<td>
|
16
|
+
<%= (document[:medium_t] || document_type(document)).gsub(/^Generic/,"") %>
|
17
|
+
</td>
|
18
|
+
<td>
|
19
|
+
<%= get_file_asset_count(document)%>
|
20
|
+
</td>
|
21
|
+
<td>
|
22
|
+
Created
|
23
|
+
</td>
|
24
|
+
</tr>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<% stylesheet_links << "../plugin_assets/hydra-head/javascripts/fancybox/jquery.fancybox-1.3.1.css" %>
|
2
|
+
|
3
|
+
<style type="text/css" media="screen">
|
4
|
+
input.editable-edit, input.textile-edit {display:none}
|
5
|
+
</style>
|
6
|
+
|
7
|
+
<div class="document_viewer" id="cover_container">
|
8
|
+
|
9
|
+
<div id="accordion">
|
10
|
+
<h2 class="section-title"><a href="#">Description</a></h2>
|
11
|
+
<%= render :partial => "generic_content_objects/show_description", :locals => {:content_type => "generic_image" } %>
|
12
|
+
|
13
|
+
<h2 class="section-title"><a href="#">Other Images</a></h2>
|
14
|
+
<%= render :partial => "generic_images/show_all" %>
|
15
|
+
|
16
|
+
</div>
|
17
|
+
|
18
|
+
</div>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<div id="max_and_thumb" style="height:550px;">
|
2
|
+
<dl>
|
3
|
+
<dt>Content</dt>
|
4
|
+
<dd><%= disseminator_link params[:id], "content" %></dd>
|
5
|
+
<dt>Original</dt>
|
6
|
+
<dd><%= disseminator_link params[:id], "original" %></dd>
|
7
|
+
<dt>Max</dt>
|
8
|
+
<dd><%= disseminator_link params[:id], "max" %></dd>
|
9
|
+
<dt>Screen</dt>
|
10
|
+
<dd><%= disseminator_link params[:id], "screen" %></dd>
|
11
|
+
<dt>Thumbnail</dt>
|
12
|
+
<dd><%= disseminator_link params[:id], "thumbnail" %></dd>
|
13
|
+
</dl>
|
14
|
+
</div>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<!--[if lt IE 7 ]> <html class="ie6"> <![endif]-->
|
4
|
+
<!--[if IE 7 ]> <html class="ie7"> <![endif]-->
|
5
|
+
<!--[if IE 8 ]> <html class="ie8"> <![endif]-->
|
6
|
+
<!--[if IE 9 ]> <html class="ie9"> <![endif]-->
|
7
|
+
<!--[if gt IE 9]> <html> <![endif]-->
|
8
|
+
<!--[if !IE]><!--> <html> <!--<![endif]-->
|
9
|
+
|
10
|
+
<head>
|
11
|
+
<meta charset="utf-8" />
|
12
|
+
|
13
|
+
<title><%= h(@page_title || application_name) %></title>
|
14
|
+
<link href="<%= url_for :controller=>'catalog',:action => 'opensearch', :format => 'xml', :only_path => false %>" title="<%= application_name%>" type="application/opensearchdescription+xml" rel="search"/>
|
15
|
+
|
16
|
+
<%= render_head_content %>
|
17
|
+
|
18
|
+
<!--[if IE]>
|
19
|
+
<%= stylesheet_link_tag('hydra/ie-styles', {:plugin=>"hydra-head", :media=>'all'}) %>
|
20
|
+
<%= stylesheet_link_tag('progressBox-ie6.css', {:plugin=>"hydra-head", :media=>'all'}) %>
|
21
|
+
<![endif]-->
|
22
|
+
</head>
|
23
|
+
|
24
|
+
<body class="<%= render_body_class %>">
|
25
|
+
|
26
|
+
<div id="doc4" class="yui-t2">
|
27
|
+
|
28
|
+
<div id="hd">
|
29
|
+
<%= render :partial => '/user_util_links.html' %>
|
30
|
+
<%= (params[:controller] == "catalog" and !params[:id]) ? "<span id='results_text'>Search Results</span>" : "" %>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
<div id="bd">
|
34
|
+
<div id="yui-main">
|
35
|
+
<%= render :partial=>'/flash_msg' %>
|
36
|
+
<%= yield %>
|
37
|
+
</div>
|
38
|
+
<div class="yui-b sidebar"><%= sidebar_items.join('') %></div>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
|
42
|
+
<div id="footer">
|
43
|
+
<div id="container3">
|
44
|
+
<div class="contact_info"></div>
|
45
|
+
<div class="aux_links"> </div>
|
46
|
+
<div id="footer_notices">
|
47
|
+
<div id="bottom_text">
|
48
|
+
<div id="hydra_logo"><%= image_tag('powered_by_hydra.png', :plugin=>"hydra-head", :width => 80, :height => 50, :alt => "Hydra logo") %></div>
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
|
54
|
+
</div>
|
55
|
+
</body>
|
56
|
+
|
57
|
+
</html>
|
@@ -0,0 +1,49 @@
|
|
1
|
+
<div class="document_viewer" id="cover_container">
|
2
|
+
<div class="multipleEdit">
|
3
|
+
<div id="loading" style="display:none;">
|
4
|
+
<img src="/plugin_assets/hydra-head/images/ajax-loader.gif" width="32" height="32" alt="Saving..." />
|
5
|
+
</div>
|
6
|
+
|
7
|
+
<div id="accordion" style="height:600px;">
|
8
|
+
|
9
|
+
<h2 class="section-title"><a href="#">Describe the Asset</a></h2>
|
10
|
+
<%= render :partial => 'mods_assets/edit_description' %>
|
11
|
+
|
12
|
+
<h2 class="section-title"><a href="#">Upload Files</a></h2>
|
13
|
+
<div id="uploads">
|
14
|
+
<%= render :partial => "file_assets/index", :locals => { :file_assets => @file_assets} %>
|
15
|
+
</div>
|
16
|
+
|
17
|
+
<h2 class="section-title"><a href="#">Set permissions</a></h2>
|
18
|
+
<div id="permissions_editor">
|
19
|
+
<%= render :partial => "permissions/index", :locals => {:document => document, :asset_id=>params[:id]} %>
|
20
|
+
</div>
|
21
|
+
|
22
|
+
</div>
|
23
|
+
|
24
|
+
<%#
|
25
|
+
// This hidden form really belongs elsewhere, but putting it inside of an
|
26
|
+
// accordion section un-hides it, so I stuck it here for now. -MZ
|
27
|
+
%>
|
28
|
+
<form id="new_contributor" action="<%=url_for(:action=>"create", :controller=>"contributors", :asset_id=>params[:id]) %>" method="post" style="display:none;">
|
29
|
+
<input class="content_type" type="hidden" name="content_type" value="mods_asset" />
|
30
|
+
<label for="contributor_type">Contributor Type</label>
|
31
|
+
<select id="contributor_type" name="contributor_type">
|
32
|
+
<option value="person">Person</option>
|
33
|
+
<option value="organization">Organization</option>
|
34
|
+
<option value="conference">Conference</option>
|
35
|
+
</select>
|
36
|
+
<input type="submit" value="Add Contributor" />
|
37
|
+
</form>
|
38
|
+
|
39
|
+
|
40
|
+
</div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<% sidebar_items << capture do %>
|
44
|
+
<%# = render :partial=>"catalog/_show_partials/facets", :locals=>{:document=>document, :facets_display_heading => "This document refers to:"} %>
|
45
|
+
<%# = render :partial=>'facets' %>
|
46
|
+
<%= delete_asset_link(params[:id], "dataset").html_safe %>
|
47
|
+
<% end %>
|
48
|
+
|
49
|
+
<%= async_load_tag(asset_file_assets_path(params[:id]), 'uploads') %>
|