enju_biblio 0.1.0.pre45 → 0.1.0.pre46
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/agents/{_patron.html.erb → _agent.html.erb} +0 -0
- data/app/views/agents/{_patron_list.html.erb → _agent_list.html.erb} +0 -0
- data/app/views/agents/{_index_patron.html.erb → _index_agent.html.erb} +0 -0
- data/app/views/agents/show.html.erb +1 -30
- data/app/views/creates/{_index_patron.html.erb → _index_agent.html.erb} +0 -0
- data/app/views/layouts/{patrons.html.erb → agents.html.erb} +0 -0
- data/app/views/layouts/{patrons.mobile.erb → agents.mobile.erb} +0 -0
- data/app/views/manifestations/_tab_list.html.erb +0 -3
- data/app/views/manifestations/_tab_menu.html.erb +0 -3
- data/app/views/picture_files/{_index_patron.html.erb → _index_agent.html.erb} +0 -0
- data/app/views/produces/{_index_patron.html.erb → _index_agent.html.erb} +0 -0
- data/app/views/realizes/{_index_patron.html.erb → _index_agent.html.erb} +0 -0
- data/config/locales/translation_en.yml +20 -20
- data/config/locales/translation_ja.yml +21 -21
- data/lib/enju_biblio/version.rb +1 -1
- metadata +10 -11
- data/app/views/agents/_index_patron_merge_list.html.erb +0 -53
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c9f724ae9bc949082a242108f0b9763eca797c1
|
4
|
+
data.tar.gz: 0655a86c9ca4d9b17402c083cd2c36ffb5f2e90b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1b83d9791c1147dccbbdd1e56e0b97aa771d0f8b323109f13211c5d3b79ce031796fa5146edeeebcb737ec32c1319fab791dc3192ce3903098776bec66f4bc3
|
7
|
+
data.tar.gz: 215fa31378a4b9ec227c65c0aedfa70d8545f038c2688d26ca952ce4d2266cfa3128899f2ab3e2625759394f30468667f44c50fe3bfa3cb3f92c4d15bc6c16e8
|
File without changes
|
File without changes
|
File without changes
|
@@ -8,29 +8,12 @@
|
|
8
8
|
<%= @agent.full_name -%>
|
9
9
|
</h2>
|
10
10
|
|
11
|
-
<%- if @version -%>
|
12
|
-
<p>(<%= l(@agent.versions.find(@version).created_at) -%>)</p>
|
13
|
-
<%- end -%>
|
14
|
-
<p>
|
15
|
-
(<%= link_to_wikipedia(@agent.full_name_without_space) -%>)
|
16
|
-
</p>
|
17
|
-
|
18
11
|
<div id="tabs">
|
19
12
|
<ul>
|
20
13
|
<li title="active" class="selected"><a href="#detail"><em><%= t('page.detail') -%></em></a></li>
|
21
14
|
<%- if @agent.derived_agents.exists? or @agent.original_agents.exists? -%>
|
22
15
|
<li><a href="#related"><em><%= t('page.related') -%></em></a></li>
|
23
16
|
<%- end -%>
|
24
|
-
<%- if @agent.works.exists? -%>
|
25
|
-
<li><a href="#work"><em><%= t('activerecord.models.work') -%></em></a></li>
|
26
|
-
<%- end -%>
|
27
|
-
<%- if @agent.expressions.exists? -%>
|
28
|
-
<li><a href="#expression"><em><%= t('activerecord.models.expression') -%></em></a></li>
|
29
|
-
<%- end -%>
|
30
|
-
<%- if @agent.manifestations.exists? -%>
|
31
|
-
<li><a href="#manifestation"><em><%= t('activerecord.models.manifestation') -%></em></a></li>
|
32
|
-
<%- end -%>
|
33
|
-
<li><a href="#history"><em><%= t('page.history') -%></em></a></li>
|
34
17
|
</ul>
|
35
18
|
<div id="detail">
|
36
19
|
<table class="table table-striped index vcard">
|
@@ -95,16 +78,6 @@
|
|
95
78
|
<%- unless @agent.derived_agents.empty? and @agent.original_agents.empty? -%>
|
96
79
|
<%= render 'agents/agent_list' -%>
|
97
80
|
<%- end -%>
|
98
|
-
<%- unless @works.blank? -%>
|
99
|
-
<%= render 'agents/work_list' -%>
|
100
|
-
<%- end -%>
|
101
|
-
<%- unless @expressions.blank? -%>
|
102
|
-
<%= render 'agents/expression_list' -%>
|
103
|
-
<%- end -%>
|
104
|
-
<%- unless @manifestations.blank? -%>
|
105
|
-
<%= render 'agents/manifestation_list' -%>
|
106
|
-
<%- end -%>
|
107
|
-
<%= render 'history_list' -%>
|
108
81
|
</div>
|
109
82
|
</div>
|
110
83
|
</div>
|
@@ -145,8 +118,6 @@
|
|
145
118
|
<%- end -%>
|
146
119
|
</ul>
|
147
120
|
<ul>
|
148
|
-
<li><%= link_to t('page.listing', :model => t('activerecord.models.
|
149
|
-
<li><%= link_to t('page.listing', :model => t('activerecord.models.expression')), contributor_manifestations_path(@agent) -%></li>
|
150
|
-
<li><%= link_to t('page.listing', :model => t('activerecord.models.manifestation')), publisher_manifestations_path(@agent) -%></li>
|
121
|
+
<li><%= link_to t('page.listing', :model => t('activerecord.models.manifestation')), manifestations_path(:query => @agent.full_name) -%></li>
|
151
122
|
</ul>
|
152
123
|
</div>
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -19,12 +19,12 @@ en:
|
|
19
19
|
manifestation_relationship_type: Resource relationship type
|
20
20
|
medium_of_performance: Medium of performance
|
21
21
|
own: Own
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
22
|
+
agent: Agent
|
23
|
+
agent_import_file: Agent import file
|
24
|
+
agent_import_result: Agent Import Result
|
25
|
+
agent_relationship: Agent relationship
|
26
|
+
agent_relationship_type: Agent relationship type
|
27
|
+
agent_type: Agent type
|
28
28
|
picture_file: Picture file
|
29
29
|
produce: Produce
|
30
30
|
produce_type: Produce type
|
@@ -103,7 +103,7 @@ en:
|
|
103
103
|
lock_version: Lock version
|
104
104
|
acquired_at: Acquired at
|
105
105
|
donation: Donation
|
106
|
-
|
106
|
+
agent:
|
107
107
|
last_name: Last name
|
108
108
|
middle_name: Middle name
|
109
109
|
first_name: First name
|
@@ -133,18 +133,18 @@ en:
|
|
133
133
|
lock_version: Lock version
|
134
134
|
note: Note
|
135
135
|
country: Country
|
136
|
-
|
136
|
+
agent_type: Agent type
|
137
137
|
language: Language
|
138
138
|
email: Email
|
139
139
|
url: URL
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
140
|
+
agent_import_file:
|
141
|
+
agent_import_file_name: Filename
|
142
|
+
agent_import_content_type: Content type
|
143
|
+
agent_import_file_size: Size
|
144
|
+
agent_import_fingerprint: File hash
|
145
145
|
note: Note
|
146
146
|
executed_at: Executed at
|
147
|
-
|
147
|
+
agent_import_updated_at: Updated at
|
148
148
|
state: State
|
149
149
|
edit_mode: Edit mode
|
150
150
|
error_message: Error message
|
@@ -205,7 +205,7 @@ en:
|
|
205
205
|
display_name: Display name
|
206
206
|
note: Note
|
207
207
|
position: Position
|
208
|
-
|
208
|
+
agent_relationship_type:
|
209
209
|
name: Name
|
210
210
|
display_name: Display name
|
211
211
|
note: Note
|
@@ -223,10 +223,10 @@ en:
|
|
223
223
|
import_request:
|
224
224
|
isbn: ISBN
|
225
225
|
state: State
|
226
|
-
|
226
|
+
agent_relationship:
|
227
227
|
parent_id: Parent
|
228
228
|
child_id: Child
|
229
|
-
|
229
|
+
agent_relationship_type_id: Agent relationship type
|
230
230
|
manifestation_relationship:
|
231
231
|
parent_id: Parent
|
232
232
|
child_id: Child
|
@@ -270,7 +270,7 @@ en:
|
|
270
270
|
display_name: Display name
|
271
271
|
note: Note
|
272
272
|
position: Position
|
273
|
-
|
273
|
+
agent_type:
|
274
274
|
name: Name
|
275
275
|
display_name: Display name
|
276
276
|
note: Note
|
@@ -281,7 +281,7 @@ en:
|
|
281
281
|
position: Position
|
282
282
|
resource_import_result:
|
283
283
|
body: Body
|
284
|
-
|
284
|
+
agent_import_result:
|
285
285
|
body: Body
|
286
286
|
create_type:
|
287
287
|
name: Name
|
@@ -307,7 +307,7 @@ en:
|
|
307
307
|
resource_import_file:
|
308
308
|
update_relationship: Update relationship
|
309
309
|
|
310
|
-
|
310
|
+
agent:
|
311
311
|
creator: Creator
|
312
312
|
contributor: Contributor
|
313
313
|
publisher: Publisher
|
@@ -19,12 +19,12 @@ ja:
|
|
19
19
|
license: ライセンス
|
20
20
|
import_request: ISBNインポートのリクエスト
|
21
21
|
own: 所有関係
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
22
|
+
agent: 人物・団体
|
23
|
+
agent_import_file: 人物・団体のインポート用ファイル
|
24
|
+
agent_import_result: 人物・団体インポートの結果
|
25
|
+
agent_relationship: 著者・編者・出版社の関係
|
26
|
+
agent_relationship_type: 人物・団体の関係の種類
|
27
|
+
agent_type: 人物・団体の種類
|
28
28
|
picture_file: 画像ファイル
|
29
29
|
produce: 出版関係
|
30
30
|
produce_type: 体現の関係
|
@@ -103,7 +103,7 @@ ja:
|
|
103
103
|
lock_version: ロックバージョン
|
104
104
|
acquired_at: 受入日
|
105
105
|
donation: 寄贈情報
|
106
|
-
|
106
|
+
agent:
|
107
107
|
last_name: 姓
|
108
108
|
middle_name: ミドルネーム
|
109
109
|
first_name: 名
|
@@ -133,18 +133,18 @@ ja:
|
|
133
133
|
lock_version: ロックバージョン
|
134
134
|
note: 注記
|
135
135
|
country: 国籍
|
136
|
-
|
136
|
+
agent_type: 人物・団体の種類
|
137
137
|
language: 言語
|
138
138
|
email: 電子メール
|
139
139
|
url: URL
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
140
|
+
agent_import_file:
|
141
|
+
agent_import_file_name: ファイル名
|
142
|
+
agent_import_content_type: Content-Type
|
143
|
+
agent_import_file_size: ファイルサイズ
|
144
|
+
agent_import_fingerprint: ファイルのハッシュ
|
145
145
|
note: 注記
|
146
146
|
executed_at: 実行時刻
|
147
|
-
|
147
|
+
agent_import_updated_at: 更新時刻
|
148
148
|
state: 状態
|
149
149
|
edit_mode: 編集モード
|
150
150
|
error_message: エラーメッセージ
|
@@ -200,12 +200,12 @@ ja:
|
|
200
200
|
display_name: 表示名
|
201
201
|
note: 注記
|
202
202
|
position: 位置
|
203
|
-
|
203
|
+
agent_type:
|
204
204
|
name: 名前
|
205
205
|
display_name: 表示名
|
206
206
|
note: 注記
|
207
207
|
position: 位置
|
208
|
-
|
208
|
+
agent_relationship_type:
|
209
209
|
name: 名前
|
210
210
|
display_name: 表示名
|
211
211
|
note: 注記
|
@@ -223,10 +223,10 @@ ja:
|
|
223
223
|
import_request:
|
224
224
|
isbn: ISBN
|
225
225
|
state: 状態
|
226
|
-
|
226
|
+
agent_relationship:
|
227
227
|
parent: 派生元の人物・団体
|
228
228
|
child: 派生先の人物・団体
|
229
|
-
|
229
|
+
agent_relationship_type_id: 人物・団体の関係の種類
|
230
230
|
manifestation_relationship:
|
231
231
|
parent: 派生元の資料
|
232
232
|
child: 派生先の資料
|
@@ -270,7 +270,7 @@ ja:
|
|
270
270
|
display_name: 表示名
|
271
271
|
note: 注記
|
272
272
|
position: 位置
|
273
|
-
|
273
|
+
agent_type:
|
274
274
|
name: 名前
|
275
275
|
display_name: 表示名
|
276
276
|
note: 注記
|
@@ -281,7 +281,7 @@ ja:
|
|
281
281
|
position: 位置
|
282
282
|
resource_import_result:
|
283
283
|
body: 本文
|
284
|
-
|
284
|
+
agent_import_result:
|
285
285
|
body: 本文
|
286
286
|
create_type:
|
287
287
|
name: 名称
|
@@ -307,7 +307,7 @@ ja:
|
|
307
307
|
resource_import_file:
|
308
308
|
update_relationship: 関連を更新
|
309
309
|
|
310
|
-
|
310
|
+
agent:
|
311
311
|
creator: 著者
|
312
312
|
contributor: 協力者・編者
|
313
313
|
publisher: 出版社
|
data/lib/enju_biblio/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_biblio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre46
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kosuke Tanabe
|
@@ -559,20 +559,19 @@ files:
|
|
559
559
|
- app/views/agent_types/index.html.erb
|
560
560
|
- app/views/agent_types/new.html.erb
|
561
561
|
- app/views/agent_types/show.html.erb
|
562
|
+
- app/views/agents/_agent.html.erb
|
563
|
+
- app/views/agents/_agent_list.html.erb
|
562
564
|
- app/views/agents/_expression_list.html.erb
|
563
565
|
- app/views/agents/_form.html.erb
|
564
566
|
- app/views/agents/_form_family_name_first.html.erb
|
565
567
|
- app/views/agents/_form_family_name_last.html.erb
|
566
568
|
- app/views/agents/_history_list.html.erb
|
567
569
|
- app/views/agents/_index.html.erb
|
570
|
+
- app/views/agents/_index_agent.html.erb
|
568
571
|
- app/views/agents/_index_expression.html.erb
|
569
572
|
- app/views/agents/_index_manifestation.html.erb
|
570
|
-
- app/views/agents/_index_patron.html.erb
|
571
|
-
- app/views/agents/_index_patron_merge_list.html.erb
|
572
573
|
- app/views/agents/_index_work.html.erb
|
573
574
|
- app/views/agents/_manifestation_list.html.erb
|
574
|
-
- app/views/agents/_patron.html.erb
|
575
|
-
- app/views/agents/_patron_list.html.erb
|
576
575
|
- app/views/agents/_work_list.html.erb
|
577
576
|
- app/views/agents/edit.html.erb
|
578
577
|
- app/views/agents/index.atom.builder
|
@@ -605,7 +604,7 @@ files:
|
|
605
604
|
- app/views/create_types/show.html.erb
|
606
605
|
- app/views/creates/_form.html.erb
|
607
606
|
- app/views/creates/_index.html.erb
|
608
|
-
- app/views/creates/
|
607
|
+
- app/views/creates/_index_agent.html.erb
|
609
608
|
- app/views/creates/_index_work.html.erb
|
610
609
|
- app/views/creates/edit.html.erb
|
611
610
|
- app/views/creates/index.html.erb
|
@@ -662,10 +661,10 @@ files:
|
|
662
661
|
- app/views/languages/index.html.erb
|
663
662
|
- app/views/languages/new.html.erb
|
664
663
|
- app/views/languages/show.html.erb
|
664
|
+
- app/views/layouts/agents.html.erb
|
665
|
+
- app/views/layouts/agents.mobile.erb
|
665
666
|
- app/views/layouts/manifestations.html.erb
|
666
667
|
- app/views/layouts/manifestations.mobile.erb
|
667
|
-
- app/views/layouts/patrons.html.erb
|
668
|
-
- app/views/layouts/patrons.mobile.erb
|
669
668
|
- app/views/licenses/_form.html.erb
|
670
669
|
- app/views/licenses/edit.html.erb
|
671
670
|
- app/views/licenses/index.html.erb
|
@@ -755,9 +754,9 @@ files:
|
|
755
754
|
- app/views/owns/new.html.erb
|
756
755
|
- app/views/owns/show.html.erb
|
757
756
|
- app/views/picture_files/_index.html.erb
|
757
|
+
- app/views/picture_files/_index_agent.html.erb
|
758
758
|
- app/views/picture_files/_index_event.html.erb
|
759
759
|
- app/views/picture_files/_index_manifestation.html.erb
|
760
|
-
- app/views/picture_files/_index_patron.html.erb
|
761
760
|
- app/views/picture_files/_index_shelf.html.erb
|
762
761
|
- app/views/picture_files/_link.html.erb
|
763
762
|
- app/views/picture_files/_link.mobile.erb
|
@@ -773,8 +772,8 @@ files:
|
|
773
772
|
- app/views/produce_types/show.html.erb
|
774
773
|
- app/views/produces/_form.html.erb
|
775
774
|
- app/views/produces/_index.html.erb
|
775
|
+
- app/views/produces/_index_agent.html.erb
|
776
776
|
- app/views/produces/_index_manifestation.html.erb
|
777
|
-
- app/views/produces/_index_patron.html.erb
|
778
777
|
- app/views/produces/edit.html.erb
|
779
778
|
- app/views/produces/index.html.erb
|
780
779
|
- app/views/produces/new.html.erb
|
@@ -786,8 +785,8 @@ files:
|
|
786
785
|
- app/views/realize_types/show.html.erb
|
787
786
|
- app/views/realizes/_form.html.erb
|
788
787
|
- app/views/realizes/_index.html.erb
|
788
|
+
- app/views/realizes/_index_agent.html.erb
|
789
789
|
- app/views/realizes/_index_expression.html.erb
|
790
|
-
- app/views/realizes/_index_patron.html.erb
|
791
790
|
- app/views/realizes/edit.html.erb
|
792
791
|
- app/views/realizes/index.html.erb
|
793
792
|
- app/views/realizes/new.html.erb
|
@@ -1,53 +0,0 @@
|
|
1
|
-
<div id="content_detail" class="ui-corner-all">
|
2
|
-
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.agent')) -%></h1>
|
3
|
-
<div id="content_list">
|
4
|
-
|
5
|
-
<div class="search_form">
|
6
|
-
<%= form_for :agents, :url => agent_merge_list_agents_path(@agent_merge_list), :html => {:method => 'get'} do -%>
|
7
|
-
<p>
|
8
|
-
<%= label_tag :search_form_top, t('page.search_term') -%>: <%= search_field_tag 'query', h(@query), {:id => 'search_form_top', :class => 'search_form', :placeholder => t('page.search_term')} -%>
|
9
|
-
<%- if can? :update, @agent_merge_list -%>
|
10
|
-
<%= render 'page/add' %>
|
11
|
-
<%- end -%>
|
12
|
-
<%= submit_tag t('page.search') -%>
|
13
|
-
<%= link_to t('page.back_to_index'), agent_merge_list_agents_path(@agent_merge_list) -%>
|
14
|
-
</p>
|
15
|
-
<%- end -%>
|
16
|
-
</div>
|
17
|
-
|
18
|
-
<table class="table table-striped index">
|
19
|
-
<tr>
|
20
|
-
<th><%= t('activerecord.attributes.agent.full_name') -%></th>
|
21
|
-
<th><%= t('activerecord.models.agent_type') -%></th>
|
22
|
-
<th><%= t('activerecord.attributes.agent.date_of_birth') -%></th>
|
23
|
-
<th id="edit_icons"></th>
|
24
|
-
</tr>
|
25
|
-
|
26
|
-
<%- @agents.each do |agent| -%>
|
27
|
-
<tr class="line<%= cycle("0", "1") -%>">
|
28
|
-
<td><%= link_to agent.full_name, agent_merge_list_agent_path(@agent_merge_list, agent) -%></td>
|
29
|
-
<td><%= agent.agent_type.display_name.localize -%></td>
|
30
|
-
<td><%=l agent.date_of_birth if agent.date_of_birth -%></td>
|
31
|
-
<td>
|
32
|
-
<%- if can? :delete, agent -%>
|
33
|
-
<%- if params[:mode] == 'add' -%>
|
34
|
-
<%= link_to t('page.add'), new_agent_merge_list_agent_merge_path(@agent_merge_list, :agent_id => agent.id) unless @agent_merge_list.agents.include?(agent) -%>
|
35
|
-
<%- else -%>
|
36
|
-
<%- agent_merge = @agent_merge_list.agent_merges.where(:agent_id => agent.id).first -%>
|
37
|
-
<%= link_to t('page.destroy'), agent_merge_list_agent_merge_path(@agent_merge_list, agent_merge), :data => {:confirm => t('page.are_you_sure')}, :method => :delete if agent_merge -%>
|
38
|
-
<%- end -%>
|
39
|
-
<%- end -%>
|
40
|
-
</td>
|
41
|
-
</tr>
|
42
|
-
<%- end -%>
|
43
|
-
</table>
|
44
|
-
|
45
|
-
<%= paginate(@agents) -%>
|
46
|
-
</div>
|
47
|
-
</div>
|
48
|
-
|
49
|
-
<div id="submenu" class="ui-corner-all">
|
50
|
-
<ul>
|
51
|
-
<li><%= link_to t('page.listing', :model => t('activerecord.models.agent_merge_list')), @agent_merge_list -%></li>
|
52
|
-
</ul>
|
53
|
-
</div>
|