enju_flower 0.1.0.pre13 → 0.1.0.pre14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +2 -2
- data/app/views/manifestations/_show_detail_librarian.html.erb +3 -3
- data/app/views/manifestations/_show_detail_user.html.erb +2 -0
- data/app/views/manifestations/_show_holding.html.erb +3 -0
- data/app/views/manifestations/_show_reservation.html.erb +27 -0
- data/app/views/manifestations/_show_series_detail.html.erb +12 -0
- data/app/views/manifestations/index.mobile.erb +1 -1
- data/app/views/page/_footer.html.erb +3 -3
- data/lib/enju_flower/version.rb +1 -1
- data/spec/dummy/config/initializers/devise.rb +2 -0
- data/spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb +9 -0
- data/spec/dummy/db/schema.rb +184 -188
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/conf/schema.xml +4 -0
- data/spec/dummy/solr/conf/solrconfig.xml +588 -855
- data/spec/dummy/solr/default/data/index/_xg.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_xg.fdx +0 -0
- data/spec/dummy/solr/default/data/index/_xg.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_xg.nvd +0 -0
- data/spec/dummy/solr/default/data/index/_xg.nvm +0 -0
- data/spec/dummy/solr/default/data/index/_xg.si +0 -0
- data/spec/dummy/solr/default/data/index/_xg_Lucene41_0.doc +0 -0
- data/spec/dummy/solr/default/data/index/_xg_Lucene41_0.pos +0 -0
- data/spec/dummy/solr/default/data/index/_xg_Lucene41_0.tim +0 -0
- data/spec/dummy/solr/default/data/index/_xg_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/_xh.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_xh.fdx +0 -0
- data/spec/dummy/solr/default/data/index/_xh.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_xh.nvd +0 -0
- data/spec/dummy/solr/default/data/index/_xh.nvm +0 -0
- data/spec/dummy/solr/default/data/index/_xh.si +0 -0
- data/spec/dummy/solr/default/data/index/_xh_Lucene41_0.doc +0 -0
- data/spec/dummy/solr/default/data/index/_xh_Lucene41_0.pos +0 -0
- data/spec/dummy/solr/default/data/index/_xh_Lucene41_0.tim +0 -0
- data/spec/dummy/solr/default/data/index/_xh_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/_xi.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_xi.fdx +0 -0
- data/spec/dummy/solr/default/data/index/_xi.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_xi.nvd +0 -0
- data/spec/dummy/solr/default/data/index/_xi.nvm +0 -0
- data/spec/dummy/solr/default/data/index/_xi.si +0 -0
- data/spec/dummy/solr/default/data/index/_xi_Lucene41_0.doc +0 -0
- data/spec/dummy/solr/default/data/index/_xi_Lucene41_0.pos +0 -0
- data/spec/dummy/solr/default/data/index/_xi_Lucene41_0.tim +0 -0
- data/spec/dummy/solr/default/data/index/_xi_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/segments.gen +0 -0
- data/spec/dummy/solr/default/data/index/segments_178 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001552 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001553 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001554 +0 -0
- data/spec/dummy/solr/{data/test/spellchecker → development/data/index}/segments.gen +0 -0
- data/spec/dummy/solr/development/data/index/segments_1 +0 -0
- data/spec/dummy/solr/solr.xml +8 -0
- data/spec/dummy/solr/test/data/index/segments.gen +0 -0
- data/spec/dummy/solr/test/data/index/segments_1 +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/user.rb +1 -1
- data/spec/fixtures/user_groups.yml +1 -1
- metadata +130 -137
- data/app/controllers/manifestations_controller.rb +0 -771
- data/app/views/layouts/agents.html.erb +0 -26
- data/app/views/layouts/agents.mobile.erb +0 -18
- data/app/views/layouts/manifestations.html.erb +0 -32
- data/app/views/layouts/manifestations.mobile.erb +0 -18
- data/app/views/page/add_on.html.erb +0 -13
- data/app/views/page/msie_acceralator.builder +0 -15
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb +0 -9
- data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +0 -12
- data/spec/dummy/db/migrate/20130303104849_add_state_index_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20130519065638_add_lock_version_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb +0 -5
- data/spec/dummy/solr/data/test/index/_20.fdt +0 -0
- data/spec/dummy/solr/data/test/index/_20.fdx +0 -0
- data/spec/dummy/solr/data/test/index/_20.fnm +0 -7
- data/spec/dummy/solr/data/test/index/_20.frq +0 -0
- data/spec/dummy/solr/data/test/index/_20.nrm +0 -1
- data/spec/dummy/solr/data/test/index/_20.prx +0 -0
- data/spec/dummy/solr/data/test/index/_20.tii +0 -0
- data/spec/dummy/solr/data/test/index/_20.tis +0 -0
- data/spec/dummy/solr/data/test/index/_21.fdt +0 -0
- data/spec/dummy/solr/data/test/index/_21.fdx +0 -0
- data/spec/dummy/solr/data/test/index/_21.fnm +0 -7
- data/spec/dummy/solr/data/test/index/_21.frq +0 -0
- data/spec/dummy/solr/data/test/index/_21.nrm +0 -1
- data/spec/dummy/solr/data/test/index/_21.prx +0 -0
- data/spec/dummy/solr/data/test/index/_21.tii +0 -0
- data/spec/dummy/solr/data/test/index/_21.tis +0 -0
- data/spec/dummy/solr/data/test/index/_22.fdt +0 -0
- data/spec/dummy/solr/data/test/index/_22.fdx +0 -0
- data/spec/dummy/solr/data/test/index/_22.fnm +0 -8
- data/spec/dummy/solr/data/test/index/_22.frq +0 -0
- data/spec/dummy/solr/data/test/index/_22.nrm +0 -1
- data/spec/dummy/solr/data/test/index/_22.prx +0 -0
- data/spec/dummy/solr/data/test/index/_22.tii +0 -0
- data/spec/dummy/solr/data/test/index/_22.tis +0 -0
- data/spec/dummy/solr/data/test/index/segments.gen +0 -0
- data/spec/dummy/solr/data/test/index/segments_2s +0 -0
- data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
- data/spec/fixtures/agent_import_files.yml +0 -47
- data/spec/fixtures/agent_import_results.yml +0 -29
- data/spec/fixtures/circulation_statuses.yml +0 -136
- data/spec/fixtures/event_categories.yml +0 -55
- data/spec/fixtures/events.yml +0 -142
- data/spec/fixtures/item_has_use_restrictions.yml +0 -61
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c711ab3a4e4948c28be5f8c7285b672b0ba87caa
|
4
|
+
data.tar.gz: ba06227697f0fd3d5377398394b5df8978cfb935
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffc68055b8c9376165344010168620179101d35d0c3260476088f66afac361b5ba5a32cde27fb52dbba4c921f9d1218a1ed274effbdbe0d64a91cfc84f7ca5c4
|
7
|
+
data.tar.gz: 858394e17af9b17abb1b75a243eff0a6e231738454b39a09d52f68ecc70d4a139c2c2f1885df78e281ebda1f5b1a59ddae0664a76b5f775d5d9c0c23ac1adbd8
|
data/README.rdoc
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
== Related projects
|
4
4
|
* {Next-L Enju Root}[https://github.com/next-l/enju_root]
|
5
|
-
* {Next-L Enju Leaf}[https://github.com/
|
5
|
+
* {Next-L Enju Leaf}[https://github.com/next-l/enju_leaf]
|
6
6
|
|
7
7
|
== Authors and contributors
|
8
|
-
* {TANABE, Kosuke}[
|
8
|
+
* {TANABE, Kosuke}[https://github.com/nabeta]
|
9
9
|
* {Project Next-L}[http://www.next-l.jp]
|
@@ -10,6 +10,7 @@
|
|
10
10
|
<td style="width: 500px"><%= manifestation.title_alternative -%></td>
|
11
11
|
</tr>
|
12
12
|
<% end %>
|
13
|
+
<%- if manifestation.series_statements.exists? -%>
|
13
14
|
<tr>
|
14
15
|
<td style="width: 200px"><%= t('activerecord.models.series_statement') -%>:</td>
|
15
16
|
<td style="width: 500px">
|
@@ -19,6 +20,7 @@
|
|
19
20
|
<%- end -%>
|
20
21
|
</td>
|
21
22
|
</tr>
|
23
|
+
<% end %>
|
22
24
|
<%= render 'edition_and_number', :manifestation => manifestation %>
|
23
25
|
<tr>
|
24
26
|
<td style="width: 200px"><%= t('page.form') -%>:</td>
|
@@ -95,9 +97,7 @@
|
|
95
97
|
</tr>
|
96
98
|
</table>
|
97
99
|
<% end %>
|
98
|
-
|
99
|
-
<%= render 'manifestations/show_holding', :manifestation => manifestation -%>
|
100
|
-
<%- end -%>
|
100
|
+
<%= render 'manifestations/show_holding', :manifestation => manifestation -%>
|
101
101
|
</div>
|
102
102
|
<%= render 'manifestations/tab_list', :manifestation => manifestation %>
|
103
103
|
</div>
|
@@ -10,6 +10,7 @@
|
|
10
10
|
<td style="width: 500px"><%= manifestation.title_alternative -%></td>
|
11
11
|
</tr>
|
12
12
|
<% end %>
|
13
|
+
<%- if manifestation.series_statements.exists? -%>
|
13
14
|
<tr>
|
14
15
|
<td style="width: 200px"><%= t('activerecord.models.series_statement') -%>:</td>
|
15
16
|
<td style="width: 500px">
|
@@ -19,6 +20,7 @@
|
|
19
20
|
<%- end -%>
|
20
21
|
</td>
|
21
22
|
</tr>
|
23
|
+
<% end %>
|
22
24
|
<%= render 'edition_and_number', :manifestation => manifestation %>
|
23
25
|
<tr>
|
24
26
|
<td style="width: 200px"><%= t('page.form') -%>:</td>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<% unless params[:mode] == 'add' %>
|
2
|
+
<% if manifestation.is_reservable_by?(current_user) %>
|
3
|
+
<%- reserve = manifestation.is_reserved_by?(current_user) -%>
|
4
|
+
<%- if reserve -%>
|
5
|
+
<%= link_to t('reserve.show'), reserve -%>
|
6
|
+
<%- else -%>
|
7
|
+
<%= link_to t('activerecord.models.reserve'), new_reserve_path(:manifestation_id => manifestation.id) if can? :create, Reserve -%>
|
8
|
+
<%- end -%>
|
9
|
+
<% end %>
|
10
|
+
<br />
|
11
|
+
<% end %>
|
12
|
+
<% cache([current_user_role_name, @locale, manifestation]) do %>
|
13
|
+
<%- if can? :update, manifestation -%>
|
14
|
+
<% unless params[:mode] == 'add' %>
|
15
|
+
<%= link_to image_tag('icons/book_edit.png', :size => '16x16', :alt => t('page.edit')), edit_manifestation_path(manifestation) -%>
|
16
|
+
<% else %>
|
17
|
+
<% case %>
|
18
|
+
<% when @parent %>
|
19
|
+
<%= link_to t('page.add'), new_manifestation_manifestation_relationship_path(@parent, :child_id => manifestation.id) unless @parent.derived_manifestations.include?(manifestation) or @parent == manifestation -%>
|
20
|
+
<% when @item %>
|
21
|
+
<%= link_to t('page.change'), edit_exemplify_path(@item.exemplify, :manifestation_id => manifestation.id) unless @item.manifestation == manifestation -%>
|
22
|
+
<% else %>
|
23
|
+
<%= link_to image_tag('icons/arrow_divide.png', :size => '16x16', :alt => t('manifestation.add_derivation')), new_manifestation_path(:parent_id => manifestation.id) -%>
|
24
|
+
<% end %>
|
25
|
+
<%- end -%>
|
26
|
+
<% end %>
|
27
|
+
<% end %>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<ul>
|
2
|
+
<% manifestation.series_statements.each do |series_statement| %>
|
3
|
+
<li>
|
4
|
+
<% if series_statement.manifestation and manifestation.series_master? %>
|
5
|
+
<%= link_to series_statement.original_title, series_statement.manifestation %>
|
6
|
+
<% else %>
|
7
|
+
<%= series_statement.original_title %>
|
8
|
+
<% end %>
|
9
|
+
<%= series_statement.volume_number_string %>
|
10
|
+
</li>
|
11
|
+
<% end %>
|
12
|
+
</ul>
|
@@ -1,11 +1,11 @@
|
|
1
1
|
<div class="header_and_footer">
|
2
2
|
<div id="footer">
|
3
|
-
<a href="https://github.com/
|
3
|
+
<a href="https://github.com/next-l/enju_leaf">Next-L Enju Leaf <%= EnjuLeaf::VERSION %></a>
|
4
4
|
+ <a href="https://github.com/next-l/enju_flower">Next-L Enju Flower <%= EnjuFlower::VERSION %></a>,
|
5
5
|
<%= t('page.open_source_integrated_library_system') -%>
|
6
6
|
<br />
|
7
|
-
Developed by <a href="
|
8
|
-
<%= link_to t('page.report_bugs'), "https://github.com/
|
7
|
+
Developed by <a href="https://github.com/nabeta">Kosuke Tanabe</a> and <a href="http://www.next-l.jp/">Project Next-L</a> |
|
8
|
+
<%= link_to t('page.report_bugs'), "https://github.com/next-l/enju_leaf/issues" -%>
|
9
9
|
<% if is_mobile_request? %>
|
10
10
|
| <%= link_to t('page.mobile_view'), url_for(:mobile_view => 'true') %>
|
11
11
|
<% end %>
|
data/lib/enju_flower/version.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# Use this hook to configure devise mailer, warden hooks and so forth.
|
2
2
|
# Many of these configuration options can be set straight in your model.
|
3
3
|
Devise.setup do |config|
|
4
|
+
config.secret_key = 'b8ea232c09a0e131f5b694670553c81f379dde14a1234ff7f53b9d971dc5148fe318066f3d4f5e0d92ebfb100d756d3dfde6ca68a404296a81b621edc7f5d732'
|
5
|
+
|
4
6
|
# ==> Mailer Configuration
|
5
7
|
# Configure the e-mail address which will be shown in Devise::Mailer,
|
6
8
|
# note that it will be overwritten if you use your own mailer class with default "from" parameter.
|