spree_mini_contact 0.0.3 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,9 +2,9 @@ class ContactMailer < ActionMailer::Base
2
2
  helper "spree/base"
3
3
 
4
4
  def message_email(message)
5
- subject = "#{Spree::Config[:site_name]} - #{t('message_from')} #{message.email}"
5
+ subject = "#{Spree::Config[:site_name]} - #{t('message_from')} #{Spree::Config[:contact_form_to]}"
6
6
 
7
7
  @message = message
8
- mail(:to => message.email, :subject => subject, :bcc => Spree::Config[:contact_form_to])
8
+ mail(:to => message.email, :subject => subject, :reply_to => Spree::Config[:contact_form_to])
9
9
  end
10
10
  end
@@ -1,4 +1,4 @@
1
- Thank you for your enquiry. Our staff will get back to you shortly. Please see your submission below.
1
+ <%= t('contact_email_greeting') %>
2
2
 
3
3
  <%= t('name') %>: <%= @message.name %>
4
4
  <%= t('email') %>: <%= @message.email %>
@@ -7,5 +7,5 @@ Thank you for your enquiry. Our staff will get back to you shortly. Please see y
7
7
 
8
8
  <%= @message.message %>
9
9
 
10
- Regards,
10
+ <%= t('contact_email_footer') %>
11
11
  <%= Spree::Config[:site_name] %>
@@ -18,3 +18,5 @@ en:
18
18
  message_sent: Thank You - Your email has been sent!
19
19
  from: from
20
20
  message_from: Message from
21
+ contact_email_greeting: Thank you for your enquiry. Our staff will get back to you shortly. Please see your submission below.
22
+ contact_email_footer: Regards,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_mini_contact
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-11-05 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spree_core
16
- requirement: &15045120 !ruby/object:Gem::Requirement
16
+ requirement: &12660580 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 0.40.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *15045120
24
+ version_requirements: *12660580
25
25
  description: ! ' Basically the easiest way to implement a contact form.
26
26
 
27
27
  '