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: 9d9e52ea6ace8b144c0c2065384efe385987a6786e19ba474478aa23ccce0938
4
- data.tar.gz: '085aba80ac62b36db6552d0f40e2e87067cf68cbf810c78eb042996142aa0b45'
3
+ metadata.gz: 0f500786949e6f1958ad5ac26c25f2a9baa70caed1885797975834bdefb0e2bf
4
+ data.tar.gz: 77d7121fdee734f6b31b48c400ca1593ea8165eafb9d0b3b8042eb4d3c62b3b0
5
5
  SHA512:
6
- metadata.gz: 26d36d40b4c76ddebcfb79fdb8226fa470aaf5f4e5320eb3e2fcf6b3f53c7ed01cd40cd24bdf766da7535162051776a698fa93bf68e683d5492681bcfc88e834
7
- data.tar.gz: 605363d860050a83def8d03f20a1d2f5e247fec8df09532b0d3651154db836698b00604df6b12da14a4af1fb500cdf40159ef2ff3667f083e56e844f26371adc
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 :title
18
- = f.text_field :title
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
- - if @email_ctx.type == Ish::EmailContext::TYPE_SINGLE
10
- %li <b>To:</b> #{@email_ctx.to_email}
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
- -# Yes sent
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.352
4
+ version: 0.1.8.353
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox