wco_email 0.1.1.69 → 0.1.1.71
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: d19500786f1ed1265575707c15d0692ef028bce2787bb319bd79fb9fa565843c
|
4
|
+
data.tar.gz: 7db5eb86566d1bfc24a191a6d5f95779be918789e83fb137270d98bb39f4f523
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34f610f692aa355f5bb27b1f78078b674a7aa462fc10103d25b2267dbfe14b95da8ed1a3879375f42e38c443b9ca2e3fbdc4f67d14c8b89ce8966bcba350d296
|
7
|
+
data.tar.gz: 0c29c54a11eb251087e12571e127a7569f6ded7fef5b9e406ca7d269c19a8be0555aafc6dcaf3b99db162d62286248e6c0f29cff4be1e9fd7b2f0b9159c9063f
|
@@ -47,10 +47,11 @@ class WcoEmail::ContextsController < WcoEmail::ApplicationController
|
|
47
47
|
def index
|
48
48
|
authorize! :index, WcoEmail::Context
|
49
49
|
@ctxs = WcoEmail::Context.where(
|
50
|
-
:send_at.ne => nil,
|
51
|
-
|
52
|
-
|
53
|
-
|
50
|
+
:send_at.ne => nil,
|
51
|
+
sent_at: nil,
|
52
|
+
).order_by( sent_at: :desc, send_at: :desc
|
53
|
+
).page( params[:ctxs_page]
|
54
|
+
).per( current_profile.per_page )
|
54
55
|
|
55
56
|
if params[:lead_id]
|
56
57
|
@lead = Lead.find params[:lead_id]
|
@@ -6,17 +6,17 @@
|
|
6
6
|
|
7
7
|
.flex-row
|
8
8
|
.flex-row
|
9
|
-
%label
|
9
|
+
%label From
|
10
10
|
= f.select :from_email, options_for_select( WcoEmail::EmailTemplate.from_emails_list, selected: ctx.from_email ), {}, class: 'select2'
|
11
|
-
%label
|
11
|
+
%label To
|
12
12
|
= f.select :lead, options_for_select( @leads_list, selected: lead_id ), {}, class: 'select2', required: true
|
13
13
|
.flex-row
|
14
|
-
%label
|
14
|
+
%label Template
|
15
15
|
= f.select :email_template_id, options_for_select( @email_templates_list, selected: ctx.email_template_id ), {}, class: 'select2', required: true
|
16
16
|
= link_to '[+]', new_email_template_path, target: :_blank
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
.flex-row
|
18
|
+
%label Subject
|
19
|
+
= f.text_field :subject, class: 'w-100' # , disabled: true
|
20
20
|
.field
|
21
21
|
= f.text_area :body, class: 'tinymce'
|
22
22
|
.flex-row
|
@@ -11,8 +11,7 @@
|
|
11
11
|
= link_to '[~]', edit_conversation_path(@conversation)
|
12
12
|
%span.gray.mini= @conversation.id
|
13
13
|
|
14
|
-
= render 'wco/tags/
|
15
|
-
|
14
|
+
= render '/wco/tags/index_chips', tags: @conversation.tags
|
16
15
|
|
17
16
|
= render '/wco_email/conversations/actions'
|
18
17
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wco_email
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.1.
|
4
|
+
version: 0.1.1.71
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Pudeyev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-s3
|