spree_easy_contact 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,19 @@
1
+ en:
2
+ contacts: Contacts
3
+ contact_us: Contact us
4
+ name: Name
5
+ email: Email
6
+ sent: Sent
7
+ view: View
8
+ message: Message
9
+ order_number: Order number
10
+ optionnal: optional
11
+ name_and_mail: Name and mail
12
+ contact_details: Contact details
13
+ contact_list: Contacts list
14
+ send_message: Send message
15
+ message_sended: Message sended
16
+ topics: Contact Form Topic
17
+ topic: Topic
18
+ topics_description: "Setup topics for the contact form, choose wich email should be routed to"
19
+ new_topic: Add a topic
@@ -0,0 +1,19 @@
1
+ fr-FR:
2
+ contacts: Demandes de contact
3
+ contact_us: Contactez-nous
4
+ name: Nom
5
+ email: Email
6
+ sent: Envoyé le
7
+ view: Voir
8
+ message: Message
9
+ order_number: Numero de commande
10
+ name_and_mail: Nom et email
11
+ contact_details: Détail de la demande
12
+ contact_list: Liste des demandes
13
+ optionnal: optionnel
14
+ send_message: Envoyer le message
15
+ message_sended: Message envoyé
16
+ topics: Objet des demandes de contact
17
+ topic: Objet
18
+ topics_description: "Créez les objets de demandes de contact, choisissez l'adresse email qui doit lui correspondre"
19
+ new_topic: Ajouter un objet
data/config/routes.rb ADDED
@@ -0,0 +1,10 @@
1
+ Rails.application.routes.draw do
2
+ # Add your extension routes here
3
+
4
+ resources :contacts, :controller => 'contacts'
5
+
6
+ namespace :admin do
7
+ resources :contacts
8
+ resources :topics
9
+ end
10
+ end
@@ -0,0 +1,16 @@
1
+ class CreateContactTable < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :contacts do |t|
4
+ t.string :name
5
+ t.string :email
6
+ t.string :order_number
7
+ t.text :message
8
+ t.references :topic
9
+ t.timestamps
10
+ end
11
+ end
12
+
13
+ def self.down
14
+ drop_table :messages
15
+ end
16
+ end
@@ -0,0 +1,14 @@
1
+ class CreateTopicTable < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :topics do |t|
4
+ t.string :name
5
+ t.string :email
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+
11
+ def self.down
12
+ drop_table :topics
13
+ end
14
+ end
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_easy_contact
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mathias Standaert
@@ -79,6 +79,12 @@ files:
79
79
  - app/views/admin/topics/new.html.erb
80
80
  - app/views/contact_mailer/message_email.text.erb
81
81
  - app/views/contacts/new.html.erb
82
+ - public/images/admin/icons/view.png
83
+ - db/migrate/20110203113622_create_contact_table.rb
84
+ - db/migrate/20110207101837_create_topic_table.rb
85
+ - config/locales/en.yml
86
+ - config/locales/fr-FR.yml
87
+ - config/routes.rb
82
88
  has_rdoc: true
83
89
  homepage: https://github.com/organicweb/spree-easy-contact.git
84
90
  licenses: