ecm_contact2 4.0.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/ecm/contact/contact_requests/_contact_request.erb +1 -1
- data/config/locales/{ecm.contact.de.yml → de.yml} +15 -2
- data/config/locales/{ecm.contact.en.yml → en.yml} +15 -2
- data/config/routes.rb +2 -1
- data/lib/ecm/contact/version.rb +1 -1
- metadata +5 -8
- data/config/locales/ecm.contact.request.de.yml +0 -13
- data/config/locales/ecm.contact.request.en.yml +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c6af65ee06f56771bfc3dd58bfa04bb7eae5375
|
4
|
+
data.tar.gz: 9a4f2401c953c1f73e163024df817a0a7f8330a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f1b4f78df08e6651ba0346d9e55320faa989a6be88655255f66d93386ac8265642dd1629efe6224a49debe12c2357dbaf2793aaadf34c275529c1253a45837b
|
7
|
+
data.tar.gz: 0c02bfca663191fec62c1b66a0b15f7d47792c1e25179e51f398d7a35f5e5c741cdc241889b01cdc670af6a8e93004fe87923cb62e6d5755c17ce8e93b5809f6
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<h4 style="text-decoration:underline"><%= message.subject %></h4>
|
2
2
|
|
3
|
-
<% @resource.
|
3
|
+
<% @resource.mail_attributes.each do |attribute, value|
|
4
4
|
next if value.blank? %>
|
5
5
|
|
6
6
|
<p><b><%= @resource.class.human_attribute_name(attribute) %>:</b>
|
@@ -17,7 +17,8 @@ de:
|
|
17
17
|
actions:
|
18
18
|
back: 'Zurück'
|
19
19
|
routes:
|
20
|
-
|
20
|
+
ecm_contact_engine: kontakt
|
21
|
+
# ecm_contact: kontakt
|
21
22
|
contact_requests: anfrage
|
22
23
|
simple_form:
|
23
24
|
"yes": 'Ja'
|
@@ -30,4 +31,16 @@ de:
|
|
30
31
|
name: "Max Mustermann"
|
31
32
|
email: "max.mustermann@example.com"
|
32
33
|
message: "Hi Dave..."
|
33
|
-
phone: "+49 69 12345678"
|
34
|
+
phone: "+49 69 12345678"
|
35
|
+
mail_form:
|
36
|
+
models:
|
37
|
+
ecm/contact/contact_request: Kontaktanfrage
|
38
|
+
attributes:
|
39
|
+
ecm/contact/contact_request:
|
40
|
+
email: E-Mail
|
41
|
+
name: Name
|
42
|
+
message: Nachricht
|
43
|
+
phone: Telefon
|
44
|
+
terms_of_service: Hiermit erlaube ich dem Seitenbetreiber die Nutzung meiner Daten zwecks Beantwortung dieser Kontaktanfrage.
|
45
|
+
contact_request:
|
46
|
+
title: "Kontaktanfrage"
|
@@ -17,7 +17,8 @@ en:
|
|
17
17
|
actions:
|
18
18
|
back: 'Back'
|
19
19
|
routes:
|
20
|
-
|
20
|
+
ecm_contact_engine: contact
|
21
|
+
# ecm_contact: contact
|
21
22
|
contact_requests: request
|
22
23
|
simple_form:
|
23
24
|
"yes": 'Yes'
|
@@ -30,4 +31,16 @@ en:
|
|
30
31
|
name: "John Doe"
|
31
32
|
email: "john.doe@example.com"
|
32
33
|
message: "Hi Dave..."
|
33
|
-
phone: "+1-541-754-3010"
|
34
|
+
phone: "+1-541-754-3010"
|
35
|
+
mail_form:
|
36
|
+
models:
|
37
|
+
ecm/contact/contact_request: contact request
|
38
|
+
attributes:
|
39
|
+
ecm/contact/contact_request:
|
40
|
+
email: email
|
41
|
+
name: name
|
42
|
+
message: message
|
43
|
+
phone: phone
|
44
|
+
terms_of_service: I hereby allow the site owner to use my personal data for the purpose of answering this request.
|
45
|
+
contact_request:
|
46
|
+
title: contact request
|
data/config/routes.rb
CHANGED
data/lib/ecm/contact/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_contact2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -267,10 +267,8 @@ files:
|
|
267
267
|
- app/views/ecm/contact/contact_requests/index.html.erb
|
268
268
|
- app/views/mail_form/contact.erb
|
269
269
|
- config/initializers/assets.rb
|
270
|
-
- config/locales/
|
271
|
-
- config/locales/
|
272
|
-
- config/locales/ecm.contact.request.de.yml
|
273
|
-
- config/locales/ecm.contact.request.en.yml
|
270
|
+
- config/locales/de.yml
|
271
|
+
- config/locales/en.yml
|
274
272
|
- config/routes.rb
|
275
273
|
- lib/ecm/contact/configuration.rb
|
276
274
|
- lib/ecm/contact/engine.rb
|
@@ -300,9 +298,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
300
298
|
version: '0'
|
301
299
|
requirements: []
|
302
300
|
rubyforge_project:
|
303
|
-
rubygems_version: 2.
|
301
|
+
rubygems_version: 2.6.11
|
304
302
|
signing_key:
|
305
303
|
specification_version: 4
|
306
304
|
summary: Basic contact form.
|
307
305
|
test_files: []
|
308
|
-
has_rdoc:
|
@@ -1,13 +0,0 @@
|
|
1
|
-
de:
|
2
|
-
mail_form:
|
3
|
-
models:
|
4
|
-
ecm/contact/contact_request: Kontaktanfrage
|
5
|
-
attributes:
|
6
|
-
ecm/contact/contact_request:
|
7
|
-
email: E-Mail
|
8
|
-
name: Name
|
9
|
-
message: Nachricht
|
10
|
-
phone: Telefon
|
11
|
-
terms_of_service: Hiermit erlaube ich dem Seitenbetreiber die Nutzung meiner Daten zwecks Beantwortung dieser Kontaktanfrage.
|
12
|
-
contact_request:
|
13
|
-
title: "Kontaktanfrage"
|
@@ -1,13 +0,0 @@
|
|
1
|
-
en:
|
2
|
-
mail_form:
|
3
|
-
models:
|
4
|
-
ecm/contact/contact_request: contact request
|
5
|
-
attributes:
|
6
|
-
ecm/contact/contact_request:
|
7
|
-
email: email
|
8
|
-
name: name
|
9
|
-
message: message
|
10
|
-
phone: phone
|
11
|
-
terms_of_service: I hereby allow the site owner to use my personal data for the purpose of answering this request.
|
12
|
-
contact_request:
|
13
|
-
title: contact request
|