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 +1 -1
- data/app/assets/javascripts/admin/slides/index.js +1 -1
- data/app/assets/javascripts/admin/slides/new.js +1 -1
- data/app/views/spree/admin/slides/edit.html.erb +4 -4
- data/app/views/spree/admin/slides/index.html.erb +2 -2
- data/app/views/spree/admin/slides/new.html.erb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -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="
|
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(:
|
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),
|
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
|
|
23
|
-
<%= link_to_delete
|
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="
|
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(
|
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.
|
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-
|
12
|
+
date: 2013-02-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: spree_core
|