enju_flower 0.1.0.pre5 → 0.1.0.pre6
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/_call_number.html.erb +3 -1
- data/app/views/manifestations/_index_form_parent.html.erb +21 -0
- data/app/views/manifestations/_manifestation.html.erb +19 -19
- data/app/views/manifestations/_show_detail_librarian.html.erb +10 -2
- data/app/views/manifestations/_show_detail_user.html.erb +6 -2
- data/app/views/manifestations/_show_index.html.erb +3 -8
- data/app/views/manifestations/_show_parent.html.erb +26 -0
- data/app/views/manifestations/_show_periodical_master.html.erb +6 -23
- data/app/views/manifestations/_show_series_index.html.erb +1 -9
- data/app/views/manifestations/_show_series_statement.html.erb +2 -2
- data/app/views/manifestations/_submenu_parent.html.erb +8 -0
- data/app/views/manifestations/index.html.erb +6 -10
- data/app/views/manifestations/show.html.erb +1 -1
- data/lib/enju_flower/version.rb +1 -1
- data/spec/controllers/manifestations_controller_spec.rb +20 -37
- data/spec/dummy/app/models/ability.rb +6 -10
- data/spec/dummy/config/application.rb +1 -0
- data/spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb +7 -0
- data/spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb +5 -0
- data/spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb +6 -0
- data/spec/dummy/db/schema.rb +13 -6
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/data/test/index/{_ay.fnm → _rs.fnm} +3 -3
- data/spec/dummy/solr/data/test/index/{_ay.frq → _rs.frq} +0 -0
- data/spec/dummy/solr/data/test/index/{_ay.nrm → _rs.nrm} +1 -1
- data/spec/dummy/solr/data/test/index/{_ay.prx → _rs.prx} +0 -0
- data/spec/dummy/solr/data/test/index/_rs.tii +0 -0
- data/spec/dummy/solr/data/test/index/{_ay.tis → _rs.tis} +0 -0
- data/spec/dummy/solr/data/test/index/{_az.fnm → _rt.fnm} +3 -3
- data/spec/dummy/solr/data/test/index/{_az.frq → _rt.frq} +0 -0
- data/spec/dummy/solr/data/test/index/{_az.nrm → _rt.nrm} +1 -1
- data/spec/dummy/solr/data/test/index/{_az.prx → _rt.prx} +0 -0
- data/spec/dummy/solr/data/test/index/{_az.tii → _rt.tii} +0 -0
- data/spec/dummy/solr/data/test/index/{_az.tis → _rt.tis} +0 -0
- data/spec/dummy/solr/data/test/index/{_b0.fnm → _ru.fnm} +3 -3
- data/spec/dummy/solr/data/test/index/_ru.frq +0 -0
- data/spec/dummy/solr/data/test/index/_ru.nrm +1 -0
- data/spec/dummy/solr/data/test/index/_ru.prx +0 -0
- data/spec/dummy/solr/data/test/index/_ru.tii +0 -0
- data/spec/dummy/solr/data/test/index/_ru.tis +0 -0
- data/spec/dummy/solr/data/test/index/segments.gen +0 -0
- data/spec/dummy/solr/data/test/index/{segments_es → segments_11u} +0 -0
- data/spec/fixtures/series_statements.yml +21 -23
- data/vendor/assets/javascripts/{jquery.mobile-1.3.0.js → jquery.mobile-1.3.1.js} +3857 -3758
- data/vendor/assets/stylesheets/images/ajax-loader.gif +0 -0
- data/vendor/assets/stylesheets/images/icons-18-black.png +0 -0
- data/vendor/assets/stylesheets/images/icons-18-white.png +0 -0
- data/vendor/assets/stylesheets/images/icons-36-black.png +0 -0
- data/vendor/assets/stylesheets/images/icons-36-white.png +0 -0
- data/vendor/assets/stylesheets/{jquery.mobile-1.3.0.css → jquery.mobile-1.3.1.css} +73 -64
- metadata +87 -64
- data/app/assets/javascripts/resources.js +0 -2
- data/app/assets/stylesheets/resources.css +0 -4
- data/app/views/manifestations/_submenu_series_statement.html.erb +0 -9
- data/spec/dummy/db/migrate/20110918161853_rename_series_statement_manifestation_id_to_root_manifestation_id.rb +0 -13
- data/spec/dummy/solr/data/test/index/_ay.tii +0 -0
- data/spec/dummy/solr/data/test/index/_b0.frq +0 -0
- data/spec/dummy/solr/data/test/index/_b0.nrm +0 -1
- data/spec/dummy/solr/data/test/index/_b0.prx +0 -0
- data/spec/dummy/solr/data/test/index/_b0.tii +0 -0
- data/spec/dummy/solr/data/test/index/_b0.tis +0 -0
- data/spec/fixtures/series_has_manifestations.yml +0 -35
- /data/spec/dummy/solr/data/test/index/{_ay.fdt → _rs.fdt} +0 -0
- /data/spec/dummy/solr/data/test/index/{_ay.fdx → _rs.fdx} +0 -0
- /data/spec/dummy/solr/data/test/index/{_az.fdt → _rt.fdt} +0 -0
- /data/spec/dummy/solr/data/test/index/{_az.fdx → _rt.fdx} +0 -0
- /data/spec/dummy/solr/data/test/index/{_b0.fdt → _ru.fdt} +0 -0
- /data/spec/dummy/solr/data/test/index/{_b0.fdx → _ru.fdx} +0 -0
@@ -1,9 +0,0 @@
|
|
1
|
-
<ul>
|
2
|
-
<% if can? :create, Manifestation %>
|
3
|
-
<li><%= link_to t('page.new', :model => t('activerecord.models.manifestation')), new_series_statement_manifestation_path(@series_statement) %></li>
|
4
|
-
<% end %>
|
5
|
-
<% if can? :update, @series_statement %>
|
6
|
-
<li><%= link_to t('page.edit'), edit_series_statement_path(@series_statement) %></li>
|
7
|
-
<li><%= link_to t('page.add_child'), series_statements_path(:parent_id => @series_statement.id) %></li>
|
8
|
-
<% end %>
|
9
|
-
</ul>
|
@@ -1,13 +0,0 @@
|
|
1
|
-
class RenameSeriesStatementManifestationIdToRootManifestationId < ActiveRecord::Migration
|
2
|
-
def self.up
|
3
|
-
remove_index :series_statements, :series_statement_identifier
|
4
|
-
rename_column :series_statements, :manifestation_id, :root_manifestation_id
|
5
|
-
add_index :series_statements, :series_statement_identifier
|
6
|
-
end
|
7
|
-
|
8
|
-
def self.down
|
9
|
-
remove_index :series_statements, :series_statement_identifier
|
10
|
-
rename_column :series_statements, :root_manifestation_id, :manifestation_id
|
11
|
-
add_index :series_statements, :series_statement_identifier
|
12
|
-
end
|
13
|
-
end
|
Binary file
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
NRM�vruwvvuur|xutttttwwuuuuuuxx||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||xtt|uuutt||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||vruwvvuur|xu||tttwwuuuuuuxx|||||y|||��|||||||���������||||||||||||xw|||||||||||||||||||||||||y||||||||||||||||||||||||||tt|||||||||||||
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,35 +0,0 @@
|
|
1
|
-
---
|
2
|
-
series_has_manifestation_00001:
|
3
|
-
updated_at: 2008-01-11 23:28:19.277110 +09:00
|
4
|
-
manifestation_id: 1
|
5
|
-
series_statement_id: 1
|
6
|
-
id: 1
|
7
|
-
position: 1
|
8
|
-
created_at: 2008-01-11 23:28:19.277110 +09:00
|
9
|
-
series_has_manifestation_00002:
|
10
|
-
updated_at: 2008-01-11 23:28:57.068191 +09:00
|
11
|
-
manifestation_id: 202
|
12
|
-
series_statement_id: 2
|
13
|
-
id: 2
|
14
|
-
position: 1
|
15
|
-
created_at: 2008-01-11 23:28:57.068191 +09:00
|
16
|
-
series_has_manifestation_00003:
|
17
|
-
updated_at: 2008-01-11 23:32:03.701425 +09:00
|
18
|
-
manifestation_id: 203
|
19
|
-
series_statement_id: 3
|
20
|
-
id: 3
|
21
|
-
position: 1
|
22
|
-
created_at: 2008-01-11 23:32:03.701425 +09:00
|
23
|
-
|
24
|
-
# == Schema Information
|
25
|
-
#
|
26
|
-
# Table name: series_has_manifestations
|
27
|
-
#
|
28
|
-
# id :integer not null, primary key
|
29
|
-
# series_statement_id :integer
|
30
|
-
# manifestation_id :integer
|
31
|
-
# position :integer
|
32
|
-
# created_at :datetime not null
|
33
|
-
# updated_at :datetime not null
|
34
|
-
#
|
35
|
-
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|