wco_email 0.1.1.49 → 0.1.1.50
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: a8b3bc2eba0acec70837677886c89711208050bb409cb1a10124dcaaf9582d9a
|
4
|
+
data.tar.gz: ca74500d7835c3eb35548f83f3b503ba70075c0ab9050a89925188589c4d6c4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04061ac88baa77afa3d4f5456830e25608de8df6e4fb4073edd34a6c9f2dcb8d4f6eb323b9648c287e21879b1d0823607d74a9833933035238471996b65467d9
|
7
|
+
data.tar.gz: 3681168ce29b4263bb44ccf824877fa017eef329752e7405b302428fbe2e6f6978a918d03a67e1367f60b9c4b7b15ea23d6d0a896b84fc5ac80860d426ea9a40
|
@@ -48,6 +48,10 @@ class WcoEmail::ConversationsController < WcoEmail::ApplicationController
|
|
48
48
|
@conversations = @conversations.where({ from_emails: /.*#{params[:from_email]}.*/i })
|
49
49
|
end
|
50
50
|
|
51
|
+
if params[:lead_id].present?
|
52
|
+
@conversations = @conversations.where( lead_ids: params[:lead_id] )
|
53
|
+
end
|
54
|
+
|
51
55
|
@conversations = @conversations.order_by( latest_at: :desc
|
52
56
|
).includes( :leads, :messages
|
53
57
|
).page( params[:conv_page]
|
@@ -20,7 +20,7 @@
|
|
20
20
|
= javascript_include_tag "//cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/js/bootstrap.min.js"
|
21
21
|
|
22
22
|
= stylesheet_link_tag "//cdn.jsdelivr.net/npm/select2@4.0.0/dist/css/select2.min.css"
|
23
|
-
= javascript_include_tag "//cdn.jsdelivr.net/npm/select2@4.0.0/dist/js/select2.min.js"
|
23
|
+
= javascript_include_tag "//cdn.jsdelivr.net/npm/select2@4.0.0/dist/js/select2.min.js", defer: 'defer'
|
24
24
|
|
25
25
|
= stylesheet_link_tag "//cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote.min.css"
|
26
26
|
= javascript_include_tag "//cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote.min.js"
|
@@ -8,6 +8,10 @@
|
|
8
8
|
<b>(#{@conversation.messages.length})</b>
|
9
9
|
= link_to '[~]', edit_conversation_path(@conversation)
|
10
10
|
%span.gray.mini= @conversation.id
|
11
|
+
.leads
|
12
|
+
.d-inline <b>Leads:</b>
|
13
|
+
- @conversation.leads.each do |lead|
|
14
|
+
.Chip= link_to lead.email, wco.lead_path( lead )
|
11
15
|
|
12
16
|
|
13
17
|
- if @other_convs.present?
|
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.50
|
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-02-
|
11
|
+
date: 2024-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-s3
|