diff --git a/app/views/paper_trail_manager/changes/index.html.erb b/app/views/paper_trail_manager/changes/index.html.erb index 7135b98..8358015 100644 --- a/app/views/paper_trail_manager/changes/index.html.erb +++ b/app/views/paper_trail_manager/changes/index.html.erb @@ -1,35 +1,34 @@

Changes

-

<%= link_to 'Changes feed', changes_path(:format => 'atom') %>

-

Show: <%= ([link_to('All', changes_path)] + change_item_types.map { |type| link_to(type.pluralize, changes_path(:type => type)) }).join(' | ').html_safe %>

- - - - - - - - - - - - - - - <% if @versions.any? %> - <% @versions.each do |version| %> - <% next unless change_show_allowed?(version) %> - <%= render :partial => 'version', :object => version %> +
+
- <%= paginate @versions %> -
TimeAttribute with previous and current values
+ + + + + + + + + + + + + <% if @versions.any? %> + <% @versions.each do |version| %> + <% next unless change_show_allowed?(version) %> + <%= render :partial => 'version', :object => version %> + <% end %> + <% else %> + <% end %> - <% else %> - - <% end %> - -
+ <%= paginate @versions %> +
TimeAttribute with previous and current values
— No changes found — — No changes found —
+ + + diff --git a/paper_trail_manager.gemspec b/paper_trail_manager.gemspec index 31e254e..ffef248 100644 --- a/paper_trail_manager.gemspec +++ b/paper_trail_manager.gemspec @@ -12,15 +12,12 @@ Gem::Specification.new do |spec| spec.description = 'Browse, subscribe, view and revert changes to records when using Rails and the `paper_trail` gem.' spec.homepage = 'https://github.com/fusion94/paper_trail_manager' spec.license = 'MIT' - spec.files = `git ls-files -z`.split("\x0") spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib'] - spec.add_dependency 'paper_trail', ['>= 3.0'] spec.add_dependency 'rails', ['>= 3.0', '< 7.0'] - spec.add_development_dependency 'appraisal', '~> 1.0' spec.add_development_dependency 'factory_girl_rails', '~> 4.0' spec.add_development_dependency 'rake', '~> 10.4'