ish_manager 0.1.8.486 → 0.1.8.487
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: 33e51b9b4ac4f6e3ec605e6668b6b2688a840a7bca1672ae916a127e8392415d
|
4
|
+
data.tar.gz: 01e58fe707cc02dc8addb155cd08390653a09b159c5ca035adef3ed238e430f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3244e5262927a77611abe82f489a93e9f3179e5fe1ac4d93b65d944530f4785206de0a61e0d0214345905a34f767a9919bfec9b391411bed67ecc74b309d2713
|
7
|
+
data.tar.gz: 6701257ddbf4376754f7a33fc26a6f32663c684475e85e234a8acdd9861d7a4da6e9df7398e04c041b1bcf7445fbce6f84e6cbe6b19ab36dabad7390fc958f82
|
@@ -4,6 +4,9 @@ class ::IshManager::UnsubscribesController < IshManager::ApplicationController
|
|
4
4
|
def index
|
5
5
|
authorize! :index, Ish::EmailUnsubscribe
|
6
6
|
@unsubscribes = Ish::EmailUnsubscribe.all
|
7
|
+
lead_ids = @unsubscribes.map(&:lead_id).compact
|
8
|
+
@leads_h = Lead.find_to_h( lead_ids )
|
9
|
+
puts! @leads_h, 'ddz'
|
7
10
|
end
|
8
11
|
|
9
12
|
end
|
@@ -1,17 +1,19 @@
|
|
1
1
|
|
2
2
|
.unsubscribes-index.maxwidth
|
3
|
+
%h5 Unsubscribes
|
3
4
|
|
4
5
|
%table.bordered.data-table
|
5
6
|
%thead
|
6
7
|
%tr
|
7
|
-
%td
|
8
|
+
%td Lead
|
8
9
|
%td Date
|
9
10
|
%td campaign_id
|
10
11
|
%td template_id
|
11
12
|
|
13
|
+
|
12
14
|
- @unsubscribes.each do |i|
|
13
15
|
%tr
|
14
|
-
%td= i.
|
16
|
+
%td= @leads_h[i.lead_id]
|
15
17
|
%td= i.unsubscribed_at
|
16
18
|
%td= i.campaign
|
17
19
|
%td= i.template
|