ish_manager 0.1.8.345 → 0.1.8.347
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/ish_manager/email_templates.scss +4 -1
- data/app/controllers/ish_manager/email_contexts_controller.rb +5 -3
- data/app/controllers/ish_manager/email_templates_controller.rb +2 -2
- data/app/mailers/ish_manager/office_mailer.rb +8 -3
- data/app/views/202212 Mailchimp Templates/202212 1col fixed-width.html +863 -0
- data/app/views/202212 Mailchimp Templates/202212 1col full-width.html +906 -0
- data/app/views/202212 Mailchimp Templates/202212 2col fixed-width 2.html +1003 -0
- data/app/views/202212 Mailchimp Templates/202212 2col fixed-width.html +1082 -0
- data/app/views/202212 Mailchimp Templates/202212 2col full-width 2.html +1053 -0
- data/app/views/202212 Mailchimp Templates/202212 2col full-width.html +1147 -0
- data/app/views/202212 Mailchimp Templates/202212 3col fixed-width.html +1087 -0
- data/app/views/202212 Mailchimp Templates/202212 3col full-width.html +1136 -0
- data/app/views/202212 Mailchimp Templates/202212 catalog various-colors-1.html +1223 -0
- data/app/views/202212 Mailchimp Templates/202212 educate.html +1080 -0
- data/app/views/202212 Mailchimp Templates/202212 follow up.html +1001 -0
- data/app/views/202212 Mailchimp Templates/202212 make an announcement.html +1048 -0
- data/app/views/202212 Mailchimp Templates/202212 sell-a-product.html +977 -0
- data/app/views/202212 Mailchimp Templates/202212 tell a story.html +1168 -0
- data/app/views/202212 Mailchimp Templates/202212 theme art-newsletter.html +1612 -0
- data/app/views/202212 Mailchimp Templates/202212 theme caribou-xmas.html +856 -0
- data/app/views/202212 Mailchimp Templates/202212 theme colorbox.html +1027 -0
- data/app/views/202212 Mailchimp Templates/202212 theme competition-invitation.html +918 -0
- data/app/views/202212 Mailchimp Templates/202212 theme event-veerle.html +1132 -0
- data/app/views/202212 Mailchimp Templates/202212 theme fall-colors.html +1407 -0
- data/app/views/202212 Mailchimp Templates/202212 theme gift-giving.html +787 -0
- data/app/views/202212 Mailchimp Templates/202212 theme giftgiving-snowmen.html +731 -0
- data/app/views/202212 Mailchimp Templates/202212 theme heart-of-flowers.html +795 -0
- data/app/views/202212 Mailchimp Templates/202212 theme hero-card.html +915 -0
- data/app/views/202212 Mailchimp Templates/202212 theme hero-image.html +1148 -0
- data/app/views/202212 Mailchimp Templates/202212 theme monthly-contest.html +967 -0
- data/app/views/202212 Mailchimp Templates/202212 theme multiple-event.html +1189 -0
- data/app/views/202212 Mailchimp Templates/202212 theme postcard.html +914 -0
- data/app/views/202212 Mailchimp Templates/202212 theme snowy-fields.html +733 -0
- data/app/views/202212 Mailchimp Templates/202212 theme soft.html +849 -0
- data/app/views/202212 Mailchimp Templates/202212 theme sophisticated.html +1079 -0
- data/app/views/202212 Mailchimp Templates/202212 theme subtle.html +1218 -0
- data/app/views/202212 Mailchimp Templates/202212 theme ticket.html +1015 -0
- data/app/views/202212 Mailchimp Templates/202212 theme whale.html +888 -0
- data/app/views/ish_manager/application/_main_footer.haml +5 -3
- data/app/views/ish_manager/email_contexts/_form.haml +3 -1
- data/app/views/ish_manager/email_contexts/show.haml +3 -3
- data/app/views/ish_manager/email_templates/_m20221222merryxmas.html.erb +764 -0
- data/app/views/layouts/ish_manager/application.haml +10 -6
- data/lib/tasks/office_tasks.rake +27 -0
- metadata +38 -2
@@ -11,9 +11,11 @@
|
|
11
11
|
%li <b>Role name:</b> #{@current_profile.role_name}
|
12
12
|
|
13
13
|
.col-sm-4
|
14
|
-
|
15
|
-
|
16
|
-
|
14
|
+
%ul
|
15
|
+
%li \~__^
|
16
|
+
%li= @version
|
17
|
+
%li= Time.now.to_s
|
18
|
+
-# <pre>#{@changelog}</pre>
|
17
19
|
|
18
20
|
.col-sm-2
|
19
21
|
= button_to 'Logout', main_app.destroy_user_session_path, :method => :delete
|
@@ -4,12 +4,13 @@
|
|
4
4
|
%ul
|
5
5
|
%li <b>Type:</b> #{@email_ctx.type}
|
6
6
|
%li <b>Title:</b> #{@email_ctx.title}
|
7
|
-
%li <b>Template:</b> #{@email_ctx.email_template.slug}
|
8
7
|
%li <b>From:</b> #{@email_ctx.from_email}
|
9
8
|
%li <b>Subject:</b> #{@email_ctx.subject}
|
10
9
|
- if @email_ctx.type == Ish::EmailContext::TYPE_SINGLE
|
11
10
|
%li <b>To:</b> #{@email_ctx.to_email}
|
12
11
|
%li <b>Template:</b> #{@email_ctx.email_template.slug} <b>Type:</b> #{@email_ctx.email_template.type}
|
12
|
+
%li <b>Send at:</b> #{@email_ctx.send_at&.strftime('%Y-%m-%d %l:%M%P')}
|
13
|
+
%li <b>Sent at:</b> #{@email_ctx.sent_at&.strftime('%Y-%m-%d %l:%M%P')}
|
13
14
|
|
14
15
|
-#
|
15
16
|
-# Yes sent
|
@@ -23,8 +24,6 @@
|
|
23
24
|
= link_to '[view]', campaign_lead_path( c_lead )
|
24
25
|
,
|
25
26
|
|
26
|
-
%li <b>Sent at:</b> #{@email_ctx.sent_at.strftime('%Y-%m-%d %l:%M%P')}
|
27
|
-
|
28
27
|
- else # Draft
|
29
28
|
- if @email_ctx.type == Ish::EmailContext::TYPE_CAMPAIGN
|
30
29
|
%li <b>Leads (#{@email_ctx.leads.length}):</b> #{@email_ctx.leads.map { |p| p&.email }.join(", ") }
|
@@ -35,6 +34,7 @@
|
|
35
34
|
|
36
35
|
- if @email_ctx.sent_at
|
37
36
|
= raw @email_ctx.rendered_str
|
37
|
+
= @email_ctx.tmpl
|
38
38
|
|
39
39
|
- else
|
40
40
|
%iframe{ src: email_context_iframe_path(@email_ctx), width: '100%', height: '100%' }
|