effective_email_templates 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17dd64ddb43dcb20daa443b2488ce74486da11b12ff72b5e28d3738a0661181f
|
4
|
+
data.tar.gz: 93ae90c7f48035307247965ce3416d3af0e2e68cb6fb29e08cbe6cef77b66d94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc9fdd275aadf55698de9ff1fce5343d7c4e46e15f5a99c014e0d9e9db3c43500354c6269f80e2ebc45311b1547410c736c3f50d9ee3d625b203f93b6e8edab5
|
7
|
+
data.tar.gz: 4ebe2e9c655a827a65f0bc1859f6f7b01298638af32f0dceb2abf06408c8d769262672b239a83a88a6b5277e735cdf8a1077dfffe26382fb45edde582022f6c4
|
@@ -1,22 +1,19 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
order :subject, :asc
|
1
|
+
class EffectiveEmailTemplatesDatatable < Effective::Datatable
|
2
|
+
datatable do
|
3
|
+
order :subject, :asc
|
5
4
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
5
|
+
col :id, visible: false
|
6
|
+
col :slug
|
7
|
+
col :subject
|
8
|
+
col :from
|
9
|
+
col :cc, visible: false, label: 'CC'
|
10
|
+
col :bcc, visible: false, label: 'BCC'
|
11
|
+
col :body, visible: false
|
13
12
|
|
14
|
-
|
15
|
-
|
13
|
+
actions_col partial: '/admin/email_templates/actions', partial_as: 'email_template'
|
14
|
+
end
|
16
15
|
|
17
|
-
|
18
|
-
|
19
|
-
end
|
16
|
+
collection do
|
17
|
+
Effective::EmailTemplate.all
|
20
18
|
end
|
21
19
|
end
|
22
|
-
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_email_templates
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -103,7 +103,6 @@ files:
|
|
103
103
|
- app/helpers/effective_email_templates_helper.rb
|
104
104
|
- app/mailers/effective/email_template_mailer.rb
|
105
105
|
- app/models/effective/access_denied.rb
|
106
|
-
- app/models/effective/datatables/email_templates.rb
|
107
106
|
- app/models/effective/email_template.rb
|
108
107
|
- app/views/admin/email_templates/_actions.html.haml
|
109
108
|
- app/views/admin/email_templates/_form.html.haml
|
@@ -182,7 +181,7 @@ homepage: https://github.com/code-and-effect/effective_email_templates
|
|
182
181
|
licenses:
|
183
182
|
- MIT
|
184
183
|
metadata: {}
|
185
|
-
post_install_message:
|
184
|
+
post_install_message:
|
186
185
|
rdoc_options: []
|
187
186
|
require_paths:
|
188
187
|
- lib
|
@@ -197,8 +196,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
196
|
- !ruby/object:Gem::Version
|
198
197
|
version: '0'
|
199
198
|
requirements: []
|
200
|
-
rubygems_version: 3.
|
201
|
-
signing_key:
|
199
|
+
rubygems_version: 3.1.2
|
200
|
+
signing_key:
|
202
201
|
specification_version: 4
|
203
202
|
summary: Effective Email Templates provides an admin access to modify email templates
|
204
203
|
test_files:
|
@@ -1,24 +0,0 @@
|
|
1
|
-
if Gem::Version.new(EffectiveDatatables::VERSION) < Gem::Version.new('3.0')
|
2
|
-
module Effective
|
3
|
-
module Datatables
|
4
|
-
class EmailTemplates < Effective::Datatable
|
5
|
-
datatable do
|
6
|
-
default_order :subject, :asc
|
7
|
-
|
8
|
-
table_column :id, visible: false
|
9
|
-
table_column :slug
|
10
|
-
table_column :subject
|
11
|
-
table_column :from
|
12
|
-
table_column :cc, sortable: false, visible: false, label: 'CC'
|
13
|
-
table_column :bcc, sortable: false, visible: false, label: 'BCC'
|
14
|
-
table_column :body, sortable: false, visible: false
|
15
|
-
table_column :actions, sortable: false, partial: '/admin/email_templates/actions'
|
16
|
-
end
|
17
|
-
|
18
|
-
def collection
|
19
|
-
Effective::EmailTemplate.all
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|