refinerycms-page-images 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,9 @@
1
1
  <div class='wym_area_top'>
2
2
  <span class='clearfix label_inline_with_link'>
3
- <%= link_to 'Add Image',
4
- insert_admin_images_url(
5
- :dialog => true,
6
- :width => 950,
7
- :height => 510,
3
+ <%= link_to t('.add'), insert_admin_images_url({
4
+ :dialog => true, :width => 950, :height => 510,
8
5
  :callback => "image_added"
9
- ),
6
+ }),
10
7
  :id => "add_image_link" %>
11
8
  </span>
12
9
  </div>
@@ -0,0 +1,10 @@
1
+ en:
2
+ plugins:
3
+ page_images:
4
+ title: Page Images
5
+ description: Page Images allows you to relate one or more images to any page in Refinery which makes it really easy for you to create simple image galleries with lightbox style popups on the front end page views.
6
+ admin:
7
+ pages:
8
+ tabs:
9
+ images_bar:
10
+ add: Add Image
data/lib/gemspec.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- version = '1.0.2'
2
+ version = '1.0.3'
3
3
  raise "Could not get version so gemspec can not be built" if version.nil?
4
4
  files = (Dir.glob("*") | Dir.glob("**/*")).reject{|f| f =~ %r{.gem(spec)?$}}
5
5
 
@@ -1,4 +1,4 @@
1
- class RefinerycmsPageImages < Refinery::Generators::EngineInstaller
1
+ class RefinerycmsPageImages < ::Refinery::Generators::EngineInstaller
2
2
 
3
3
  source_root File.expand_path('../../../', __FILE__)
4
4
  engine_name "page_images"
@@ -42,7 +42,7 @@ module Refinery
42
42
  tab.partial = "/admin/pages/tabs/images"
43
43
  end
44
44
  ::Refinery::Plugin.register do |plugin|
45
- plugin.name = "refinerycms_page_images"
45
+ plugin.name = "page_images"
46
46
  plugin.hide_from_menu = true
47
47
  end
48
48
  end
data/readme.md CHANGED
@@ -17,7 +17,7 @@ Page Images allows you to relate one or more images to any page in Refinery whic
17
17
 
18
18
  Add this line to your applications `Gemfile`
19
19
 
20
- gem 'refinerycms-page-images', '~> 1.0.2'
20
+ gem 'refinerycms-page-images', '~> 1.0'
21
21
 
22
22
  Next run
23
23
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: refinerycms-page-images
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.2
5
+ version: 1.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Resolve Digital
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2011-02-06 00:00:00 +13:00
15
+ date: 2011-02-09 00:00:00 +13:00
16
16
  default_executable:
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
@@ -40,6 +40,7 @@ files:
40
40
  - app/views/admin/pages/tabs/_images.html.erb
41
41
  - app/views/admin/pages/tabs/_images_bar.html.erb
42
42
  - app/views/admin/pages/tabs/_images_field.html.erb
43
+ - config/locales/en.yml
43
44
  - db/migrate/20101014230041_create_page_images.rb
44
45
  - db/migrate/20101014230042_add_caption_to_image_pages.rb
45
46
  - features/attach_page_images.feature