ish_manager 0.1.8.352 → 0.1.8.353
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: 0f500786949e6f1958ad5ac26c25f2a9baa70caed1885797975834bdefb0e2bf
|
4
|
+
data.tar.gz: 77d7121fdee734f6b31b48c400ca1593ea8165eafb9d0b3b8042eb4d3c62b3b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77f127baaa28801fab1b71fd8cb10fcf1cc8e30379cbf75545d59cd11e0f6d5244035b8cedf31000656954bf28e550fe60298386eb13c84b3d8a76b211214292
|
7
|
+
data.tar.gz: 146a1427f11ec2206ce68a87716c8dfa765b6931bea4719d35a304451e4e2b9b2e9f22e14fed37bdaf9502223b29f57ed202beb56e90b50b9602338e4f6129a4
|
@@ -14,8 +14,8 @@
|
|
14
14
|
= f.label :email_template_id
|
15
15
|
= f.select :email_template_id, options_for_select(@email_templates_list, selected: params[:email_template_id] || email_ctx.email_template&.id )
|
16
16
|
.field
|
17
|
-
= f.label :
|
18
|
-
= f.text_field :
|
17
|
+
= f.label :slug
|
18
|
+
= f.text_field :slug
|
19
19
|
|
20
20
|
.field
|
21
21
|
= f.label :from_email
|
@@ -2,35 +2,16 @@
|
|
2
2
|
.email-contexts-show
|
3
3
|
|
4
4
|
%ul
|
5
|
-
%li <b>Type:</b> #{@email_ctx.type}
|
6
5
|
%li <b>Title:</b> #{@email_ctx.title}
|
7
6
|
%li <b>From:</b> #{@email_ctx.from_email}
|
8
7
|
%li <b>Subject:</b> #{@email_ctx.subject}
|
9
|
-
|
10
|
-
|
11
|
-
%li <b>Template:</b> #{@email_ctx.email_template.slug} <b>Type:</b> #{@email_ctx.email_template.type}
|
8
|
+
%li <b>To:</b> #{@email_ctx.to_email}
|
9
|
+
%li <b>Template:</b> #{@email_ctx.email_template.slug} <b>Type:</b> #{@email_ctx.email_template.type}
|
12
10
|
%li <b>Send at:</b> #{@email_ctx.send_at&.strftime('%Y-%m-%d %l:%M%P')}
|
13
11
|
%li <b>Sent at:</b> #{@email_ctx.sent_at&.strftime('%Y-%m-%d %l:%M%P')}
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
-#
|
18
|
-
- if @email_ctx.sent_at
|
19
|
-
- if @email_ctx.type == Ish::EmailContext::TYPE_CAMPAIGN
|
20
|
-
%li
|
21
|
-
<b>C_Leads (#{@email_ctx.campaign_leads.length}):</b>
|
22
|
-
- @email_ctx.campaign_leads&.each do |c_lead|
|
23
|
-
= c_lead.lead.email
|
24
|
-
= link_to '[view]', campaign_lead_path( c_lead )
|
25
|
-
,
|
26
|
-
|
27
|
-
- else # Draft
|
28
|
-
- if @email_ctx.type == Ish::EmailContext::TYPE_CAMPAIGN
|
29
|
-
%li <b>Leads (#{@email_ctx.leads.length}):</b> #{@email_ctx.leads.map { |p| p&.email }.join(", ") }
|
30
|
-
|
31
|
-
%li
|
32
|
-
= button_to 'Send', email_context_send_path(@email_ctx), form_class: 'inline', :data => { :confirm => 'Are you sure?' }
|
33
|
-
= link_to '[~]', edit_email_context_path(@email_ctx)
|
12
|
+
%li
|
13
|
+
= button_to 'Send', email_context_send_path(@email_ctx), form_class: 'inline', :data => { :confirm => 'Are you sure?' }
|
14
|
+
= link_to '[~]', edit_email_context_path(@email_ctx)
|
34
15
|
|
35
16
|
- if @email_ctx.sent_at
|
36
17
|
= raw @email_ctx.rendered_str
|