enju_biblio 0.1.0.pre37 → 0.1.0.pre38
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/addresses.js +2 -0
- data/app/assets/javascripts/identifier_types.js +2 -0
- data/app/assets/javascripts/identifiers.js +2 -0
- data/app/assets/stylesheets/addresses.css +4 -0
- data/app/assets/stylesheets/identifier_types.css +4 -0
- data/app/assets/stylesheets/identifiers.css +4 -0
- data/app/controllers/addresses_controller.rb +2 -0
- data/app/controllers/carrier_types_controller.rb +85 -5
- data/app/controllers/identifier_types_controller.rb +84 -0
- data/app/controllers/identifiers_controller.rb +14 -0
- data/app/controllers/manifestations_controller.rb +14 -21
- data/app/helpers/addresses_helper.rb +2 -0
- data/app/helpers/identifier_types_helper.rb +2 -0
- data/app/helpers/identifiers_helper.rb +2 -0
- data/app/models/carrier_type.rb +2 -0
- data/app/models/enju_biblio/ability.rb +12 -0
- data/app/models/identifier.rb +65 -0
- data/app/models/identifier_type.rb +21 -0
- data/app/models/import_request.rb +1 -0
- data/app/models/manifestation.rb +28 -87
- data/app/models/page_sweeper.rb +0 -2
- data/app/models/resource_import_file.rb +34 -18
- data/app/views/addresses/_form.html.erb +57 -0
- data/app/views/addresses/edit.html.erb +6 -0
- data/app/views/addresses/index.html.erb +41 -0
- data/app/views/addresses/new.html.erb +5 -0
- data/app/views/addresses/show.html.erb +55 -0
- data/app/views/carrier_types/_form.html.erb +4 -1
- data/app/views/carrier_types/index.html.erb +1 -1
- data/app/views/identifier_types/_form.html.erb +22 -0
- data/app/views/identifier_types/edit.html.erb +13 -0
- data/app/views/identifier_types/index.html.erb +45 -0
- data/app/views/identifier_types/new.html.erb +12 -0
- data/app/views/identifier_types/show.html.erb +24 -0
- data/app/views/identifiers/_form.html.erb +30 -0
- data/app/views/identifiers/edit.html.erb +15 -0
- data/app/views/identifiers/index.html.erb +33 -0
- data/app/views/identifiers/new.html.erb +14 -0
- data/app/views/identifiers/show.html.erb +29 -0
- data/app/views/items/index.csv.erb +1 -1
- data/app/views/items/index.html.erb +2 -1
- data/app/views/manifestations/_form.html.erb +17 -36
- data/app/views/manifestations/_show.mods.builder +6 -2
- data/app/views/manifestations/_show.rdf.builder +7 -6
- data/app/views/manifestations/_show_detail_librarian.html.erb +5 -15
- data/app/views/manifestations/_show_detail_user.html.erb +5 -15
- data/app/views/manifestations/_show_index.html.erb +1 -1
- data/app/views/manifestations/index.csv.erb +1 -1
- data/app/views/manifestations/index.rss.builder +3 -1
- data/app/views/manifestations/show.mobile.erb +1 -1
- data/config/locales/translation_en.yml +14 -7
- data/config/locales/translation_ja.yml +15 -8
- data/config/routes.rb +6 -8
- data/db/migrate/005_create_manifestations.rb +0 -12
- data/db/migrate/20130506175303_create_identifier_types.rb +12 -0
- data/db/migrate/20130506175834_create_identifiers.rb +14 -0
- data/lib/enju_biblio/version.rb +1 -1
- data/lib/generators/enju_biblio/setup/templates/db/fixtures/identifier_types.yml +27 -0
- data/spec/controllers/identifier_types_controller_spec.rb +167 -0
- data/spec/controllers/identifiers_controller_spec.rb +446 -0
- data/spec/controllers/import_requests_controller_spec.rb +1 -1
- data/spec/controllers/manifestations_controller_spec.rb +12 -10
- data/spec/dummy/app/models/ability.rb +12 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20130504195916_add_subject_heading_type_id_to_subject.rb +5 -0
- data/spec/dummy/db/schema.rb +26 -16
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/data/test/index/segments.gen +0 -0
- data/spec/dummy/solr/data/test/index/segments_myc +0 -0
- data/spec/dummy/tmp/cache/4AD/470/country_all +0 -0
- data/spec/factories/identifier.rb +6 -0
- data/spec/factories/identifier_type.rb +5 -0
- data/spec/fixtures/identifier_types.yml +29 -0
- data/spec/fixtures/identifiers.yml +113 -0
- data/spec/fixtures/manifestations.yml +0 -137
- data/spec/fixtures/subject_heading_types.yml +39 -0
- data/spec/fixtures/subject_types.yml +4 -4
- data/spec/models/identifier_spec.rb +22 -0
- data/spec/models/identifier_type_spec.rb +21 -0
- data/spec/models/manifestation_spec.rb +0 -11
- data/spec/models/resource_import_file_spec.rb +7 -7
- data/spec/routing/manifestations_routing_spec.rb +1 -1
- metadata +66 -16
- data/app/views/manifestations/_show_periodical_master.html.erb +0 -23
- data/app/views/manifestations/_show_series_statement.html.erb +0 -30
- data/spec/dummy/solr/data/test/index/segments_l8s +0 -0
@@ -1,23 +0,0 @@
|
|
1
|
-
<%= render 'manifestations/title', :manifestation => @manifestation.root_series_statement.manifestation -%>
|
2
|
-
|
3
|
-
<p>
|
4
|
-
<strong><%= t('activerecord.attributes.series_statement.original_title') -%></strong>
|
5
|
-
<%= @manifestation.root_series_statement.original_title %>
|
6
|
-
</p>
|
7
|
-
|
8
|
-
<p>
|
9
|
-
<strong><%= t('activerecord.attributes.series_statement.title_transcription') -%></strong>
|
10
|
-
<%= @manifestation.root_series_statement.title_transcription %>
|
11
|
-
</p>
|
12
|
-
|
13
|
-
<p>
|
14
|
-
<strong><%= t('activerecord.attributes.series_statement.issn') -%></strong>
|
15
|
-
<%= @manifestation.root_series_statement.issn %>
|
16
|
-
</p>
|
17
|
-
|
18
|
-
<p>
|
19
|
-
<strong><%= t('activerecord.attributes.series_statement.series_statement_identifier') -%></strong>
|
20
|
-
<%= @manifestation.root_series_statement.series_statement_identifier %>
|
21
|
-
</p>
|
22
|
-
|
23
|
-
<%= render 'series_statements/manifestation_list', :series_statement => @manifestation.root_series_statement -%>
|
@@ -1,30 +0,0 @@
|
|
1
|
-
<table class="table table-striped" id="resource_detail">
|
2
|
-
<tr>
|
3
|
-
<td style="width: 200px"><%= t('activerecord.attributes.series_statement.title_transcription') -%></td>
|
4
|
-
<td style="width: 490px"><%= @series_statement.title_transcription %></td>
|
5
|
-
</tr>
|
6
|
-
<tr>
|
7
|
-
<td style="width: 200px"><%= t('activerecord.attributes.series_statement.title_subseries') -%></td>
|
8
|
-
<td style="width: 490px"><%= @series_statement.title_subseries %>
|
9
|
-
<% if @series_statement.title_subseries_transcription? %>
|
10
|
-
(<%= @series_statement.title_subseries_transcription %>)
|
11
|
-
<% end %>
|
12
|
-
</td>
|
13
|
-
</tr>
|
14
|
-
<tr>
|
15
|
-
<td><%= t('activerecord.attributes.series_statement.root_manifestation_id') -%></td>
|
16
|
-
<td><%= link_to @series_statement.root_manifestation.original_title, @series_statement.root_manifestation %></td>
|
17
|
-
</tr>
|
18
|
-
<tr>
|
19
|
-
<td><%= t('activerecord.attributes.series_statement.issn') -%></td>
|
20
|
-
<td><%= @series_statement.issn %></td>
|
21
|
-
</tr>
|
22
|
-
<tr>
|
23
|
-
<td><%= t('activerecord.attributes.series_statement.series_statement_identifier') -%></td>
|
24
|
-
<td><%= @series_statement.series_statement_identifier %></td>
|
25
|
-
</tr>
|
26
|
-
<tr>
|
27
|
-
<td><%= t('activerecord.attributes.series_statement.note') -%></td>
|
28
|
-
<td><%= @series_statement.note %></td>
|
29
|
-
</tr>
|
30
|
-
</table>
|
Binary file
|