ish_manager 0.1.8.414 → 0.1.8.415

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ad6332705588cd6755bfb1bc2523291c5fa58240f548f7b7d0596123b280918
4
- data.tar.gz: 4fdb537240ff5f95220dc2337f8e2dd49bf3d2cdc05b8ffee7eada2e660d53d6
3
+ metadata.gz: 613aa0218db8158e91ee2892cc31c54a8d39d97cd9f9515eaf8fd432d898c62a
4
+ data.tar.gz: 1b35c0e649fbf0cbc8e6a1884bef677ee6d89565bae9832facb313c89659e49f
5
5
  SHA512:
6
- metadata.gz: feadba78e9e42914933a39332d4f8bdb377c1b75e1d5b61e72511c03f99617b4f8e9b0c396c0e181edf5e3ed4e4a8c72d95bb7034e206a3d8714cb8677ea5102
7
- data.tar.gz: 2b6cbd12bfbdd15717f0400a4ed97e58960ae10668a376a95b95a598f39a64a532296e84a4ce44db4719f3627e2296e0771a9a55985de35165da12ecd0c9b33f
6
+ metadata.gz: 488a0e826ecc70bb707c8fa021645871387c9d21c5f7560dd077d3fba9c48317186c3b27be923f45f25cbbcfd65d9d0cec8f9da51bc93bcb3a5c8d6eef0b1893
7
+ data.tar.gz: 8329b75417ae55e85be51d38e69721dd7c8f72c2b1a2d7f661015c2bb5a95868fa793cbb2c84833ae6dd3f4d00b633430b04c1c291ad893614197170052ba977
@@ -33,8 +33,26 @@ class ::IshManager::EmailTemplatesController < ::IshManager::ApplicationControll
33
33
  def iframe_src
34
34
  @tmpl = @email_template = Ish::EmailTemplate.where({ id: params[:id] }).first ||
35
35
  Ish::EmailTemplate.find_by({ slug: params[:id] })
36
- @ctx = Ctx.new({ email_template: @tmpl })
37
36
  authorize! :iframe_src, @email_template
37
+
38
+ @ctx = Ctx.new({ email_template: @tmpl, lead_id: 999 })
39
+
40
+ @utm_tracking_str = {
41
+ # 'v' => 1,
42
+ # 'tid' => 'UA-53077236-2',
43
+ 'cid' => @ctx.lead_id,
44
+ # 'uid' => @ctx.lead_id,
45
+ # 't' => 'event',
46
+ # 'ec' => 'email',
47
+ # 'ea' => 'open',
48
+ # 'cn' => @campaign.slug,
49
+ # 'ci' => @campaign.slug,
50
+ # 'cm' => 'email',
51
+ # 'utm_source' => @campaign.slug,
52
+ 'utm_medium' => 'email',
53
+ 'utm_campaign' => 'campaign-1', # @campaign.slug,
54
+ }.map { |k, v| "#{k}=#{v}" }.join("&")
55
+
38
56
  render layout: false
39
57
  end
40
58
 
@@ -57,8 +57,16 @@ class IshManager::OfficeMailer < IshManager::ApplicationMailer
57
57
  ## 2023-04-02 _vp_ Continue.
58
58
  def send_context_email ctx_id
59
59
  @ctx = Ctx.find ctx_id
60
+
61
+ @utm_tracking_str = {
62
+ 'cid' => @ctx.lead_id,
63
+ 'utm_medium' => 'email',
64
+ 'utm_campaign' => @ctx.tmpl.slug,
65
+ }.map { |k, v| "#{k}=#{v}" }.join("&")
66
+
60
67
  ac = ActionController::Base.new
61
68
  ac.instance_variable_set( :@ctx, @ctx )
69
+ ac.instance_variable_set( :@utm_tracking_str, @utm_tracking_str )
62
70
 
63
71
  rendered_str = ac.render_to_string("ish_manager/email_templates/_#{@ctx.tmpl.layout}")
64
72
  @ctx.update({
@@ -9,9 +9,9 @@
9
9
  = f.label :slug
10
10
  = f.text_field :slug
11
11
  .col-md-4
12
- .field
12
+ .flex-row
13
13
  = f.label :layout
14
- = f.select :layout, options_for_select(Ish::EmailTemplate::LAYOUTS, selected: email_template.layout)
14
+ = f.select :layout, options_for_select(Ish::EmailTemplate::LAYOUTS, selected: email_template.layout), {}, class: 'select2'
15
15
  .col-md-4
16
16
  .field
17
17
  = f.label "From"
@@ -0,0 +1,749 @@
1
+ <!doctype html>
2
+ <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
3
+ <head>
4
+ <!--[if gte mso 15]>
5
+ <xml>
6
+ <o:OfficeDocumentSettings>
7
+ <o:AllowPNG/>
8
+ <o:PixelsPerInch>96</o:PixelsPerInch>
9
+ </o:OfficeDocumentSettings>
10
+ </xml>
11
+ <![endif]-->
12
+ <meta charset="UTF-8">
13
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
14
+ <meta name="viewport" content="width=device-width, initial-scale=1">
15
+ <title><%= @ctx.subject -%></title>
16
+
17
+ <style type="text/css">
18
+ p{
19
+ margin:10px 0;
20
+ padding:0;
21
+ }
22
+ table{
23
+ border-collapse:collapse;
24
+ }
25
+ h1,h2,h3,h4,h5,h6{
26
+ display:block;
27
+ margin:0;
28
+ padding:0;
29
+ }
30
+ img,a img{
31
+ border:0;
32
+ height:auto;
33
+ outline:none;
34
+ text-decoration:none;
35
+ }
36
+ body,#bodyTable,#bodyCell{
37
+ height:100%;
38
+ margin:0;
39
+ padding:0;
40
+ width:100%;
41
+ }
42
+ .mcnPreviewText{
43
+ display:none !important;
44
+ }
45
+ #outlook a{
46
+ padding:0;
47
+ }
48
+ img{
49
+ -ms-interpolation-mode:bicubic;
50
+ }
51
+ table{
52
+ mso-table-lspace:0pt;
53
+ mso-table-rspace:0pt;
54
+ }
55
+ .ReadMsgBody{
56
+ width:100%;
57
+ }
58
+ .ExternalClass{
59
+ width:100%;
60
+ }
61
+ p,a,li,td,blockquote{
62
+ mso-line-height-rule:exactly;
63
+ }
64
+ a[href^=tel],a[href^=sms]{
65
+ color:inherit;
66
+ cursor:default;
67
+ text-decoration:none;
68
+ }
69
+ p,a,li,td,body,table,blockquote{
70
+ -ms-text-size-adjust:100%;
71
+ -webkit-text-size-adjust:100%;
72
+ }
73
+ .ExternalClass,.ExternalClass p,.ExternalClass td,.ExternalClass div,.ExternalClass span,.ExternalClass font{
74
+ line-height:100%;
75
+ }
76
+ a[x-apple-data-detectors]{
77
+ color:inherit !important;
78
+ text-decoration:none !important;
79
+ font-size:inherit !important;
80
+ font-family:inherit !important;
81
+ font-weight:inherit !important;
82
+ line-height:inherit !important;
83
+ }
84
+ #bodyCell{
85
+ padding:10px;
86
+ }
87
+ .templateContainer{
88
+ max-width:600px !important;
89
+ }
90
+ a.mcnButton{
91
+ display:block;
92
+ }
93
+ .mcnImage,.mcnRetinaImage{
94
+ vertical-align:bottom;
95
+ }
96
+ .mcnTextContent{
97
+ word-break:break-word;
98
+ }
99
+ .mcnTextContent img{
100
+ height:auto !important;
101
+ }
102
+ .mcnDividerBlock{
103
+ table-layout:fixed !important;
104
+ }
105
+ /*
106
+ @tab Page
107
+ @section Background Style
108
+ @tip Set the background color and top border for your email. You may want to choose colors that match your company's branding.
109
+ */
110
+ body,#bodyTable{
111
+ /*@editable*/background-color:#FAFAFA;
112
+ }
113
+ /*
114
+ @tab Page
115
+ @section Background Style
116
+ @tip Set the background color and top border for your email. You may want to choose colors that match your company's branding.
117
+ */
118
+ #bodyCell{
119
+ /*@editable*/border-top:0;
120
+ }
121
+ /*
122
+ @tab Page
123
+ @section Email Border
124
+ @tip Set the border for your email.
125
+ */
126
+ .templateContainer{
127
+ /*@editable*/border:0;
128
+ }
129
+ /*
130
+ @tab Page
131
+ @section Heading 1
132
+ @tip Set the styling for all first-level headings in your emails. These should be the largest of your headings.
133
+ @style heading 1
134
+ */
135
+ h1{
136
+ /*@editable*/color:#202020;
137
+ /*@editable*/font-family:Helvetica;
138
+ /*@editable*/font-size:26px;
139
+ /*@editable*/font-style:normal;
140
+ /*@editable*/font-weight:bold;
141
+ /*@editable*/line-height:125%;
142
+ /*@editable*/letter-spacing:normal;
143
+ /*@editable*/text-align:left;
144
+ }
145
+ /*
146
+ @tab Page
147
+ @section Heading 2
148
+ @tip Set the styling for all second-level headings in your emails.
149
+ @style heading 2
150
+ */
151
+ h2{
152
+ /*@editable*/color:#202020;
153
+ /*@editable*/font-family:Helvetica;
154
+ /*@editable*/font-size:22px;
155
+ /*@editable*/font-style:normal;
156
+ /*@editable*/font-weight:bold;
157
+ /*@editable*/line-height:125%;
158
+ /*@editable*/letter-spacing:normal;
159
+ /*@editable*/text-align:left;
160
+ }
161
+ /*
162
+ @tab Page
163
+ @section Heading 3
164
+ @tip Set the styling for all third-level headings in your emails.
165
+ @style heading 3
166
+ */
167
+ h3{
168
+ /*@editable*/color:#202020;
169
+ /*@editable*/font-family:Helvetica;
170
+ /*@editable*/font-size:20px;
171
+ /*@editable*/font-style:normal;
172
+ /*@editable*/font-weight:bold;
173
+ /*@editable*/line-height:125%;
174
+ /*@editable*/letter-spacing:normal;
175
+ /*@editable*/text-align:left;
176
+ }
177
+ /*
178
+ @tab Page
179
+ @section Heading 4
180
+ @tip Set the styling for all fourth-level headings in your emails. These should be the smallest of your headings.
181
+ @style heading 4
182
+ */
183
+ h4{
184
+ /*@editable*/color:#202020;
185
+ /*@editable*/font-family:Helvetica;
186
+ /*@editable*/font-size:18px;
187
+ /*@editable*/font-style:normal;
188
+ /*@editable*/font-weight:bold;
189
+ /*@editable*/line-height:125%;
190
+ /*@editable*/letter-spacing:normal;
191
+ /*@editable*/text-align:left;
192
+ }
193
+ /*
194
+ @tab Preheader
195
+ @section Preheader Style
196
+ @tip Set the background color and borders for your email's preheader area.
197
+ */
198
+ #templatePreheader{
199
+ /*@editable*/background-color:#FAFAFA;
200
+ /*@editable*/background-image:none;
201
+ /*@editable*/background-repeat:no-repeat;
202
+ /*@editable*/background-position:center;
203
+ /*@editable*/background-size:cover;
204
+ /*@editable*/border-top:0;
205
+ /*@editable*/border-bottom:0;
206
+ /*@editable*/padding-top:9px;
207
+ /*@editable*/padding-bottom:9px;
208
+ }
209
+ /*
210
+ @tab Preheader
211
+ @section Preheader Text
212
+ @tip Set the styling for your email's preheader text. Choose a size and color that is easy to read.
213
+ */
214
+ #templatePreheader .mcnTextContent,#templatePreheader .mcnTextContent p{
215
+ /*@editable*/color:#656565;
216
+ /*@editable*/font-family:Helvetica;
217
+ /*@editable*/font-size:12px;
218
+ /*@editable*/line-height:150%;
219
+ /*@editable*/text-align:left;
220
+ }
221
+ /*
222
+ @tab Preheader
223
+ @section Preheader Link
224
+ @tip Set the styling for your email's preheader links. Choose a color that helps them stand out from your text.
225
+ */
226
+ #templatePreheader .mcnTextContent a,#templatePreheader .mcnTextContent p a{
227
+ /*@editable*/color:#656565;
228
+ /*@editable*/font-weight:normal;
229
+ /*@editable*/text-decoration:underline;
230
+ }
231
+ /*
232
+ @tab Header
233
+ @section Header Style
234
+ @tip Set the background color and borders for your email's header area.
235
+ */
236
+ #templateHeader{
237
+ /*@editable*/background-color:#FFFFFF;
238
+ /*@editable*/background-image:none;
239
+ /*@editable*/background-repeat:no-repeat;
240
+ /*@editable*/background-position:center;
241
+ /*@editable*/background-size:cover;
242
+ /*@editable*/border-top:0;
243
+ /*@editable*/border-bottom:0;
244
+ /*@editable*/padding-top:9px;
245
+ /*@editable*/padding-bottom:0;
246
+ }
247
+ /*
248
+ @tab Header
249
+ @section Header Text
250
+ @tip Set the styling for your email's header text. Choose a size and color that is easy to read.
251
+ */
252
+ #templateHeader .mcnTextContent,#templateHeader .mcnTextContent p{
253
+ /*@editable*/color:#202020;
254
+ /*@editable*/font-family:Helvetica;
255
+ /*@editable*/font-size:16px;
256
+ /*@editable*/line-height:150%;
257
+ /*@editable*/text-align:left;
258
+ }
259
+ /*
260
+ @tab Header
261
+ @section Header Link
262
+ @tip Set the styling for your email's header links. Choose a color that helps them stand out from your text.
263
+ */
264
+ #templateHeader .mcnTextContent a,#templateHeader .mcnTextContent p a{
265
+ /*@editable*/color:#007C89;
266
+ /*@editable*/font-weight:normal;
267
+ /*@editable*/text-decoration:underline;
268
+ }
269
+ /*
270
+ @tab Body
271
+ @section Body Style
272
+ @tip Set the background color and borders for your email's body area.
273
+ */
274
+ #templateBody{
275
+ /*@editable*/background-color:#FFFFFF;
276
+ /*@editable*/background-image:none;
277
+ /*@editable*/background-repeat:no-repeat;
278
+ /*@editable*/background-position:center;
279
+ /*@editable*/background-size:cover;
280
+ /*@editable*/border-top:0;
281
+ /*@editable*/border-bottom:2px solid #EAEAEA;
282
+ /*@editable*/padding-top:0;
283
+ /*@editable*/padding-bottom:9px;
284
+ }
285
+ /*
286
+ @tab Body
287
+ @section Body Text
288
+ @tip Set the styling for your email's body text. Choose a size and color that is easy to read.
289
+ */
290
+ #templateBody .mcnTextContent,#templateBody .mcnTextContent p{
291
+ /*@editable*/color:#202020;
292
+ /*@editable*/font-family:Helvetica;
293
+ /*@editable*/font-size:16px;
294
+ /*@editable*/line-height:150%;
295
+ /*@editable*/text-align:left;
296
+ }
297
+ /*
298
+ @tab Body
299
+ @section Body Link
300
+ @tip Set the styling for your email's body links. Choose a color that helps them stand out from your text.
301
+ */
302
+ #templateBody .mcnTextContent a,#templateBody .mcnTextContent p a{
303
+ /*@editable*/color:#007C89;
304
+ /*@editable*/font-weight:normal;
305
+ /*@editable*/text-decoration:underline;
306
+ }
307
+ /*
308
+ @tab Footer
309
+ @section Footer Style
310
+ @tip Set the background color and borders for your email's footer area.
311
+ */
312
+ #templateFooter{
313
+ /*@editable*/background-color:#FAFAFA;
314
+ /*@editable*/background-image:none;
315
+ /*@editable*/background-repeat:no-repeat;
316
+ /*@editable*/background-position:center;
317
+ /*@editable*/background-size:cover;
318
+ /*@editable*/border-top:0;
319
+ /*@editable*/border-bottom:0;
320
+ /*@editable*/padding-top:9px;
321
+ /*@editable*/padding-bottom:9px;
322
+ }
323
+ /*
324
+ @tab Footer
325
+ @section Footer Text
326
+ @tip Set the styling for your email's footer text. Choose a size and color that is easy to read.
327
+ */
328
+ #templateFooter .mcnTextContent,#templateFooter .mcnTextContent p{
329
+ /*@editable*/color:#656565;
330
+ /*@editable*/font-family:Helvetica;
331
+ /*@editable*/font-size:12px;
332
+ /*@editable*/line-height:150%;
333
+ /*@editable*/text-align:center;
334
+ }
335
+ /*
336
+ @tab Footer
337
+ @section Footer Link
338
+ @tip Set the styling for your email's footer links. Choose a color that helps them stand out from your text.
339
+ */
340
+ #templateFooter .mcnTextContent a,#templateFooter .mcnTextContent p a{
341
+ /*@editable*/color:#656565;
342
+ /*@editable*/font-weight:normal;
343
+ /*@editable*/text-decoration:underline;
344
+ }
345
+ @media only screen and (min-width:768px){
346
+ .templateContainer{
347
+ width:600px !important;
348
+ }
349
+
350
+ } @media only screen and (max-width: 480px){
351
+ body,table,td,p,a,li,blockquote{
352
+ -webkit-text-size-adjust:none !important;
353
+ }
354
+
355
+ } @media only screen and (max-width: 480px){
356
+ body{
357
+ width:100% !important;
358
+ min-width:100% !important;
359
+ }
360
+
361
+ } @media only screen and (max-width: 480px){
362
+ .mcnRetinaImage{
363
+ max-width:100% !important;
364
+ }
365
+
366
+ } @media only screen and (max-width: 480px){
367
+ .mcnImage{
368
+ width:100% !important;
369
+ }
370
+
371
+ } @media only screen and (max-width: 480px){
372
+ .mcnCartContainer,.mcnCaptionTopContent,.mcnRecContentContainer,.mcnCaptionBottomContent,.mcnTextContentContainer,.mcnBoxedTextContentContainer,.mcnImageGroupContentContainer,.mcnCaptionLeftTextContentContainer,.mcnCaptionRightTextContentContainer,.mcnCaptionLeftImageContentContainer,.mcnCaptionRightImageContentContainer,.mcnImageCardLeftTextContentContainer,.mcnImageCardRightTextContentContainer,.mcnImageCardLeftImageContentContainer,.mcnImageCardRightImageContentContainer{
373
+ max-width:100% !important;
374
+ width:100% !important;
375
+ }
376
+
377
+ } @media only screen and (max-width: 480px){
378
+ .mcnBoxedTextContentContainer{
379
+ min-width:100% !important;
380
+ }
381
+
382
+ } @media only screen and (max-width: 480px){
383
+ .mcnImageGroupContent{
384
+ padding:9px !important;
385
+ }
386
+
387
+ } @media only screen and (max-width: 480px){
388
+ .mcnCaptionLeftContentOuter .mcnTextContent,.mcnCaptionRightContentOuter .mcnTextContent{
389
+ padding-top:9px !important;
390
+ }
391
+
392
+ } @media only screen and (max-width: 480px){
393
+ .mcnImageCardTopImageContent,.mcnCaptionBottomContent:last-child .mcnCaptionBottomImageContent,.mcnCaptionBlockInner .mcnCaptionTopContent:last-child .mcnTextContent{
394
+ padding-top:18px !important;
395
+ }
396
+
397
+ } @media only screen and (max-width: 480px){
398
+ .mcnImageCardBottomImageContent{
399
+ padding-bottom:9px !important;
400
+ }
401
+
402
+ } @media only screen and (max-width: 480px){
403
+ .mcnImageGroupBlockInner{
404
+ padding-top:0 !important;
405
+ padding-bottom:0 !important;
406
+ }
407
+
408
+ } @media only screen and (max-width: 480px){
409
+ .mcnImageGroupBlockOuter{
410
+ padding-top:9px !important;
411
+ padding-bottom:9px !important;
412
+ }
413
+
414
+ } @media only screen and (max-width: 480px){
415
+ .mcnTextContent,.mcnBoxedTextContentColumn{
416
+ padding-right:18px !important;
417
+ padding-left:18px !important;
418
+ }
419
+
420
+ } @media only screen and (max-width: 480px){
421
+ .mcnImageCardLeftImageContent,.mcnImageCardRightImageContent{
422
+ padding-right:18px !important;
423
+ padding-bottom:0 !important;
424
+ padding-left:18px !important;
425
+ }
426
+
427
+ } @media only screen and (max-width: 480px){
428
+ .mcpreview-image-uploader{
429
+ display:none !important;
430
+ width:100% !important;
431
+ }
432
+
433
+ } @media only screen and (max-width: 480px){
434
+ /*
435
+ @tab Mobile Styles
436
+ @section Heading 1
437
+ @tip Make the first-level headings larger in size for better readability on small screens.
438
+ */
439
+ h1{
440
+ /*@editable*/font-size:22px !important;
441
+ /*@editable*/line-height:125% !important;
442
+ }
443
+
444
+ } @media only screen and (max-width: 480px){
445
+ /*
446
+ @tab Mobile Styles
447
+ @section Heading 2
448
+ @tip Make the second-level headings larger in size for better readability on small screens.
449
+ */
450
+ h2{
451
+ /*@editable*/font-size:20px !important;
452
+ /*@editable*/line-height:125% !important;
453
+ }
454
+
455
+ } @media only screen and (max-width: 480px){
456
+ /*
457
+ @tab Mobile Styles
458
+ @section Heading 3
459
+ @tip Make the third-level headings larger in size for better readability on small screens.
460
+ */
461
+ h3{
462
+ /*@editable*/font-size:18px !important;
463
+ /*@editable*/line-height:125% !important;
464
+ }
465
+
466
+ } @media only screen and (max-width: 480px){
467
+ /*
468
+ @tab Mobile Styles
469
+ @section Heading 4
470
+ @tip Make the fourth-level headings larger in size for better readability on small screens.
471
+ */
472
+ h4{
473
+ /*@editable*/font-size:16px !important;
474
+ /*@editable*/line-height:150% !important;
475
+ }
476
+
477
+ } @media only screen and (max-width: 480px){
478
+ /*
479
+ @tab Mobile Styles
480
+ @section Boxed Text
481
+ @tip Make the boxed text larger in size for better readability on small screens. We recommend a font size of at least 16px.
482
+ */
483
+ .mcnBoxedTextContentContainer .mcnTextContent,.mcnBoxedTextContentContainer .mcnTextContent p{
484
+ /*@editable*/font-size:14px !important;
485
+ /*@editable*/line-height:150% !important;
486
+ }
487
+
488
+ } @media only screen and (max-width: 480px){
489
+ /*
490
+ @tab Mobile Styles
491
+ @section Preheader Visibility
492
+ @tip Set the visibility of the email's preheader on small screens. You can hide it to save space.
493
+ */
494
+ #templatePreheader{
495
+ /*@editable*/display:block !important;
496
+ }
497
+
498
+ } @media only screen and (max-width: 480px){
499
+ /*
500
+ @tab Mobile Styles
501
+ @section Preheader Text
502
+ @tip Make the preheader text larger in size for better readability on small screens.
503
+ */
504
+ #templatePreheader .mcnTextContent,#templatePreheader .mcnTextContent p{
505
+ /*@editable*/font-size:14px !important;
506
+ /*@editable*/line-height:150% !important;
507
+ }
508
+
509
+ } @media only screen and (max-width: 480px){
510
+ /*
511
+ @tab Mobile Styles
512
+ @section Header Text
513
+ @tip Make the header text larger in size for better readability on small screens.
514
+ */
515
+ #templateHeader .mcnTextContent,#templateHeader .mcnTextContent p{
516
+ /*@editable*/font-size:16px !important;
517
+ /*@editable*/line-height:150% !important;
518
+ }
519
+
520
+ } @media only screen and (max-width: 480px){
521
+ /*
522
+ @tab Mobile Styles
523
+ @section Body Text
524
+ @tip Make the body text larger in size for better readability on small screens. We recommend a font size of at least 16px.
525
+ */
526
+ #templateBody .mcnTextContent,#templateBody .mcnTextContent p{
527
+ /*@editable*/font-size:16px !important;
528
+ /*@editable*/line-height:150% !important;
529
+ }
530
+
531
+ } @media only screen and (max-width: 480px){
532
+ /*
533
+ @tab Mobile Styles
534
+ @section Footer Text
535
+ @tip Make the footer content text larger in size for better readability on small screens.
536
+ */
537
+ #templateFooter .mcnTextContent,#templateFooter .mcnTextContent p{
538
+ /*@editable*/font-size:14px !important;
539
+ /*@editable*/line-height:150% !important;
540
+ }
541
+
542
+ }</style></head>
543
+ <body>
544
+ <!--[if !gte mso 9]><!----><span class="mcnPreviewText" style="display:none; font-size:0px; line-height:0px; max-height:0px; max-width:0px; opacity:0; overflow:hidden; visibility:hidden; mso-hide:all;"><%= @ctx.preview_str -%></span><!--<![endif]-->
545
+ <center>
546
+ <table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="bodyTable">
547
+ <tr>
548
+ <td align="center" valign="top" id="bodyCell">
549
+ <!-- BEGIN TEMPLATE // -->
550
+ <!--[if (gte mso 9)|(IE)]>
551
+ <table align="center" border="0" cellspacing="0" cellpadding="0" width="600" style="width:600px;">
552
+ <tr>
553
+ <td align="center" valign="top" width="600" style="width:600px;">
554
+ <![endif]-->
555
+ <table border="0" cellpadding="0" cellspacing="0" width="100%" class="templateContainer">
556
+
557
+
558
+
559
+
560
+
561
+
562
+ <!-- herehere begin -->
563
+ <tr>
564
+ <td valign="top" id="templateColumns">
565
+ <!--[if (gte mso 9)|(IE)]>
566
+ <table align="center" border="0" cellspacing="0" cellpadding="0" width="600" style="width:600px;">
567
+ <tr>
568
+ <td align="center" valign="top" width="300" style="width:300px;">
569
+ <![endif]-->
570
+ <table align="left" border="0" cellpadding="0" cellspacing="0" width="300" class="columnWrapper">
571
+ <tbody><tr>
572
+ <td valign="top" class="columnContainer"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnImageCardBlock">
573
+ <tbody class="mcnImageCardBlockOuter">
574
+ <tr>
575
+ <td class="mcnImageCardBlockInner" valign="top" style="padding-top:9px; padding-right:18px; padding-bottom:9px; padding-left:18px;">
576
+
577
+
578
+ <table align="left" border="0" cellpadding="0" cellspacing="0" width="100%" >
579
+ <tbody>
580
+ <tr>
581
+ <td valign="bottom" style="padding: 9px 18px; font-family: Helvetica; font-size: 14px; font-weight: normal;" width="246" height="300" >
582
+
583
+ <a href="https://wasya.co?<%= @utm_tracking_str -%>" target="_blank" >
584
+ <img src="https://d15g8hc4183yn4.cloudfront.net/wp-content/uploads/2022/09/29185755/259x66-WasyaCo-Logo-YellowShadow.png" width=228 alt="Wasya Co" />
585
+ </a>
586
+ <h1 style="margin-left: 30px" >ReactJS</h1>
587
+ <i style="color: #666; margin-left: 30px;">Web Application Development</i>
588
+ &nbsp;<br />&nbsp;<br />&nbsp;<br />
589
+ </td>
590
+ </tr>
591
+ </tbody>
592
+ </table>
593
+
594
+
595
+
596
+
597
+ </td>
598
+ </tr>
599
+ </tbody>
600
+ </table></td>
601
+ </tr>
602
+ </tbody></table>
603
+ <!--[if (gte mso 9)|(IE)]>
604
+ </td>
605
+ <td align="center" valign="top" width="300" style="width:300px;">
606
+ <![endif]-->
607
+ <table align="left" border="0" cellpadding="0" cellspacing="0" width="300" class="columnWrapper">
608
+ <tbody><tr>
609
+ <td valign="top" class="columnContainer"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnImageCardBlock">
610
+ <tbody class="mcnImageCardBlockOuter">
611
+ <tr>
612
+ <td class="mcnImageCardBlockInner" valign="top" style="padding-top:9px; padding-right:18px; padding-bottom:9px; padding-left:18px;">
613
+
614
+ <table align="left" border="0" cellpadding="0" cellspacing="0" class="mcnImageCardBottomContent" width="100%" >
615
+ <tbody><tr>
616
+ <td class="mcnImageCardBottomImageContent" align="left" valign="top" style="padding-top:0px; padding-right:0px; padding-bottom:0; padding-left:0px;">
617
+
618
+ </td>
619
+ </tr>
620
+ <tr>
621
+ <td class="mcnTextContent" valign="top" style="padding: 9px 18px; font-family: Helvetica; font-size: 14px; font-weight: normal; text-align: center;" width="246" height="300" >
622
+
623
+
624
+ <img align="center" alt="Poster Illustration" src="https://d15g8hc4183yn4.cloudfront.net/wp-content/uploads/2023/04/06152121/200x300-poster-1tiny.png" width="200" style="max-width: 200px; padding-bottom: 0; display: inline !important; vertical-align: bottom;" alt="Illustrated Poster" class="mcnImage">
625
+
626
+
627
+ </td>
628
+ </tr>
629
+ </tbody></table>
630
+
631
+
632
+
633
+
634
+ </td>
635
+ </tr>
636
+ </tbody>
637
+ </table></td>
638
+ </tr>
639
+ </tbody></table>
640
+ <!--[if (gte mso 9)|(IE)]>
641
+ </td>
642
+ </tr>
643
+ </table>
644
+ <![endif]-->
645
+ </td>
646
+ </tr>
647
+ <!-- herehere end -->
648
+
649
+
650
+
651
+
652
+ <!-- herehere another begin -->
653
+ <tr>
654
+ <td valign="top" id="templateFooter"><table border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width:100%;">
655
+ <tbody>
656
+ <tr>
657
+ <td align="center" valign="top" style="padding:9px" class="mcnFollowBlockInner">
658
+ <table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnFollowContentContainer" style="min-width:100%;">
659
+ <tbody><tr>
660
+ <td width="100" >&nbsp;</td>
661
+ <td align="center" style="padding-left:9px;padding-right:9px;">
662
+
663
+ <h3><a href="https://wasya.co/our-services-2?<%= @utm_tracking_str %>" style="color: #00c8cc;" target="_blank" >https://wasya.co/w/our-services</a></h3>
664
+ <br />
665
+ <h3><a href="https://wasya.co/contact-us-2?<%= @utm_tracking_str %>" style="color: #00c8cc;" target="_blank" >https://wasya.co/w/contact-us</a></h3>
666
+
667
+ </td>
668
+ </tr>
669
+ </tbody></table>
670
+
671
+ </td>
672
+ </tr>
673
+ </tbody>
674
+ </table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="min-width:100%;">
675
+ <tbody class="mcnDividerBlockOuter">
676
+ <tr>
677
+ <td class="mcnDividerBlockInner" style="min-width: 100%; padding: 10px 18px 25px;">
678
+ <table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="min-width: 100%;border-top: 2px solid #EEEEEE;">
679
+ <tbody><tr>
680
+ <td>
681
+ <span></span>
682
+ </td>
683
+ </tr>
684
+ </tbody></table>
685
+ <!--
686
+ <td class="mcnDividerBlockInner" style="padding: 18px;">
687
+ <hr class="mcnDividerContent" style="border-bottom-color:none; border-left-color:none; border-right-color:none; border-bottom-width:0; border-left-width:0; border-right-width:0; margin-top:0; margin-right:0; margin-bottom:0; margin-left:0;" />
688
+ -->
689
+ </td>
690
+ </tr>
691
+ </tbody>
692
+ </table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnTextBlock" style="min-width:100%;">
693
+ <tbody class="mcnTextBlockOuter">
694
+ <tr>
695
+ <td valign="top" class="mcnTextBlockInner" style="padding-top:9px;">
696
+ <!--[if mso]>
697
+ <table align="left" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%;">
698
+ <tr>
699
+ <![endif]-->
700
+
701
+ <!--[if mso]>
702
+ <td valign="top" width="600" style="width:600px;">
703
+ <![endif]-->
704
+ <table align="left" border="0" cellpadding="0" cellspacing="0" style="max-width:100%; min-width:100%;" width="100%" class="mcnTextContentContainer">
705
+ <tbody><tr>
706
+
707
+ <td valign="top" class="mcnTextContent" style="padding-top:0; padding-right:18px; padding-bottom:9px; padding-left:18px;">
708
+
709
+ <em>Copyright © 2023 Wasya Co</em>
710
+ <br>
711
+ <strong>Our mailing address is:</strong>
712
+
713
+ 201 W 5th St 11th Floor, Austin, TX 78701
714
+
715
+ <br>
716
+ Want to change how you receive these emails?
717
+ You can <a href="https://wasya.co/unsubscribe-1?<%= @utm_tracking_str -%>">click to unsubscribe</a>.
718
+
719
+ </td>
720
+ </tr>
721
+ </tbody></table>
722
+ <!--[if mso]>
723
+ </td>
724
+ <![endif]-->
725
+
726
+ <!--[if mso]>
727
+ </tr>
728
+ </table>
729
+ <![endif]-->
730
+ </td>
731
+ </tr>
732
+ </tbody>
733
+ </table></td>
734
+ </tr>
735
+ <!-- herehere another end -->
736
+
737
+ </table>
738
+ <!--[if (gte mso 9)|(IE)]>
739
+ </td>
740
+ </tr>
741
+ </table>
742
+ <![endif]-->
743
+ <!-- // END TEMPLATE -->
744
+ </td>
745
+ </tr>
746
+ </table>
747
+ </center>
748
+ </body>
749
+ </html>
@@ -6,8 +6,8 @@
6
6
  %h2.title
7
7
  = @email_template.slug
8
8
  = link_to '[~]', edit_email_template_path( @email_template )
9
- = link_to '[src ^]', '#'
10
- = link_to '[preview ^]', '#'
11
- = link_to '[use]', '#'
9
+ = link_to 'src', email_template_iframe_path(@email_template.slug), target: :_blank
10
+ -# = link_to '[preview ^]', '#'
11
+ -# = link_to '[use]', '#'
12
12
 
13
13
  %iframe{ src: email_template_iframe_path(@email_template.slug), width: '100%', height: '100%' }
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.414
4
+ version: 0.1.8.415
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
@@ -418,6 +418,7 @@ files:
418
418
  - app/views/ish_manager/email_templates/_m20221201react.html.erb
419
419
  - app/views/ish_manager/email_templates/_m20221222merryxmas.html.erb
420
420
  - app/views/ish_manager/email_templates/_marketing_react_1.html
421
+ - app/views/ish_manager/email_templates/_marketing_react_2.html.erb
421
422
  - app/views/ish_manager/email_templates/_marketing_ror_1.html
422
423
  - app/views/ish_manager/email_templates/_marketing_ror_2.html.erb
423
424
  - app/views/ish_manager/email_templates/_marketing_wordpress_1.html