spree_multi_slideshow 0.70.3 → 0.70.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,45 @@
1
+ ---
2
+ it:
3
+ activerecord:
4
+ attributes:
5
+ slideshow_type:
6
+ category: Category
7
+ enabled: Enable?
8
+ slide_width: Width
9
+ slide_height: Height
10
+ slide_number: Slide Number
11
+ enable_navigation: Next and Prev enable?
12
+ slide:
13
+ title: Title
14
+ url: Link to product or taxonomy or to external website
15
+ image: Image
16
+ models:
17
+ slideshow_type:
18
+ one: Slideshow
19
+ many: Slideshows
20
+ slide:
21
+ one: Slide
22
+ many: Slides
23
+
24
+ slideshow_type:
25
+ one: Slideshow
26
+ many: Slideshows
27
+ enable: Enable?
28
+ category: Category
29
+ slide_number: Slide Number
30
+ detail: Detail
31
+ sidebar: Manage slideshow and slide.
32
+ new_page: New page
33
+ slide:
34
+ one: Slide
35
+ many: Slides
36
+ new_page: New Slide
37
+ image:
38
+ one: Image
39
+ many: Images
40
+ thumbnail: Thumbnail
41
+ title: Title
42
+ url: Link to product or taxonomy or to external website
43
+ editing_page: Editing slide
44
+ editing_page: Editing slideshow
45
+ confirm_delete: Are you sure ?
@@ -0,0 +1,45 @@
1
+ ---
2
+ it:
3
+ activerecord:
4
+ attributes:
5
+ slideshow_type:
6
+ category: Categoria
7
+ enabled: Attivo?
8
+ slide_width: Larghezza
9
+ slide_height: Altezza
10
+ slide_number: Numero Slide
11
+ enable_navigation: Tasti navigazione attivi?
12
+ slide:
13
+ title: Titolo
14
+ url: Link a prodotto o tassonomia o a sito esterno
15
+ image: Immagine
16
+ models:
17
+ slideshow_type:
18
+ one: Slideshow
19
+ many: Slideshows
20
+ slide:
21
+ one: Slide
22
+ many: Slides
23
+
24
+ slideshow_type:
25
+ one: Slideshow
26
+ many: Slideshows
27
+ enable: Attivo?
28
+ category: Categoria
29
+ slide_number: Numero Slide
30
+ detail: Attributi
31
+ sidebar: Gestione slideshow e slide.
32
+ new_page: Nuovo slideshow
33
+ slide:
34
+ one: Slide
35
+ many: Slides
36
+ new_page: Nuova slide
37
+ image:
38
+ one: Immagine
39
+ many: Immagini
40
+ thumbnail: Miniatura
41
+ title: Titolo
42
+ url: Link a prodotto o tassonomia o a sito esterno
43
+ editing_page: Modifica slide
44
+ editing_page: Modifica slideshow
45
+ confirm_delete: Sei sicuro?
data/config/routes.rb ADDED
@@ -0,0 +1,13 @@
1
+ Rails.application.routes.draw do
2
+
3
+ namespace :admin do
4
+ resources :slideshow_types do
5
+ resources :slides do
6
+ collection do
7
+ post :update_positions
8
+ end
9
+ end
10
+ end
11
+ end
12
+
13
+ end
@@ -0,0 +1,14 @@
1
+ class CreateSlideshowTypes < ActiveRecord::Migration
2
+ def change
3
+ create_table :slideshow_types do |t|
4
+ t.string :category
5
+ t.boolean :enabled, :default => 0
6
+ t.integer :slide_height, :default => 400
7
+ t.integer :slide_width, :default => 900
8
+ t.integer :slide_number, :default => 4
9
+ t.boolean :enable_navigation, :default => 1
10
+
11
+ t.timestamps
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,16 @@
1
+ class CreateSlides < ActiveRecord::Migration
2
+ def change
3
+ create_table :slides do |t|
4
+ t.string :title, :url
5
+
6
+ t.string :image_content_type, :image_file_name, :image_content_type
7
+ t.datetime :image_updated_at
8
+ t.integer :image_size, :position
9
+ t.string :type, :limit => 75
10
+
11
+ t.references :slideshow_type
12
+
13
+ t.timestamps
14
+ end
15
+ end
16
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_multi_slideshow
3
3
  version: !ruby/object:Gem::Version
4
- hash: 257
4
+ hash: 271
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 70
9
- - 3
10
- version: 0.70.3
9
+ - 4
10
+ version: 0.70.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Damiano Giacomello
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-03-15 00:00:00 Z
18
+ date: 2012-03-22 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: spree_core
@@ -130,6 +130,11 @@ files:
130
130
  - app/views/admin/slideshow_types/edit.html.erb
131
131
  - app/views/admin/slideshow_types/index.html.erb
132
132
  - app/views/admin/slideshow_types/new.html.erb
133
+ - db/migrate/20120116081431_create_slideshow_types.rb
134
+ - db/migrate/20120116083546_create_slides.rb
135
+ - config/locales/en.yml
136
+ - config/locales/it.yml
137
+ - config/routes.rb
133
138
  homepage:
134
139
  licenses: []
135
140