enju_flower 0.1.0.pre7 → 0.1.0.pre8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- 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 +2 -5
- data/app/views/manifestations/show.mobile.erb +1 -1
- data/lib/enju_flower/version.rb +1 -1
- data/spec/controllers/manifestations_controller_spec.rb +12 -10
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20130506175303_create_identifier_types.rb +12 -0
- data/spec/dummy/db/migrate/20130506175834_create_identifiers.rb +14 -0
- data/spec/dummy/db/schema.rb +22 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/data/test/index/{_ux.fdt → _149.fdt} +0 -0
- data/spec/dummy/solr/data/test/index/{_ux.fdx → _149.fdx} +0 -0
- data/spec/dummy/solr/data/test/index/{_ux.fnm → _149.fnm} +2 -2
- data/spec/dummy/solr/data/test/index/{_ux.frq → _149.frq} +0 -0
- data/spec/dummy/solr/data/test/index/{_ux.nrm → _149.nrm} +1 -1
- data/spec/dummy/solr/data/test/index/{_ux.prx → _149.prx} +0 -0
- data/spec/dummy/solr/data/test/index/_149.tii +0 -0
- data/spec/dummy/solr/data/test/index/{_ux.tis → _149.tis} +0 -0
- data/spec/dummy/solr/data/test/index/{_uy.fdt → _14a.fdt} +0 -0
- data/spec/dummy/solr/data/test/index/{_uy.fdx → _14a.fdx} +0 -0
- data/spec/dummy/solr/data/test/index/{_uy.fnm → _14a.fnm} +2 -2
- data/spec/dummy/solr/data/test/index/{_uy.frq → _14a.frq} +0 -0
- data/spec/dummy/solr/data/test/index/{_uy.nrm → _14a.nrm} +1 -1
- data/spec/dummy/solr/data/test/index/{_uy.prx → _14a.prx} +0 -0
- data/spec/dummy/solr/data/test/index/_14a.tii +0 -0
- data/spec/dummy/solr/data/test/index/{_uy.tis → _14a.tis} +0 -0
- data/spec/dummy/solr/data/test/index/{_uz.fdt → _14b.fdt} +0 -0
- data/spec/dummy/solr/data/test/index/{_uz.fdx → _14b.fdx} +0 -0
- data/spec/dummy/solr/data/test/index/{_uz.fnm → _14b.fnm} +2 -2
- data/spec/dummy/solr/data/test/index/_14b.frq +0 -0
- data/spec/dummy/solr/data/test/index/{_uz.nrm → _14b.nrm} +1 -1
- data/spec/dummy/solr/data/test/index/_14b.prx +0 -0
- data/spec/dummy/solr/data/test/index/_14b.tii +0 -0
- data/spec/dummy/solr/data/test/index/_14b.tis +0 -0
- data/spec/dummy/solr/data/test/index/segments.gen +0 -0
- data/spec/dummy/solr/data/test/index/{segments_161 → segments_1in} +0 -0
- data/spec/fixtures/identifier_types.yml +29 -0
- data/spec/fixtures/identifiers.yml +113 -0
- data/spec/fixtures/manifestations.yml +22 -161
- metadata +64 -58
- data/app/views/manifestations/_show.mods.builder +0 -86
- data/app/views/manifestations/_show.rdf.builder +0 -63
- 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/_ux.tii +0 -0
- data/spec/dummy/solr/data/test/index/_uy.tii +0 -0
- data/spec/dummy/solr/data/test/index/_uz.frq +0 -0
- data/spec/dummy/solr/data/test/index/_uz.prx +0 -0
- data/spec/dummy/solr/data/test/index/_uz.tii +0 -0
- data/spec/dummy/solr/data/test/index/_uz.tis +0 -0
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_flower
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosuke Tanabe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-05-
|
11
|
+
date: 2013-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - ~>
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.1.0.
|
117
|
+
version: 0.1.0.pre38
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - ~>
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.1.0.
|
124
|
+
version: 0.1.0.pre38
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: enju_library
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -217,8 +217,6 @@ files:
|
|
217
217
|
- app/views/manifestations/_reservable_facet.html.erb
|
218
218
|
- app/views/manifestations/_search_engine.html.erb
|
219
219
|
- app/views/manifestations/_session_ids.html.erb
|
220
|
-
- app/views/manifestations/_show.mods.builder
|
221
|
-
- app/views/manifestations/_show.rdf.builder
|
222
220
|
- app/views/manifestations/_show_creators.html.erb
|
223
221
|
- app/views/manifestations/_show_creators.mobile.erb
|
224
222
|
- app/views/manifestations/_show_detail_librarian.html.erb
|
@@ -229,9 +227,7 @@ files:
|
|
229
227
|
- app/views/manifestations/_show_index.html.erb
|
230
228
|
- app/views/manifestations/_show_index.mobile.erb
|
231
229
|
- app/views/manifestations/_show_parent.html.erb
|
232
|
-
- app/views/manifestations/_show_periodical_master.html.erb
|
233
230
|
- app/views/manifestations/_show_series_index.html.erb
|
234
|
-
- app/views/manifestations/_show_series_statement.html.erb
|
235
231
|
- app/views/manifestations/_submenu_parent.html.erb
|
236
232
|
- app/views/manifestations/_tab_list.html.erb
|
237
233
|
- app/views/manifestations/_tab_menu.html.erb
|
@@ -314,6 +310,7 @@ files:
|
|
314
310
|
- spec/dummy/config/locales/en.yml
|
315
311
|
- spec/dummy/config/routes.rb
|
316
312
|
- spec/dummy/config.ru
|
313
|
+
- spec/dummy/db/development.sqlite3
|
317
314
|
- spec/dummy/db/migrate/001_create_patrons.rb
|
318
315
|
- spec/dummy/db/migrate/005_create_manifestations.rb
|
319
316
|
- spec/dummy/db/migrate/006_create_items.rb
|
@@ -464,6 +461,8 @@ files:
|
|
464
461
|
- spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
|
465
462
|
- spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb
|
466
463
|
- spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb
|
464
|
+
- spec/dummy/db/migrate/20130506175303_create_identifier_types.rb
|
465
|
+
- spec/dummy/db/migrate/20130506175834_create_identifiers.rb
|
467
466
|
- spec/dummy/db/schema.rb
|
468
467
|
- spec/dummy/db/test.sqlite3
|
469
468
|
- spec/dummy/lib/plugins/ext/event-calendar.rb
|
@@ -490,32 +489,32 @@ files:
|
|
490
489
|
- spec/dummy/solr/conf/spellings.txt
|
491
490
|
- spec/dummy/solr/conf/stopwords.txt
|
492
491
|
- spec/dummy/solr/conf/synonyms.txt
|
493
|
-
- spec/dummy/solr/data/test/index/
|
494
|
-
- spec/dummy/solr/data/test/index/
|
495
|
-
- spec/dummy/solr/data/test/index/
|
496
|
-
- spec/dummy/solr/data/test/index/
|
497
|
-
- spec/dummy/solr/data/test/index/
|
498
|
-
- spec/dummy/solr/data/test/index/
|
499
|
-
- spec/dummy/solr/data/test/index/
|
500
|
-
- spec/dummy/solr/data/test/index/
|
501
|
-
- spec/dummy/solr/data/test/index/
|
502
|
-
- spec/dummy/solr/data/test/index/
|
503
|
-
- spec/dummy/solr/data/test/index/
|
504
|
-
- spec/dummy/solr/data/test/index/
|
505
|
-
- spec/dummy/solr/data/test/index/
|
506
|
-
- spec/dummy/solr/data/test/index/
|
507
|
-
- spec/dummy/solr/data/test/index/
|
508
|
-
- spec/dummy/solr/data/test/index/
|
509
|
-
- spec/dummy/solr/data/test/index/
|
510
|
-
- spec/dummy/solr/data/test/index/
|
511
|
-
- spec/dummy/solr/data/test/index/
|
512
|
-
- spec/dummy/solr/data/test/index/
|
513
|
-
- spec/dummy/solr/data/test/index/
|
514
|
-
- spec/dummy/solr/data/test/index/
|
515
|
-
- spec/dummy/solr/data/test/index/
|
516
|
-
- spec/dummy/solr/data/test/index/
|
492
|
+
- spec/dummy/solr/data/test/index/_149.fdt
|
493
|
+
- spec/dummy/solr/data/test/index/_149.fdx
|
494
|
+
- spec/dummy/solr/data/test/index/_149.fnm
|
495
|
+
- spec/dummy/solr/data/test/index/_149.frq
|
496
|
+
- spec/dummy/solr/data/test/index/_149.nrm
|
497
|
+
- spec/dummy/solr/data/test/index/_149.prx
|
498
|
+
- spec/dummy/solr/data/test/index/_149.tii
|
499
|
+
- spec/dummy/solr/data/test/index/_149.tis
|
500
|
+
- spec/dummy/solr/data/test/index/_14a.fdt
|
501
|
+
- spec/dummy/solr/data/test/index/_14a.fdx
|
502
|
+
- spec/dummy/solr/data/test/index/_14a.fnm
|
503
|
+
- spec/dummy/solr/data/test/index/_14a.frq
|
504
|
+
- spec/dummy/solr/data/test/index/_14a.nrm
|
505
|
+
- spec/dummy/solr/data/test/index/_14a.prx
|
506
|
+
- spec/dummy/solr/data/test/index/_14a.tii
|
507
|
+
- spec/dummy/solr/data/test/index/_14a.tis
|
508
|
+
- spec/dummy/solr/data/test/index/_14b.fdt
|
509
|
+
- spec/dummy/solr/data/test/index/_14b.fdx
|
510
|
+
- spec/dummy/solr/data/test/index/_14b.fnm
|
511
|
+
- spec/dummy/solr/data/test/index/_14b.frq
|
512
|
+
- spec/dummy/solr/data/test/index/_14b.nrm
|
513
|
+
- spec/dummy/solr/data/test/index/_14b.prx
|
514
|
+
- spec/dummy/solr/data/test/index/_14b.tii
|
515
|
+
- spec/dummy/solr/data/test/index/_14b.tis
|
517
516
|
- spec/dummy/solr/data/test/index/segments.gen
|
518
|
-
- spec/dummy/solr/data/test/index/
|
517
|
+
- spec/dummy/solr/data/test/index/segments_1in
|
519
518
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
520
519
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
521
520
|
- spec/dummy/tmp/cache/4F7/F90/default_role
|
@@ -565,6 +564,8 @@ files:
|
|
565
564
|
- spec/fixtures/extents.yml
|
566
565
|
- spec/fixtures/form_of_works.yml
|
567
566
|
- spec/fixtures/frequencies.yml
|
567
|
+
- spec/fixtures/identifier_types.yml
|
568
|
+
- spec/fixtures/identifiers.yml
|
568
569
|
- spec/fixtures/import_requests.yml
|
569
570
|
- spec/fixtures/items.yml
|
570
571
|
- spec/fixtures/languages.yml
|
@@ -667,6 +668,7 @@ test_files:
|
|
667
668
|
- spec/dummy/config/locales/en.yml
|
668
669
|
- spec/dummy/config/routes.rb
|
669
670
|
- spec/dummy/config.ru
|
671
|
+
- spec/dummy/db/development.sqlite3
|
670
672
|
- spec/dummy/db/migrate/001_create_patrons.rb
|
671
673
|
- spec/dummy/db/migrate/005_create_manifestations.rb
|
672
674
|
- spec/dummy/db/migrate/006_create_items.rb
|
@@ -817,6 +819,8 @@ test_files:
|
|
817
819
|
- spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb
|
818
820
|
- spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb
|
819
821
|
- spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb
|
822
|
+
- spec/dummy/db/migrate/20130506175303_create_identifier_types.rb
|
823
|
+
- spec/dummy/db/migrate/20130506175834_create_identifiers.rb
|
820
824
|
- spec/dummy/db/schema.rb
|
821
825
|
- spec/dummy/db/test.sqlite3
|
822
826
|
- spec/dummy/lib/plugins/ext/event-calendar.rb
|
@@ -843,32 +847,32 @@ test_files:
|
|
843
847
|
- spec/dummy/solr/conf/spellings.txt
|
844
848
|
- spec/dummy/solr/conf/stopwords.txt
|
845
849
|
- spec/dummy/solr/conf/synonyms.txt
|
846
|
-
- spec/dummy/solr/data/test/index/
|
847
|
-
- spec/dummy/solr/data/test/index/
|
848
|
-
- spec/dummy/solr/data/test/index/
|
849
|
-
- spec/dummy/solr/data/test/index/
|
850
|
-
- spec/dummy/solr/data/test/index/
|
851
|
-
- spec/dummy/solr/data/test/index/
|
852
|
-
- spec/dummy/solr/data/test/index/
|
853
|
-
- spec/dummy/solr/data/test/index/
|
854
|
-
- spec/dummy/solr/data/test/index/
|
855
|
-
- spec/dummy/solr/data/test/index/
|
856
|
-
- spec/dummy/solr/data/test/index/
|
857
|
-
- spec/dummy/solr/data/test/index/
|
858
|
-
- spec/dummy/solr/data/test/index/
|
859
|
-
- spec/dummy/solr/data/test/index/
|
860
|
-
- spec/dummy/solr/data/test/index/
|
861
|
-
- spec/dummy/solr/data/test/index/
|
862
|
-
- spec/dummy/solr/data/test/index/
|
863
|
-
- spec/dummy/solr/data/test/index/
|
864
|
-
- spec/dummy/solr/data/test/index/
|
865
|
-
- spec/dummy/solr/data/test/index/
|
866
|
-
- spec/dummy/solr/data/test/index/
|
867
|
-
- spec/dummy/solr/data/test/index/
|
868
|
-
- spec/dummy/solr/data/test/index/
|
869
|
-
- spec/dummy/solr/data/test/index/
|
850
|
+
- spec/dummy/solr/data/test/index/_149.fdt
|
851
|
+
- spec/dummy/solr/data/test/index/_149.fdx
|
852
|
+
- spec/dummy/solr/data/test/index/_149.fnm
|
853
|
+
- spec/dummy/solr/data/test/index/_149.frq
|
854
|
+
- spec/dummy/solr/data/test/index/_149.nrm
|
855
|
+
- spec/dummy/solr/data/test/index/_149.prx
|
856
|
+
- spec/dummy/solr/data/test/index/_149.tii
|
857
|
+
- spec/dummy/solr/data/test/index/_149.tis
|
858
|
+
- spec/dummy/solr/data/test/index/_14a.fdt
|
859
|
+
- spec/dummy/solr/data/test/index/_14a.fdx
|
860
|
+
- spec/dummy/solr/data/test/index/_14a.fnm
|
861
|
+
- spec/dummy/solr/data/test/index/_14a.frq
|
862
|
+
- spec/dummy/solr/data/test/index/_14a.nrm
|
863
|
+
- spec/dummy/solr/data/test/index/_14a.prx
|
864
|
+
- spec/dummy/solr/data/test/index/_14a.tii
|
865
|
+
- spec/dummy/solr/data/test/index/_14a.tis
|
866
|
+
- spec/dummy/solr/data/test/index/_14b.fdt
|
867
|
+
- spec/dummy/solr/data/test/index/_14b.fdx
|
868
|
+
- spec/dummy/solr/data/test/index/_14b.fnm
|
869
|
+
- spec/dummy/solr/data/test/index/_14b.frq
|
870
|
+
- spec/dummy/solr/data/test/index/_14b.nrm
|
871
|
+
- spec/dummy/solr/data/test/index/_14b.prx
|
872
|
+
- spec/dummy/solr/data/test/index/_14b.tii
|
873
|
+
- spec/dummy/solr/data/test/index/_14b.tis
|
870
874
|
- spec/dummy/solr/data/test/index/segments.gen
|
871
|
-
- spec/dummy/solr/data/test/index/
|
875
|
+
- spec/dummy/solr/data/test/index/segments_1in
|
872
876
|
- spec/dummy/solr/data/test/spellchecker/segments.gen
|
873
877
|
- spec/dummy/solr/data/test/spellchecker/segments_1
|
874
878
|
- spec/dummy/tmp/cache/4F7/F90/default_role
|
@@ -918,6 +922,8 @@ test_files:
|
|
918
922
|
- spec/fixtures/extents.yml
|
919
923
|
- spec/fixtures/form_of_works.yml
|
920
924
|
- spec/fixtures/frequencies.yml
|
925
|
+
- spec/fixtures/identifier_types.yml
|
926
|
+
- spec/fixtures/identifiers.yml
|
921
927
|
- spec/fixtures/import_requests.yml
|
922
928
|
- spec/fixtures/items.yml
|
923
929
|
- spec/fixtures/languages.yml
|
@@ -1,86 +0,0 @@
|
|
1
|
-
xml.titleInfo{
|
2
|
-
xml.title manifestation.original_title
|
3
|
-
}
|
4
|
-
xml.titleInfo('type' => 'alternative'){
|
5
|
-
xml.title manifestation.title_alternative
|
6
|
-
}
|
7
|
-
manifestation.creators.readable_by(current_user).each do |creator|
|
8
|
-
case creator.patron_type.name
|
9
|
-
when "Person"
|
10
|
-
xml.name('type' => 'personal'){
|
11
|
-
xml.namePart creator.full_name
|
12
|
-
xml.namePart creator.date if creator.date
|
13
|
-
xml.role do
|
14
|
-
xml.roleTerm "creator", 'type' => 'text', 'authority' => 'marcrelator'
|
15
|
-
end
|
16
|
-
}
|
17
|
-
when "CorporateBody"
|
18
|
-
xml.name('type' => 'corporate'){
|
19
|
-
xml.namePart creator.full_name
|
20
|
-
xml.role do
|
21
|
-
xml.roleTerm "creator", 'type' => 'text', 'authority' => 'marcrelator'
|
22
|
-
end
|
23
|
-
}
|
24
|
-
when "Conference"
|
25
|
-
xml.name('type' => 'conference'){
|
26
|
-
xml.namePart creator.full_name
|
27
|
-
xml.role do
|
28
|
-
xml.roleTerm "creator", 'type' => 'text', 'authority' => 'marcrelator'
|
29
|
-
end
|
30
|
-
}
|
31
|
-
end
|
32
|
-
end
|
33
|
-
manifestation.contributors.readable_by(current_user).each do |contributor|
|
34
|
-
case contributor.patron_type.name
|
35
|
-
when "Person"
|
36
|
-
xml.name('type' => 'personal'){
|
37
|
-
xml.namePart contributor.full_name
|
38
|
-
xml.namePart contributor.date if contributor.date
|
39
|
-
}
|
40
|
-
when "CorporateBody"
|
41
|
-
xml.name('type' => 'corporate'){
|
42
|
-
xml.namePart contributor.full_name
|
43
|
-
}
|
44
|
-
when "Conference"
|
45
|
-
xml.name('type' => 'conference'){
|
46
|
-
xml.namePart contributor.full_name
|
47
|
-
}
|
48
|
-
end
|
49
|
-
end
|
50
|
-
xml.typeOfResource manifestation.carrier_type.mods_type
|
51
|
-
xml.originInfo{
|
52
|
-
manifestation.publishers.readable_by(current_user).each do |patron|
|
53
|
-
xml.publisher patron.full_name
|
54
|
-
end
|
55
|
-
xml.dateIssued manifestation.date_of_publication
|
56
|
-
xml.frequency manifestation.frequency.name
|
57
|
-
}
|
58
|
-
xml.language{
|
59
|
-
xml.languageTerm manifestation.language.iso_639_2, 'authority' => 'iso639-2b', 'type' => 'code' if manifestation.language
|
60
|
-
}
|
61
|
-
xml.physicalDescription{
|
62
|
-
xml.form manifestation.carrier_type.name, 'authority' => 'marcform'
|
63
|
-
extent = []
|
64
|
-
extent << manifestation.number_of_pages if manifestation.number_of_pages
|
65
|
-
extent << manifestation.height if manifestation.height
|
66
|
-
xml.extent extent.join("; ")
|
67
|
-
}
|
68
|
-
if defined?(EnjuSubject)
|
69
|
-
xml.subject{
|
70
|
-
manifestation.subjects.each do |subject|
|
71
|
-
xml.topic subject.term
|
72
|
-
end
|
73
|
-
}
|
74
|
-
manifestation.subjects.collect(&:classifications).flatten.each do |classification|
|
75
|
-
xml.classification classification.category, 'authority' => classification.classification_type.name
|
76
|
-
end
|
77
|
-
end
|
78
|
-
xml.abstract manifestation.description
|
79
|
-
xml.note manifestation.note
|
80
|
-
xml.identifier manifestation.isbn, :type => 'isbn'
|
81
|
-
xml.identifier manifestation.lccn, :type => 'lccn'
|
82
|
-
xml.recordInfo{
|
83
|
-
xml.recordCreationDate manifestation.created_at
|
84
|
-
xml.recordChangeDate manifestation.updated_at
|
85
|
-
xml.recordIdentifier manifestation_url(manifestation)
|
86
|
-
}
|
@@ -1,63 +0,0 @@
|
|
1
|
-
xml.dcndl :BibResource do
|
2
|
-
xml.rdf :Description, 'rdf:about' => manifestation_url(manifestation) do
|
3
|
-
if manifestation.nbn?
|
4
|
-
xml.dcterms :identifier, manifestation.nbn, 'rdf:datatype' => 'http://ndl.go.jp/dcndl/terms/JPNO'
|
5
|
-
xml.rdfs :seeAlso, 'rdf:resource' => "http://id.ndl.go.jp/jpno/#{manifestation.nbn}"
|
6
|
-
end
|
7
|
-
if manifestation.isbn?
|
8
|
-
xml.dcterms :identifier, manifestation.isbn, 'rdf:datatype' => 'http://ndl.go.jp/dcndl/terms/ISBN'
|
9
|
-
xml.rdfs :seeAlso, 'rdf:resource' => "http://iss.ndl.go.jp/isbn/#{manifestation.isbn}"
|
10
|
-
end
|
11
|
-
xml.dcterms :title, manifestation.original_title
|
12
|
-
xml.dc :title do
|
13
|
-
xml.rdf :Description do
|
14
|
-
xml.rdf :value, manifestation.original_title
|
15
|
-
xml.dcndl :transcription, manifestation.title_transcription
|
16
|
-
end
|
17
|
-
end
|
18
|
-
if manifestation.title_alternative
|
19
|
-
xml.dcndl :alternative do
|
20
|
-
xml.rdf :Description do
|
21
|
-
xml.rdf :value, manifestation.title_alternative
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
if manifestation.volume_number_string?
|
26
|
-
xml.dcndl :volume do
|
27
|
-
xml.rdf :Description do
|
28
|
-
xml.rdf :value, manifestation.volume_number_string
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
32
|
-
if manifestation.edition_string?
|
33
|
-
xml.dcndl :edition do
|
34
|
-
xml.rdf :Description do
|
35
|
-
xml.rdf :value, manifestation.edition_string
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
39
|
-
manifestation.creators.each do |creator|
|
40
|
-
xml.dcterms :creator do
|
41
|
-
xml.foaf :Agent do
|
42
|
-
xml.foaf :name, creator.full_name
|
43
|
-
xml.dcndl :transcription, creator.full_name_transcription
|
44
|
-
end
|
45
|
-
end
|
46
|
-
xml.dc :creator, creator.full_name
|
47
|
-
end
|
48
|
-
manifestation.publishers.each do |publisher|
|
49
|
-
xml.dcterms :publisher do
|
50
|
-
xml.foaf :Agent do
|
51
|
-
xml.foaf :name, publisher.full_name
|
52
|
-
xml.dcndl :transcription, publisher.full_name_transcription
|
53
|
-
xml.dcndl :location, publisher.address_1
|
54
|
-
end
|
55
|
-
end
|
56
|
-
xml.dcndl :publicationPlace, publisher.country.alpha_2.downcase, 'rdf:datatype' => 'http://purl.org/dc/terms/ISO3166'
|
57
|
-
end
|
58
|
-
xml.dcterms :language, manifestation.language.iso_639_2, 'rdf:datatype' => "http://purl.org/dc/terms/ISO639-2" if manifestation.language
|
59
|
-
xml.dcterms :date, manifestation.pub_date
|
60
|
-
xml.dcterms :issued, manifestation.date_of_publication.try(:year), 'rdf:datatype' => "http://purl.org/dc/terms/W3CDTF"
|
61
|
-
xml.dcndl :price, manifestation.price
|
62
|
-
end
|
63
|
-
end
|
@@ -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
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|