enju_bookmark 0.1.2.pre15 → 0.1.2.pre16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/enju_bookmark/acts_as_taggable_stylesheet.css +7 -0
  3. data/app/controllers/bookmarks_controller.rb +8 -14
  4. data/app/models/bookmark.rb +13 -21
  5. data/app/views/bookmarks/show.html.erb +5 -0
  6. data/lib/enju_bookmark/manifestation.rb +3 -7
  7. data/lib/enju_bookmark/version.rb +1 -1
  8. data/spec/controllers/bookmark_stats_controller_spec.rb +49 -49
  9. data/spec/controllers/bookmarks_controller_spec.rb +76 -76
  10. data/spec/controllers/tags_controller_spec.rb +28 -28
  11. data/spec/dummy/db/test.sqlite3 +0 -0
  12. data/spec/dummy/solr/default/data/index/segments.gen +0 -0
  13. data/spec/dummy/solr/default/data/index/segments_1i0 +0 -0
  14. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001933 +0 -0
  15. data/spec/dummy/solr/default/data/tlog/{tlog.0000000000000001700 → tlog.0000000000000001934} +0 -0
  16. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001935 +0 -0
  17. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001936 +0 -0
  18. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001937 +0 -0
  19. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001938 +0 -0
  20. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001939 +0 -0
  21. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001940 +0 -0
  22. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001941 +0 -0
  23. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001942 +0 -0
  24. data/spec/fixtures/languages.yml +1 -1
  25. data/spec/spec_helper.rb +3 -0
  26. metadata +43 -35
  27. data/app/views/bookmark_stat_has_manifestations/_form.html.erb +0 -15
  28. data/app/views/bookmark_stat_has_manifestations/edit.html.erb +0 -13
  29. data/app/views/bookmark_stat_has_manifestations/index.html.erb +0 -32
  30. data/app/views/bookmark_stat_has_manifestations/new.html.erb +0 -12
  31. data/app/views/bookmark_stat_has_manifestations/show.html.erb +0 -29
  32. data/spec/controllers/bookmark_stat_has_manifestations_controller_spec.rb +0 -443
  33. data/spec/dummy/solr/default/data/index/segments_1bi +0 -0
  34. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001699 +0 -0
  35. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001701 +0 -0
  36. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001702 +0 -0
  37. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001703 +0 -0
  38. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001704 +0 -0
  39. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001705 +0 -0
  40. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001706 +0 -0
  41. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001707 +0 -0
  42. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001708 +0 -0
@@ -13,7 +13,7 @@ describe TagsController do
13
13
 
14
14
  it "assigns all tags as @tags" do
15
15
  get :index
16
- assigns(:tags).should_not be_nil
16
+ expect(assigns(:tags)).not_to be_nil
17
17
  end
18
18
  end
19
19
 
@@ -22,7 +22,7 @@ describe TagsController do
22
22
 
23
23
  it "assigns all tags as @tags" do
24
24
  get :index
25
- assigns(:tags).should_not be_nil
25
+ expect(assigns(:tags)).not_to be_nil
26
26
  end
27
27
  end
28
28
 
@@ -31,14 +31,14 @@ describe TagsController do
31
31
 
32
32
  it "assigns all tags as @tags" do
33
33
  get :index
34
- assigns(:tags).should_not be_nil
34
+ expect(assigns(:tags)).not_to be_nil
35
35
  end
36
36
  end
37
37
 
38
38
  describe "When not logged in" do
39
39
  it "assigns all tags as @tags" do
40
40
  get :index
41
- assigns(:tags).should_not be_nil
41
+ expect(assigns(:tags)).not_to be_nil
42
42
  end
43
43
  end
44
44
  end
@@ -50,7 +50,7 @@ describe TagsController do
50
50
  it "assigns the requested tag as @tag" do
51
51
  tag = FactoryGirl.create(:tag)
52
52
  get :show, :id => tag.id
53
- assigns(:tag).should eq(tag)
53
+ expect(assigns(:tag)).to eq(tag)
54
54
  end
55
55
  end
56
56
 
@@ -60,7 +60,7 @@ describe TagsController do
60
60
  it "assigns the requested tag as @tag" do
61
61
  tag = FactoryGirl.create(:tag)
62
62
  get :show, :id => tag.id
63
- assigns(:tag).should eq(tag)
63
+ expect(assigns(:tag)).to eq(tag)
64
64
  end
65
65
  end
66
66
 
@@ -70,7 +70,7 @@ describe TagsController do
70
70
  it "assigns the requested tag as @tag" do
71
71
  tag = FactoryGirl.create(:tag)
72
72
  get :show, :id => tag.id
73
- assigns(:tag).should eq(tag)
73
+ expect(assigns(:tag)).to eq(tag)
74
74
  end
75
75
  end
76
76
 
@@ -78,7 +78,7 @@ describe TagsController do
78
78
  it "assigns the requested tag as @tag" do
79
79
  tag = FactoryGirl.create(:tag)
80
80
  get :show, :id => tag.id
81
- assigns(:tag).should eq(tag)
81
+ expect(assigns(:tag)).to eq(tag)
82
82
  end
83
83
  end
84
84
  end
@@ -90,7 +90,7 @@ describe TagsController do
90
90
  it "assigns the requested tag as @tag" do
91
91
  tag = FactoryGirl.create(:tag)
92
92
  get :edit, :id => tag.id
93
- assigns(:tag).should eq(tag)
93
+ expect(assigns(:tag)).to eq(tag)
94
94
  end
95
95
  end
96
96
 
@@ -100,7 +100,7 @@ describe TagsController do
100
100
  it "assigns the requested tag as @tag" do
101
101
  tag = FactoryGirl.create(:tag)
102
102
  get :edit, :id => tag.id
103
- assigns(:tag).should eq(tag)
103
+ expect(assigns(:tag)).to eq(tag)
104
104
  end
105
105
  end
106
106
 
@@ -110,7 +110,7 @@ describe TagsController do
110
110
  it "assigns the requested tag as @tag" do
111
111
  tag = FactoryGirl.create(:tag)
112
112
  get :edit, :id => tag.id
113
- response.should be_forbidden
113
+ expect(response).to be_forbidden
114
114
  end
115
115
  end
116
116
 
@@ -118,7 +118,7 @@ describe TagsController do
118
118
  it "should not assign the requested tag as @tag" do
119
119
  tag = FactoryGirl.create(:tag)
120
120
  get :edit, :id => tag.id
121
- response.should redirect_to(new_user_session_url)
121
+ expect(response).to redirect_to(new_user_session_url)
122
122
  end
123
123
  end
124
124
  end
@@ -140,8 +140,8 @@ describe TagsController do
140
140
 
141
141
  it "assigns the requested tag as @tag" do
142
142
  put :update, :id => @tag.id, :tag => @attrs
143
- assigns(:tag).should eq(@tag)
144
- response.should redirect_to(assigns(:tag))
143
+ expect(assigns(:tag)).to eq(@tag)
144
+ expect(response).to redirect_to(assigns(:tag))
145
145
  end
146
146
  end
147
147
 
@@ -152,7 +152,7 @@ describe TagsController do
152
152
 
153
153
  it "re-renders the 'edit' template" do
154
154
  put :update, :id => @tag.id, :tag => @invalid_attrs
155
- response.should render_template("edit")
155
+ expect(response).to render_template("edit")
156
156
  end
157
157
  end
158
158
  end
@@ -167,20 +167,20 @@ describe TagsController do
167
167
 
168
168
  it "assigns the requested tag as @tag" do
169
169
  put :update, :id => @tag.id, :tag => @attrs
170
- assigns(:tag).should eq(@tag)
171
- response.should redirect_to(assigns(:tag))
170
+ expect(assigns(:tag)).to eq(@tag)
171
+ expect(response).to redirect_to(assigns(:tag))
172
172
  end
173
173
  end
174
174
 
175
175
  describe "with invalid params" do
176
176
  it "assigns the tag as @tag" do
177
177
  put :update, :id => @tag.id, :tag => @invalid_attrs
178
- assigns(:tag).should_not be_valid
178
+ expect(assigns(:tag)).not_to be_valid
179
179
  end
180
180
 
181
181
  it "re-renders the 'edit' template" do
182
182
  put :update, :id => @tag.id, :tag => @invalid_attrs
183
- response.should render_template("edit")
183
+ expect(response).to render_template("edit")
184
184
  end
185
185
  end
186
186
  end
@@ -195,15 +195,15 @@ describe TagsController do
195
195
 
196
196
  it "assigns the requested tag as @tag" do
197
197
  put :update, :id => @tag.id, :tag => @attrs
198
- assigns(:tag).should eq(@tag)
199
- response.should be_forbidden
198
+ expect(assigns(:tag)).to eq(@tag)
199
+ expect(response).to be_forbidden
200
200
  end
201
201
  end
202
202
 
203
203
  describe "with invalid params" do
204
204
  it "assigns the requested tag as @tag" do
205
205
  put :update, :id => @tag.id, :tag => @invalid_attrs
206
- response.should be_forbidden
206
+ expect(response).to be_forbidden
207
207
  end
208
208
  end
209
209
  end
@@ -216,14 +216,14 @@ describe TagsController do
216
216
 
217
217
  it "should be forbidden" do
218
218
  put :update, :id => @tag.id, :tag => @attrs
219
- response.should redirect_to(new_user_session_url)
219
+ expect(response).to redirect_to(new_user_session_url)
220
220
  end
221
221
  end
222
222
 
223
223
  describe "with invalid params" do
224
224
  it "assigns the requested tag as @tag" do
225
225
  put :update, :id => @tag.id, :tag => @invalid_attrs
226
- response.should redirect_to(new_user_session_url)
226
+ expect(response).to redirect_to(new_user_session_url)
227
227
  end
228
228
  end
229
229
  end
@@ -243,7 +243,7 @@ describe TagsController do
243
243
 
244
244
  it "redirects to the tags list" do
245
245
  delete :destroy, :id => @tag.name
246
- response.should redirect_to(tags_url)
246
+ expect(response).to redirect_to(tags_url)
247
247
  end
248
248
  end
249
249
 
@@ -256,7 +256,7 @@ describe TagsController do
256
256
 
257
257
  it "redirects to the tags list" do
258
258
  delete :destroy, :id => @tag.name
259
- response.should redirect_to(tags_url)
259
+ expect(response).to redirect_to(tags_url)
260
260
  end
261
261
  end
262
262
 
@@ -269,7 +269,7 @@ describe TagsController do
269
269
 
270
270
  it "should be forbidden" do
271
271
  delete :destroy, :id => @tag.name
272
- response.should be_forbidden
272
+ expect(response).to be_forbidden
273
273
  end
274
274
  end
275
275
 
@@ -280,7 +280,7 @@ describe TagsController do
280
280
 
281
281
  it "should be forbidden" do
282
282
  delete :destroy, :id => @tag.name
283
- response.should redirect_to(new_user_session_url)
283
+ expect(response).to redirect_to(new_user_session_url)
284
284
  end
285
285
  end
286
286
  end
Binary file
@@ -2,7 +2,7 @@
2
2
  language_00001:
3
3
  position: 1
4
4
  name: unknown
5
- display_name: "en :unknown\r\n\
5
+ display_name: "en: unknown\r\n\
6
6
  ja: 不明"
7
7
  iso_639_1: unknown
8
8
  iso_639_2: unknown
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,6 @@
1
+ require 'simplecov'
2
+ SimpleCov.start 'rails'
3
+
1
4
  # This file is copied to spec/ when you run 'rails generate rspec:install'
2
5
  ENV["RAILS_ENV"] ||= 'test'
3
6
  require File.expand_path("../dummy/config/environment", __FILE__)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_bookmark
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.pre15
4
+ version: 0.1.2.pre16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-16 00:00:00.000000000 Z
11
+ date: 2014-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '3.2'
33
+ version: '3.3'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '3.2'
40
+ version: '3.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: statesman
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.1.0.rc13
103
+ version: 1.1.0.rc14
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.1.0.rc13
110
+ version: 1.1.0.rc14
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: sunspot_solr
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -150,6 +150,20 @@ dependencies:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: simplecov
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
153
167
  - !ruby/object:Gem::Dependency
154
168
  name: sunspot-rails-tester
155
169
  requirement: !ruby/object:Gem::Requirement
@@ -174,6 +188,7 @@ files:
174
188
  - MIT-LICENSE
175
189
  - README.rdoc
176
190
  - Rakefile
191
+ - app/assets/stylesheets/enju_bookmark/acts_as_taggable_stylesheet.css
177
192
  - app/controllers/bookmark_stat_has_manifestations_controller.rb
178
193
  - app/controllers/bookmark_stats_controller.rb
179
194
  - app/controllers/bookmarks_controller.rb
@@ -185,11 +200,6 @@ files:
185
200
  - app/models/bookmark_stat_transition.rb
186
201
  - app/models/enju_bookmark/ability.rb
187
202
  - app/models/tag.rb
188
- - app/views/bookmark_stat_has_manifestations/_form.html.erb
189
- - app/views/bookmark_stat_has_manifestations/edit.html.erb
190
- - app/views/bookmark_stat_has_manifestations/index.html.erb
191
- - app/views/bookmark_stat_has_manifestations/new.html.erb
192
- - app/views/bookmark_stat_has_manifestations/show.html.erb
193
203
  - app/views/bookmark_stats/_form.html.erb
194
204
  - app/views/bookmark_stats/edit.html.erb
195
205
  - app/views/bookmark_stats/index.html.erb
@@ -239,7 +249,6 @@ files:
239
249
  - lib/generators/enju_bookmark/setup/USAGE
240
250
  - lib/generators/enju_bookmark/setup/setup_generator.rb
241
251
  - lib/tasks/enju_bookmark_tasks.rake
242
- - spec/controllers/bookmark_stat_has_manifestations_controller_spec.rb
243
252
  - spec/controllers/bookmark_stats_controller_spec.rb
244
253
  - spec/controllers/bookmarks_controller_spec.rb
245
254
  - spec/controllers/tags_controller_spec.rb
@@ -442,17 +451,17 @@ files:
442
451
  - spec/dummy/solr/conf/stopwords.txt
443
452
  - spec/dummy/solr/conf/synonyms.txt
444
453
  - spec/dummy/solr/default/data/index/segments.gen
445
- - spec/dummy/solr/default/data/index/segments_1bi
446
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001699
447
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001700
448
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001701
449
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001702
450
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001703
451
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001704
452
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001705
453
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001706
454
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001707
455
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001708
454
+ - spec/dummy/solr/default/data/index/segments_1i0
455
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001933
456
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001934
457
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001935
458
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001936
459
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001937
460
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001938
461
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001939
462
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001940
463
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001941
464
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001942
456
465
  - spec/dummy/solr/development/data/index/segments.gen
457
466
  - spec/dummy/solr/development/data/index/segments_1
458
467
  - spec/dummy/solr/solr.xml
@@ -517,7 +526,6 @@ signing_key:
517
526
  specification_version: 4
518
527
  summary: enju_bookmark plugin
519
528
  test_files:
520
- - spec/controllers/bookmark_stat_has_manifestations_controller_spec.rb
521
529
  - spec/controllers/bookmark_stats_controller_spec.rb
522
530
  - spec/controllers/bookmarks_controller_spec.rb
523
531
  - spec/controllers/tags_controller_spec.rb
@@ -720,17 +728,17 @@ test_files:
720
728
  - spec/dummy/solr/conf/stopwords.txt
721
729
  - spec/dummy/solr/conf/synonyms.txt
722
730
  - spec/dummy/solr/default/data/index/segments.gen
723
- - spec/dummy/solr/default/data/index/segments_1bi
724
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001699
725
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001700
726
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001701
727
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001702
728
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001703
729
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001704
730
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001705
731
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001706
732
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001707
733
- - spec/dummy/solr/default/data/tlog/tlog.0000000000000001708
731
+ - spec/dummy/solr/default/data/index/segments_1i0
732
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001933
733
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001934
734
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001935
735
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001936
736
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001937
737
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001938
738
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001939
739
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001940
740
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001941
741
+ - spec/dummy/solr/default/data/tlog/tlog.0000000000000001942
734
742
  - spec/dummy/solr/development/data/index/segments.gen
735
743
  - spec/dummy/solr/development/data/index/segments_1
736
744
  - spec/dummy/solr/solr.xml
@@ -1,15 +0,0 @@
1
- <%= form_for(@bookmark_stat_has_manifestation) do |f| -%>
2
- <%= f.error_messages -%>
3
-
4
- <div class="field">
5
- <%= f.label t('activerecord.models.bookmark_stat') -%><br />
6
- <%= f.text_field :bookmark_stat_id -%>
7
- </div>
8
- <div class="field">
9
- <%= f.label t('activerecord.models.manifestation') -%><br />
10
- <%= f.text_field :manifestation_id -%>
11
- </div>
12
- <div class="actions">
13
- <%= f.submit %>
14
- </div>
15
- <%- end -%>
@@ -1,13 +0,0 @@
1
- <div id="content_detail" class="ui-corner-all ui-widget-content">
2
- <h1 class="title"><%= t('page.editing', model: t('activerecord.models.bookmark_stat_has_manifestation')) -%></h1>
3
- <div id="content_list">
4
- <%= render 'form' %>
5
- </div>
6
- </div>
7
-
8
- <div id="submenu" class="ui-corner-all ui-widget-content">
9
- <ul>
10
- <li><%= link_to t('page.show'), @bookmark_stat_has_manifestation -%></li>
11
- <li><%= link_to t('page.back'), bookmark_stat_has_manifestations_path -%></li>
12
- </ul>
13
- </div>
@@ -1,32 +0,0 @@
1
- <div id="content_detail" class="ui-corner-all ui-widget-content">
2
- <h1 class="title"><%= t('page.listing', model: t('activerecord.models.bookmark_stat_has_manifestation')) -%></h1>
3
- <div id="content_list">
4
-
5
- <table class="table table-striped index">
6
- <tr>
7
- <th><%= t('activerecord.models.bookmark_stat') -%></th>
8
- <th><%= t('activerecord.models.manifestation') -%></th>
9
- <th><%= t('activerecord.attributes.bookmark_stat_has_manifestation.bookmarks_count') -%></th>
10
- </tr>
11
-
12
- <%- @bookmark_stat_has_manifestations.each do |bookmark_stat_has_manifestation| -%>
13
- <tr class="line<%= cycle("0", "1") -%>">
14
- <td><%= link_to bookmark_stat_has_manifestation.bookmark_stat.id, bookmark_stat_has_manifestation.bookmark_stat -%></td>
15
- <td><%= link_to bookmark_stat_has_manifestation.manifestation.original_title, bookmark_stat_has_manifestation.manifestation -%></td>
16
- <td><%= bookmark_stat_has_manifestation.bookmarks_count -%></td>
17
- <td><%= link_to t('page.show'), bookmark_stat_has_manifestation -%></td>
18
- <td><%= link_to t('page.edit'), edit_bookmark_stat_has_manifestation_path(bookmark_stat_has_manifestation) -%></td>
19
- <td><%= link_to t('page.destroy'), bookmark_stat_has_manifestation, data: {confirm: t('page.are_you_sure')}, method: :delete -%></td>
20
- </tr>
21
- <%- end -%>
22
- </table>
23
-
24
- <%= paginate(@bookmark_stat_has_manifestations) -%>
25
- </div>
26
- </div>
27
-
28
- <div id="submenu" class="ui-corner-all ui-widget-content">
29
- <ul>
30
- <li><%= link_to t('page.new', model: t('activerecord.models.bookmark_stat_has_manifestation')), new_bookmark_stat_has_manifestation_path -%></li>
31
- </ul>
32
- </div>
@@ -1,12 +0,0 @@
1
- <div id="content_detail" class="ui-corner-all ui-widget-content">
2
- <h1 class="title"><%= t('page.new', model: t('activerecord.models.bookmark_stat_has_manifestation')) -%></h1>
3
- <div id="content_list">
4
- <%= render 'form' %>
5
- </div>
6
- </div>
7
-
8
- <div id="submenu" class="ui-corner-all ui-widget-content">
9
- <ul>
10
- <li><%= link_to t('page.back'), bookmark_stat_has_manifestations_path -%></li>
11
- </ul>
12
- </div>
@@ -1,29 +0,0 @@
1
- <div id="content_detail" class="ui-corner-all ui-widget-content">
2
- <h1 class="title"><%= t('page.showing', model: t('activerecord.models.bookmark_stat_has_manifestation')) -%></h1>
3
- <div id="content_list">
4
- <p id="notice"><%= notice %></p>
5
-
6
- <p>
7
- <strong><%= t('activerecord.models.bookmark_stat') -%>:</strong>
8
- <%= link_to @bookmark_stat_has_manifestation.bookmark_stat.id, @bookmark_stat_has_manifestation.bookmark_stat -%>
9
- </p>
10
-
11
- <p>
12
- <strong><%= t('activerecord.models.manifestation') -%>:</strong>
13
- <%= link_to @bookmark_stat_has_manifestation.manifestation.original_title, @bookmark_stat_has_manifestation.manifestation -%>
14
- </p>
15
-
16
- <p>
17
- <strong><%= t('activerecord.attributes.bookmark_stat_has_manifestation.bookmarks_count') -%>:</strong>
18
- <%= @bookmark_stat_has_manifestation.bookmarks_count -%>
19
- </p>
20
-
21
- </div>
22
- </div>
23
-
24
- <div id="submenu" class="ui-corner-all ui-widget-content">
25
- <ul>
26
- <li><%= link_to t('page.edit'), edit_bookmark_stat_has_manifestation_path(@bookmark_stat_has_manifestation) -%></li>
27
- <li><%= back_to_index(flash[:page_info]) -%></li>
28
- </ul>
29
- </div>