spree_multi_slideshow 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
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.4'
12
+ gem 'spree_multi_slideshow', '~> 1.1.6'
13
13
  </pre>
14
14
  2. Run `bundle install`
15
15
  3. To copy and apply migrations run:
@@ -7,4 +7,4 @@ $(document).ready(function(){
7
7
  success: function(r){ $('#slides').html(r);} });
8
8
  });
9
9
 
10
- });
10
+ });
@@ -2,4 +2,4 @@ $('#cancel_link').click(function (event) {
2
2
  event.preventDefault();
3
3
  $('#new_slide_link').show();
4
4
  $('#slides').html('');
5
- });
5
+ });
@@ -1,17 +1,17 @@
1
1
  <%= render :partial => 'spree/admin/shared/slideshow_type_tabs', :locals => {:current => 'Slides'} %>
2
2
 
3
- <%= render 'spree/shared/error_messages', :target => @slide %>
3
+ <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @slide } %>
4
4
 
5
5
  <%= form_for [:admin, @slideshow_type, @slide], :html => { :multipart => true } do |f| %>
6
- <table class="basic-table" data-hook="edit_image">
6
+ <table class="basic-table" data-hook="edit_slide">
7
7
  <tr data-hook="thumbnail">
8
8
  <td><%= t(:thumbnail) %>:</td>
9
- <td><%= link_to image_tag(@slide.attachment.url(:small)), @slide.attachment.url(:medium) %></td>
9
+ <td><%= link_to image_tag(@slide.attachment.url(:mini)), @slide.attachment.url(:medium) %></td>
10
10
  </tr>
11
11
  <%= render :partial => 'form', :locals => { :f => f } %>
12
12
  </table>
13
13
  <p class="form-buttons" data-hook="buttons">
14
14
  <%= button t(:update) %>
15
- <%= t(:or) %> <%= link_to t(:cancel), admin_slideshow_type_slide_url(@slideshow_type), :id => 'cancel_link' %>
15
+ <%= t(:or) %> <%= link_to t(:cancel), admin_slideshow_type_slides_url(@slideshow_type), :id => 'cancel_link' %>
16
16
  </p>
17
17
  <% end %>
@@ -20,14 +20,14 @@
20
20
  <td class="actions">
21
21
  <%= link_to_with_icon 'edit', t(:edit), edit_admin_slideshow_type_slide_url(@slideshow_type, slide), :class => 'edit' %>
22
22
  &nbsp;
23
- <%= link_to_delete image, { :url => admin_slideshow_type_slide_url(@slideshow_type, slide) }%>
23
+ <%= link_to_delete slide, { :url => admin_slideshow_type_slide_url(@slideshow_type, slide) }%>
24
24
  </td>
25
25
  </tr>
26
26
  <% end %>
27
27
  </tbody>
28
28
  </table>
29
29
 
30
- <div id="images" data-hook></div>
30
+ <div id="slides" data-hook></div>
31
31
  <br />
32
32
  <p data-hook="links">
33
33
  <%= link_to icon('add') + ' ' + t(:new_slide), new_admin_slideshow_type_slide_url(@slideshow_type), :id => 'new_slide_link' %>
@@ -1,4 +1,4 @@
1
- <h4><%= t("slideshow_type.slide.new_page") %></h4>
1
+ <h4><%= t(:new_slide) %></h4>
2
2
  <%= form_for [:admin, @slideshow_type, @slide], :html => { :multipart => true } do |f| %>
3
3
  <table class="basic-table" data-hook="new_slide">
4
4
  <%= render :partial => 'form', :locals => { :f => f } %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_multi_slideshow
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-26 00:00:00.000000000 Z
12
+ date: 2013-02-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spree_core