iquest-simple_table 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a3df3945062bc5892ec44bcd007001960221e03
4
- data.tar.gz: c7bc81df5e5d0fb178355662189da297102a9f57
3
+ metadata.gz: 3079fa83cb9d2462dfd417a670adde2bcf437f02
4
+ data.tar.gz: 7c7c28a54921c514cb48930e850cf27c12b9f9d0
5
5
  SHA512:
6
- metadata.gz: 2e5ea99f0afc341737c72f4fd330b818f44401591bf098b51bdf23a20183e60ed434f18b2ae41719be57626f3acce6aa2f3ef593917f425a592e7ed1f083d360
7
- data.tar.gz: 8338e40016be3fa5262cfaf4b709bc5c0a5a49ae5998b9944bcba130cd255de1227a33839c97b5e2271969092c4a23cd4432c0fafa7e54fc64c0dc6a7402ca11
6
+ metadata.gz: 5a7b97763cb2929c98b2a9f008c54752440e71235112f31ed9bf017c87e9a6d927567e64c21e9fd4d3b38db1f6c006e2215bc82e91ce561f2cf8108696420ce6
7
+ data.tar.gz: 6d24acc2b1d5fde34b54c3ff2efadb862e7ac829c0fdf133f81cde564f05f3c5e9aeee56bdb8e77f582b6108a06d6dfc8b3193a1bcf96fb4b92427d6003c91a3
@@ -4,7 +4,7 @@ module Iquest
4
4
  module SimpleTable
5
5
  class TableBuilder
6
6
  attr_reader :parent, :table_id, :columns, :collection, :search_form, :actions, :new_link
7
- delegate :capture, :content_tag, :link_to, :paginate, :params, to: :parent
7
+ delegate :capture, :content_tag, :link_to, :paginate, :page_entries_info, :params, to: :parent
8
8
  delegate :sort_link, :search_form_for, to: :parent
9
9
  delegate :polymorphic_path, :polymorphic_url, :new_polymorphic_path, :new_polymorphic_url, to: :parent
10
10
  delegate :l, :t, to: :parent
@@ -268,7 +268,9 @@ module Iquest
268
268
  end
269
269
 
270
270
  def render_footer_actions
271
- content_tag(:td, '', class: '')
271
+ content_tag :td, '', class: '' do
272
+ page_entries_info @collection, entry_name: @klass.model_name.human if @collection.respond_to?(:current_page)
273
+ end
272
274
  end
273
275
 
274
276
  private
@@ -1,5 +1,5 @@
1
1
  module Iquest
2
2
  module SimpleTable
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iquest-simple_table
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Dusanek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-07 00:00:00.000000000 Z
11
+ date: 2014-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ransack_simple_form