ish_manager 0.1.8.485 → 0.1.8.486
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/ish_manager/lead_action_templates_controller.rb +6 -0
- data/app/controllers/ish_manager/lead_actions_controller.rb +8 -0
- data/app/controllers/ish_manager/unsubscribes_controller.rb +10 -0
- data/app/views/ish_manager/application/_main_header_admin.haml +13 -9
- data/app/views/ish_manager/email_conversations/index.haml +0 -7
- data/app/views/ish_manager/email_templates/_header_logo.html.erb +12 -0
- data/app/views/ish_manager/email_templates/_m202309_feedback.html.erb +4 -6
- data/app/views/ish_manager/email_templates/_m202309_ror4.html.erb +1 -12
- data/app/views/ish_manager/lead_action_templates/_list.haml +12 -0
- data/app/views/ish_manager/lead_action_templates/index.haml +1 -4
- data/app/views/ish_manager/lead_action_templates/new.haml +5 -0
- data/app/views/ish_manager/lead_actions/_form.haml +19 -0
- data/app/views/ish_manager/lead_actions/edit.haml +5 -0
- data/app/views/ish_manager/lead_actions/index.haml +22 -5
- data/app/views/ish_manager/unsubscribes/index.haml +18 -0
- data/config/routes.rb +8 -0
- metadata +9 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0ca5931a85f58c3642b00d7126a3ba65e4e4c9217250a57f6b6f0920ed3773c0
|
|
4
|
+
data.tar.gz: b12427c8f458308a0c3cd361efdb837d493b5beb78644be4dd33349fb0d6cb9e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 967c920577927c108be297b04a7f89b7371e92fd2ee2817b53050ffd7fd14131324e5acbd175e75afa554182388bd5064cc2f144fcdafd9544a3251e96bbd5f5
|
|
7
|
+
data.tar.gz: d48517aca4830c477d03b3a825b8274b8eacd1a1f0adec2697fe83a76557b14bebf334a2a4dab225508d55e98e0522288dda1f418fa45c411db542629d371b7c
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
class IshManager::LeadActionTemplatesController < IshManager::ApplicationController
|
|
3
3
|
|
|
4
|
+
|
|
4
5
|
def create
|
|
5
6
|
authorize! :create, Office::LeadActionTemplate
|
|
6
7
|
@tmpl = ::Office::LeadActionTemplate.new params[:tmpl].permit!
|
|
@@ -23,5 +24,10 @@ class IshManager::LeadActionTemplatesController < IshManager::ApplicationControl
|
|
|
23
24
|
@new_lat = ::Office::LeadActionTemplate.new
|
|
24
25
|
end
|
|
25
26
|
|
|
27
|
+
def new
|
|
28
|
+
authorize! :new, Office::LeadActionTemplate
|
|
29
|
+
@tmpl = ::Office::LeadActionTemplate.new
|
|
30
|
+
end
|
|
31
|
+
|
|
26
32
|
end
|
|
27
33
|
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
|
|
2
2
|
class IshManager::LeadActionsController < IshManager::ApplicationController
|
|
3
3
|
|
|
4
|
+
def edit
|
|
5
|
+
@lead_action = Office::LeadAction.find params[:id]
|
|
6
|
+
@olats_list = OLAT.list
|
|
7
|
+
@leads_list = Lead.list
|
|
8
|
+
authorize! :edit, @lead_action
|
|
9
|
+
end
|
|
10
|
+
|
|
4
11
|
def index
|
|
5
12
|
authorize! :index, Office::LeadAction
|
|
13
|
+
@lead_action_templates = Office::LeadActionTemplate.all
|
|
6
14
|
@lead_actions = Office::LeadAction.all
|
|
7
15
|
end
|
|
8
16
|
|
|
@@ -92,23 +92,19 @@
|
|
|
92
92
|
|
|
93
93
|
%ul
|
|
94
94
|
%li
|
|
95
|
+
= link_to 'OLATs', lead_action_templates_path
|
|
96
|
+
= link_to '[+]', new_lead_action_template_path
|
|
95
97
|
= link_to 'Lead Actions', lead_actions_path
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
-# = link_to '[+]', new_lead_action_template_path
|
|
98
|
+
|
|
99
|
+
|
|
99
100
|
%li
|
|
100
101
|
= link_to "Campaigns (#{Ish::EmailCampaign.all.length})", email_campaigns_path
|
|
101
102
|
= link_to '[+]', new_email_campaign_path
|
|
102
103
|
%li
|
|
103
104
|
= link_to "OActions (#{Office::Action.all.length})", office_actions_path
|
|
104
105
|
= link_to '[+]', new_office_action_path
|
|
105
|
-
|
|
106
|
-
%ul
|
|
107
106
|
%li
|
|
108
|
-
= link_to '
|
|
109
|
-
%li
|
|
110
|
-
= link_to 'Subscriptions', subscriptions_path
|
|
111
|
-
= link_to '[+]', new_wco_subscription_path
|
|
107
|
+
= link_to 'Unsubs', unsubscribes_path
|
|
112
108
|
|
|
113
109
|
.c
|
|
114
110
|
|
|
@@ -122,6 +118,14 @@
|
|
|
122
118
|
= link_to 'Appliance\'s', appliances_path
|
|
123
119
|
%li
|
|
124
120
|
= link_to 'Serverhost\'s', serverhosts_path
|
|
121
|
+
%ul
|
|
122
|
+
%li
|
|
123
|
+
= link_to 'Products & Prices', products_path
|
|
124
|
+
%li
|
|
125
|
+
= link_to 'Subscriptions', subscriptions_path
|
|
126
|
+
= link_to '[+]', new_wco_subscription_path
|
|
127
|
+
|
|
128
|
+
|
|
125
129
|
.c
|
|
126
130
|
|
|
127
131
|
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
%th From emails
|
|
46
46
|
%th Subject
|
|
47
47
|
%th Datetime
|
|
48
|
-
%th Tags
|
|
49
48
|
|
|
50
49
|
- @email_conversations.each do |conv|
|
|
51
50
|
%tr{ class: [ conv.state ] }
|
|
@@ -66,12 +65,6 @@
|
|
|
66
65
|
.date= pp_date conv.latest_at
|
|
67
66
|
.time= pp_time conv.latest_at
|
|
68
67
|
|
|
69
|
-
%td
|
|
70
|
-
.tags
|
|
71
|
-
<tags>
|
|
72
|
-
-# - conv.tags.each do |tag|
|
|
73
|
-
-# .chip
|
|
74
|
-
-# = tag.name
|
|
75
68
|
|
|
76
69
|
%br
|
|
77
70
|
= render 'paginate', resource: @email_conversations, param_name: :conv_page, views_prefix: :ish_manager
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
<table cellpadding="0" cellspacing="0" width="100%">
|
|
3
|
+
<tr>
|
|
4
|
+
<td align="center">
|
|
5
|
+
<br />
|
|
6
|
+
<img
|
|
7
|
+
src="https://d15g8hc4183yn4.cloudfront.net/wp-content/uploads/2022/09/29185755/259x66-WasyaCo-Logo-YellowShadow.png"
|
|
8
|
+
alt="Wasya Co [logo]" />
|
|
9
|
+
</td>
|
|
10
|
+
</tr>
|
|
11
|
+
</table>
|
|
12
|
+
<br /><br />
|
|
@@ -45,11 +45,6 @@
|
|
|
45
45
|
text-decoration: underline;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
48
|
p {
|
|
54
49
|
margin: 10px 0;
|
|
55
50
|
padding: 0;
|
|
@@ -827,6 +822,9 @@
|
|
|
827
822
|
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class="templateContainer">
|
|
828
823
|
<tr>
|
|
829
824
|
<td valign="top" class="bodyContainer">
|
|
825
|
+
|
|
826
|
+
<%= render 'ish_manager/email_templates/header_logo' %>
|
|
827
|
+
|
|
830
828
|
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnTextBlock"
|
|
831
829
|
style="min-width:100%;">
|
|
832
830
|
<tbody class="mcnTextBlockOuter">
|
|
@@ -1096,7 +1094,7 @@
|
|
|
1096
1094
|
<td valign="top" class="mcnTextContent"
|
|
1097
1095
|
style="padding-top:0; padding-right:18px; padding-bottom:9px; padding-left:18px;">
|
|
1098
1096
|
|
|
1099
|
-
<p style="font-size:18px !important;">Thank you! Your response will help us improve the way we provide value to our customers
|
|
1097
|
+
<p style="font-size:18px !important;">Thank you! Your response will help us improve the way we provide value to our customers.</p>
|
|
1100
1098
|
|
|
1101
1099
|
</td>
|
|
1102
1100
|
</tr>
|
|
@@ -853,18 +853,7 @@
|
|
|
853
853
|
<td align="right" valign="top" class="mcnTextContent"
|
|
854
854
|
style="padding-top:0; padding-right:18px; padding-bottom:9px; padding-left:18px;">
|
|
855
855
|
|
|
856
|
-
|
|
857
|
-
<tr>
|
|
858
|
-
<td align="center">
|
|
859
|
-
<br />
|
|
860
|
-
<img
|
|
861
|
-
src="https://d15g8hc4183yn4.cloudfront.net/wp-content/uploads/2022/09/29185755/259x66-WasyaCo-Logo-YellowShadow.png"
|
|
862
|
-
alt="Wasya Co [logo]" />
|
|
863
|
-
</td>
|
|
864
|
-
</tr>
|
|
865
|
-
</table>
|
|
866
|
-
<br /><br />
|
|
867
|
-
|
|
856
|
+
<%= render 'ish_manager/email_templates/header_logo' %>
|
|
868
857
|
|
|
869
858
|
<!-- 2023-09-23 BEGIN -->
|
|
870
859
|
<table border="0" cellpadding="0" cellspacing="0" width="100%"
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
.lead-action-templates--list
|
|
3
|
+
.flex-row
|
|
4
|
+
- @lead_action_templates.each do |lat|
|
|
5
|
+
.card
|
|
6
|
+
.flex-row
|
|
7
|
+
= link_to '[~]', edit_lead_action_template_path( lat )
|
|
8
|
+
= lat.slug
|
|
9
|
+
%ul
|
|
10
|
+
-# - %w| slug kind |
|
|
11
|
+
- %w| config_json action_exe |.each do |k|
|
|
12
|
+
%li <b>#{k}:</b> #{lat[k]}
|
|
@@ -2,10 +2,7 @@
|
|
|
2
2
|
.lead-action-templates-index.maxwidth
|
|
3
3
|
%h5 Lead Action Templates
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
- @tmpls.each do |tmpl|
|
|
7
|
-
%li
|
|
8
|
-
= link_to "[~ #{tmpl.slug}]", edit_lead_action_template_path( tmpl )
|
|
5
|
+
= render 'ish_manager/lead_action_templates/list'
|
|
9
6
|
|
|
10
7
|
%hr
|
|
11
8
|
= render 'form', tmpl: @new_lat
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
- url = lead_action.new_record? ? lead_actions_path : lead_action_path( lead_action )
|
|
3
|
+
.lead-actions--form
|
|
4
|
+
= form_for lead_action, url: url, as: :lead_action do |f|
|
|
5
|
+
|
|
6
|
+
.field
|
|
7
|
+
%label tmpl
|
|
8
|
+
= f.select :lead_action_template, options_for_select( @olats_list, selected: lead_action.tmpl_id ), {}, class: :select2
|
|
9
|
+
|
|
10
|
+
.field
|
|
11
|
+
%label lead
|
|
12
|
+
= f.select :lead_id, options_for_select( @leads_list, selected: lead_action.lead_id ), {}, class: :select2
|
|
13
|
+
|
|
14
|
+
.field
|
|
15
|
+
%label params
|
|
16
|
+
= f.text_area :params, class: 'large', value: JSON.pretty_generate( JSON.parse( lead_action.params ))
|
|
17
|
+
|
|
18
|
+
.actions
|
|
19
|
+
= f.submit 'Submit'
|
|
@@ -1,12 +1,29 @@
|
|
|
1
1
|
|
|
2
2
|
.lead-actions-index.maxwidth
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
%h5.collapse-expand#lats
|
|
5
|
+
Lead Action Templates
|
|
6
|
+
= link_to '[+]', new_lead_action_template_path
|
|
7
|
+
|
|
8
|
+
= render 'ish_manager/lead_action_templates/list'
|
|
9
|
+
|
|
10
|
+
%hr
|
|
11
|
+
|
|
12
|
+
%h5.collapse-expand#las
|
|
13
|
+
Lead Actions
|
|
14
|
+
= link_to '[+]', new_lead_action_path
|
|
4
15
|
|
|
5
16
|
%ul
|
|
6
17
|
- @lead_actions.each do |la|
|
|
7
18
|
%li
|
|
19
|
+
= link_to '[~]', edit_lead_action_path( la )
|
|
8
20
|
%ul
|
|
9
|
-
-
|
|
10
|
-
%li
|
|
11
|
-
|
|
12
|
-
|
|
21
|
+
- %w| tmpl lead |.each do |k|
|
|
22
|
+
%li <b>#{k}:</b> #{la.send( k )}
|
|
23
|
+
%li
|
|
24
|
+
<b>params:</b>
|
|
25
|
+
%ul
|
|
26
|
+
- JSON.parse( la.params ).each do |k, v|
|
|
27
|
+
%li
|
|
28
|
+
= k
|
|
29
|
+
= v
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
.unsubscribes-index.maxwidth
|
|
3
|
+
|
|
4
|
+
%table.bordered.data-table
|
|
5
|
+
%thead
|
|
6
|
+
%tr
|
|
7
|
+
%td Email
|
|
8
|
+
%td Date
|
|
9
|
+
%td campaign_id
|
|
10
|
+
%td template_id
|
|
11
|
+
|
|
12
|
+
- @unsubscribes.each do |i|
|
|
13
|
+
%tr
|
|
14
|
+
%td= i.email
|
|
15
|
+
%td= i.unsubscribed_at
|
|
16
|
+
%td= i.campaign
|
|
17
|
+
%td= i.template
|
|
18
|
+
|
data/config/routes.rb
CHANGED
|
@@ -150,6 +150,11 @@ IshManager::Engine.routes.draw do
|
|
|
150
150
|
get 'subscriptions/new_wco', to: 'subscriptions#new_wco', as: :new_wco_subscription
|
|
151
151
|
resources :subscriptions
|
|
152
152
|
|
|
153
|
+
##
|
|
154
|
+
## U
|
|
155
|
+
##
|
|
156
|
+
resources :unsubscribes
|
|
157
|
+
|
|
153
158
|
resources :user_profiles do
|
|
154
159
|
resources :newsitems
|
|
155
160
|
end
|
|
@@ -157,6 +162,9 @@ IshManager::Engine.routes.draw do
|
|
|
157
162
|
# resources :newsitems
|
|
158
163
|
end
|
|
159
164
|
|
|
165
|
+
##
|
|
166
|
+
## V
|
|
167
|
+
##
|
|
160
168
|
resources :videos
|
|
161
169
|
|
|
162
170
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ish_manager
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.8.
|
|
4
|
+
version: 0.1.8.486
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- piousbox
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-09-
|
|
11
|
+
date: 2023-09-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -521,6 +521,7 @@ files:
|
|
|
521
521
|
- app/controllers/ish_manager/scheduled_email_actions_controller.rb
|
|
522
522
|
- app/controllers/ish_manager/serverhosts_controller.rb
|
|
523
523
|
- app/controllers/ish_manager/subscriptions_controller.rb
|
|
524
|
+
- app/controllers/ish_manager/unsubscribes_controller.rb
|
|
524
525
|
- app/controllers/ish_manager/user_profiles_controller.rb
|
|
525
526
|
- app/controllers/ish_manager/videos_controller.rb
|
|
526
527
|
- app/helpers/ish_manager/application_helper.rb
|
|
@@ -638,6 +639,7 @@ files:
|
|
|
638
639
|
- app/views/ish_manager/email_templates/_form_mini.haml
|
|
639
640
|
- app/views/ish_manager/email_templates/_form_reply_mini.haml
|
|
640
641
|
- app/views/ish_manager/email_templates/_form_schedule_mini.haml
|
|
642
|
+
- app/views/ish_manager/email_templates/_header_logo.html.erb
|
|
641
643
|
- app/views/ish_manager/email_templates/_index.haml
|
|
642
644
|
- app/views/ish_manager/email_templates/_m20221201react.html.erb
|
|
643
645
|
- app/views/ish_manager/email_templates/_m20221222merryxmas.html.erb
|
|
@@ -753,8 +755,12 @@ files:
|
|
|
753
755
|
- app/views/ish_manager/kaminari/_paginator.html.erb
|
|
754
756
|
- app/views/ish_manager/kaminari/_prev_page.html.erb
|
|
755
757
|
- app/views/ish_manager/lead_action_templates/_form.haml
|
|
758
|
+
- app/views/ish_manager/lead_action_templates/_list.haml
|
|
756
759
|
- app/views/ish_manager/lead_action_templates/edit.haml
|
|
757
760
|
- app/views/ish_manager/lead_action_templates/index.haml
|
|
761
|
+
- app/views/ish_manager/lead_action_templates/new.haml
|
|
762
|
+
- app/views/ish_manager/lead_actions/_form.haml
|
|
763
|
+
- app/views/ish_manager/lead_actions/edit.haml
|
|
758
764
|
- app/views/ish_manager/lead_actions/index.haml
|
|
759
765
|
- app/views/ish_manager/leads/_form.haml
|
|
760
766
|
- app/views/ish_manager/leads/_form_import.haml
|
|
@@ -848,6 +854,7 @@ files:
|
|
|
848
854
|
- app/views/ish_manager/trash/email_campaigns-trash/edit.haml
|
|
849
855
|
- app/views/ish_manager/trash/email_campaigns-trash/index.haml
|
|
850
856
|
- app/views/ish_manager/trash/email_campaigns-trash/new.haml
|
|
857
|
+
- app/views/ish_manager/unsubscribes/index.haml
|
|
851
858
|
- app/views/ish_manager/user_profiles/_form.haml
|
|
852
859
|
- app/views/ish_manager/user_profiles/_show.haml
|
|
853
860
|
- app/views/ish_manager/user_profiles/edit.haml
|