ish_manager 0.1.8.473 → 0.1.8.475
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/ish_manager/application.js +6 -2
- data/app/controllers/ish_manager/email_conversations_controller.rb +2 -1
- data/app/views/ish_manager/application/_main_header_admin.haml +5 -5
- data/app/views/ish_manager/email_conversations/index.haml +9 -7
- data/app/views/ish_manager/email_filters/index.haml +19 -15
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0745f9f4eb8cc5c261f4b68f5048a83dd168225157da0d302112a8368d8fc47
|
4
|
+
data.tar.gz: 6382edc9a7074c39ea8be58196a21514332dc1d7b9d95b25cecd449ba95d6bea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ea6e1c87c80facfc4b8eaebe97f068ee529568f3256211175e27cab0ddb14f838d4741ba7dae33ec1608e1ccf9e145e3a6a78f657e50d881e29257d9cd83e44
|
7
|
+
data.tar.gz: 27aa93073a85328e1bd0e6f5e290a1033dbdc25c22736d8726515c3b5c4aca4336d92297d71d45aa9d02ff1467ae7af6551bf61e3f028fe6de5624f6938cbbb6
|
@@ -127,8 +127,12 @@ $(function () {
|
|
127
127
|
lengthMenu: [[10, 25, 100, -1], [10, 25, 100, 'All']],
|
128
128
|
lengthChange: true,
|
129
129
|
}
|
130
|
-
$('#dataTable').DataTable(_props)
|
131
|
-
$('.data-table').DataTable(_props)
|
130
|
+
// $('#dataTable').DataTable(_props)
|
131
|
+
var dataTable = $('.data-table').DataTable(_props)
|
132
|
+
|
133
|
+
$('#dataTableSearch').on( 'keyup', function () {
|
134
|
+
dataTable.search( this.value ).draw();
|
135
|
+
} );
|
132
136
|
}
|
133
137
|
|
134
138
|
if ('function' === typeof $('body').datepicker) {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
class ::IshManager::EmailConversationsController < IshManager::ApplicationController
|
3
3
|
|
4
|
-
before_action :set_lists
|
4
|
+
before_action :set_lists, except: [ :index ]
|
5
5
|
|
6
6
|
def index
|
7
7
|
authorize! :email_conversations_index, IshManager::Ability
|
@@ -23,6 +23,7 @@ class ::IshManager::EmailConversationsController < IshManager::ApplicationContro
|
|
23
23
|
end
|
24
24
|
|
25
25
|
@email_conversations = @email_conversations.order_by( latest_at: :desc
|
26
|
+
).includes( :email_messages # , :lead_ties
|
26
27
|
).page( params[:conv_page]
|
27
28
|
).per( per_page )
|
28
29
|
end
|
@@ -12,7 +12,7 @@
|
|
12
12
|
.a
|
13
13
|
%ul
|
14
14
|
%li
|
15
|
-
= render 'ish_manager/galleries/menu', count: Gallery.all.
|
15
|
+
= render 'ish_manager/galleries/menu', count: Gallery.all.length
|
16
16
|
%li
|
17
17
|
= link_to 'Reports', reports_path
|
18
18
|
.inline-search
|
@@ -58,7 +58,7 @@
|
|
58
58
|
= link_to "#{WpTag::INBOX} (#{Office::EmailConversation.in_emailtag(WpTag::INBOX).length})", email_conversations_in_path(WpTag::INBOX), class: 'chip'
|
59
59
|
= link_to '[+]', new_email_context_path
|
60
60
|
%li
|
61
|
-
= link_to "Tmpls (#{Ish::EmailTemplate.all.
|
61
|
+
= link_to "Tmpls (#{Ish::EmailTemplate.all.length})", email_templates_path
|
62
62
|
= link_to '[+]', new_email_template_path
|
63
63
|
%li
|
64
64
|
= link_to "Companies (#{Leadset.kept.length})", leadsets_path
|
@@ -67,7 +67,7 @@
|
|
67
67
|
= text_field_tag :q
|
68
68
|
= link_to '[+]', new_leadset_path
|
69
69
|
%li
|
70
|
-
= link_to "EActions (#{Office::EmailAction.
|
70
|
+
= link_to "EActions (#{Office::EmailAction.all.length})", email_actions_path
|
71
71
|
= link_to '[+]', new_email_action_path
|
72
72
|
%ul
|
73
73
|
%li
|
@@ -97,10 +97,10 @@
|
|
97
97
|
= link_to 'Lead Action Templatess', lead_action_templates_path
|
98
98
|
-# = link_to '[+]', new_lead_action_template_path
|
99
99
|
%li
|
100
|
-
= link_to "Campaigns (#{Ish::EmailCampaign.
|
100
|
+
= link_to "Campaigns (#{Ish::EmailCampaign.all.length})", email_campaigns_path
|
101
101
|
= link_to '[+]', new_email_campaign_path
|
102
102
|
%li
|
103
|
-
= link_to "OActions (#{Office::Action.
|
103
|
+
= link_to "OActions (#{Office::Action.all.length})", office_actions_path
|
104
104
|
= link_to '[+]', new_office_action_path
|
105
105
|
|
106
106
|
%ul
|
@@ -34,14 +34,14 @@
|
|
34
34
|
%br
|
35
35
|
= render 'paginate', resource: @email_conversations, param_name: :conv_page, views_prefix: :ish_manager
|
36
36
|
|
37
|
-
%table.conversations
|
37
|
+
%table.conversations.bordered
|
38
38
|
%tr
|
39
39
|
%th
|
40
40
|
.chip.select-all
|
41
41
|
= check_box_tag :select_all
|
42
42
|
.n-selected -
|
43
43
|
%th Msgs
|
44
|
-
%th
|
44
|
+
%th From emails
|
45
45
|
%th Subject
|
46
46
|
%th Datetime
|
47
47
|
%th Tags
|
@@ -51,10 +51,11 @@
|
|
51
51
|
.item
|
52
52
|
%td= check_box_tag 'email_conversation_ids[]', conv.id.to_s, nil, { class: 'i-sel' }
|
53
53
|
%td.count
|
54
|
-
(#{conv.email_messages.
|
54
|
+
(#{conv.email_messages.length})
|
55
55
|
|
56
56
|
%td.leads
|
57
|
-
|
57
|
+
-# <leads>
|
58
|
+
= conv.from_emails.join(", ")
|
58
59
|
|
59
60
|
%td.subject
|
60
61
|
= link_to conv.subject, email_conversation_path( conv )
|
@@ -65,9 +66,10 @@
|
|
65
66
|
|
66
67
|
%td
|
67
68
|
.tags
|
68
|
-
|
69
|
-
|
70
|
-
|
69
|
+
<tags>
|
70
|
+
-# - conv.tags.each do |tag|
|
71
|
+
-# .chip
|
72
|
+
-# = tag.name
|
71
73
|
|
72
74
|
%br
|
73
75
|
= render 'paginate', resource: @email_conversations, param_name: :conv_page, views_prefix: :ish_manager
|
@@ -5,19 +5,21 @@
|
|
5
5
|
Email Filters (#{@email_filters.length})
|
6
6
|
= link_to '[+]', new_email_filter_path
|
7
7
|
|
8
|
-
%
|
9
|
-
|
10
|
-
|
11
|
-
%
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
8
|
+
-# %input#dataTableSearch
|
9
|
+
%table.bordered.data-table
|
10
|
+
%thead
|
11
|
+
%tr
|
12
|
+
%th
|
13
|
+
%th
|
14
|
+
%th From Regex
|
15
|
+
%th From Exact
|
16
|
+
%th Subject Regex
|
17
|
+
%th Subject Exact
|
18
|
+
%th Body Exact
|
19
|
+
%th Kind
|
20
|
+
%th Email Action
|
21
|
+
%th Email Template
|
22
|
+
%th Email Tag
|
21
23
|
- @email_filters.each do |ef|
|
22
24
|
|
23
25
|
%tr
|
@@ -25,8 +27,10 @@
|
|
25
27
|
%td
|
26
28
|
= link_to '[~]', edit_email_filter_path(ef)
|
27
29
|
.inline-block= button_to '[x]', email_filter_path(ef), method: :delete, data: { confirm: 'Are you sure?' }
|
28
|
-
%td
|
29
|
-
|
30
|
+
%td
|
31
|
+
`#{ef.from_regex}`
|
32
|
+
%td
|
33
|
+
`#{ef.from_exact}`
|
30
34
|
%td= ef.subject_regex
|
31
35
|
%td= ef.subject_exact
|
32
36
|
%td= ef.body_exact
|