spree_multi_slideshow 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. data/README.md +3 -3
  2. data/app/assets/images/store/slides/pagination.png +0 -0
  3. data/app/assets/javascripts/store/spree_multi_slideshow.js +537 -213
  4. data/app/assets/stylesheets/store/spree_multi_slideshow.css +45 -55
  5. data/app/controllers/spree/admin/slides_controller.rb +3 -3
  6. data/app/controllers/spree/admin/slideshow_types_controller.rb +5 -1
  7. data/app/helpers/spree/slideshow_types_helper.rb +45 -50
  8. data/app/models/spree/slide.rb +2 -0
  9. data/app/models/spree/slideshow_type.rb +2 -7
  10. data/app/views/spree/admin/shared/_slideshow_type_tabs.html.erb +8 -6
  11. data/app/views/spree/admin/slides/edit.html.erb +1 -1
  12. data/app/views/spree/admin/slides/index.html.erb +31 -32
  13. data/app/views/spree/admin/slides/new.html.erb +1 -1
  14. data/app/views/spree/admin/slideshow_types/_form.html.erb +48 -8
  15. data/app/views/spree/admin/slideshow_types/edit.html.erb +6 -7
  16. data/app/views/spree/admin/slideshow_types/index.html.erb +30 -29
  17. data/app/views/spree/admin/slideshow_types/new.html.erb +51 -5
  18. data/app/views/spree/admin/slideshow_types/new.js.erb +2 -0
  19. data/config/locales/en.yml +1 -0
  20. data/config/locales/it.yml +1 -0
  21. data/db/migrate/20120116081431_create_slideshow_types.rb +1 -1
  22. data/db/migrate/20130114150224_add_enable_pagination.rb +5 -0
  23. data/lib/generators/spree_multi_slideshow/install/install_generator.rb +0 -9
  24. metadata +5 -22
  25. data/app/assets/images/store/slides/bg-gallery.png +0 -0
  26. data/app/assets/images/store/slides/bg-text02.png +0 -0
  27. data/app/controllers/spree/slides_controller.rb +0 -5
  28. data/app/controllers/spree/slideshow_types_controller.rb +0 -5
data/README.md CHANGED
@@ -9,7 +9,7 @@ Basic Installation
9
9
 
10
10
  1. Add the following to your Gemfile
11
11
  <pre>
12
- gem 'spree_multi_slideshow', '~> 1.1.0'
12
+ gem 'spree_multi_slideshow', '~> 1.1.2'
13
13
  </pre>
14
14
  2. Run `bundle install`
15
15
  3. To copy and apply migrations run:
@@ -35,8 +35,8 @@ displays slides for which the category column, dafault is "home"
35
35
  </pre>
36
36
  style layout for slideshow: [small, medium, slide, default => custom]
37
37
  <pre>
38
- <%= insert_slideshow(:container_navigation => "tag_container", :class_navigation_container => "my_class_container_prev, my_class_container_next", :class_navigation_link => "my_class_navigation_prev, my_class_navigation_next") %>
38
+ <%= insert_slideshow(:id => "slides", :class => "my_slide", :pagination_class => "pagination", :show_content => true) %>
39
39
  </pre>
40
- added a content_tag and class for navigatin button, default is nil
40
+ added class and id for slider, enable content slide
41
41
 
42
42
  Copyright (c) 2012 [Damiano Giacomello], released under the New BSD License