spree_banner 0.70.3 → 0.70.4

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.
@@ -0,0 +1,30 @@
1
+ ---
2
+ it:
3
+ activerecord:
4
+ attributes:
5
+ banner:
6
+ category: Category
7
+ enabled: Enable?
8
+ url: Link to product or taxonomy or to external website
9
+ attachment_width: Width
10
+ attachment_height: Height
11
+ attachment: Image
12
+ position: Position (if there are other banners with the same category)
13
+ models:
14
+ banner:
15
+ one: Banner
16
+ many: Banners
17
+
18
+ banner:
19
+ one: Banner
20
+ many: Banners
21
+ enable: Enable?
22
+ category: Category
23
+ no_image: No Image Yet
24
+ image:
25
+ one: Image
26
+ many: Images
27
+ banner_desc: Manage banner.
28
+ new_page: New banner
29
+ editing_page: Edit banner
30
+ confirm_delete: Are you sure?
@@ -0,0 +1,30 @@
1
+ ---
2
+ it:
3
+ activerecord:
4
+ attributes:
5
+ banner:
6
+ category: Categoria
7
+ enabled: Attivo?
8
+ url: Link a prodotto o tassonomia o a sito esterno
9
+ attachment_width: Larghezza
10
+ attachment_height: Altezza
11
+ attachment: Immagine
12
+ position: Posizione (se esistono altri banner con la stessa categoria)
13
+ models:
14
+ banner:
15
+ one: Banner
16
+ many: Banners
17
+
18
+ banner:
19
+ one: Banner
20
+ many: Banners
21
+ enable: Attivo?
22
+ category: Categoria
23
+ no_image: Nessuna immagine caricata
24
+ image:
25
+ one: Immagine
26
+ many: Immagini
27
+ banner_desc: Gestione banner.
28
+ new_page: Nuovo banner
29
+ editing_page: Modifica banner
30
+ confirm_delete: Sei sicuro?
data/config/routes.rb ADDED
@@ -0,0 +1,7 @@
1
+ Rails.application.routes.draw do
2
+
3
+ namespace :admin do
4
+ resources :banners
5
+ end
6
+
7
+ end
@@ -0,0 +1,18 @@
1
+ class CreateBanners < ActiveRecord::Migration
2
+ def change
3
+ create_table :banners do |t|
4
+ t.string :title, :url
5
+ t.string :category
6
+ t.integer :position
7
+ t.boolean :enabled
8
+
9
+ t.string :attachment_content_type, :attachment_file_name, :attachment_content_type
10
+ t.datetime :attachment_updated_at
11
+ t.integer :attachment_width, :attachment_height, :default => 100
12
+ t.integer :attachment_size, :position
13
+ t.string :type, :limit => 75
14
+
15
+ t.timestamps
16
+ end
17
+ end
18
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_banner
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
@@ -115,6 +115,10 @@ files:
115
115
  - app/views/admin/banners/edit.html.erb
116
116
  - app/views/admin/banners/index.html.erb
117
117
  - app/views/admin/banners/new.html.erb
118
+ - db/migrate/20120116204313_create_banners.rb
119
+ - config/locales/en.yml
120
+ - config/locales/it.yml
121
+ - config/routes.rb
118
122
  homepage:
119
123
  licenses: []
120
124