Error compiling template "Designs/Rapido/_parsed/Swift_Newsletter.parsed.cshtml"
Line 37: 'ItemViewModel' does not contain a definition for 'GetLink' and no accessible extension method 'GetLink' accepting a first argument of type 'ItemViewModel' could be found (are you missing a using directive or an assembly reference?)
Line 37: 'ItemViewModel' does not contain a definition for 'GetLink' and no accessible extension method 'GetLink' accepting a first argument of type 'ItemViewModel' could be found (are you missing a using directive or an assembly reference?)
Line 112: 'ItemViewModel' does not contain a definition for 'GetLink' and no accessible extension method 'GetLink' accepting a first argument of type 'ItemViewModel' could be found (are you missing a using directive or an assembly reference?)
Line 112: 'ItemViewModel' does not contain a definition for 'GetLink' and no accessible extension method 'GetLink' accepting a first argument of type 'ItemViewModel' could be found (are you missing a using directive or an assembly reference?)

1 //------------------------------------------------------------------------------ 2 // <auto-generated> 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319.42000 5 // 6 // Changes to this file may cause incorrect behavior and will be lost if 7 // the code is regenerated. 8 // </auto-generated> 9 //------------------------------------------------------------------------------ 10 11 namespace CompiledRazorTemplates.Dynamic { 12 using System; 13 using System.Collections.Generic; 14 using System.Linq; 15 16 #line 1 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 17 using Dynamicweb.Content; 18 19 #line default 20 #line hidden 21 22 #line 2 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 23 using Page = Dynamicweb.Content.Page; 24 25 #line default 26 #line hidden 27 28 29 public class RazorEngine_e0479e7c4ebf463f942fc3d5b75660ce : Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel> { 30 31 #line hidden 32 33 #line 5 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 34 35 private Page GetBrandingPage() 36 { 37 int brandingPageId = Model.Area.Item.GetItem("Custom").GetLink("BrandingPage") != null ? Model.Area.Item.GetItem("Custom").GetLink("BrandingPage").PageId : 0; 38 return brandingPageId > 0 ? Dynamicweb.Services.Pages?.GetPage(brandingPageId) : null; 39 } 40 41 42 private string GetFontsToLink() 43 { 44 Page brandingPage = GetBrandingPage(); 45 if (brandingPage == null) return ""; 46 47 List<string> fonts = new List<string>(); 48 AddFontFamily(brandingPage, "HeaderFont", fonts); 49 AddFontFamily(brandingPage, "DisplayFont", fonts); 50 AddFontFamily(brandingPage, "BodyFont", fonts); 51 52 var fontsToLink = string.Join("%7C", fonts.Where(x => !string.IsNullOrEmpty(x)).Distinct().Select(x => string.Format("{0}:100,200,300,400,500,600,700,800,900", x))); 53 return fontsToLink; 54 } 55 56 private static void AddFontFamily(Page brandingPage, string systemName, List<string> fonts) 57 { 58 if (brandingPage.Item[systemName] == null) return; 59 dynamic font = Newtonsoft.Json.JsonConvert.DeserializeObject(brandingPage.Item[systemName].ToString()); 60 if (font != null && font.Family != null) { 61 fonts.Add(font.Family.ToString()); 62 } 63 } 64 65 private string GetFontStyle(string type) 66 { 67 Page brandingPage = GetBrandingPage(); 68 if (brandingPage == null) return ""; 69 70 string fontStyle = ""; 71 dynamic font = Newtonsoft.Json.JsonConvert.DeserializeObject(brandingPage.Item[type+"Font"].ToString()); 72 if (font != null) { 73 fontStyle += $"font-family:{font.Family}, sans-serif;"; 74 fontStyle += $"font-weight:{font.SelectedVariant};"; 75 } 76 fontStyle += $"text-transform:{brandingPage.Item[type+"Casing"]};"; 77 fontStyle += $"line-height:{brandingPage.Item[type+"LineHeight"]};"; 78 fontStyle += $"letter-spacing:{brandingPage.Item[type+"LetterSpacing"]};"; 79 return fontStyle; 80 } 81 82 #line default 83 #line hidden 84 85 86 public RazorEngine_e0479e7c4ebf463f942fc3d5b75660ce() { 87 } 88 89 public override void Execute() { 90 WriteLiteral(" \r\n\r\n"); 91 92 93 #line 55 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 94 95 int newsletterWidth = Model.Item.GetInt32("Width"); 96 string mediaQuery = newsletterWidth + 20 + "px"; 97 string oneColWidth = newsletterWidth + "px"; 98 string twoColWidth = newsletterWidth / 2 + "px"; 99 string twoColGutterWidth = (newsletterWidth - 20) / 2 + "px"; 100 string backgroundColor = "#FFFFFF"; 101 string viewInBrowserLink = Dynamicweb.Context.Current.Request.Url.Scheme + "://" + Dynamicweb.Context.Current.Request.Url.Host + "/Default.aspx?ID=" + Model.ID; 102 //string viewInBrowserLink = "/Default.aspx?ID=" + Model.ID; 103 string viewInBrowserText = Model.Item.GetString("ViewInBrowserText"); 104 string lang = Pageview.Area.CultureInfo.TwoLetterISOLanguageName; 105 string emailLinksColor = "#808080"; 106 string fontsToLink = GetFontsToLink(); 107 string bodyFontStyle = GetFontStyle("Body"); 108 string theme = !string.IsNullOrEmpty(Pageview.Page.Item["Theme"]?.ToString()) ? Pageview.Page.Item["Theme"].ToString().ToLower() : ""; 109 110 if (!string.IsNullOrEmpty(theme) && theme != "theme default") 111 { 112 var themesPageId = Pageview.AreaSettings.GetItem("Custom").GetLink("ThemesPage") != null ? Pageview.AreaSettings.GetItem("Custom").GetLink("ThemesPage").PageId : 0; 113 if (themesPageId > 0) 114 { 115 List<Paragraph> themesPageParagraphs = Dynamicweb.Services.Paragraphs.GetParagraphsByPageId(themesPageId)?.ToList(); 116 Paragraph themeParagraph = themesPageParagraphs?.FirstOrDefault(p => p.Item["Name"].ToString().ToLower().Equals(theme)); 117 118 if (themeParagraph != null) 119 { 120 backgroundColor = themeParagraph.Item["BackgroundColor"] != null ? themeParagraph.Item["BackgroundColor"].ToString() : ""; 121 backgroundColor = backgroundColor == "" ? "transparent" : backgroundColor; 122 } 123 } 124 } 125 126 127 #line default 128 #line hidden 129 WriteLiteral("\r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional //EN\" \"http://www.w3." + 130 "org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<!--[if IE]>\r\n\t<html xmlns=\"http://" + 131 "www.w3.org/1999/xhtml\" class=\"ie\" lang=\""); 132 133 134 #line 89 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 135 Write(lang); 136 137 138 #line default 139 #line hidden 140 WriteLiteral("\">\r\n<![endif]-->\r\n<!--[if !IE]><!-->\r\n\t<html"); 141 142 WriteLiteral(" style=\"margin: 0;padding: 0;\""); 143 144 WriteLiteral(" xmlns=\"http://www.w3.org/1999/xhtml\""); 145 146 WriteAttribute("lang", Tuple.Create(" lang=\"", 4053), Tuple.Create("\"", 4065) 147 148 #line 92 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 149 , Tuple.Create(Tuple.Create("", 4060), Tuple.Create<System.Object, System.Int32>(lang 150 151 #line default 152 #line hidden 153 , 4060), false) 154 ); 155 156 WriteLiteral(">\r\n<!--<![endif]-->\r\n<head>\r\n\t<meta"); 157 158 WriteLiteral(" http-equiv=\"Content-Type\""); 159 160 WriteLiteral(" content=\"text/html; charset=utf-8\""); 161 162 WriteLiteral(">\r\n\t<title></title>\r\n\t<!--[if !mso]><!--><meta"); 163 164 WriteLiteral(" http-equiv=\"X-UA-Compatible\""); 165 166 WriteLiteral(" content=\"IE=edge\""); 167 168 WriteLiteral("><!--<![endif]-->\r\n\t<meta"); 169 170 WriteLiteral(" name=\"viewport\""); 171 172 WriteLiteral(" content=\"width=device-width\""); 173 174 WriteLiteral(">\r\n\t<style"); 175 176 WriteLiteral(" type=\"text/css\""); 177 178 WriteLiteral(">\r\n "); 179 180 WriteLiteral("@media only screen and (min-width: "); 181 182 183 #line 100 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 184 Write(mediaQuery); 185 186 187 #line default 188 #line hidden 189 WriteLiteral("){.wrapper{min-width:"); 190 191 192 #line 100 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 193 Write(oneColWidth); 194 195 196 #line default 197 #line hidden 198 WriteLiteral(" !important}.wrapper h1{}.wrapper h1{font-size:22px !important;line-height:31px !" + 199 "important}.wrapper h2{}.wrapper h2{font-size:20px !important;line-height:28px !i" + 200 "mportant}.wrapper h3{}.wrapper h3{font-size:18px !important;line-height:26px !im" + 201 "portant}.column{}.wrapper .size-8{font-size:8px !important;line-height:14px !imp" + 202 "ortant}.wrapper .size-9{font-size:9px !important;line-height:16px !important}.wr" + 203 "apper .size-10{font-size:10px !important;line-height:18px !important}.wrapper .s" + 204 "ize-11{font-size:11px !important;line-height:19px !important}.wrapper .size-12{f" + 205 "ont-size:12px !important;line-height:19px !important}.wrapper .size-13{font-size" + 206 ":13px !important;line-height:21px !important}.wrapper .size-14{font-size:14px !i" + 207 "mportant;line-height:21px !important}.wrapper .size-15{font-size:15px !important" + 208 ";line-height:23px \r\n !important}.wrapper .size-16{font-size:16px !important" + 209 ";line-height:24px !important}.wrapper .size-17{font-size:17px !important;line-he" + 210 "ight:26px !important}.wrapper .size-18{font-size:18px !important;line-height:26p" + 211 "x !important}.wrapper .size-20{font-size:20px !important;line-height:28px !impor" + 212 "tant}.wrapper .size-22{font-size:22px !important;line-height:31px !important}.wr" + 213 "apper .size-24{font-size:24px !important;line-height:32px !important}.wrapper .s" + 214 "ize-26{font-size:26px !important;line-height:34px !important}.wrapper .size-28{f" + 215 "ont-size:28px !important;line-height:36px !important}.wrapper .size-30{font-size" + 216 ":30px !important;line-height:38px !important}.wrapper .size-32{font-size:32px !i" + 217 "mportant;line-height:40px !important}.wrapper .size-34{font-size:34px !important" + 218 ";line-height:43px !important}.wrapper .size-36{font-size:36px !important;line-he" + 219 "ight:43px !important}.wrapper \r\n .size-40{font-size:40px !important;line-he" + 220 "ight:47px !important}.wrapper .size-44{font-size:44px !important;line-height:50p" + 221 "x !important}.wrapper .size-48{font-size:48px !important;line-height:54px !impor" + 222 "tant}.wrapper .size-56{font-size:56px !important;line-height:60px !important}.wr" + 223 "apper .size-64{font-size:64px !important;line-height:63px !important}}\r\n </st" + 224 "yle>\r\n\t<meta"); 225 226 WriteLiteral(" name=\"x-apple-disable-message-reformatting\""); 227 228 WriteLiteral(">\r\n\t<style"); 229 230 WriteLiteral(" type=\"text/css\""); 231 232 WriteLiteral(">\r\n .main, .mso {\r\n margin: 0;\r\n padding: 0;\r\n }\r\n table {\r\n " + 233 " border-collapse: collapse;\r\n table-layout: fixed;\r\n }\r\n * {\r\n " + 234 " line-height: inherit;\r\n }\r\n [x-apple-data-detectors] {\r\n color: inh" + 235 "erit !important;\r\n text-decoration: none !important;\r\n }\r\n .wrapper ." + 236 "footer__share-button a:hover,\r\n .wrapper .footer__share-button a:focus {\r\n " + 237 " color: #ffffff !important;\r\n }\r\n .btn a:hover,\r\n .btn a:focus,\r\n " + 238 ".footer__share-button a:hover,\r\n .footer__share-button a:focus,\r\n .email-f" + 239 "ooter__links a:hover,\r\n .email-footer__links a:focus {\r\n opacity: 0.8;\r\n" + 240 " }\r\n .preheader,\r\n .header,\r\n .layout,\r\n .column {\r\n transit" + 241 "ion: width 0.25s ease-in-out, max-width 0.25s ease-in-out;\r\n }\r\n .preheade" + 242 "r td {\r\n padding-bottom: 8px;\r\n }\r\n .layout,\r\n div.header {\r\n " + 243 " max-width: 400px !important;\r\n -fallback-width: 95% !important;\r\n wid" + 244 "th: calc(100% - 20px) !important;\r\n }\r\n div.preheader {\r\n max-width: " + 245 "360px !important;\r\n -fallback-width: 90% !important;\r\n width: calc(100" + 246 "% - 60px) !important;\r\n }\r\n .snippet,\r\n .webversion {\r\n Float: non" + 247 "e !important;\r\n }\r\n .stack .column {\r\n max-width: 400px !important;\r\n" + 248 " width: 100% !important;\r\n }\r\n .snippet,\r\n .webversion {\r\n wi" + 249 "dth: 50% !important;\r\n }\r\n .ie .btn {\r\n width: 100%;\r\n }\r\n .ie " + 250 ".stack .column,\r\n .ie .stack .gutter {\r\n display: table-cell;\r\n\t height" + 251 ": 0;\r\n float: none !important;\r\n }\r\n .ie div.preheader,\r\n .ie .ema" + 252 "il-footer {\r\n max-width: 560px !important;\r\n width: 560px !important;\r" + 253 "\n }\r\n .ie .snippet,\r\n .ie .webversion {\r\n width: 280px !important;" + 254 "\r\n }\r\n .ie div.header,\r\n .ie .layout {\r\n max-width: "); 255 256 257 #line 185 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 258 Write(oneColWidth); 259 260 261 #line default 262 #line hidden 263 WriteLiteral(" !important;\r\n min-width: "); 264 265 266 #line 186 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 267 Write(oneColWidth); 268 269 270 #line default 271 #line hidden 272 WriteLiteral(" !important;\r\n width: "); 273 274 275 #line 187 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 276 Write(oneColWidth); 277 278 279 #line default 280 #line hidden 281 WriteLiteral(" !important;\r\n }\r\n .ie .two-col .column {\r\n max-width: "); 282 283 284 #line 190 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 285 Write(twoColWidth); 286 287 288 #line default 289 #line hidden 290 WriteLiteral(" !important;\r\n min-width: "); 291 292 293 #line 191 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 294 Write(twoColWidth); 295 296 297 #line default 298 #line hidden 299 WriteLiteral(" !important;\r\n width: "); 300 301 302 #line 192 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 303 Write(twoColWidth); 304 305 306 #line default 307 #line hidden 308 WriteLiteral(" !important;\r\n }\r\n .ie .stack.two-col.has-gutter .column {\r\n max-width" + 309 ": "); 310 311 312 #line 195 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 313 Write(twoColGutterWidth); 314 315 316 #line default 317 #line hidden 318 WriteLiteral(" !important;\r\n min-width: "); 319 320 321 #line 196 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 322 Write(twoColGutterWidth); 323 324 325 #line default 326 #line hidden 327 WriteLiteral(" !important;\r\n width: "); 328 329 330 #line 197 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 331 Write(twoColGutterWidth); 332 333 334 #line default 335 #line hidden 336 WriteLiteral(@" !important; 337 } 338 .ie .fixed-width .layout__inner { 339 border-left: 0 none white !important; 340 border-right: 0 none white !important; 341 } 342 .ie .layout__edges { 343 display: none; 344 } 345 .mso .layout__edges { 346 font-size: 0; 347 } 348 .layout-fixed-width, 349 .mso .layout-full-width { 350 background-color: "); 351 352 353 #line 211 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 354 Write(backgroundColor); 355 356 357 #line default 358 #line hidden 359 WriteLiteral(";\r\n }\r\n "); 360 361 WriteLiteral("@media only screen and (min-width: "); 362 363 364 #line 213 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 365 Write(mediaQuery); 366 367 368 #line default 369 #line hidden 370 WriteLiteral(@") { 371 .column, 372 .gutter { 373 display: table-cell; 374 height: 0; 375 Float: none !important; 376 vertical-align: top; 377 } 378 div.preheader, 379 .email-footer { 380 max-width: 560px !important; 381 width: 560px !important; 382 } 383 .snippet, 384 .webversion { 385 width: 280px !important; 386 } 387 div.header, 388 .layout, 389 .one-col .column { 390 max-width: "); 391 392 393 #line 233 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 394 Write(oneColWidth); 395 396 397 #line default 398 #line hidden 399 WriteLiteral(" !important;\r\n min-width: "); 400 401 402 #line 234 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 403 Write(oneColWidth); 404 405 406 #line default 407 #line hidden 408 WriteLiteral(" !important;\r\n width: "); 409 410 411 #line 235 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 412 Write(oneColWidth); 413 414 415 #line default 416 #line hidden 417 WriteLiteral(" !important;\r\n }\r\n .two-col .column {\r\n max-width: "); 418 419 420 #line 238 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 421 Write(twoColWidth); 422 423 424 #line default 425 #line hidden 426 WriteLiteral(" !important;\r\n min-width: "); 427 428 429 #line 239 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 430 Write(twoColWidth); 431 432 433 #line default 434 #line hidden 435 WriteLiteral(" !important;\r\n width: "); 436 437 438 #line 240 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 439 Write(twoColWidth); 440 441 442 #line default 443 #line hidden 444 WriteLiteral(" !important;\r\n }\r\n .two-col.has-gutter .column,\r\n .two-col.x_has-g" + 445 "utter .column {\r\n max-width: "); 446 447 448 #line 244 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 449 Write(twoColGutterWidth); 450 451 452 #line default 453 #line hidden 454 WriteLiteral(" !important;\r\n min-width: "); 455 456 457 #line 245 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 458 Write(twoColGutterWidth); 459 460 461 #line default 462 #line hidden 463 WriteLiteral(" !important;\r\n width: "); 464 465 466 #line 246 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 467 Write(twoColGutterWidth); 468 469 470 #line default 471 #line hidden 472 WriteLiteral(" !important;\r\n }\r\n \r\n /*Style need for Comcast email to work. Does" + 473 "n\'t seem to break any of the other providers*/\r\n .one-col .product-column.c" + 474 "olumn {\r\n \twidth: "); 475 476 477 #line 251 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 478 Write(twoColGutterWidth); 479 480 481 #line default 482 #line hidden 483 WriteLiteral(@" !important; 484 } 485 486 .two-col .product-column.column, 487 .two-col .product-column.x_column, 488 .product-column.column, 489 .product-column.x_column { 490 min-width: 0 !important; 491 min-width: auto !important; 492 } 493 } 494 "); 495 496 WriteLiteral(@"@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) { 497 .fblike { 498 background-image: url(http://i7.createsend1.com/static/eb/master/13-the-blueprint-3/images/fblike@2x.png) !important; 499 } 500 .tweet { 501 background-image: url(http://i8.createsend1.com/static/eb/master/13-the-blueprint-3/images/tweet@2x.png) !important; 502 } 503 .linkedinshare { 504 background-image: url(http://i9.createsend1.com/static/eb/master/13-the-blueprint-3/images/lishare@2x.png) !important; 505 } 506 .forwardtoafriend { 507 background-image: url(http://i10.createsend1.com/static/eb/master/13-the-blueprint-3/images/forward@2x.png) !important; 508 } 509 } 510 "); 511 512 WriteLiteral("@media (max-width: 321px) {\r\n .layout,\r\n .stack .column {\r\n min-" + 513 "width: 320px !important;\r\n width: 320px !important;\r\n }\r\n .bord" + 514 "er {\r\n display: none;\r\n }\r\n .has-gutter .border {\r\n disp" + 515 "lay: table-cell;\r\n }\r\n }\r\n .mso div {\r\n border: 0 none white !im" + 516 "portant;\r\n }\r\n .mso .w560 .divider {\r\n Margin-left: 260px !important;" + 517 "\r\n Margin-right: 260px !important;\r\n }\r\n .mso .w360 .divider {\r\n " + 518 " Margin-left: 160px !important;\r\n Margin-right: 160px !important;\r\n }\r\n " + 519 " .mso .w260 .divider {\r\n Margin-left: 110px !important;\r\n Margin-rig" + 520 "ht: 110px !important;\r\n }\r\n .mso .w160 .divider {\r\n Margin-left: 60px" + 521 " !important;\r\n Margin-right: 60px !important;\r\n }\r\n .mso .w354 .divid" + 522 "er {\r\n Margin-left: 157px !important;\r\n Margin-right: 157px !important" + 523 ";\r\n }\r\n .mso .w250 .divider {\r\n Margin-left: 105px !important;\r\n " + 524 " Margin-right: 105px !important;\r\n }\r\n .mso .w148 .divider {\r\n Margin" + 525 "-left: 54px !important;\r\n Margin-right: 54px !important;\r\n }\r\n .mso ." + 526 "size-8,\r\n .ie .size-8 {\r\n font-size: 8px !important;\r\n line-height:" + 527 " 14px !important;\r\n }\r\n .mso .size-9,\r\n .ie .size-9 {\r\n font-size:" + 528 " 9px !important;\r\n line-height: 16px !important;\r\n }\r\n .mso .size-10," + 529 "\r\n .ie .size-10 {\r\n font-size: 10px !important;\r\n line-height: 18px" + 530 " !important;\r\n }\r\n .mso .size-11,\r\n .ie .size-11 {\r\n font-size: 11" + 531 "px !important;\r\n line-height: 19px !important;\r\n }\r\n .mso .size-12,\r\n" + 532 " .ie .size-12 {\r\n font-size: 12px !important;\r\n line-height: 19px !" + 533 "important;\r\n }\r\n .mso .size-13,\r\n .ie .size-13 {\r\n font-size: 13px" + 534 " !important;\r\n line-height: 21px !important;\r\n }\r\n .mso .size-14,\r\n " + 535 " .ie .size-14 {\r\n font-size: 14px !important;\r\n line-height: 21px !im" + 536 "portant;\r\n }\r\n .mso .size-15,\r\n .ie .size-15 {\r\n font-size: 15px !" + 537 "important;\r\n line-height: 23px !important;\r\n }\r\n .mso .size-16,\r\n " + 538 ".ie .size-16 {\r\n font-size: 16px !important;\r\n line-height: 24px !impo" + 539 "rtant;\r\n }\r\n .mso .size-17,\r\n .ie .size-17 {\r\n font-size: 17px !im" + 540 "portant;\r\n line-height: 26px !important;\r\n }\r\n .mso .size-18,\r\n .i" + 541 "e .size-18 {\r\n font-size: 18px !important;\r\n line-height: 26px !import" + 542 "ant;\r\n }\r\n .mso .size-20,\r\n .ie .size-20 {\r\n font-size: 20px !impo" + 543 "rtant;\r\n line-height: 28px !important;\r\n }\r\n .mso .size-22,\r\n .ie " + 544 ".size-22 {\r\n font-size: 22px !important;\r\n line-height: 31px !importan" + 545 "t;\r\n }\r\n .mso .size-24,\r\n .ie .size-24 {\r\n font-size: 24px !import" + 546 "ant;\r\n line-height: 32px !important;\r\n }\r\n .mso .size-26,\r\n .ie .s" + 547 "ize-26 {\r\n font-size: 26px !important;\r\n line-height: 34px !important;" + 548 "\r\n }\r\n .mso .size-28,\r\n .ie .size-28 {\r\n font-size: 28px !importan" + 549 "t;\r\n line-height: 36px !important;\r\n }\r\n .mso .size-30,\r\n .ie .siz" + 550 "e-30 {\r\n font-size: 30px !important;\r\n line-height: 38px !important;\r\n" + 551 " }\r\n .mso .size-32,\r\n .ie .size-32 {\r\n font-size: 32px !important;" + 552 "\r\n line-height: 40px !important;\r\n }\r\n .mso .size-34,\r\n .ie .size-" + 553 "34 {\r\n font-size: 34px !important;\r\n line-height: 43px !important;\r\n " + 554 " }\r\n .mso .size-36,\r\n .ie .size-36 {\r\n font-size: 36px !important;\r\n" + 555 " line-height: 43px !important;\r\n }\r\n .mso .size-40,\r\n .ie .size-40" + 556 " {\r\n font-size: 40px !important;\r\n line-height: 47px !important;\r\n " + 557 "}\r\n .mso .size-44,\r\n .ie .size-44 {\r\n font-size: 44px !important;\r\n " + 558 " line-height: 50px !important;\r\n }\r\n .mso .size-48,\r\n .ie .size-48 {" + 559 "\r\n font-size: 48px !important;\r\n line-height: 54px !important;\r\n }\r" + 560 "\n .mso .size-56,\r\n .ie .size-56 {\r\n font-size: 56px !important;\r\n " + 561 " line-height: 60px !important;\r\n }\r\n .mso .size-64,\r\n .ie .size-64 {\r\n" + 562 " font-size: 64px !important;\r\n line-height: 63px !important;\r\n }\r\n\r" + 563 "\n\t.mt-0 > *:first-child {\r\n\t\tmargin-top: 0;\r\n\t}\r\n\r\n\t.mb-0 > *:last-child {\r\n\t\tma" + 564 "rgin-bottom: 0;\r\n\t}\r\n</style>\r\n\t<!--[if !mso]><!-->\r\n\t<style"); 565 566 WriteLiteral(" type=\"text/css\""); 567 568 WriteLiteral(">\r\n "); 569 570 WriteLiteral("@import url(https://fonts.googleapis.com/css?family="); 571 572 573 #line 456 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 574 Write(fontsToLink); 575 576 577 #line default 578 #line hidden 579 WriteLiteral(");\r\n </style>\r\n\t<link"); 580 581 WriteAttribute("href", Tuple.Create(" href=\"", 15986), Tuple.Create("\"", 16045) 582 , Tuple.Create(Tuple.Create("", 15993), Tuple.Create("https://fonts.googleapis.com/css?family=", 15993), true) 583 584 #line 458 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 585 , Tuple.Create(Tuple.Create("", 16033), Tuple.Create<System.Object, System.Int32>(fontsToLink 586 587 #line default 588 #line hidden 589 , 16033), false) 590 ); 591 592 WriteLiteral(" rel=\"stylesheet\""); 593 594 WriteLiteral(" type=\"text/css\""); 595 596 WriteLiteral(">\r\n\t<!--<![endif]-->\r\n\t<style"); 597 598 WriteLiteral(" type=\"text/css\""); 599 600 WriteLiteral(">\r\n .main,.mso{background-color:"); 601 602 603 #line 461 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 604 Write(backgroundColor); 605 606 607 #line default 608 #line hidden 609 WriteLiteral(@"}.logo a:hover,.logo a:focus{color:#1e2e3b !important}.mso h1,.ie h1{}.mso h1,.ie h1{font-size:22px !important;line-height:31px !important}.mso h2,.ie h2{}.mso h2,.ie h2{font-size:20px !important;line-height:28px !important}.mso h3,.ie h3{}.mso h3,.ie h3{font-size:18px !important;line-height:26px !important}.mso .layout__inner,.ie .layout__inner{}.mso .footer__share-button p{} 610 </style> 611 <meta"); 612 613 WriteLiteral(" name=\"robots\""); 614 615 WriteLiteral(" content=\"noindex,nofollow\""); 616 617 WriteLiteral("></meta>\r\n\t<meta"); 618 619 WriteLiteral(" property=\"og:title\""); 620 621 WriteAttribute("content", Tuple.Create(" content=\"", 16655), Tuple.Create("\"", 16695) 622 623 #line 464 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 624 , Tuple.Create(Tuple.Create("", 16665), Tuple.Create<System.Object, System.Int32>(Model.Item.GetString("Title") 625 626 #line default 627 #line hidden 628 , 16665), false) 629 ); 630 631 WriteLiteral("></meta>\r\n</head>\r\n<!--[if mso]>\r\n\t<body class=\"mso\">\r\n<![endif]-->\r\n<!--[if !mso" + 632 "]><!-->\r\n<body"); 633 634 WriteLiteral(" class=\"main no-padding\""); 635 636 WriteLiteral(" style=\"margin: 0;padding: 0;-webkit-text-size-adjust: 100%;\""); 637 638 WriteLiteral(">\r\n<!--<![endif]-->\r\n<table"); 639 640 WriteLiteral(" class=\"wrapper\""); 641 642 WriteAttribute("style", Tuple.Create(" style=\"", 16919), Tuple.Create("\"", 17036) 643 , Tuple.Create(Tuple.Create("", 16927), Tuple.Create("background-color:", 16927), true) 644 645 #line 472 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 646 , Tuple.Create(Tuple.Create("", 16944), Tuple.Create<System.Object, System.Int32>(backgroundColor 647 648 #line default 649 #line hidden 650 , 16944), false) 651 , Tuple.Create(Tuple.Create("", 16960), Tuple.Create(";border-collapse:", 16960), true) 652 , Tuple.Create(Tuple.Create(" ", 16977), Tuple.Create("collapse;table-layout:", 16978), true) 653 , Tuple.Create(Tuple.Create(" ", 17000), Tuple.Create("fixed;min-width:", 17001), true) 654 , Tuple.Create(Tuple.Create(" ", 17017), Tuple.Create("320px;width:", 17018), true) 655 , Tuple.Create(Tuple.Create(" ", 17030), Tuple.Create("100%;", 17031), true) 656 ); 657 658 WriteLiteral(" cellpadding=\"0\""); 659 660 WriteLiteral(" cellspacing=\"0\""); 661 662 WriteLiteral(" role=\"presentation\""); 663 664 WriteLiteral(">\r\n\t<tbody>\r\n\t<tr>\r\n\t\t<td>\r\n"); 665 666 667 #line 476 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 668 669 670 #line default 671 #line hidden 672 673 #line 476 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 674 if (!string.IsNullOrEmpty(viewInBrowserText)) 675 { 676 677 678 #line default 679 #line hidden 680 WriteLiteral("\t\t\t\t<div>\r\n\t\t\t\t\t<div"); 681 682 WriteLiteral(" class=\"preheader\""); 683 684 WriteLiteral(" style=\"Margin: 0 auto;max-width: 560px;min-width: 280px; width: 280px;width: cal" + 685 "c(28000% - 167440px);\""); 686 687 WriteLiteral(">\r\n\t\t\t\t\t\t<div"); 688 689 WriteLiteral(" style=\"border-collapse: collapse;display: table;width: 100%;\""); 690 691 WriteLiteral(">\r\n\t\t\t\t\t\t\t<!--[if (mso)|(IE)]><table align=\"center\" class=\"preheader\" cellpadding" + 692 "=\"0\" cellspacing=\"0\" role=\"presentation\"><tr><td style=\"width: "); 693 694 695 #line 481 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 696 Write(oneColWidth); 697 698 699 #line default 700 #line hidden 701 WriteLiteral("\" valign=\"top\"><![endif]-->\r\n\t\t\t\t\t\t\t<div"); 702 703 WriteLiteral(" class=\"webversion\""); 704 705 WriteAttribute("style", Tuple.Create(" style=\"", 17605), Tuple.Create("\"", 17826) 706 , Tuple.Create(Tuple.Create("", 17613), Tuple.Create("display:", 17613), true) 707 , Tuple.Create(Tuple.Create(" ", 17621), Tuple.Create("table-cell;Float:", 17622), true) 708 , Tuple.Create(Tuple.Create(" ", 17639), Tuple.Create("left;font-size:", 17640), true) 709 , Tuple.Create(Tuple.Create(" ", 17655), Tuple.Create("12px;max-width:", 17656), true) 710 711 #line 482 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 712 , Tuple.Create(Tuple.Create(" ", 17671), Tuple.Create<System.Object, System.Int32>(oneColWidth 713 714 #line default 715 #line hidden 716 , 17672), false) 717 , Tuple.Create(Tuple.Create("", 17684), Tuple.Create(";min-width:", 17684), true) 718 , Tuple.Create(Tuple.Create(" ", 17695), Tuple.Create("320px;", 17696), true) 719 , Tuple.Create(Tuple.Create(" ", 17702), Tuple.Create("width:", 17703), true) 720 , Tuple.Create(Tuple.Create(" ", 17709), Tuple.Create("320px;width:", 17710), true) 721 , Tuple.Create(Tuple.Create(" ", 17722), Tuple.Create("calc(28000%", 17723), true) 722 , Tuple.Create(Tuple.Create(" ", 17734), Tuple.Create("-", 17735), true) 723 , Tuple.Create(Tuple.Create(" ", 17736), Tuple.Create("167400px);padding:", 17737), true) 724 , Tuple.Create(Tuple.Create(" ", 17755), Tuple.Create("10px", 17756), true) 725 , Tuple.Create(Tuple.Create(" ", 17760), Tuple.Create("0", 17761), true) 726 , Tuple.Create(Tuple.Create(" ", 17762), Tuple.Create("5px", 17763), true) 727 , Tuple.Create(Tuple.Create(" ", 17766), Tuple.Create("0;text-align:", 17767), true) 728 , Tuple.Create(Tuple.Create(" ", 17780), Tuple.Create("center;color:", 17781), true) 729 730 #line 482 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 731 , Tuple.Create(Tuple.Create(" ", 17794), Tuple.Create<System.Object, System.Int32>(emailLinksColor 732 733 #line default 734 #line hidden 735 , 17795), false) 736 , Tuple.Create(Tuple.Create("", 17811), Tuple.Create(";", 17811), true) 737 738 #line 482 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 739 , Tuple.Create(Tuple.Create("", 17812), Tuple.Create<System.Object, System.Int32>(bodyFontStyle 740 741 #line default 742 #line hidden 743 , 17812), false) 744 ); 745 746 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<p"); 747 748 WriteLiteral(" style=\"Margin-top: 0;Margin-bottom: 0;\""); 749 750 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<a"); 751 752 WriteAttribute("style", Tuple.Create(" style=\"", 17894), Tuple.Create("\"", 17986) 753 , Tuple.Create(Tuple.Create("", 17902), Tuple.Create("text-decoration:", 17902), true) 754 , Tuple.Create(Tuple.Create(" ", 17918), Tuple.Create("underline;transition:", 17919), true) 755 , Tuple.Create(Tuple.Create(" ", 17940), Tuple.Create("opacity", 17941), true) 756 , Tuple.Create(Tuple.Create(" ", 17948), Tuple.Create("0.1s", 17949), true) 757 , Tuple.Create(Tuple.Create(" ", 17953), Tuple.Create("ease-in;color:", 17954), true) 758 759 #line 484 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 760 , Tuple.Create(Tuple.Create(" ", 17968), Tuple.Create<System.Object, System.Int32>(emailLinksColor 761 762 #line default 763 #line hidden 764 , 17969), false) 765 , Tuple.Create(Tuple.Create("", 17985), Tuple.Create(";", 17985), true) 766 ); 767 768 WriteAttribute("href", Tuple.Create(" href=", 17987), Tuple.Create("", 18011) 769 770 #line 484 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 771 , Tuple.Create(Tuple.Create("", 17993), Tuple.Create<System.Object, System.Int32>(viewInBrowserLink 772 773 #line default 774 #line hidden 775 , 17993), false) 776 ); 777 778 WriteLiteral(">"); 779 780 781 #line 484 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 782 Write(viewInBrowserText); 783 784 785 #line default 786 #line hidden 787 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<!--[if (mso)|(IE)]></td></tr></table><" + 788 "![endif]-->\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n"); 789 790 791 #line 491 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 792 } 793 794 795 #line default 796 #line hidden 797 WriteLiteral("\t\t\t<div>\r\n"); 798 799 800 #line 493 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 801 802 803 #line default 804 #line hidden 805 WriteLiteral("\r\n"); 806 807 808 #line 496 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 809 Write(Model.Grid("Grid", "Email Grid", "default:true;sort:1", "EmailPages")); 810 811 812 #line default 813 #line hidden 814 WriteLiteral("\r\n\r\n\t\t\t</div>\r\n\t\t\t<div"); 815 816 WriteLiteral(" role=\"contentinfo\""); 817 818 WriteLiteral(">\r\n\t\t\t\t<div"); 819 820 WriteLiteral(" class=\"layout one-col email-footer\""); 821 822 WriteAttribute("style", Tuple.Create(" style=\"", 18430), Tuple.Create("\"", 18610) 823 , Tuple.Create(Tuple.Create("", 18438), Tuple.Create("Margin:", 18438), true) 824 , Tuple.Create(Tuple.Create(" ", 18445), Tuple.Create("0", 18446), true) 825 , Tuple.Create(Tuple.Create(" ", 18447), Tuple.Create("auto;max-width:", 18448), true) 826 827 #line 500 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 828 , Tuple.Create(Tuple.Create(" ", 18463), Tuple.Create<System.Object, System.Int32>(oneColWidth 829 830 #line default 831 #line hidden 832 , 18464), false) 833 , Tuple.Create(Tuple.Create("", 18476), Tuple.Create(";min-width:", 18476), true) 834 , Tuple.Create(Tuple.Create(" ", 18487), Tuple.Create("320px;", 18488), true) 835 , Tuple.Create(Tuple.Create(" ", 18494), Tuple.Create("width:", 18495), true) 836 , Tuple.Create(Tuple.Create(" ", 18501), Tuple.Create("320px;width:", 18502), true) 837 , Tuple.Create(Tuple.Create(" ", 18514), Tuple.Create("calc(28000%", 18515), true) 838 , Tuple.Create(Tuple.Create(" ", 18526), Tuple.Create("-", 18527), true) 839 , Tuple.Create(Tuple.Create(" ", 18528), Tuple.Create("167400px);overflow-wrap:", 18529), true) 840 , Tuple.Create(Tuple.Create(" ", 18553), Tuple.Create("break-word;word-wrap:", 18554), true) 841 , Tuple.Create(Tuple.Create(" ", 18575), Tuple.Create("break-word;word-break:", 18576), true) 842 , Tuple.Create(Tuple.Create(" ", 18598), Tuple.Create("break-word;", 18599), true) 843 ); 844 845 WriteLiteral(">\r\n\t\t\t\t\t<div"); 846 847 WriteLiteral(" class=\"layout__inner\""); 848 849 WriteLiteral(" style=\"border-collapse: collapse;display: table;width: 100%;\""); 850 851 WriteLiteral(">\r\n\t\t\t\t\t\t<!--[if (mso)|(IE)]><table align=\"center\" cellpadding=\"0\" cellspacing=\"0" + 852 "\" role=\"presentation\"><tr class=\"layout-email-footer\"><td style=\"width: "); 853 854 855 #line 502 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 856 Write(oneColWidth); 857 858 859 #line default 860 #line hidden 861 WriteLiteral(";\" class=\"w560\"><![endif]-->\r\n\t\t\t\t\t\t<div"); 862 863 WriteLiteral(" class=\"column\""); 864 865 WriteAttribute("style", Tuple.Create(" style=\"", 18927), Tuple.Create("\"", 19008) 866 , Tuple.Create(Tuple.Create("", 18935), Tuple.Create("text-align:", 18935), true) 867 , Tuple.Create(Tuple.Create(" ", 18946), Tuple.Create("center;font-size:", 18947), true) 868 , Tuple.Create(Tuple.Create(" ", 18964), Tuple.Create("12px;color:", 18965), true) 869 870 #line 503 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 871 , Tuple.Create(Tuple.Create(" ", 18976), Tuple.Create<System.Object, System.Int32>(emailLinksColor 872 873 #line default 874 #line hidden 875 , 18977), false) 876 , Tuple.Create(Tuple.Create("", 18993), Tuple.Create(";", 18993), true) 877 878 #line 503 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 879 , Tuple.Create(Tuple.Create("", 18994), Tuple.Create<System.Object, System.Int32>(bodyFontStyle 880 881 #line default 882 #line hidden 883 , 18994), false) 884 ); 885 886 WriteLiteral(">\r\n\t\t\t\t\t\t\t<div"); 887 888 WriteLiteral(" style=\"Margin-left: 20px;Margin-right: 20px;Margin-top: 10px;Margin-bottom: 10px" + 889 ";\""); 890 891 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<div"); 892 893 WriteLiteral(" style=\"font-size: 12px;line-height: 19px;margin-bottom: 15px;\""); 894 895 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<a"); 896 897 WriteAttribute("style", Tuple.Create(" style=\"", 19198), Tuple.Create("\"", 19290) 898 , Tuple.Create(Tuple.Create("", 19206), Tuple.Create("text-decoration:", 19206), true) 899 , Tuple.Create(Tuple.Create(" ", 19222), Tuple.Create("underline;transition:", 19223), true) 900 , Tuple.Create(Tuple.Create(" ", 19244), Tuple.Create("opacity", 19245), true) 901 , Tuple.Create(Tuple.Create(" ", 19252), Tuple.Create("0.1s", 19253), true) 902 , Tuple.Create(Tuple.Create(" ", 19257), Tuple.Create("ease-in;color:", 19258), true) 903 904 #line 506 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 905 , Tuple.Create(Tuple.Create(" ", 19272), Tuple.Create<System.Object, System.Int32>(emailLinksColor 906 907 #line default 908 #line hidden 909 , 19273), false) 910 , Tuple.Create(Tuple.Create("", 19289), Tuple.Create(";", 19289), true) 911 ); 912 913 WriteLiteral(" href=\"{{EmailMarketing:Email.UnsubscribeLink.Clean}}\""); 914 915 WriteLiteral(">"); 916 917 918 #line 506 "E:\Dynamicweb.net\Solutions\FlexMedia\sensor.dw9.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Swift_Newsletter.parsed.cshtml" 919 Write(Translate("Unsubscribe")); 920 921 922 #line default 923 #line hidden 924 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<!--[if (mso)|(IE)]></td" + 925 "></tr></table><![endif]-->\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</td>\r\n\t</tr>\r" + 926 "\n\t</tbody>\r\n</table>\r\n</body>\r\n</html>\r\n"); 927 928 } 929 } 930 } 931

1 @using Dynamicweb.Content 2 @using Page = Dynamicweb.Content.Page 3 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel> 4 @functions 5 { 6 private Page GetBrandingPage() 7 { 8 int brandingPageId = Model.Area.Item.GetItem("Custom").GetLink("BrandingPage") != null ? Model.Area.Item.GetItem("Custom").GetLink("BrandingPage").PageId : 0; 9 return brandingPageId > 0 ? Dynamicweb.Services.Pages?.GetPage(brandingPageId) : null; 10 } 11 12 13 private string GetFontsToLink() 14 { 15 Page brandingPage = GetBrandingPage(); 16 if (brandingPage == null) return ""; 17 18 List<string> fonts = new List<string>(); 19 AddFontFamily(brandingPage, "HeaderFont", fonts); 20 AddFontFamily(brandingPage, "DisplayFont", fonts); 21 AddFontFamily(brandingPage, "BodyFont", fonts); 22 23 var fontsToLink = string.Join("%7C", fonts.Where(x => !string.IsNullOrEmpty(x)).Distinct().Select(x => string.Format("{0}:100,200,300,400,500,600,700,800,900", x))); 24 return fontsToLink; 25 } 26 27 private static void AddFontFamily(Page brandingPage, string systemName, List<string> fonts) 28 { 29 if (brandingPage.Item[systemName] == null) return; 30 dynamic font = Newtonsoft.Json.JsonConvert.DeserializeObject(brandingPage.Item[systemName].ToString()); 31 if (font != null && font.Family != null) { 32 fonts.Add(font.Family.ToString()); 33 } 34 } 35 36 private string GetFontStyle(string type) 37 { 38 Page brandingPage = GetBrandingPage(); 39 if (brandingPage == null) return ""; 40 41 string fontStyle = ""; 42 dynamic font = Newtonsoft.Json.JsonConvert.DeserializeObject(brandingPage.Item[type+"Font"].ToString()); 43 if (font != null) { 44 fontStyle += $"font-family:{font.Family}, sans-serif;"; 45 fontStyle += $"font-weight:{font.SelectedVariant};"; 46 } 47 fontStyle += $"text-transform:{brandingPage.Item[type+"Casing"]};"; 48 fontStyle += $"line-height:{brandingPage.Item[type+"LineHeight"]};"; 49 fontStyle += $"letter-spacing:{brandingPage.Item[type+"LetterSpacing"]};"; 50 return fontStyle; 51 } 52 } 53 54 55 @{ 56 int newsletterWidth = Model.Item.GetInt32("Width"); 57 string mediaQuery = newsletterWidth + 20 + "px"; 58 string oneColWidth = newsletterWidth + "px"; 59 string twoColWidth = newsletterWidth / 2 + "px"; 60 string twoColGutterWidth = (newsletterWidth - 20) / 2 + "px"; 61 string backgroundColor = "#FFFFFF"; 62 string viewInBrowserLink = Dynamicweb.Context.Current.Request.Url.Scheme + "://" + Dynamicweb.Context.Current.Request.Url.Host + "/Default.aspx?ID=" + Model.ID; 63 //string viewInBrowserLink = "/Default.aspx?ID=" + Model.ID; 64 string viewInBrowserText = Model.Item.GetString("ViewInBrowserText"); 65 string lang = Pageview.Area.CultureInfo.TwoLetterISOLanguageName; 66 string emailLinksColor = "#808080"; 67 string fontsToLink = GetFontsToLink(); 68 string bodyFontStyle = GetFontStyle("Body"); 69 string theme = !string.IsNullOrEmpty(Pageview.Page.Item["Theme"]?.ToString()) ? Pageview.Page.Item["Theme"].ToString().ToLower() : ""; 70 71 if (!string.IsNullOrEmpty(theme) && theme != "theme default") 72 { 73 var themesPageId = Pageview.AreaSettings.GetItem("Custom").GetLink("ThemesPage") != null ? Pageview.AreaSettings.GetItem("Custom").GetLink("ThemesPage").PageId : 0; 74 if (themesPageId > 0) 75 { 76 List<Paragraph> themesPageParagraphs = Dynamicweb.Services.Paragraphs.GetParagraphsByPageId(themesPageId)?.ToList(); 77 Paragraph themeParagraph = themesPageParagraphs?.FirstOrDefault(p => p.Item["Name"].ToString().ToLower().Equals(theme)); 78 79 if (themeParagraph != null) 80 { 81 backgroundColor = themeParagraph.Item["BackgroundColor"] != null ? themeParagraph.Item["BackgroundColor"].ToString() : ""; 82 backgroundColor = backgroundColor == "" ? "transparent" : backgroundColor; 83 } 84 } 85 } 86 } 87 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 88 <!--[if IE]> 89 <html xmlns="http://www.w3.org/1999/xhtml" class="ie" lang="@lang"> 90 <![endif]--> 91 <!--[if !IE]><!--> 92 <html style="margin: 0;padding: 0;" xmlns="http://www.w3.org/1999/xhtml" lang="@lang"> 93 <!--<![endif]--> 94 <head> 95 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 96 <title></title> 97 <!--[if !mso]><!--><meta http-equiv="X-UA-Compatible" content="IE=edge"><!--<![endif]--> 98 <meta name="viewport" content="width=device-width"> 99 <style type="text/css"> 100 @@media only screen and (min-width: @mediaQuery){.wrapper{min-width:@oneColWidth !important}.wrapper h1{}.wrapper h1{font-size:22px !important;line-height:31px !important}.wrapper h2{}.wrapper h2{font-size:20px !important;line-height:28px !important}.wrapper h3{}.wrapper h3{font-size:18px !important;line-height:26px !important}.column{}.wrapper .size-8{font-size:8px !important;line-height:14px !important}.wrapper .size-9{font-size:9px !important;line-height:16px !important}.wrapper .size-10{font-size:10px !important;line-height:18px !important}.wrapper .size-11{font-size:11px !important;line-height:19px !important}.wrapper .size-12{font-size:12px !important;line-height:19px !important}.wrapper .size-13{font-size:13px !important;line-height:21px !important}.wrapper .size-14{font-size:14px !important;line-height:21px !important}.wrapper .size-15{font-size:15px !important;line-height:23px 101 !important}.wrapper .size-16{font-size:16px !important;line-height:24px !important}.wrapper .size-17{font-size:17px !important;line-height:26px !important}.wrapper .size-18{font-size:18px !important;line-height:26px !important}.wrapper .size-20{font-size:20px !important;line-height:28px !important}.wrapper .size-22{font-size:22px !important;line-height:31px !important}.wrapper .size-24{font-size:24px !important;line-height:32px !important}.wrapper .size-26{font-size:26px !important;line-height:34px !important}.wrapper .size-28{font-size:28px !important;line-height:36px !important}.wrapper .size-30{font-size:30px !important;line-height:38px !important}.wrapper .size-32{font-size:32px !important;line-height:40px !important}.wrapper .size-34{font-size:34px !important;line-height:43px !important}.wrapper .size-36{font-size:36px !important;line-height:43px !important}.wrapper 102 .size-40{font-size:40px !important;line-height:47px !important}.wrapper .size-44{font-size:44px !important;line-height:50px !important}.wrapper .size-48{font-size:48px !important;line-height:54px !important}.wrapper .size-56{font-size:56px !important;line-height:60px !important}.wrapper .size-64{font-size:64px !important;line-height:63px !important}} 103 </style> 104 <meta name="x-apple-disable-message-reformatting"> 105 <style type="text/css"> 106 .main, .mso { 107 margin: 0; 108 padding: 0; 109 } 110 table { 111 border-collapse: collapse; 112 table-layout: fixed; 113 } 114 * { 115 line-height: inherit; 116 } 117 [x-apple-data-detectors] { 118 color: inherit !important; 119 text-decoration: none !important; 120 } 121 .wrapper .footer__share-button a:hover, 122 .wrapper .footer__share-button a:focus { 123 color: #ffffff !important; 124 } 125 .btn a:hover, 126 .btn a:focus, 127 .footer__share-button a:hover, 128 .footer__share-button a:focus, 129 .email-footer__links a:hover, 130 .email-footer__links a:focus { 131 opacity: 0.8; 132 } 133 .preheader, 134 .header, 135 .layout, 136 .column { 137 transition: width 0.25s ease-in-out, max-width 0.25s ease-in-out; 138 } 139 .preheader td { 140 padding-bottom: 8px; 141 } 142 .layout, 143 div.header { 144 max-width: 400px !important; 145 -fallback-width: 95% !important; 146 width: calc(100% - 20px) !important; 147 } 148 div.preheader { 149 max-width: 360px !important; 150 -fallback-width: 90% !important; 151 width: calc(100% - 60px) !important; 152 } 153 .snippet, 154 .webversion { 155 Float: none !important; 156 } 157 .stack .column { 158 max-width: 400px !important; 159 width: 100% !important; 160 } 161 .snippet, 162 .webversion { 163 width: 50% !important; 164 } 165 .ie .btn { 166 width: 100%; 167 } 168 .ie .stack .column, 169 .ie .stack .gutter { 170 display: table-cell; 171 height: 0; 172 float: none !important; 173 } 174 .ie div.preheader, 175 .ie .email-footer { 176 max-width: 560px !important; 177 width: 560px !important; 178 } 179 .ie .snippet, 180 .ie .webversion { 181 width: 280px !important; 182 } 183 .ie div.header, 184 .ie .layout { 185 max-width: @oneColWidth !important; 186 min-width: @oneColWidth !important; 187 width: @oneColWidth !important; 188 } 189 .ie .two-col .column { 190 max-width: @twoColWidth !important; 191 min-width: @twoColWidth !important; 192 width: @twoColWidth !important; 193 } 194 .ie .stack.two-col.has-gutter .column { 195 max-width: @twoColGutterWidth !important; 196 min-width: @twoColGutterWidth !important; 197 width: @twoColGutterWidth !important; 198 } 199 .ie .fixed-width .layout__inner { 200 border-left: 0 none white !important; 201 border-right: 0 none white !important; 202 } 203 .ie .layout__edges { 204 display: none; 205 } 206 .mso .layout__edges { 207 font-size: 0; 208 } 209 .layout-fixed-width, 210 .mso .layout-full-width { 211 background-color: @backgroundColor; 212 } 213 @@media only screen and (min-width: @mediaQuery) { 214 .column, 215 .gutter { 216 display: table-cell; 217 height: 0; 218 Float: none !important; 219 vertical-align: top; 220 } 221 div.preheader, 222 .email-footer { 223 max-width: 560px !important; 224 width: 560px !important; 225 } 226 .snippet, 227 .webversion { 228 width: 280px !important; 229 } 230 div.header, 231 .layout, 232 .one-col .column { 233 max-width: @oneColWidth !important; 234 min-width: @oneColWidth !important; 235 width: @oneColWidth !important; 236 } 237 .two-col .column { 238 max-width: @twoColWidth !important; 239 min-width: @twoColWidth !important; 240 width: @twoColWidth !important; 241 } 242 .two-col.has-gutter .column, 243 .two-col.x_has-gutter .column { 244 max-width: @twoColGutterWidth !important; 245 min-width: @twoColGutterWidth !important; 246 width: @twoColGutterWidth !important; 247 } 248 249 /*Style need for Comcast email to work. Doesn't seem to break any of the other providers*/ 250 .one-col .product-column.column { 251 width: @twoColGutterWidth !important; 252 } 253 254 .two-col .product-column.column, 255 .two-col .product-column.x_column, 256 .product-column.column, 257 .product-column.x_column { 258 min-width: 0 !important; 259 min-width: auto !important; 260 } 261 } 262 @@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) { 263 .fblike { 264 background-image: url(http://i7.createsend1.com/static/eb/master/13-the-blueprint-3/images/fblike@2x.png) !important; 265 } 266 .tweet { 267 background-image: url(http://i8.createsend1.com/static/eb/master/13-the-blueprint-3/images/tweet@2x.png) !important; 268 } 269 .linkedinshare { 270 background-image: url(http://i9.createsend1.com/static/eb/master/13-the-blueprint-3/images/lishare@2x.png) !important; 271 } 272 .forwardtoafriend { 273 background-image: url(http://i10.createsend1.com/static/eb/master/13-the-blueprint-3/images/forward@2x.png) !important; 274 } 275 } 276 @@media (max-width: 321px) { 277 .layout, 278 .stack .column { 279 min-width: 320px !important; 280 width: 320px !important; 281 } 282 .border { 283 display: none; 284 } 285 .has-gutter .border { 286 display: table-cell; 287 } 288 } 289 .mso div { 290 border: 0 none white !important; 291 } 292 .mso .w560 .divider { 293 Margin-left: 260px !important; 294 Margin-right: 260px !important; 295 } 296 .mso .w360 .divider { 297 Margin-left: 160px !important; 298 Margin-right: 160px !important; 299 } 300 .mso .w260 .divider { 301 Margin-left: 110px !important; 302 Margin-right: 110px !important; 303 } 304 .mso .w160 .divider { 305 Margin-left: 60px !important; 306 Margin-right: 60px !important; 307 } 308 .mso .w354 .divider { 309 Margin-left: 157px !important; 310 Margin-right: 157px !important; 311 } 312 .mso .w250 .divider { 313 Margin-left: 105px !important; 314 Margin-right: 105px !important; 315 } 316 .mso .w148 .divider { 317 Margin-left: 54px !important; 318 Margin-right: 54px !important; 319 } 320 .mso .size-8, 321 .ie .size-8 { 322 font-size: 8px !important; 323 line-height: 14px !important; 324 } 325 .mso .size-9, 326 .ie .size-9 { 327 font-size: 9px !important; 328 line-height: 16px !important; 329 } 330 .mso .size-10, 331 .ie .size-10 { 332 font-size: 10px !important; 333 line-height: 18px !important; 334 } 335 .mso .size-11, 336 .ie .size-11 { 337 font-size: 11px !important; 338 line-height: 19px !important; 339 } 340 .mso .size-12, 341 .ie .size-12 { 342 font-size: 12px !important; 343 line-height: 19px !important; 344 } 345 .mso .size-13, 346 .ie .size-13 { 347 font-size: 13px !important; 348 line-height: 21px !important; 349 } 350 .mso .size-14, 351 .ie .size-14 { 352 font-size: 14px !important; 353 line-height: 21px !important; 354 } 355 .mso .size-15, 356 .ie .size-15 { 357 font-size: 15px !important; 358 line-height: 23px !important; 359 } 360 .mso .size-16, 361 .ie .size-16 { 362 font-size: 16px !important; 363 line-height: 24px !important; 364 } 365 .mso .size-17, 366 .ie .size-17 { 367 font-size: 17px !important; 368 line-height: 26px !important; 369 } 370 .mso .size-18, 371 .ie .size-18 { 372 font-size: 18px !important; 373 line-height: 26px !important; 374 } 375 .mso .size-20, 376 .ie .size-20 { 377 font-size: 20px !important; 378 line-height: 28px !important; 379 } 380 .mso .size-22, 381 .ie .size-22 { 382 font-size: 22px !important; 383 line-height: 31px !important; 384 } 385 .mso .size-24, 386 .ie .size-24 { 387 font-size: 24px !important; 388 line-height: 32px !important; 389 } 390 .mso .size-26, 391 .ie .size-26 { 392 font-size: 26px !important; 393 line-height: 34px !important; 394 } 395 .mso .size-28, 396 .ie .size-28 { 397 font-size: 28px !important; 398 line-height: 36px !important; 399 } 400 .mso .size-30, 401 .ie .size-30 { 402 font-size: 30px !important; 403 line-height: 38px !important; 404 } 405 .mso .size-32, 406 .ie .size-32 { 407 font-size: 32px !important; 408 line-height: 40px !important; 409 } 410 .mso .size-34, 411 .ie .size-34 { 412 font-size: 34px !important; 413 line-height: 43px !important; 414 } 415 .mso .size-36, 416 .ie .size-36 { 417 font-size: 36px !important; 418 line-height: 43px !important; 419 } 420 .mso .size-40, 421 .ie .size-40 { 422 font-size: 40px !important; 423 line-height: 47px !important; 424 } 425 .mso .size-44, 426 .ie .size-44 { 427 font-size: 44px !important; 428 line-height: 50px !important; 429 } 430 .mso .size-48, 431 .ie .size-48 { 432 font-size: 48px !important; 433 line-height: 54px !important; 434 } 435 .mso .size-56, 436 .ie .size-56 { 437 font-size: 56px !important; 438 line-height: 60px !important; 439 } 440 .mso .size-64, 441 .ie .size-64 { 442 font-size: 64px !important; 443 line-height: 63px !important; 444 } 445 446 .mt-0 > *:first-child { 447 margin-top: 0; 448 } 449 450 .mb-0 > *:last-child { 451 margin-bottom: 0; 452 } 453 </style> 454 <!--[if !mso]><!--> 455 <style type="text/css"> 456 @@import url(https://fonts.googleapis.com/css?family=@fontsToLink); 457 </style> 458 <link href="https://fonts.googleapis.com/css?family=@fontsToLink" rel="stylesheet" type="text/css"> 459 <!--<![endif]--> 460 <style type="text/css"> 461 .main,.mso{background-color:@backgroundColor}.logo a:hover,.logo a:focus{color:#1e2e3b !important}.mso h1,.ie h1{}.mso h1,.ie h1{font-size:22px !important;line-height:31px !important}.mso h2,.ie h2{}.mso h2,.ie h2{font-size:20px !important;line-height:28px !important}.mso h3,.ie h3{}.mso h3,.ie h3{font-size:18px !important;line-height:26px !important}.mso .layout__inner,.ie .layout__inner{}.mso .footer__share-button p{} 462 </style> 463 <meta name="robots" content="noindex,nofollow"></meta> 464 <meta property="og:title" content="@Model.Item.GetString("Title")"></meta> 465 </head> 466 <!--[if mso]> 467 <body class="mso"> 468 <![endif]--> 469 <!--[if !mso]><!--> 470 <body class="main no-padding" style="margin: 0;padding: 0;-webkit-text-size-adjust: 100%;"> 471 <!--<![endif]--> 472 <table class="wrapper" style="background-color:@backgroundColor;border-collapse: collapse;table-layout: fixed;min-width: 320px;width: 100%;" cellpadding="0" cellspacing="0" role="presentation"> 473 <tbody> 474 <tr> 475 <td> 476 @if (!string.IsNullOrEmpty(viewInBrowserText)) 477 { 478 <div> 479 <div class="preheader" style="Margin: 0 auto;max-width: 560px;min-width: 280px; width: 280px;width: calc(28000% - 167440px);"> 480 <div style="border-collapse: collapse;display: table;width: 100%;"> 481 <!--[if (mso)|(IE)]><table align="center" class="preheader" cellpadding="0" cellspacing="0" role="presentation"><tr><td style="width: @oneColWidth" valign="top"><![endif]--> 482 <div class="webversion" style="display: table-cell;Float: left;font-size: 12px;max-width: @oneColWidth;min-width: 320px; width: 320px;width: calc(28000% - 167400px);padding: 10px 0 5px 0;text-align: center;color: @emailLinksColor;@bodyFontStyle"> 483 <p style="Margin-top: 0;Margin-bottom: 0;"> 484 <a style="text-decoration: underline;transition: opacity 0.1s ease-in;color: @emailLinksColor;" href=@viewInBrowserLink>@viewInBrowserText</a> 485 </p> 486 </div> 487 <!--[if (mso)|(IE)]></td></tr></table><![endif]--> 488 </div> 489 </div> 490 </div> 491 } 492 <div> 493 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel> 494 495 496 @Model.Grid("Grid", "Email Grid", "default:true;sort:1", "EmailPages") 497 498 </div> 499 <div role="contentinfo"> 500 <div class="layout one-col email-footer" style="Margin: 0 auto;max-width: @oneColWidth;min-width: 320px; width: 320px;width: calc(28000% - 167400px);overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;"> 501 <div class="layout__inner" style="border-collapse: collapse;display: table;width: 100%;"> 502 <!--[if (mso)|(IE)]><table align="center" cellpadding="0" cellspacing="0" role="presentation"><tr class="layout-email-footer"><td style="width: @oneColWidth;" class="w560"><![endif]--> 503 <div class="column" style="text-align: center;font-size: 12px;color: @emailLinksColor;@bodyFontStyle"> 504 <div style="Margin-left: 20px;Margin-right: 20px;Margin-top: 10px;Margin-bottom: 10px;"> 505 <div style="font-size: 12px;line-height: 19px;margin-bottom: 15px;"> 506 <a style="text-decoration: underline;transition: opacity 0.1s ease-in;color: @emailLinksColor;" href="{{EmailMarketing:Email.UnsubscribeLink.Clean}}">@Translate("Unsubscribe")</a> 507 </div> 508 </div> 509 </div> 510 <!--[if (mso)|(IE)]></td></tr></table><![endif]--> 511 </div> 512 </div> 513 </div> 514 </td> 515 </tr> 516 </tbody> 517 </table> 518 </body> 519 </html> 520