enju_biblio 0.1.0.pre52 → 0.1.0.pre53
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/agent_import_files_controller.rb +6 -0
- data/app/controllers/agent_import_results_controller.rb +1 -1
- data/app/controllers/manifestations_controller.rb +8 -0
- data/app/controllers/resource_export_files_controller.rb +100 -0
- data/app/controllers/resource_import_files_controller.rb +6 -0
- data/app/controllers/resource_import_results_controller.rb +2 -2
- data/app/models/agent.rb +0 -2
- data/app/models/agent_import_file.rb +38 -52
- data/app/models/agent_import_file_state_machine.rb +19 -0
- data/app/models/agent_import_file_transition.rb +20 -0
- data/app/models/enju_biblio/ability.rb +14 -12
- data/app/models/import_request.rb +21 -17
- data/app/models/import_request_state_machine.rb +9 -0
- data/app/models/import_request_transition.rb +20 -0
- data/app/models/item.rb +0 -2
- data/app/models/manifestation.rb +63 -2
- data/app/models/resource_export_file.rb +59 -0
- data/app/models/resource_export_file_state_machine.rb +15 -0
- data/app/models/resource_export_file_transition.rb +20 -0
- data/app/models/resource_import_file.rb +42 -57
- data/app/models/resource_import_file_state_machine.rb +19 -0
- data/app/models/resource_import_file_transition.rb +20 -0
- data/app/views/agent_import_files/edit.html.erb +2 -2
- data/app/views/agent_import_files/index.html.erb +4 -4
- data/app/views/agent_import_files/new.html.erb +16 -3
- data/app/views/agent_import_files/show.html.erb +13 -3
- data/app/views/agent_import_results/index.html.erb +6 -6
- data/app/views/agent_import_results/{index.csv.erb → index.tsv.erb} +0 -0
- data/app/views/agent_import_results/show.html.erb +2 -2
- data/app/views/agent_relationship_types/edit.html.erb +2 -2
- data/app/views/agent_relationship_types/index.html.erb +2 -2
- data/app/views/agent_relationship_types/new.html.erb +2 -2
- data/app/views/agent_relationship_types/show.html.erb +2 -2
- data/app/views/agent_relationships/edit.html.erb +2 -2
- data/app/views/agent_relationships/index.html.erb +2 -2
- data/app/views/agent_relationships/new.html.erb +2 -2
- data/app/views/agent_relationships/show.html.erb +2 -2
- data/app/views/agent_types/edit.html.erb +2 -2
- data/app/views/agent_types/index.html.erb +2 -2
- data/app/views/agent_types/new.html.erb +2 -2
- data/app/views/agent_types/show.html.erb +2 -2
- data/app/views/agents/_index.html.erb +2 -2
- data/app/views/agents/_index_agent.html.erb +2 -2
- data/app/views/agents/_index_expression.html.erb +2 -2
- data/app/views/agents/_index_manifestation.html.erb +2 -2
- data/app/views/agents/_index_work.html.erb +2 -2
- data/app/views/agents/edit.html.erb +2 -2
- data/app/views/agents/new.html.erb +2 -2
- data/app/views/agents/show.html.erb +2 -2
- data/app/views/carrier_types/edit.html.erb +2 -2
- data/app/views/carrier_types/index.html.erb +2 -2
- data/app/views/carrier_types/new.html.erb +2 -2
- data/app/views/carrier_types/show.html.erb +2 -2
- data/app/views/content_types/edit.html.erb +2 -2
- data/app/views/content_types/index.html.erb +2 -2
- data/app/views/content_types/new.html.erb +2 -2
- data/app/views/content_types/show.html.erb +2 -2
- data/app/views/countries/edit.html.erb +2 -2
- data/app/views/countries/index.html.erb +2 -2
- data/app/views/countries/new.html.erb +2 -2
- data/app/views/countries/show.html.erb +2 -2
- data/app/views/create_types/edit.html.erb +2 -2
- data/app/views/create_types/index.html.erb +2 -2
- data/app/views/create_types/new.html.erb +2 -2
- data/app/views/create_types/show.html.erb +2 -2
- data/app/views/creates/_index.html.erb +2 -2
- data/app/views/creates/_index_agent.html.erb +2 -2
- data/app/views/creates/_index_work.html.erb +2 -2
- data/app/views/creates/edit.html.erb +2 -2
- data/app/views/creates/new.html.erb +2 -2
- data/app/views/creates/show.html.erb +2 -2
- data/app/views/donates/edit.html.erb +2 -2
- data/app/views/donates/index.html.erb +2 -2
- data/app/views/donates/new.html.erb +2 -2
- data/app/views/donates/show.html.erb +2 -2
- data/app/views/exemplifies/edit.html.erb +2 -2
- data/app/views/exemplifies/index.html.erb +2 -2
- data/app/views/exemplifies/new.html.erb +2 -2
- data/app/views/exemplifies/show.html.erb +2 -2
- data/app/views/extents/edit.html.erb +2 -2
- data/app/views/extents/index.html.erb +2 -2
- data/app/views/extents/new.html.erb +2 -2
- data/app/views/extents/show.html.erb +2 -2
- data/app/views/form_of_works/edit.html.erb +2 -2
- data/app/views/form_of_works/index.html.erb +2 -2
- data/app/views/form_of_works/new.html.erb +2 -2
- data/app/views/form_of_works/show.html.erb +2 -2
- data/app/views/frequencies/edit.html.erb +2 -2
- data/app/views/frequencies/index.html.erb +2 -2
- data/app/views/frequencies/new.html.erb +2 -2
- data/app/views/frequencies/show.html.erb +2 -2
- data/app/views/identifier_types/edit.html.erb +2 -2
- data/app/views/identifier_types/index.html.erb +2 -2
- data/app/views/identifier_types/new.html.erb +2 -2
- data/app/views/identifier_types/show.html.erb +2 -2
- data/app/views/import_requests/edit.html.erb +2 -2
- data/app/views/import_requests/index.html.erb +9 -7
- data/app/views/import_requests/new.html.erb +2 -2
- data/app/views/import_requests/show.html.erb +3 -3
- data/app/views/items/_form.html.erb +1 -1
- data/app/views/items/edit.html.erb +2 -2
- data/app/views/items/index.html.erb +2 -2
- data/app/views/items/new.html.erb +2 -2
- data/app/views/items/show.html.erb +2 -2
- data/app/views/languages/edit.html.erb +2 -2
- data/app/views/languages/index.html.erb +2 -2
- data/app/views/languages/new.html.erb +2 -2
- data/app/views/languages/show.html.erb +2 -2
- data/app/views/licenses/edit.html.erb +2 -2
- data/app/views/licenses/index.html.erb +2 -2
- data/app/views/licenses/new.html.erb +2 -2
- data/app/views/licenses/show.html.erb +2 -2
- data/app/views/manifestation_relationship_types/edit.html.erb +2 -2
- data/app/views/manifestation_relationship_types/index.html.erb +2 -2
- data/app/views/manifestation_relationship_types/new.html.erb +2 -2
- data/app/views/manifestation_relationship_types/show.html.erb +2 -2
- data/app/views/manifestation_relationships/edit.html.erb +2 -2
- data/app/views/manifestation_relationships/index.html.erb +2 -2
- data/app/views/manifestation_relationships/new.html.erb +2 -2
- data/app/views/manifestation_relationships/show.html.erb +2 -2
- data/app/views/manifestations/_pickup.html.erb +1 -1
- data/app/views/manifestations/_show_detail_librarian.html.erb +1 -1
- data/app/views/manifestations/_show_detail_user.html.erb +2 -2
- data/app/views/manifestations/_show_holding.html.erb +6 -1
- data/app/views/manifestations/_title.html.erb +1 -1
- data/app/views/manifestations/_title.mobile.erb +1 -1
- data/app/views/manifestations/edit.html.erb +2 -2
- data/app/views/manifestations/index.html.erb +2 -2
- data/app/views/manifestations/index.sru.builder +1 -1
- data/app/views/manifestations/new.html.erb +2 -2
- data/app/views/manifestations/show.html.erb +3 -3
- data/app/views/manifestations/show.mobile.erb +1 -1
- data/app/views/medium_of_performances/edit.html.erb +2 -2
- data/app/views/medium_of_performances/index.html.erb +2 -2
- data/app/views/medium_of_performances/new.html.erb +2 -2
- data/app/views/medium_of_performances/show.html.erb +2 -2
- data/app/views/notifier/manifestation_info.en.text.erb +1 -1
- data/app/views/notifier/manifestation_info.ja.text.erb +1 -1
- data/app/views/owns/edit.html.erb +2 -2
- data/app/views/owns/index.html.erb +2 -2
- data/app/views/owns/new.html.erb +2 -2
- data/app/views/owns/show.html.erb +2 -2
- data/app/views/picture_files/_index.html.erb +2 -2
- data/app/views/picture_files/_index_agent.html.erb +2 -2
- data/app/views/picture_files/_index_event.html.erb +2 -2
- data/app/views/picture_files/_index_manifestation.html.erb +2 -2
- data/app/views/picture_files/_index_shelf.html.erb +2 -2
- data/app/views/picture_files/edit.html.erb +2 -2
- data/app/views/picture_files/new.html.erb +2 -2
- data/app/views/picture_files/show.html.erb +2 -2
- data/app/views/produce_types/edit.html.erb +2 -2
- data/app/views/produce_types/index.html.erb +2 -2
- data/app/views/produce_types/new.html.erb +2 -2
- data/app/views/produce_types/show.html.erb +2 -2
- data/app/views/produces/_index.html.erb +2 -2
- data/app/views/produces/_index_agent.html.erb +2 -2
- data/app/views/produces/_index_manifestation.html.erb +2 -2
- data/app/views/produces/edit.html.erb +2 -2
- data/app/views/produces/new.html.erb +2 -2
- data/app/views/produces/show.html.erb +2 -2
- data/app/views/realize_types/edit.html.erb +2 -2
- data/app/views/realize_types/index.html.erb +2 -2
- data/app/views/realize_types/new.html.erb +2 -2
- data/app/views/realize_types/show.html.erb +2 -2
- data/app/views/realizes/_index.html.erb +2 -2
- data/app/views/realizes/_index_agent.html.erb +2 -2
- data/app/views/realizes/_index_expression.html.erb +2 -2
- data/app/views/realizes/edit.html.erb +2 -2
- data/app/views/realizes/new.html.erb +2 -2
- data/app/views/realizes/show.html.erb +2 -2
- data/app/views/resource_export_files/_form.html.erb +22 -0
- data/app/views/resource_export_files/edit.html.erb +6 -0
- data/app/views/resource_export_files/index.html.erb +44 -0
- data/app/views/resource_export_files/new.html.erb +16 -0
- data/app/views/resource_export_files/show.html.erb +31 -0
- data/app/views/resource_import_files/edit.html.erb +2 -2
- data/app/views/resource_import_files/index.html.erb +4 -4
- data/app/views/resource_import_files/new.html.erb +16 -3
- data/app/views/resource_import_files/show.html.erb +13 -3
- data/app/views/resource_import_results/index.html.erb +6 -6
- data/app/views/resource_import_results/{index.csv.erb → index.tsv.erb} +0 -0
- data/app/views/resource_import_results/show.html.erb +2 -2
- data/app/views/series_statements/_index.html.erb +2 -2
- data/app/views/series_statements/_index_manifestation.html.erb +2 -2
- data/app/views/series_statements/_index_series_statement_merge_list.html.erb +2 -2
- data/app/views/series_statements/edit.html.erb +2 -2
- data/app/views/series_statements/new.html.erb +2 -2
- data/app/views/series_statements/show.html.erb +2 -2
- data/app/workers/agent_import_file_queue.rb +7 -0
- data/app/workers/resource_export_file_queue.rb +7 -0
- data/app/workers/resource_import_file_queue.rb +7 -0
- data/config/locales/translation_en.yml +12 -1
- data/config/locales/translation_ja.yml +12 -0
- data/config/routes.rb +3 -1
- data/db/migrate/001_create_agents.rb +0 -1
- data/db/migrate/005_create_manifestations.rb +0 -1
- data/db/migrate/006_create_items.rb +0 -1
- data/db/migrate/20081028083142_create_agent_import_files.rb +0 -2
- data/db/migrate/20081028083208_create_resource_import_files.rb +0 -2
- data/db/migrate/20100129142347_create_import_requests.rb +0 -1
- data/db/migrate/20140519170214_create_resource_import_file_transitions.rb +14 -0
- data/db/migrate/20140519171220_create_import_request_transitions.rb +14 -0
- data/db/migrate/20140524020735_create_agent_import_file_transitions.rb +14 -0
- data/db/migrate/20140614065404_create_resource_export_files.rb +11 -0
- data/db/migrate/20140614141500_create_resource_export_file_transitions.rb +14 -0
- data/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb +5 -0
- data/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb +5 -0
- data/lib/enju_biblio/engine.rb +1 -0
- data/lib/enju_biblio/version.rb +1 -1
- data/lib/generators/enju_biblio/setup/templates/config/schedule.rb +1 -1
- data/spec/controllers/manifestations_controller_spec.rb +4 -4
- data/spec/controllers/resource_export_files_controller_spec.rb +292 -0
- data/spec/dummy/app/models/ability.rb +1 -0
- data/spec/dummy/config/initializers/statesman.rb +3 -0
- data/spec/dummy/db/migrate/154_create_messages.rb +0 -1
- data/spec/dummy/db/migrate/20080819181903_create_message_requests.rb +0 -2
- data/spec/dummy/db/migrate/20081028093607_create_event_import_files.rb +0 -2
- data/spec/dummy/db/migrate/20081212080038_create_manifestation_checkout_stats.rb +0 -1
- data/spec/dummy/db/migrate/20081212151614_create_bookmark_stats.rb +0 -3
- data/spec/dummy/db/migrate/20081215094302_create_user_checkout_stats.rb +0 -1
- data/spec/dummy/db/migrate/20081216190724_create_manifestation_reserve_stats.rb +0 -1
- data/spec/dummy/db/migrate/20081220023628_create_user_reserve_stats.rb +0 -1
- data/spec/dummy/db/migrate/20090321130448_add_completed_at_to_user_checkout_stat.rb +0 -4
- data/spec/dummy/db/schema.rb +63 -31
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/private/system/resource_import_files/resource_imports/000/000/004/original/resource_import_file_sample1.tsv +19 -19
- data/spec/dummy/public/system/resource_export_files/resource_exports/000/000/004/original/resource_export_file_20140705-26819-14hii8j.txt +147 -0
- data/spec/dummy/solr/default/data/index/segments.gen +0 -0
- data/spec/dummy/solr/default/data/index/segments_1 +0 -0
- data/spec/dummy/solr/test/data/index/segments.gen +0 -0
- data/spec/dummy/solr/test/data/index/segments_6y +0 -0
- data/spec/dummy/solr/test/data/tlog/{tlog.0000000000000016453 → tlog.0000000000000000243} +0 -0
- data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000244 +0 -0
- data/spec/dummy/solr/test/data/tlog/{tlog.0000000000000016455 → tlog.0000000000000000245} +0 -0
- data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000246 +0 -0
- data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000247 +0 -0
- data/spec/dummy/solr/test/data/tlog/tlog.0000000000000000248 +0 -0
- data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
- data/spec/dummy/tmp/cache/6E4/420/search_engine_all +0 -0
- data/spec/factories/create_types.rb +13 -0
- data/spec/factories/produce_types.rb +13 -0
- data/spec/factories/realize_types.rb +13 -0
- data/spec/fixtures/agent_import_files.yml +1 -5
- data/spec/fixtures/agents.yml +0 -2
- data/spec/fixtures/import_requests.yml +0 -4
- data/spec/fixtures/items.yml +0 -2
- data/spec/fixtures/manifestation_checkout_stats.yml +0 -2
- data/spec/fixtures/manifestation_reserve_stats.yml +0 -2
- data/spec/fixtures/manifestations.yml +0 -2
- data/spec/fixtures/message_requests.yml +0 -2
- data/spec/fixtures/messages.yml +0 -4
- data/spec/fixtures/resource_export_files.yml +26 -0
- data/spec/fixtures/resource_import_files.yml +1 -4
- data/spec/fixtures/user_checkout_stats.yml +0 -2
- data/spec/fixtures/user_reserve_stats.yml +0 -2
- data/spec/models/agent_import_file_spec.rb +14 -8
- data/spec/models/agent_spec.rb +4 -6
- data/spec/models/import_request_spec.rb +0 -2
- data/spec/models/item_spec.rb +7 -8
- data/spec/models/manifestation_spec.rb +8 -10
- data/spec/models/resource_export_file_spec.rb +28 -0
- data/spec/models/resource_import_file_spec.rb +15 -5
- data/spec/routing/manifestations_routing_spec.rb +1 -1
- data/spec/routing/resource_export_files_routing_spec.rb +35 -0
- data/spec/spec_helper.rb +3 -0
- data/spec/support/resque.rb +32 -0
- data/spec/views/import_requests/edit.html.erb_spec.rb +19 -0
- data/spec/views/import_requests/index.html.erb_spec.rb +33 -0
- data/spec/views/import_requests/new.html.erb_spec.rb +21 -0
- data/spec/views/import_requests/show.html.erb_spec.rb +22 -0
- data/spec/views/resource_export_files/edit.html.erb_spec.rb +16 -0
- data/spec/views/resource_export_files/index.html.erb_spec.rb +17 -0
- data/spec/views/resource_export_files/new.html.erb_spec.rb +16 -0
- data/spec/views/resource_export_files/show.html.erb_spec.rb +13 -0
- metadata +139 -157
- data/app/views/manifestations/_series_form.html.erb +0 -127
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/solr/default/data/index/_da.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_da.fdx +0 -0
- data/spec/dummy/solr/default/data/index/_da.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_da.nvd +0 -0
- data/spec/dummy/solr/default/data/index/_da.nvm +0 -0
- data/spec/dummy/solr/default/data/index/_da.si +0 -0
- data/spec/dummy/solr/default/data/index/_da_Lucene41_0.doc +0 -0
- data/spec/dummy/solr/default/data/index/_da_Lucene41_0.pos +0 -0
- data/spec/dummy/solr/default/data/index/_da_Lucene41_0.tim +0 -0
- data/spec/dummy/solr/default/data/index/_da_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/segments_ip +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000668 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000669 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000670 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000000671 +0 -0
- data/spec/dummy/solr/test/data/index/segments_cp8 +0 -0
- data/spec/dummy/solr/test/data/tlog/tlog.0000000000000016454 +0 -0
- data/spec/dummy/solr/test/data/tlog/tlog.0000000000000016456 +0 -0
- data/spec/dummy/solr/test/data/tlog/tlog.0000000000000016457 +0 -0
- data/spec/dummy/solr/test/data/tlog/tlog.0000000000000016458 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/01c388ec88c5fa6d00409d725549a506 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0440b81b0aae840cf287a686585a8cec +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0c8f59d97121b79a2e2a0d009d6da9c3 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1572dfd6f1e555f4be1aa60ddc3cb0c0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/19a44bc29c5173edea456f9416243854 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2d65b40e585725207fd52ce4cf5134f4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3fc2b4de95dbb94dfe82ccfc97265cc4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4aa18096a209e515f5f1df487622cdf4 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4db7c7b5ea13aacccd89ea32460e2de0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/55de678ed3c84c51b3a4b4cf473da823 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/64ee480e95febf6b404c1264755ea42e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7de140ed6f303b9d00d8d703cced3349 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/80348afae86df384b25e1e3bff21b13e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/814bc1bed3effa0bb4588eb8b75ab92a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8488002e0e6035b7d00c3800c2c0e27e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/86dfe8a3e156aeb6ebcd456b2251fab7 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/89c9228bae34e0ff18fd8fe7f6eb5847 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a2474b74df12470fb37c668b85b562c6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a2ee8688f63b884277632a234086f7df +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a3cea75f1356ef55329e78f86b4c72b1 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/aa2e1ada35daa496bb08e85fcb817536 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b0e11c6d89683eaa7256a44a164a2a12 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/bf17ca8affe2a1febca7f2a4e37cd77b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c36b7431da1ae91722b1c4091e4ba084 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c40786442706ae0cc6c793c6ee2500d3 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e58908ad0ccad6546faf9bcab669b0cd +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e8f801eeda49cba4a03cfd9e2a4562ae +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/eef93e7d091d8118419fb96adf80387b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/fb91323d4585f2e27d281cdb4193beb1 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ff64e9ded481959dfa8c78718e59e607 +0 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
class ResourceImportFileStateMachine
|
2
|
+
include Statesman::Machine
|
3
|
+
|
4
|
+
state :pending, initial: true
|
5
|
+
state :started
|
6
|
+
state :completed
|
7
|
+
state :failed
|
8
|
+
|
9
|
+
transition from: :pending, to: [:started, :failed]
|
10
|
+
transition from: :started, to: [:completed, :failed]
|
11
|
+
|
12
|
+
after_transition(from: :pending, to: :started) do |resource_import_file|
|
13
|
+
resource_import_file.update_column(:executed_at, Time.zone.now)
|
14
|
+
end
|
15
|
+
|
16
|
+
before_transition(from: :started, to: :completed) do |resource_import_file|
|
17
|
+
resource_import_file.error_message = nil
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
class ResourceImportFileTransition < ActiveRecord::Base
|
2
|
+
include Statesman::Adapters::ActiveRecordTransition
|
3
|
+
|
4
|
+
|
5
|
+
belongs_to :resource_import_file, inverse_of: :resource_import_file_transitions
|
6
|
+
attr_accessible :to_state, :sort_key, :metadata
|
7
|
+
end
|
8
|
+
|
9
|
+
# == Schema Information
|
10
|
+
#
|
11
|
+
# Table name: resource_import_file_transitions
|
12
|
+
#
|
13
|
+
# id :integer not null, primary key
|
14
|
+
# to_state :string(255)
|
15
|
+
# metadata :text default("{}")
|
16
|
+
# sort_key :integer
|
17
|
+
# resource_import_file_id :integer
|
18
|
+
# created_at :datetime not null
|
19
|
+
# updated_at :datetime not null
|
20
|
+
#
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.agent_import_file')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
</div>
|
18
18
|
</div>
|
19
19
|
|
20
|
-
<div id="submenu" class="ui-corner-all">
|
20
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
21
21
|
<ul>
|
22
22
|
<li><%= link_to t('page.show'), @agent_import_file -%></li>
|
23
23
|
<li><%= link_to t('page.back'), agent_import_files_path -%></li>
|
@@ -1,10 +1,10 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.agent_import_file')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
|
5
5
|
<table class="table table-striped index">
|
6
6
|
<tr>
|
7
|
-
<th>
|
7
|
+
<th>Id</th>
|
8
8
|
<th><%= t('activerecord.attributes.agent_import_file.agent_import_file_name') -%></th>
|
9
9
|
<th><%= t('activerecord.attributes.agent_import_file.executed_at') -%></th>
|
10
10
|
<th><%= t('activerecord.models.user') -%></th>
|
@@ -20,7 +20,7 @@
|
|
20
20
|
<td><%= l(agent_import_file.executed_at) if agent_import_file.executed_at -%></td>
|
21
21
|
<td><%= link_to agent_import_file.user.username, agent_import_file.user -%></td>
|
22
22
|
<td><%= agent_import_file.edit_mode -%></td>
|
23
|
-
<td><%= localized_state(agent_import_file.
|
23
|
+
<td><%= localized_state(agent_import_file.current_state) -%></td>
|
24
24
|
<td>
|
25
25
|
<%= link_to t('page.show'), agent_import_file -%>
|
26
26
|
<%= link_to t('page.destroy'), agent_import_file, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
|
@@ -33,7 +33,7 @@
|
|
33
33
|
</div>
|
34
34
|
</div>
|
35
35
|
|
36
|
-
<div id="submenu" class="ui-corner-all">
|
36
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
37
37
|
<ul>
|
38
38
|
<li><%= link_to t('page.new', :model => t('activerecord.models.agent_import_file')), new_agent_import_file_path -%></li>
|
39
39
|
</ul>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.agent_import_file')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
|
@@ -20,15 +20,28 @@
|
|
20
20
|
<%= f.label :edit_mode, t('page.destroy'), :value => 'destroy' %>
|
21
21
|
</div>
|
22
22
|
|
23
|
+
<div class="field">
|
24
|
+
<%= f.label :user_encoding -%><br />
|
25
|
+
<%= f.radio_button :user_encoding, 'auto_detect', :checked => 'checked' %>
|
26
|
+
<%= f.label :user_encoding, t('import.auto_detect'), :value => 'auto_detect' %>
|
27
|
+
<%= f.radio_button :user_encoding, 'utf-8' %>
|
28
|
+
<%= f.label :user_encoding, 'UTF-8', :value => 'utf-8' %>
|
29
|
+
<%= f.radio_button :user_encoding, 'shift_jis' %>
|
30
|
+
<%= f.label :user_encoding, 'Shift_JIS', :value => 'shift_jis' %>
|
31
|
+
<%= f.radio_button :user_encoding, 'euc-ho' %>
|
32
|
+
<%= f.label :user_encoding, 'EUC-JP', :value => 'euc-jp' %>
|
33
|
+
</div>
|
34
|
+
|
23
35
|
<div class="actions">
|
24
|
-
<%= f.
|
36
|
+
<%= f.hidden_field :mode, value: 'import' %>
|
37
|
+
<%= f.submit t('page.start_import') %>
|
25
38
|
</div>
|
26
39
|
<%- end -%>
|
27
40
|
|
28
41
|
</div>
|
29
42
|
</div>
|
30
43
|
|
31
|
-
<div id="submenu" class="ui-corner-all">
|
44
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
32
45
|
<ul>
|
33
46
|
<li><%= back_to_index(flash[:page_info]) %></li>
|
34
47
|
</ul>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.agent_import_file')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<p id="notice"><%= notice %></p>
|
@@ -43,9 +43,14 @@
|
|
43
43
|
<%= @agent_import_file.edit_mode -%>
|
44
44
|
</p>
|
45
45
|
|
46
|
+
<p>
|
47
|
+
<strong><%= t('activerecord.attributes.agent_import_file.user_encoding') -%>:</strong>
|
48
|
+
<%= @agent_import_file.user_encoding -%>
|
49
|
+
</p>
|
50
|
+
|
46
51
|
<p>
|
47
52
|
<strong><%= t('activerecord.attributes.manifestation_import_file.state') -%>:</strong>
|
48
|
-
<%= localized_state(@agent_import_file.
|
53
|
+
<%= localized_state(@agent_import_file.current_state) -%>
|
49
54
|
</p>
|
50
55
|
|
51
56
|
<p>
|
@@ -61,9 +66,14 @@
|
|
61
66
|
</div>
|
62
67
|
</div>
|
63
68
|
|
64
|
-
<div id="submenu" class="ui-corner-all">
|
69
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
70
|
+
<%= form_for(@agent_import_file) do |f| %>
|
65
71
|
<ul>
|
66
72
|
<li><%= link_to t('activerecord.models.agent_import_result'), agent_import_file_agent_import_results_path(@agent_import_file) -%></li>
|
67
73
|
<li><%= back_to_index(flash[:page_info]) -%></li>
|
74
|
+
<% if current_user.has_role?('Administrator') %>
|
75
|
+
<li><%= link_to 'Resque', resque_path %></li>
|
76
|
+
<% end %>
|
68
77
|
</ul>
|
78
|
+
<% end %>
|
69
79
|
</div>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.agent_import_result')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<% if @agent_import_file %>
|
@@ -37,15 +37,15 @@
|
|
37
37
|
</div>
|
38
38
|
</div>
|
39
39
|
|
40
|
-
<div id="submenu" class="ui-corner-all">
|
40
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
41
41
|
<ul>
|
42
42
|
<li>
|
43
43
|
<% if @agent_import_file %>
|
44
|
-
<%= link_to((image_tag 'icons/page_white_excel.png', :size => '16x16', :alt => '
|
45
|
-
(<%= link_to '
|
44
|
+
<%= link_to((image_tag 'icons/page_white_excel.png', :size => '16x16', :alt => 'TSV', :class => 'icon'), agent_import_file_agent_import_results_path(@agent_import_file, :format => :tsv, :locale => @locale.to_s)) -%>
|
45
|
+
(<%= link_to 'TSV', agent_import_file_agent_import_results_path(:format => :tsv, :locale => @locale.to_s) -%>)
|
46
46
|
<% else %>
|
47
|
-
<%= link_to((image_tag 'icons/page_white_excel.png', :size => '16x16', :alt => '
|
48
|
-
(<%= link_to '
|
47
|
+
<%= link_to((image_tag 'icons/page_white_excel.png', :size => '16x16', :alt => 'TSV', :class => 'icon'), agent_import_results_path(:format => :tsv, :locale => @locale.to_s)) -%>
|
48
|
+
(<%= link_to 'TSV', agent_import_results_path(:format => :tsv, :locale => @locale.to_s) -%>)
|
49
49
|
<% end %>
|
50
50
|
</li>
|
51
51
|
</ul>
|
File without changes
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.agent_import_result')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<p id="notice"><%= notice %></p>
|
@@ -31,7 +31,7 @@
|
|
31
31
|
</div>
|
32
32
|
</div>
|
33
33
|
|
34
|
-
<div id="submenu" class="ui-corner-all">
|
34
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
35
35
|
<ul>
|
36
36
|
<li><%= back_to_index(flash[:page_info]) -%></li>
|
37
37
|
</ul>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.agent_relationship_type')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.show'), @agent_relationship_type -%></li>
|
11
11
|
<li><%= link_to t('page.back'), agent_relationship_types_path -%></li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.agent_relationship_type')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
|
@@ -36,7 +36,7 @@
|
|
36
36
|
</div>
|
37
37
|
</div>
|
38
38
|
|
39
|
-
<div id="submenu" class="ui-corner-all">
|
39
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
40
40
|
<ul>
|
41
41
|
<li><%= link_to t('page.new', :model => t('activerecord.models.agent_relationship_type')), new_agent_relationship_type_path -%></li>
|
42
42
|
</ul>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.agent_relationship_type')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.back'), agent_relationship_types_path -%></li>
|
11
11
|
</ul>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.agent_relationship_type')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<p id="notice"><%= notice %></p>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
</div>
|
22
22
|
</div>
|
23
23
|
|
24
|
-
<div id="submenu" class="ui-corner-all">
|
24
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
25
25
|
<ul>
|
26
26
|
<li><%= link_to t('page.edit'), edit_agent_relationship_type_path(@agent_relationship_type) -%></li>
|
27
27
|
<li><%= back_to_index(flash[:page_info]) -%></li>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.agent_relationship')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.show'), @agent_relationship -%></li>
|
11
11
|
<li><%= link_to t('page.back'), agent_relationships_path -%></li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.agent_relationship')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
|
@@ -27,7 +27,7 @@
|
|
27
27
|
</div>
|
28
28
|
</div>
|
29
29
|
|
30
|
-
<div id="submenu" class="ui-corner-all">
|
30
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
31
31
|
<ul>
|
32
32
|
<li><%= link_to t('page.new', :model => t('activerecord.models.agent_relationship')), new_agent_relationship_path -%></li>
|
33
33
|
</ul>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.agent_relationship')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.back'), agent_relationships_path -%></li>
|
11
11
|
</ul>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.agent_relationship')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<p id="notice"><%= notice %></p>
|
@@ -16,7 +16,7 @@
|
|
16
16
|
</div>
|
17
17
|
</div>
|
18
18
|
|
19
|
-
<div id="submenu" class="ui-corner-all">
|
19
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
20
20
|
<ul>
|
21
21
|
<li><%= link_to t('page.edit'), edit_agent_relationship_path(@agent_relationship) %></li>
|
22
22
|
<li><%= back_to_index(flash[:page_info]) %></li>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.agent_type')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.show'), @agent_type -%></li>
|
11
11
|
<li><%= link_to t('page.back'), agent_types_path -%></li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.agent_type')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
|
@@ -36,7 +36,7 @@
|
|
36
36
|
</div>
|
37
37
|
</div>
|
38
38
|
|
39
|
-
<div id="submenu" class="ui-corner-all">
|
39
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
40
40
|
<ul>
|
41
41
|
<li><%= link_to t('page.new', :model => t('activerecord.models.agent_type')), new_agent_type_path -%></li>
|
42
42
|
</ul>
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.agent_type')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'form' %>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
|
8
|
-
<div id="submenu" class="ui-corner-all">
|
8
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
9
9
|
<ul>
|
10
10
|
<li><%= link_to t('page.back'), agent_types_path -%></li>
|
11
11
|
</ul>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.agent_type')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<p id="notice"><%= notice %></p>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
</div>
|
22
22
|
</div>
|
23
23
|
|
24
|
-
<div id="submenu" class="ui-corner-all">
|
24
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
25
25
|
<ul>
|
26
26
|
<li><%= link_to t('page.edit'), edit_agent_type_path(@agent_type) -%></li>
|
27
27
|
<li><%= back_to_index(flash[:page_info]) -%></li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.agent')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
|
@@ -24,7 +24,7 @@
|
|
24
24
|
</div>
|
25
25
|
</div>
|
26
26
|
|
27
|
-
<div id="submenu" class="ui-corner-all">
|
27
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
28
28
|
<ul>
|
29
29
|
<%- if can? :create, Agent -%>
|
30
30
|
<li><%= link_to t('agent.add'), new_agent_path -%></li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.agent')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<h2 class="resource_title">
|
@@ -61,7 +61,7 @@
|
|
61
61
|
</div>
|
62
62
|
</div>
|
63
63
|
|
64
|
-
<div id="submenu" class="ui-corner-all">
|
64
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
65
65
|
<ul>
|
66
66
|
<%- if can? :create, Agent -%>
|
67
67
|
<li><%= link_to t('agent.add'), new_agent_path -%></li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.listing', :model => t('agent.contributor')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
|
@@ -49,7 +49,7 @@
|
|
49
49
|
</div>
|
50
50
|
</div>
|
51
51
|
|
52
|
-
<div id="submenu" class="ui-corner-all">
|
52
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
53
53
|
<ul>
|
54
54
|
<%- if can? :create, Agent -%>
|
55
55
|
<li><%= link_to t('page.new', :model => t('activerecord.models.agent')), new_expression_agent_path(expression) -%></li>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
1
|
+
<div id="content_detail" class="ui-corner-all ui-widget-content">
|
2
2
|
<h1 class="title"><%= t('page.listing', :model => t('agent.publisher')) -%></h1>
|
3
3
|
<div id="content_list">
|
4
4
|
<%= render 'manifestations/title', :manifestation => manifestation -%>
|
@@ -46,7 +46,7 @@
|
|
46
46
|
</div>
|
47
47
|
</div>
|
48
48
|
|
49
|
-
<div id="submenu" class="ui-corner-all">
|
49
|
+
<div id="submenu" class="ui-corner-all ui-widget-content">
|
50
50
|
<%= render 'manifestations/book_jacket', :manifestation => manifestation -%>
|
51
51
|
<ul>
|
52
52
|
<li><%= link_to t('activerecord.models.manifestation'), manifestations_path -%></li>
|