wco_models 3.1.0.107 → 3.1.0.108
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: 8706a7b05378bf7a694edf8416487aa9a7920fbb5ed36b7778c04c92b724c02e
|
4
|
+
data.tar.gz: ffe882298978ee235e32685f1af787441600f9080f82de19dc5e1df13848da67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de578ad03d83e137aad9c554453046707ce8cf7af713adbbc5dbb3e7dfa0e1fc830032bbc9e7d4c39e56a90cfd42637845f302adebe3f0fa28da87c8bcd394b8
|
7
|
+
data.tar.gz: 34aecef5762a97c603d6321bca2bf75c8cf4b4416032a24dbf815288a151ff51556b08cb33620e88c4a9ffd66bd9f35f585b91258af5702f518690d4925cd8bb
|
@@ -9,9 +9,7 @@
|
|
9
9
|
font-weight: bold;
|
10
10
|
}
|
11
11
|
|
12
|
-
|
13
|
-
min-width: 200px;
|
14
|
-
}
|
12
|
+
|
15
13
|
|
16
14
|
.main-footer {
|
17
15
|
border-top: 2px solid #6395b9;
|
@@ -28,3 +26,11 @@
|
|
28
26
|
}
|
29
27
|
}
|
30
28
|
}
|
29
|
+
|
30
|
+
.select2 {
|
31
|
+
min-width: 200px;
|
32
|
+
}
|
33
|
+
|
34
|
+
td.tags {
|
35
|
+
min-width: 200px;
|
36
|
+
}
|
@@ -68,10 +68,7 @@
|
|
68
68
|
|
69
69
|
|
70
70
|
.row
|
71
|
-
.col-md-12.
|
71
|
+
.col-md-12.conversations
|
72
72
|
%h5 Email Conversations (#{@lead.convs.length})
|
73
|
-
|
74
|
-
- @lead.convs.each do |conv|
|
75
|
-
%li
|
76
|
-
= link_to conv.subject, wco_email.conversation_path( conv )
|
73
|
+
= render 'wco_email/conversations/table', convs: @lead.convs
|
77
74
|
|
@@ -0,0 +1,37 @@
|
|
1
|
+
|
2
|
+
.conversations--table
|
3
|
+
%table.bordered.data-table
|
4
|
+
%thead
|
5
|
+
%th.select-all.nosort
|
6
|
+
.a
|
7
|
+
= check_box_tag :select_all
|
8
|
+
.n-selected -
|
9
|
+
%th.leads leads
|
10
|
+
%th.subject subject, preview
|
11
|
+
%th.tags Tags
|
12
|
+
%th.latest-at latest_at
|
13
|
+
- convs.each_with_index do |conv, idx|
|
14
|
+
%tr
|
15
|
+
%td.select-all
|
16
|
+
.gray= idx+1
|
17
|
+
= check_box_tag 'conversation_ids[]', conv.id.to_s, nil, { class: 'i-sel' }
|
18
|
+
%td.leads.mini
|
19
|
+
-# - conv.from_emails.each do |from|
|
20
|
+
-# = link_to from, wco.lead_path( from )
|
21
|
+
-# %hr
|
22
|
+
- conv.leads.each do |lead|
|
23
|
+
= link_to lead.email, wco.lead_path( lead )
|
24
|
+
%td.subject
|
25
|
+
- if conv.unread?
|
26
|
+
<b>#{link_to conv.subject, wco_email.conversation_path(conv)}</b>
|
27
|
+
- else
|
28
|
+
= link_to conv.subject, wco_email.conversation_path(conv)
|
29
|
+
<b>(#{conv.messages.length})</b>
|
30
|
+
%span.gray= conv.preview
|
31
|
+
%td.tags.mini
|
32
|
+
- conv.tags.each do |tag|
|
33
|
+
.mb-1
|
34
|
+
.Chip= tag.slug
|
35
|
+
%td.latest-at
|
36
|
+
= pp_date conv.latest_at
|
37
|
+
= pp_time conv.latest_at
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wco_models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.0.
|
4
|
+
version: 3.1.0.108
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Pudeyev
|
@@ -594,6 +594,7 @@ files:
|
|
594
594
|
- app/views/wco_email/application_mailer/_footer_unsubscribe.html.erb
|
595
595
|
- app/views/wco_email/application_mailer/_header_logo.html.erb
|
596
596
|
- app/views/wco_email/application_mailer/forwarder_notify.html.erb
|
597
|
+
- app/views/wco_email/conversations/_table.haml
|
597
598
|
- app/views/wco_email/email_layouts/_m20221201react.html.erb
|
598
599
|
- app/views/wco_email/email_layouts/_m20221222merryxmas.html.erb
|
599
600
|
- app/views/wco_email/email_layouts/_m202309_feedback.html.erb
|