wco_models 3.1.0.89 → 3.1.0.91

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/wco/utils.scss +5 -1
  3. data/app/controllers/wco/application_controller.rb +6 -0
  4. data/app/controllers/wco/leadsets_controller.rb +1 -1
  5. data/app/controllers/wco/unsubscribes_controller.rb +40 -0
  6. data/app/mailers/wco_email/application_mailer.rb +15 -27
  7. data/app/models/wco/lead.rb +10 -0
  8. data/app/models/wco/leadset.rb +4 -0
  9. data/app/models/wco_email/context.rb +26 -8
  10. data/app/models/wco_email/email_template.rb +1 -1
  11. data/app/models/wco_email/message_stub.rb +2 -3
  12. data/app/views/wco/application/tinymce.html.erb +33 -0
  13. data/app/views/wco_email/application_mailer/_footer_unsubscribe.html.erb +24 -0
  14. data/app/views/wco_email/application_mailer/_header_logo.html.erb +12 -0
  15. data/app/views/wco_email/email_layouts/_m20221201react.html.erb +1202 -0
  16. data/app/views/wco_email/email_layouts/_m20221222merryxmas.html.erb +766 -0
  17. data/app/views/wco_email/email_layouts/_m202309_feedback.html.erb +1161 -0
  18. data/app/views/wco_email/email_layouts/_m202309_ror4.html.erb +1068 -0
  19. data/app/views/wco_email/email_layouts/_marketing_node_1.html.erb +984 -0
  20. data/app/views/wco_email/email_layouts/_marketing_react_1.html +0 -0
  21. data/app/views/wco_email/email_layouts/_marketing_react_2.html.erb +749 -0
  22. data/app/views/wco_email/email_layouts/_marketing_react_3.html.erb +628 -0
  23. data/app/views/wco_email/email_layouts/_marketing_ror_1.html +751 -0
  24. data/app/views/wco_email/email_layouts/_marketing_ror_2.html.erb +755 -0
  25. data/app/views/wco_email/email_layouts/_marketing_ror_3.html.erb +25 -0
  26. data/app/views/wco_email/email_layouts/_marketing_ror_4.html.erb +25 -0
  27. data/app/views/wco_email/email_layouts/_marketing_ror_5.html.erb +17 -0
  28. data/app/views/wco_email/email_layouts/_marketing_wordpress_1.html +0 -0
  29. data/app/views/wco_email/email_layouts/_marketing_wordpress_2.html +0 -0
  30. data/app/views/wco_email/email_layouts/_piousbox_roundborders.html.erb +1007 -0
  31. data/app/views/wco_email/email_layouts/_plain.haml +18 -0
  32. data/app/views/wco_email/email_layouts/_rec_resume_shared_with_you.html.erb +39 -0
  33. data/app/views/wco_email/email_layouts/_slug-1.html.erb +0 -0
  34. data/app/views/wco_email/email_layouts/_slug-2.html.erb +0 -0
  35. data/app/views/wco_email/email_layouts/_slug-3.html.erb +0 -0
  36. data/app/views/wco_email/email_layouts/_test_tracking_footer.haml +12 -0
  37. data/app/views/wco_email/email_layouts/_wasyaco_roundborders.html.erb +686 -0
  38. data/app/views/wco_email/unsubscribes/_header.haml +4 -0
  39. data/app/views/wco_email/unsubscribes/_table.haml +22 -0
  40. data/config/routes.rb +2 -0
  41. metadata +31 -2
@@ -0,0 +1,686 @@
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
+ <!-- NAME: 1 COLUMN -->
5
+ <!--[if gte mso 15]>
6
+ <xml>
7
+ <o:OfficeDocumentSettings>
8
+ <o:AllowPNG/>
9
+ <o:PixelsPerInch>96</o:PixelsPerInch>
10
+ </o:OfficeDocumentSettings>
11
+ </xml>
12
+ <![endif]-->
13
+ <meta charset="UTF-8">
14
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
15
+ <meta name="viewport" content="width=device-width, initial-scale=1">
16
+ <title><%= @ctx&.preview_str.presence || @tmpl&.preview_str %></title>
17
+
18
+ <style type="text/css">
19
+ .mcnTextBlock {
20
+ color: #999;
21
+ }
22
+
23
+ p {
24
+ margin: 10px 0;
25
+ padding: 0;
26
+ }
27
+
28
+ table {
29
+ border-collapse: collapse;
30
+ }
31
+
32
+ h1,
33
+ h2,
34
+ h3,
35
+ h4,
36
+ h5,
37
+ h6 {
38
+ display: block;
39
+ margin: 0;
40
+ padding: 0;
41
+ }
42
+
43
+ img,
44
+ a img {
45
+ border: 0;
46
+ height: auto;
47
+ outline: none;
48
+ text-decoration: none;
49
+ }
50
+
51
+ body,
52
+ #bodyTable,
53
+ #bodyCell {
54
+ height: 100%;
55
+ margin: 0;
56
+ padding: 0;
57
+ width: 100%;
58
+ }
59
+
60
+ .mcnPreviewText {
61
+ display: none !important;
62
+ }
63
+
64
+ #outlook a {
65
+ padding: 0;
66
+ }
67
+
68
+ img {
69
+ -ms-interpolation-mode: bicubic;
70
+ }
71
+
72
+ table {
73
+ mso-table-lspace: 0pt;
74
+ mso-table-rspace: 0pt;
75
+ }
76
+
77
+ .ReadMsgBody {
78
+ width: 100%;
79
+ }
80
+
81
+ .ExternalClass {
82
+ width: 100%;
83
+ }
84
+
85
+ p,
86
+ a,
87
+ li,
88
+ td,
89
+ blockquote {
90
+ mso-line-height-rule: exactly;
91
+ }
92
+
93
+ a[href^=tel],
94
+ a[href^=sms] {
95
+ color: inherit;
96
+ cursor: default;
97
+ text-decoration: none;
98
+ }
99
+
100
+ p,
101
+ a,
102
+ li,
103
+ td,
104
+ body,
105
+ table,
106
+ blockquote {
107
+ -ms-text-size-adjust: 100%;
108
+ -webkit-text-size-adjust: 100%;
109
+ }
110
+
111
+ .ExternalClass,
112
+ .ExternalClass p,
113
+ .ExternalClass td,
114
+ .ExternalClass div,
115
+ .ExternalClass span,
116
+ .ExternalClass font {
117
+ line-height: 100%;
118
+ }
119
+
120
+ a[x-apple-data-detectors] {
121
+ color: inherit !important;
122
+ text-decoration: none !important;
123
+ font-size: inherit !important;
124
+ font-family: inherit !important;
125
+ font-weight: inherit !important;
126
+ line-height: inherit !important;
127
+ }
128
+
129
+ #bodyCell {
130
+ padding: 10px;
131
+ }
132
+
133
+ .templateContainer {
134
+ max-width: 600px !important;
135
+ }
136
+
137
+ a.mcnButton {
138
+ display: block;
139
+ }
140
+
141
+ .mcnImage,
142
+ .mcnRetinaImage {
143
+ vertical-align: bottom;
144
+ }
145
+
146
+ .mcnTextContent {
147
+ word-break: break-word;
148
+ }
149
+
150
+ .mcnTextContent img {
151
+ height: auto !important;
152
+ }
153
+
154
+ .mcnDividerBlock {
155
+ table-layout: fixed !important;
156
+ }
157
+
158
+ body,
159
+ #bodyTable {
160
+ background-color: #fff;
161
+ }
162
+
163
+ #bodyCell {
164
+ border-top: 0;
165
+ }
166
+
167
+ h1 {
168
+ font-family: Helvetica;
169
+ font-size: 26px;
170
+ font-style: normal;
171
+ font-weight: bold;
172
+ line-height: 125%;
173
+ letter-spacing: normal;
174
+ text-align: left;
175
+ }
176
+
177
+ h2 {
178
+ color: #202020;
179
+ font-family: Helvetica;
180
+ font-size: 22px;
181
+ font-style: normal;
182
+ font-weight: bold;
183
+ line-height: 125%;
184
+ letter-spacing: normal;
185
+ text-align: left;
186
+ }
187
+
188
+ h3 {
189
+ color: #202020;
190
+ font-family: Helvetica;
191
+ font-size: 20px;
192
+ font-style: normal;
193
+ font-weight: bold;
194
+ line-height: 125%;
195
+ letter-spacing: normal;
196
+ text-align: left;
197
+ }
198
+
199
+ h4 {
200
+ color: #202020;
201
+ font-family: Helvetica;
202
+ font-size: 18px;
203
+ font-style: normal;
204
+ font-weight: bold;
205
+ line-height: 125%;
206
+ letter-spacing: normal;
207
+ text-align: left;
208
+ }
209
+
210
+ #templatePreheader {
211
+ background-color: transparent;
212
+ background-image: none;
213
+ background-repeat: no-repeat;
214
+ background-position: center;
215
+ background-size: cover;
216
+ border-top: 0;
217
+ border-bottom: 0;
218
+ padding-top: 9px;
219
+ padding-bottom: 9px;
220
+ }
221
+
222
+ #templatePreheader .mcnTextContent,
223
+ #templatePreheader .mcnTextContent p {
224
+ color: #656565;
225
+ font-family: Helvetica;
226
+ font-size: 12px;
227
+ line-height: 150%;
228
+ text-align: left;
229
+ }
230
+
231
+ #templatePreheader .mcnTextContent a,
232
+ #templatePreheader .mcnTextContent p a {
233
+ color: #656565;
234
+ font-weight: normal;
235
+ text-decoration: underline;
236
+ }
237
+
238
+ #templateHeader {
239
+ background-color: #FFFFFF;
240
+ background-image: none;
241
+ background-repeat: no-repeat;
242
+ background-position: center;
243
+ background-size: cover;
244
+ border-top: 0;
245
+ border-bottom: 0;
246
+ padding-top: 9px;
247
+ padding-bottom: 0;
248
+ }
249
+
250
+ #templateHeader .mcnTextContent,
251
+ #templateHeader .mcnTextContent p {
252
+ color: #202020;
253
+ font-family: Helvetica;
254
+ font-size: 16px;
255
+ line-height: 150%;
256
+ text-align: left;
257
+ }
258
+
259
+ #templateHeader .mcnTextContent a,
260
+ #templateHeader .mcnTextContent p a {
261
+ color: #007C89;
262
+ font-weight: normal;
263
+ text-decoration: underline;
264
+ }
265
+
266
+ #templateBody {
267
+ background-color: #FFFFFF;
268
+ background-image: none;
269
+ background-repeat: no-repeat;
270
+ background-position: center;
271
+ background-size: cover;
272
+ border-top: 0;
273
+ border-bottom: 2px solid #EAEAEA;
274
+ padding-top: 0;
275
+ padding-bottom: 9px;
276
+ }
277
+
278
+ #templateBody .mcnTextContent,
279
+ #templateBody .mcnTextContent p {
280
+ color: #202020;
281
+ font-family: Helvetica;
282
+ font-size: 16px;
283
+ line-height: 150%;
284
+ text-align: left;
285
+ }
286
+
287
+ #templateBody .mcnTextContent a,
288
+ #templateBody .mcnTextContent p a {
289
+ color: #007C89;
290
+ font-weight: normal;
291
+ text-decoration: underline;
292
+ }
293
+
294
+ #templateFooter {
295
+ background-color: #FAFAFA;
296
+ background-image: none;
297
+ background-repeat: no-repeat;
298
+ background-position: center;
299
+ background-size: cover;
300
+ border-top: 0;
301
+ border-bottom: 0;
302
+ padding-top: 9px;
303
+ padding-bottom: 9px;
304
+ }
305
+
306
+ #templateFooter .mcnTextContent,
307
+ #templateFooter .mcnTextContent p {
308
+ color: #656565;
309
+ font-family: Helvetica;
310
+ font-size: 12px;
311
+ line-height: 150%;
312
+ }
313
+
314
+ #templateFooter .mcnTextContent a,
315
+ #templateFooter .mcnTextContent p a {
316
+ color: #656565;
317
+ font-weight: normal;
318
+ text-decoration: underline;
319
+ }
320
+
321
+ @media only screen and (min-width:768px) {
322
+ .templateContainer {
323
+ width: 600px !important;
324
+ }
325
+ }
326
+
327
+ @media only screen and (max-width: 480px) {
328
+ body,
329
+ table,
330
+ td,
331
+ p,
332
+ a,
333
+ li,
334
+ blockquote {
335
+ -webkit-text-size-adjust: none !important;
336
+ }
337
+ }
338
+
339
+ @media only screen and (max-width: 480px) {
340
+ body {
341
+ width: 100% !important;
342
+ min-width: 100% !important;
343
+ }
344
+ }
345
+
346
+ @media only screen and (max-width: 480px) {
347
+ .mcnRetinaImage {
348
+ max-width: 100% !important;
349
+ }
350
+ }
351
+
352
+ @media only screen and (max-width: 480px) {
353
+ .mcnImage {
354
+ width: 100% !important;
355
+ }
356
+ .mcnCartContainer,
357
+ .mcnCaptionTopContent,
358
+ .mcnRecContentContainer,
359
+ .mcnCaptionBottomContent,
360
+ .mcnTextContentContainer,
361
+ .mcnBoxedTextContentContainer,
362
+ .mcnImageGroupContentContainer,
363
+ .mcnCaptionLeftTextContentContainer,
364
+ .mcnCaptionRightTextContentContainer,
365
+ .mcnCaptionLeftImageContentContainer,
366
+ .mcnCaptionRightImageContentContainer,
367
+ .mcnImageCardLeftTextContentContainer,
368
+ .mcnImageCardRightTextContentContainer,
369
+ .mcnImageCardLeftImageContentContainer,
370
+ .mcnImageCardRightImageContentContainer {
371
+ max-width: 100% !important;
372
+ width: 100% !important;
373
+ }
374
+
375
+ }
376
+
377
+ @media only screen and (max-width: 480px) {
378
+ .mcnBoxedTextContentContainer {
379
+ min-width: 100% !important;
380
+ }
381
+ }
382
+
383
+ @media only screen and (max-width: 480px) {
384
+ .mcnImageGroupContent {
385
+ padding: 9px !important;
386
+ }
387
+ }
388
+
389
+ @media only screen and (max-width: 480px) {
390
+ .mcnCaptionLeftContentOuter .mcnTextContent,
391
+ .mcnCaptionRightContentOuter .mcnTextContent {
392
+ padding-top: 9px !important;
393
+ }
394
+ }
395
+
396
+ @media only screen and (max-width: 480px) {
397
+ .mcnImageCardTopImageContent,
398
+ .mcnCaptionBottomContent:last-child .mcnCaptionBottomImageContent,
399
+ .mcnCaptionBlockInner .mcnCaptionTopContent:last-child .mcnTextContent {
400
+ padding-top: 18px !important;
401
+ }
402
+ }
403
+
404
+ @media only screen and (max-width: 480px) {
405
+ .mcnImageCardBottomImageContent {
406
+ padding-bottom: 9px !important;
407
+ }
408
+ }
409
+
410
+ @media only screen and (max-width: 480px) {
411
+ .mcnImageGroupBlockInner {
412
+ padding-top: 0 !important;
413
+ padding-bottom: 0 !important;
414
+ }
415
+ }
416
+
417
+ @media only screen and (max-width: 480px) {
418
+ .mcnImageGroupBlockOuter {
419
+ padding-top: 9px !important;
420
+ padding-bottom: 9px !important;
421
+ }
422
+ }
423
+
424
+ @media only screen and (max-width: 480px) {
425
+ .mcnTextContent,
426
+ .mcnBoxedTextContentColumn {
427
+ padding-right: 18px !important;
428
+ padding-left: 18px !important;
429
+ }
430
+ }
431
+
432
+ @media only screen and (max-width: 480px) {
433
+ .mcnImageCardLeftImageContent,
434
+ .mcnImageCardRightImageContent {
435
+ padding-right: 18px !important;
436
+ padding-bottom: 0 !important;
437
+ padding-left: 18px !important;
438
+ }
439
+ }
440
+
441
+ @media only screen and (max-width: 480px) {
442
+ .mcpreview-image-uploader {
443
+ display: none !important;
444
+ width: 100% !important;
445
+ }
446
+ }
447
+
448
+ @media only screen and (max-width: 480px) {
449
+ h1 {
450
+ font-size: 22px !important;
451
+ line-height: 125% !important;
452
+ }
453
+ }
454
+
455
+ @media only screen and (max-width: 480px) {
456
+ h2 {
457
+ font-size: 20px !important;
458
+ line-height: 125% !important;
459
+ }
460
+ }
461
+
462
+ @media only screen and (max-width: 480px) {
463
+ h3 {
464
+ font-size: 18px !important;
465
+ line-height: 125% !important;
466
+ }
467
+ }
468
+
469
+ @media only screen and (max-width: 480px) {
470
+ h4 {
471
+ font-size: 16px !important;
472
+ line-height: 150% !important;
473
+ }
474
+ }
475
+
476
+ @media only screen and (max-width: 480px) {
477
+ .mcnBoxedTextContentContainer .mcnTextContent,
478
+ .mcnBoxedTextContentContainer .mcnTextContent p {
479
+ font-size: 14px !important;
480
+ line-height: 150% !important;
481
+ }
482
+ }
483
+
484
+ @media only screen and (max-width: 480px) {
485
+ #templatePreheader {
486
+ display: block !important;
487
+ }
488
+ }
489
+
490
+ @media only screen and (max-width: 480px) {
491
+ #templatePreheader .mcnTextContent,
492
+ #templatePreheader .mcnTextContent p {
493
+ font-size: 14px !important;
494
+ line-height: 150% !important;
495
+ }
496
+ }
497
+
498
+ @media only screen and (max-width: 480px) {
499
+ #templateHeader .mcnTextContent,
500
+ #templateHeader .mcnTextContent p {
501
+ font-size: 16px !important;
502
+ line-height: 150% !important;
503
+ }
504
+ }
505
+
506
+ @media only screen and (max-width: 480px) {
507
+ #templateBody .mcnTextContent,
508
+ #templateBody .mcnTextContent p {
509
+ font-size: 16px !important;
510
+ line-height: 150% !important;
511
+ }
512
+ }
513
+
514
+ @media only screen and (max-width: 480px) {
515
+ #templateFooter .mcnTextContent,
516
+ #templateFooter .mcnTextContent p {
517
+ font-size: 14px !important;
518
+ line-height: 150% !important;
519
+ }
520
+ }
521
+ </style>
522
+ </head>
523
+
524
+ <body>
525
+
526
+
527
+ <!--[if !gte mso 9]>-->
528
+ <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;"
529
+ ><%= @ctx&.preview_str.presence || @tmpl&.preview_str %></span>
530
+ <!--<![endif]-->
531
+
532
+ <center>
533
+ <table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="bodyTable">
534
+ <tr>
535
+ <td align="center" valign="top" id="bodyCell">
536
+
537
+ <!-- BEGIN TEMPLATE // -->
538
+
539
+ <!--[if (gte mso 9)|(IE)]>
540
+ <table align="center" border="0" cellspacing="0" cellpadding="0" width="600" style="width:600px;">
541
+ <tr>
542
+ <td align="center" valign="top" width="600" style="width:600px;">
543
+ <![endif]-->
544
+
545
+ <table border="0" cellpadding="0" cellspacing="0" width="100%" class="templateContainer">
546
+ <tr>
547
+ <td valign="top" id="templatePreheader"></td>
548
+ </tr>
549
+ <tr>
550
+ <td valign="top" id="templateHeader">
551
+
552
+ <table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnImageBlock"
553
+ style="min-width:100%;">
554
+ <tbody class="mcnImageBlockOuter">
555
+ <tr>
556
+ <td valign="top" style="padding:9px" class="mcnImageBlockInner">
557
+
558
+ <table align="left" width="100%" border="0" cellpadding="0" cellspacing="0"
559
+ class="mcnImageContentContainer" style="min-width:100%;">
560
+ <tbody>
561
+ <tr>
562
+ <td class="mcnImageContent" valign="top" style="padding-right: 9px; padding-left: 9px; padding-top: 0; padding-bottom: 0; text-align:center;">
563
+ <!-- <img align="center" alt="wasya-co-logo" src="*|BRAND:LOGO|*" width="196"
564
+ style="max-width:196px; padding-bottom: 0; display: inline !important; vertical-align: bottom;"
565
+ class="mcnImage"> -->
566
+ - w a s y a . c o -
567
+ </td>
568
+ </tr>
569
+ </tbody>
570
+ </table>
571
+
572
+ </td>
573
+ </tr>
574
+ </tbody>
575
+ </table>
576
+
577
+ </td>
578
+ </tr>
579
+ <tr>
580
+ <td valign="top" id="templateBody">
581
+
582
+ <table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnTextBlock" style="min-width:100%;">
583
+ <tbody class="mcnTextBlockOuter">
584
+ <tr>
585
+ <td valign="top" class="mcnTextBlockInner" style="padding-top:9px;">
586
+ <!--[if mso]>
587
+ <table align="left" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%;">
588
+ <tr>
589
+ <td valign="top" width="299" style="width:299px;">
590
+ <![endif]-->
591
+
592
+ <div style="border: 2px solid #999; border-radius: 4px; padding: 1em; margin-bottom: 1em;">
593
+ <%== ERB.new( @ctx&.body.presence || @tmpl&.body ).result %>
594
+ </div>
595
+
596
+ <!--[if mso]>
597
+ </td>
598
+ </tr>
599
+ </table>
600
+ <![endif]-->
601
+ </td>
602
+ </tr>
603
+ </tbody>
604
+ </table>
605
+
606
+ </td>
607
+ </tr>
608
+ <tr>
609
+ <td valign="top" id="templateFooter">
610
+
611
+ <table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnTextBlock"
612
+ style="min-width:100%;">
613
+ <tbody class="mcnTextBlockOuter">
614
+ <tr>
615
+ <td valign="top" class="mcnTextBlockInner" style="padding-top:9px;">
616
+
617
+ <!--[if mso]>
618
+ <table align="left" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%;">
619
+ <tr>
620
+ <td valign="top" width="299" style="width:299px;">
621
+ <![endif]-->
622
+
623
+ <table align="left" border="0" cellpadding="0" cellspacing="0" style="max-width:299px;"
624
+ width="100%" class="mcnTextContentContainer">
625
+ <tbody>
626
+ <tr>
627
+
628
+ <td valign="top" class="mcnTextContent"
629
+ style="padding-top:0; padding-left:18px; padding-bottom:9px; padding-right:18px;">
630
+
631
+ <span style="font-family:roboto,helvetica neue,helvetica,arial,sans-serif">Victor Pudeyev<br>
632
+ Software Engineering Lead<br>
633
+ <a href="mailto:victor@wasya.co"
634
+ target="_blank">victor@wasya.co</a>&nbsp;|&nbsp;<a
635
+ href="https://wasya.co/w/c2" target="_blank">Book a chat</a></span>
636
+ </td>
637
+ </tr>
638
+ </tbody>
639
+ </table>
640
+
641
+ <!--[if mso]>
642
+ </td>
643
+ <td valign="top" width="299" style="width:299px;">
644
+ <![endif]-->
645
+
646
+ <table align="left" border="0" cellpadding="0" cellspacing="0" style="max-width:299px;"
647
+ width="100%" class="mcnTextContentContainer">
648
+ <tbody>
649
+ <tr>
650
+ <td valign="top" class="mcnTextContent" style="padding-top:0; padding-left:18px; padding-bottom:9px; padding-right:18px;">
651
+
652
+ <%= render '/wco_email/email_templates/wasyaco_social' %>
653
+
654
+ </td>
655
+ </tr>
656
+ </tbody>
657
+ </table>
658
+
659
+ <!--[if mso]>
660
+ </td>
661
+ </tr>
662
+ </table>
663
+ <![endif]-->
664
+
665
+ </td>
666
+ </tr>
667
+ </tbody>
668
+ </table>
669
+
670
+
671
+ </td>
672
+ </tr>
673
+ </table>
674
+ <!--[if (gte mso 9)|(IE)]>
675
+ </td>
676
+ </tr>
677
+ </table>
678
+ <![endif]-->
679
+ <!-- // END TEMPLATE -->
680
+ </td>
681
+ </tr>
682
+ </table>
683
+ </center>
684
+ </body>
685
+
686
+ </html>
@@ -0,0 +1,4 @@
1
+
2
+ .unsubscrives--header
3
+ = link_to "Unsubscribes (#{WcoEmail::Unsubscribe.all.length})", wco.unsubscribes_path
4
+ = link_to '[analytics]', analytics_path
@@ -0,0 +1,22 @@
1
+
2
+ - unsubscribes ||= @unsubscribes
3
+
4
+ .unsubscribes-index.maxwidth
5
+ %h5 Unsubscribes
6
+
7
+ %table.bordered.data-table
8
+ %thead
9
+ %tr
10
+ %td Lead
11
+ %td Date
12
+ %td campaign_id
13
+ %td template_id
14
+
15
+
16
+ - unsubscribes.each do |uuu|
17
+ %tr
18
+ %td= uuu.lead
19
+ %td= uuu.unsubscribed_at
20
+ %td= uuu.campaign
21
+ %td= uuu.template
22
+
data/config/routes.rb CHANGED
@@ -50,6 +50,8 @@ Wco::Engine.routes.draw do
50
50
 
51
51
  resources :tags
52
52
 
53
+ resources :unsubscribes
54
+
53
55
  resources :videos
54
56
 
55
57
  end