imagine_cms 3.0.9 → 3.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
- <%= link_to_remote image_tag("content/#{path}/#{gallery_id}/management/#{image}.jpg", :size => '90x90'),
1
+ <%= link_to_remote image_tag("/assets/content/#{path}/#{gallery_id}/management/#{image}.jpg", :size => '90x90'),
2
2
  :url => { :action => 'image_details', :id => id, :path => path, :gallery_id => gallery_id, :image => image.to_s + '.jpg' },
3
3
  :update => 'gallery_window' %>
@@ -1,6 +1,6 @@
1
1
  <table>
2
2
  <tr valign="top">
3
- <td><%= image_tag "content/#{params[:path]}/#{params[:gallery_id]}/#{params[:image]}" %></td>
3
+ <td><%= image_tag "/assets/content/#{params[:path]}/#{params[:gallery_id]}/#{params[:image]}" %></td>
4
4
  <td style="padding-left: 10px;">
5
5
  <div id="caption_container" style="margin-bottom: 20px;">
6
6
  <strong>Caption</strong><br/>
@@ -1,4 +1,4 @@
1
1
  <%- image = image_draggable -%>
2
2
  <div id="image_<%= image %>.jpg" style="float: left; cursor: move;">
3
- <%= image_tag("content/#{path}/#{gallery_id}/management/#{image}.jpg", :size => '90x90') %>
3
+ <%= image_tag("/assets/content/#{path}/#{gallery_id}/management/#{image}.jpg", :size => '90x90') %>
4
4
  </div>
@@ -26,7 +26,7 @@
26
26
  all_images.each { |img| images << img unless File.basename(img).include?('thumb') }
27
27
  -%>
28
28
  <div id="<%= File.basename(gallery) %>" style="float: left; width: 130px; margin: 0 20px 20px 0; text-align: center;">
29
- <%= link_to_remote image_tag(File.join('/images/content', @pg.path, File.basename(gallery), 'management', 'preview.jpg')),
29
+ <%= link_to_remote image_tag(File.join('/assets/content', @pg.path, File.basename(gallery), 'management', 'preview.jpg')),
30
30
  :url => { :action => 'select_gallery', :id => @pg, :gallery_id => File.basename(gallery) },
31
31
  :update => 'select_gallery_container' %><br/>
32
32
  <strong><%= File.basename(gallery).titleize %></strong><br/>
@@ -1,3 +1,3 @@
1
1
  module ImagineCms
2
- VERSION = "3.0.9"
2
+ VERSION = "3.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imagine_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.9
4
+ version: 3.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -204,6 +204,7 @@ files:
204
204
  - app/assets/images/management/bullet.gif
205
205
  - app/assets/images/management/cvv2_graphic.gif
206
206
  - app/assets/images/management/error.gif
207
+ - app/assets/images/management/gallery_delete.gif
207
208
  - app/assets/images/management/gallery_index.gif
208
209
  - app/assets/images/management/gallery_preview_overlay.png
209
210
  - app/assets/images/management/gallery_small_drag_overlay.png