Error compiling template "Designs/Rapido/_parsed/EventArticle.parsed.cshtml"
Line 236: The type or namespace name 'Activities' does not exist in the namespace 'System' (are you missing an assembly reference?)
Line 5296: 'Field' is obsolete
Line 1429: 'Button.Target' is obsolete
Line 1473: 'Button.IconPosition' is obsolete
Line 1479: 'Button.IconPosition' is obsolete
Line 1479: 'IconPosition' is obsolete
Line 1488: 'Button.Link' is obsolete
Line 1499: 'Button.Link' is obsolete
Line 1473: The result of the expression is always 'false' since a value of type 'IconPosition' is never equal to 'null' of type 'IconPosition?'
Line 1731: 'Button.Target' is obsolete
Line 1775: 'Button.IconPosition' is obsolete
Line 1781: 'Button.IconPosition' is obsolete
Line 1781: 'IconPosition' is obsolete
Line 1790: 'Button.Link' is obsolete
Line 1801: 'Button.Link' is obsolete
Line 1775: The result of the expression is always 'false' since a value of type 'IconPosition' is never equal to 'null' of type 'IconPosition?'
Line 2107: 'Button.Link' is obsolete
Line 2107: 'Button.Link' is obsolete
Line 2281: 'FieldListOption.Type' is obsolete
Line 2304: 'FieldListOption.OnChange' is obsolete
Line 2314: 'FieldListOption.OnClick' is obsolete
Line 2326: 'FieldListOption.Name' is obsolete
Line 2425: 'FieldListOption.ErrorMessage' is obsolete
Line 2435: 'FieldListOption.Type' is obsolete
Line 2453: 'FieldListOption.Type' is obsolete
Line 2484: 'FieldListOption.OnClick' is obsolete
Line 2532: 'FieldListOption.Name' is obsolete
Line 2547: 'FieldListOption.ErrorMessage' is obsolete
Line 2729: 'Heading.IconPosition' is obsolete
Line 2732: 'Heading.IconPosition' is obsolete
Line 2732: 'IconPosition' is obsolete
Line 2729: The result of the expression is always 'false' since a value of type 'IconPosition' is never equal to 'null' of type 'IconPosition?'
Line 3981: 'FieldListOptionType' is obsolete
Line 4304: 'CheckboxField.Type' is obsolete
Line 4304: 'FieldListOptionType' is obsolete
Line 4386: 'SelectFieldOption.Type' is obsolete
Line 4386: 'FieldListOptionType' is obsolete
Line 4533: 'SelectFieldOption.Type' is obsolete
Line 4533: 'FieldListOptionType' is obsolete
Line 4563: 'Button.Link' is obsolete
Line 4734: 'RadioButtonField.Options' is obsolete
Line 4736: 'RadioButtonField.Type' is obsolete
Line 4736: 'FieldListOptionType' is obsolete
Line 4743: 'RadioButtonField.RenderOptionsInline' is obsolete
Line 5210: The result of the expression is always 'true' since a value of type 'StickersListPosition' is never equal to 'null' of type 'StickersListPosition?'
Line 5326: 'FieldType' is obsolete
Line 5357: 'FieldType' is obsolete
Line 5388: 'FieldType' is obsolete
Line 5391: 'HiddenField.Label' is obsolete
Line 5394: 'HiddenField.Disabled' is obsolete
Line 5395: 'HiddenField.Required' is obsolete
Line 5396: 'HiddenField.CssClass' is obsolete
Line 5398: 'HiddenField.ErrorMessage' is obsolete
Line 5416: 'FieldType' is obsolete
Line 5446: 'FieldType' is obsolete
Line 5477: 'FieldType' is obsolete
Line 5505: 'FieldType' is obsolete
Line 5533: 'FieldType' is obsolete
Line 5564: 'FieldType' is obsolete
Line 5595: 'FieldType' is obsolete
Line 6577: 'Button.Link' is obsolete
Line 6921: 'Button.Link' is obsolete
Line 7383: 'Button.Link' is obsolete
Line 13331: 'Country.Name' is obsolete: 'Use GetName'
Line 13438: 'Country.Name' is obsolete: 'Use GetName'
Line 15942: The variable 'ordersIcon' is assigned but its value is never used
Line 19500: 'Country.Name' is obsolete: 'Use GetName'
Line 19607: 'Country.Name' is obsolete: 'Use GetName'
Line 25409: 'Product.GetProductById(string)' is obsolete: 'Use 'ProductService.GetProductById' instead'
Line 25418: 'Group.GetGroupById(string)' is obsolete: 'Use Services.ProductGroups.GetGroup instead.'

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 13 #line 7789 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 14 using System; 15 16 #line default 17 #line hidden 18 19 #line 7791 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 20 using System.Collections.Generic; 21 22 #line default 23 #line hidden 24 25 #line 9923 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 26 using System.Linq; 27 28 #line default 29 #line hidden 30 31 #line 9920 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 32 using Dynamicweb.Frontend; 33 34 #line default 35 #line hidden 36 37 #line 5316 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 38 using Dynamicweb.Frontend.Devices; 39 40 #line default 41 #line hidden 42 43 #line 5317 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 44 using Dynamicweb.Extensibility; 45 46 #line default 47 #line hidden 48 49 #line 5318 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 50 using Dynamicweb.Content; 51 52 #line default 53 #line hidden 54 55 #line 7 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 56 using Dynamicweb.Security; 57 58 #line default 59 #line hidden 60 61 #line 9921 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 62 using Dynamicweb.Core; 63 64 #line default 65 #line hidden 66 67 #line 9 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 68 using Dynamicweb.Environment.Web; 69 70 #line default 71 #line hidden 72 73 #line 7790 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 74 using System.Web; 75 76 #line default 77 #line hidden 78 79 #line 5321 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 80 using System.IO; 81 82 #line default 83 #line hidden 84 85 #line 7792 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 86 using Dynamicweb.Rapido.Blocks; 87 88 #line default 89 #line hidden 90 91 #line 14 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 92 using System.Net; 93 94 #line default 95 #line hidden 96 97 #line 5326 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 98 using Dynamicweb.Admin.dk.dynamicweb.templates; 99 100 #line default 101 #line hidden 102 103 #line 16 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 104 using Dynamicweb.Analytics; 105 106 #line default 107 #line hidden 108 109 #line 17 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 110 using NuGet.Protocol.Core.Types; 111 112 #line default 113 #line hidden 114 115 #line 18 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 116 using Page = System.Web.UI.Page; 117 118 #line default 119 #line hidden 120 121 #line 19 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 122 using UserAgent = Dynamicweb.Analytics.UserAgent; 123 124 #line default 125 #line hidden 126 127 #line 20 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 128 using S_DW_HD2412.CustomCode.Seo; 129 130 #line default 131 #line hidden 132 133 #line 5325 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 134 using System.Text.RegularExpressions; 135 136 #line default 137 #line hidden 138 139 #line 3139 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 140 using System.Reflection; 141 142 #line default 143 #line hidden 144 145 #line 1597 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 146 using System.Web.UI.HtmlControls; 147 148 #line default 149 #line hidden 150 151 #line 3140 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 152 using Dynamicweb.Rapido.Blocks.Components; 153 154 #line default 155 #line hidden 156 157 #line 3142 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 158 using Dynamicweb.Rapido.Blocks.Components.Articles; 159 160 #line default 161 #line hidden 162 163 #line 197 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 164 using Dynamicweb.Rapido.Blocks.Components.Documentation; 165 166 #line default 167 #line hidden 168 169 #line 3287 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 170 using Dynamicweb.Rapido.Blocks.Components.General; 171 172 #line default 173 #line hidden 174 175 #line 3144 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 176 using S_DW_HD2412.CustomCode; 177 178 #line default 179 #line hidden 180 181 #line 2045 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 182 using Dynamicweb.Content.Items; 183 184 #line default 185 #line hidden 186 187 #line 2547 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 188 using System.Web.Mvc; 189 190 #line default 191 #line hidden 192 193 #line 4547 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 194 using Dynamicweb.Environment; 195 196 #line default 197 #line hidden 198 199 #line 7708 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 200 using Dynamicweb.Rapido.Blocks.Extensibility; 201 202 #line default 203 #line hidden 204 205 #line 9924 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 206 using Dynamicweb.Security.UserManagement; 207 208 #line default 209 #line hidden 210 211 #line 3374 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 212 using Dynamicweb.Security.UserManagement.ExternalAuthentication; 213 214 #line default 215 #line hidden 216 217 #line 5327 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 218 using Dynamicweb.Ecommerce.Frontend; 219 220 #line default 221 #line hidden 222 223 #line 5329 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 224 using Dynamicweb.Rendering; 225 226 #line default 227 #line hidden 228 229 #line 7424 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 230 using Dynamicweb.Ecommerce.Common; 231 232 #line default 233 #line hidden 234 235 #line 9919 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 236 using System.Activities.Statements; 237 238 #line default 239 #line hidden 240 241 #line 9922 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 242 using Dynamicweb.Core.Helpers; 243 244 #line default 245 #line hidden 246 247 248 public class RazorEngine_40ff29e18e2e4525af97bf1864a8dc87 : Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel> { 249 250 #line hidden 251 252 #line 22 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 253 254 BlocksPage masterPage = BlocksPage.GetBlockPage("Master"); 255 256 string getFontFamily(params string[] items) 257 { 258 var itemParent = Pageview.AreaSettings; 259 foreach (var item in items) 260 { 261 itemParent = itemParent.GetItem(item); 262 if (itemParent == null) 263 { 264 return null; 265 } 266 } 267 var googleFont = itemParent.GetGoogleFont("FontFamily"); 268 if (googleFont == null) 269 { 270 return null; 271 } 272 return googleFont.Family.Replace(" ", "+"); 273 } 274 275 #line default 276 #line hidden 277 278 279 #line 205 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 280 public RazorEngine.Templating.TemplateWriter RenderBlockList(List<Block> blocks) 281 { 282 #line default 283 #line hidden 284 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 285 286 #line 206 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 287 288 blocks = blocks.OrderBy(item => item.SortId).ToList(); 289 290 foreach (Block item in blocks) 291 { 292 293 294 #line default 295 #line hidden 296 WriteLiteralTo(__razor_helper_writer, " <!-- START: "); 297 298 299 #line 211 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 300 WriteTo(__razor_helper_writer, item.Id); 301 302 303 #line default 304 #line hidden 305 WriteLiteralTo(__razor_helper_writer, " -->\r\n"); 306 307 308 #line 212 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 309 310 if (item.Design == null) 311 { 312 313 314 #line default 315 #line hidden 316 317 #line 215 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 318 WriteTo(__razor_helper_writer, RenderBlock(item)); 319 320 321 #line default 322 #line hidden 323 324 #line 215 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 325 326 } 327 else if (item.Design.RenderType == RenderType.None) 328 { 329 string cssClass = item.Design.CssClass != null ? item.Design.CssClass : ""; 330 331 332 333 #line default 334 #line hidden 335 WriteLiteralTo(__razor_helper_writer, " <div"); 336 337 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 8423), Tuple.Create("\"", 8447) 338 339 #line 221 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 340 , Tuple.Create(Tuple.Create("", 8431), Tuple.Create<System.Object, System.Int32>(cssClass 341 342 #line default 343 #line hidden 344 , 8431), false) 345 , Tuple.Create(Tuple.Create(" ", 8440), Tuple.Create("dw-mod", 8441), true) 346 ); 347 348 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 349 350 WriteLiteralTo(__razor_helper_writer, " "); 351 352 353 #line 222 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 354 WriteTo(__razor_helper_writer, RenderBlock(item)); 355 356 357 #line default 358 #line hidden 359 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 360 361 362 #line 224 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 363 } 364 else if (item.Design.RenderType != RenderType.Hide) 365 { 366 string cssClass = item.Design.CssClass != null ? item.Design.CssClass : ""; 367 368 if (!item.SkipRenderBlocksList) 369 { 370 371 372 if (item.Design.RenderType == RenderType.Row) 373 { 374 375 //Custom if sentence to check if grid/container has the id "ArticleContainer" to change the Dynamic Article/Nyhedsside layout 376 377 if (item.Id == "ArticleContainer") 378 { 379 380 381 382 #line default 383 #line hidden 384 WriteLiteralTo(__razor_helper_writer, " <div"); 385 386 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 9087), Tuple.Create("\"", 9161) 387 , Tuple.Create(Tuple.Create("", 9095), Tuple.Create("grid", 9095), true) 388 , Tuple.Create(Tuple.Create(" ", 9099), Tuple.Create("grid--align-content-start", 9100), true) 389 , Tuple.Create(Tuple.Create(" ", 9125), Tuple.Create("grid-custom-layout", 9126), true) 390 391 #line 241 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 392 , Tuple.Create(Tuple.Create(" ", 9144), Tuple.Create<System.Object, System.Int32>(cssClass 393 394 #line default 395 #line hidden 396 , 9145), false) 397 , Tuple.Create(Tuple.Create(" ", 9154), Tuple.Create("dw-mod", 9155), true) 398 ); 399 400 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 9162), Tuple.Create("\"", 9182) 401 , Tuple.Create(Tuple.Create("", 9167), Tuple.Create("Block__", 9167), true) 402 403 #line 241 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 404 , Tuple.Create(Tuple.Create("", 9174), Tuple.Create<System.Object, System.Int32>(item.Id 405 406 #line default 407 #line hidden 408 , 9174), false) 409 ); 410 411 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 412 413 WriteLiteralTo(__razor_helper_writer, " "); 414 415 416 #line 242 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 417 WriteTo(__razor_helper_writer, RenderBlock(item)); 418 419 420 #line default 421 #line hidden 422 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 423 424 425 #line 244 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 426 } 427 428 else if (item.Id == "CaseContainer") 429 { 430 431 432 #line default 433 #line hidden 434 WriteLiteralTo(__razor_helper_writer, " <div"); 435 436 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 9400), Tuple.Create("\"", 9480) 437 , Tuple.Create(Tuple.Create("", 9408), Tuple.Create("grid", 9408), true) 438 , Tuple.Create(Tuple.Create(" ", 9412), Tuple.Create("grid--align-content-start", 9413), true) 439 , Tuple.Create(Tuple.Create(" ", 9438), Tuple.Create("grid-custom-layout-third", 9439), true) 440 441 #line 248 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 442 , Tuple.Create(Tuple.Create(" ", 9463), Tuple.Create<System.Object, System.Int32>(cssClass 443 444 #line default 445 #line hidden 446 , 9464), false) 447 , Tuple.Create(Tuple.Create(" ", 9473), Tuple.Create("dw-mod", 9474), true) 448 ); 449 450 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 9481), Tuple.Create("\"", 9501) 451 , Tuple.Create(Tuple.Create("", 9486), Tuple.Create("Block__", 9486), true) 452 453 #line 248 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 454 , Tuple.Create(Tuple.Create("", 9493), Tuple.Create<System.Object, System.Int32>(item.Id 455 456 #line default 457 #line hidden 458 , 9493), false) 459 ); 460 461 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 462 463 WriteLiteralTo(__razor_helper_writer, " "); 464 465 466 #line 249 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 467 WriteTo(__razor_helper_writer, RenderBlock(item)); 468 469 470 #line default 471 #line hidden 472 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 473 474 475 #line 251 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 476 } 477 478 else if (item.Id == "OrderContainerRow") 479 { 480 481 482 #line default 483 #line hidden 484 WriteLiteralTo(__razor_helper_writer, " <div"); 485 486 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 9723), Tuple.Create("\"", 9830) 487 , Tuple.Create(Tuple.Create("", 9731), Tuple.Create("grid", 9731), true) 488 , Tuple.Create(Tuple.Create(" ", 9735), Tuple.Create("grid--align-content-start", 9736), true) 489 , Tuple.Create(Tuple.Create(" ", 9761), Tuple.Create("grid-custom-layout-third", 9762), true) 490 491 #line 255 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 492 , Tuple.Create(Tuple.Create(" ", 9786), Tuple.Create<System.Object, System.Int32>(cssClass 493 494 #line default 495 #line hidden 496 , 9787), false) 497 , Tuple.Create(Tuple.Create(" ", 9796), Tuple.Create("mobile-order-container-row", 9797), true) 498 , Tuple.Create(Tuple.Create(" ", 9823), Tuple.Create("dw-mod", 9824), true) 499 ); 500 501 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 9831), Tuple.Create("\"", 9851) 502 , Tuple.Create(Tuple.Create("", 9836), Tuple.Create("Block__", 9836), true) 503 504 #line 255 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 505 , Tuple.Create(Tuple.Create("", 9843), Tuple.Create<System.Object, System.Int32>(item.Id 506 507 #line default 508 #line hidden 509 , 9843), false) 510 ); 511 512 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 513 514 WriteLiteralTo(__razor_helper_writer, " "); 515 516 517 #line 256 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 518 WriteTo(__razor_helper_writer, RenderBlock(item)); 519 520 521 #line default 522 #line hidden 523 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 524 525 526 #line 258 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 527 } 528 529 530 else 531 { 532 533 534 #line default 535 #line hidden 536 WriteLiteralTo(__razor_helper_writer, " <div"); 537 538 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 10039), Tuple.Create("\"", 10119) 539 , Tuple.Create(Tuple.Create("", 10047), Tuple.Create("grid", 10047), true) 540 , Tuple.Create(Tuple.Create(" ", 10051), Tuple.Create("grid--align-content-start", 10052), true) 541 , Tuple.Create(Tuple.Create(" ", 10077), Tuple.Create("grid-custom-layout-third", 10078), true) 542 543 #line 263 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 544 , Tuple.Create(Tuple.Create(" ", 10102), Tuple.Create<System.Object, System.Int32>(cssClass 545 546 #line default 547 #line hidden 548 , 10103), false) 549 , Tuple.Create(Tuple.Create(" ", 10112), Tuple.Create("dw-mod", 10113), true) 550 ); 551 552 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 10120), Tuple.Create("\"", 10140) 553 , Tuple.Create(Tuple.Create("", 10125), Tuple.Create("Block__", 10125), true) 554 555 #line 263 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 556 , Tuple.Create(Tuple.Create("", 10132), Tuple.Create<System.Object, System.Int32>(item.Id 557 558 #line default 559 #line hidden 560 , 10132), false) 561 ); 562 563 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 564 565 WriteLiteralTo(__razor_helper_writer, " "); 566 567 568 #line 264 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 569 WriteTo(__razor_helper_writer, RenderBlock(item)); 570 571 572 #line default 573 #line hidden 574 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 575 576 577 #line 266 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 578 579 } 580 581 582 } 583 584 if (item.Design.RenderType == RenderType.Column) 585 { 586 string hidePadding = item.Design.HidePadding ? "u-no-padding" : ""; 587 string size = item.Design.Size ?? "12"; 588 size = Regex.IsMatch(size, @"\d") ? "md-" + item.Design.Size : item.Design.Size; 589 590 //Custom if sentence to check if grid/container has the id "MasterFooter" to change the footer layout 591 if (item.Id.Contains("MasterFooter")) 592 { 593 594 595 #line default 596 #line hidden 597 WriteLiteralTo(__razor_helper_writer, " <div"); 598 599 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 10846), Tuple.Create("\"", 11208) 600 601 #line 281 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 602 , Tuple.Create(Tuple.Create("", 10854), Tuple.Create<System.Object, System.Int32>(item.Id.Contains("MasterFooterColumnOne") || item.Id.Contains("MasterFooterColumnTwo") ? "grid__col-lg-3 grid__col-6 mobile-flex-order" : "grid__col-12" 603 604 #line default 605 #line hidden 606 , 10854), false) 607 608 #line 281 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 609 , Tuple.Create(Tuple.Create(" ", 11009), Tuple.Create<System.Object, System.Int32>(item.Id.Contains("MasterFooterColumnThree") ? "grid__col-6 grid--align-end mobile-flex-order" : "grid__col-12" 610 611 #line default 612 #line hidden 613 , 11010), false) 614 , Tuple.Create(Tuple.Create(" ", 11123), Tuple.Create("grid--align-content-space-between", 11124), true) 615 , Tuple.Create(Tuple.Create(" ", 11157), Tuple.Create("grid--justify-start", 11158), true) 616 617 #line 281 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 618 , Tuple.Create(Tuple.Create(" ", 11177), Tuple.Create<System.Object, System.Int32>(hidePadding 619 620 #line default 621 #line hidden 622 , 11179), false) 623 624 #line 281 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 625 , Tuple.Create(Tuple.Create(" ", 11191), Tuple.Create<System.Object, System.Int32>(cssClass 626 627 #line default 628 #line hidden 629 , 11192), false) 630 , Tuple.Create(Tuple.Create(" ", 11201), Tuple.Create("dw-mod", 11202), true) 631 ); 632 633 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 11209), Tuple.Create("\"", 11229) 634 , Tuple.Create(Tuple.Create("", 11214), Tuple.Create("Block__", 11214), true) 635 636 #line 281 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 637 , Tuple.Create(Tuple.Create("", 11221), Tuple.Create<System.Object, System.Int32>(item.Id 638 639 #line default 640 #line hidden 641 , 11221), false) 642 ); 643 644 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 645 646 WriteLiteralTo(__razor_helper_writer, " "); 647 648 649 #line 282 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 650 WriteTo(__razor_helper_writer, RenderBlock(item)); 651 652 653 #line default 654 #line hidden 655 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 656 657 658 #line 284 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 659 } 660 661 //Custom if sentence to check if grid/container has the id "ArticleParagraphImage" to change the Dynamic Article image to be full width on desktop 662 else if (item.Id.Contains("ArticleParagraph")) 663 { 664 665 666 667 #line default 668 #line hidden 669 WriteLiteralTo(__razor_helper_writer, " <div"); 670 671 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 11627), Tuple.Create("\"", 11677) 672 , Tuple.Create(Tuple.Create("", 11635), Tuple.Create("grid__col-12", 11635), true) 673 674 #line 290 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 675 , Tuple.Create(Tuple.Create(" ", 11647), Tuple.Create<System.Object, System.Int32>(hidePadding 676 677 #line default 678 #line hidden 679 , 11648), false) 680 681 #line 290 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 682 , Tuple.Create(Tuple.Create(" ", 11660), Tuple.Create<System.Object, System.Int32>(cssClass 683 684 #line default 685 #line hidden 686 , 11661), false) 687 , Tuple.Create(Tuple.Create(" ", 11670), Tuple.Create("dw-mod", 11671), true) 688 ); 689 690 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 11678), Tuple.Create("\"", 11699) 691 , Tuple.Create(Tuple.Create("", 11683), Tuple.Create("Block__", 11683), true) 692 693 #line 290 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 694 , Tuple.Create(Tuple.Create("", 11690), Tuple.Create<System.Object, System.Int32>(item.Id 695 696 #line default 697 #line hidden 698 , 11690), false) 699 , Tuple.Create(Tuple.Create(" ", 11698), Tuple.Create("", 11698), true) 700 ); 701 702 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 703 704 WriteLiteralTo(__razor_helper_writer, " "); 705 706 707 #line 291 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 708 WriteTo(__razor_helper_writer, RenderBlock(item)); 709 710 711 #line default 712 #line hidden 713 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 714 715 716 #line 293 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 717 } 718 719 720 else 721 { 722 723 724 #line default 725 #line hidden 726 WriteLiteralTo(__razor_helper_writer, " <section"); 727 728 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 11891), Tuple.Create("\"", 12022) 729 , Tuple.Create(Tuple.Create("", 11899), Tuple.Create("grid__col-lg-", 11899), true) 730 731 #line 298 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 732 , Tuple.Create(Tuple.Create("", 11912), Tuple.Create<System.Object, System.Int32>(item.Design.Size 733 734 #line default 735 #line hidden 736 , 11912), false) 737 , Tuple.Create(Tuple.Create(" ", 11929), Tuple.Create("grid__col-md-", 11930), true) 738 739 #line 298 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 740 , Tuple.Create(Tuple.Create("", 11943), Tuple.Create<System.Object, System.Int32>(item.Design.Size 741 742 #line default 743 #line hidden 744 , 11943), false) 745 , Tuple.Create(Tuple.Create(" ", 11960), Tuple.Create("grid__col-sm-12", 11961), true) 746 , Tuple.Create(Tuple.Create(" ", 11976), Tuple.Create("grid__col-xs-12", 11977), true) 747 748 #line 298 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 749 , Tuple.Create(Tuple.Create(" ", 11992), Tuple.Create<System.Object, System.Int32>(hidePadding 750 751 #line default 752 #line hidden 753 , 11993), false) 754 755 #line 298 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 756 , Tuple.Create(Tuple.Create(" ", 12005), Tuple.Create<System.Object, System.Int32>(cssClass 757 758 #line default 759 #line hidden 760 , 12006), false) 761 , Tuple.Create(Tuple.Create(" ", 12015), Tuple.Create("dw-mod", 12016), true) 762 ); 763 764 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 12023), Tuple.Create("\"", 12043) 765 , Tuple.Create(Tuple.Create("", 12028), Tuple.Create("Block__", 12028), true) 766 767 #line 298 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 768 , Tuple.Create(Tuple.Create("", 12035), Tuple.Create<System.Object, System.Int32>(item.Id 769 770 #line default 771 #line hidden 772 , 12035), false) 773 ); 774 775 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 776 777 WriteLiteralTo(__razor_helper_writer, " "); 778 779 780 #line 299 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 781 WriteTo(__razor_helper_writer, RenderBlock(item)); 782 783 784 #line default 785 #line hidden 786 WriteLiteralTo(__razor_helper_writer, "\r\n </section>\r\n"); 787 788 789 #line 301 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 790 } 791 792 } 793 794 795 if (item.Design.RenderType == RenderType.Table) 796 { 797 798 799 #line default 800 #line hidden 801 WriteLiteralTo(__razor_helper_writer, " <table"); 802 803 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 12289), Tuple.Create("\"", 12319) 804 , Tuple.Create(Tuple.Create("", 12297), Tuple.Create("table", 12297), true) 805 806 #line 308 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 807 , Tuple.Create(Tuple.Create(" ", 12302), Tuple.Create<System.Object, System.Int32>(cssClass 808 809 #line default 810 #line hidden 811 , 12303), false) 812 , Tuple.Create(Tuple.Create(" ", 12312), Tuple.Create("dw-mod", 12313), true) 813 ); 814 815 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 12320), Tuple.Create("\"", 12340) 816 , Tuple.Create(Tuple.Create("", 12325), Tuple.Create("Block__", 12325), true) 817 818 #line 308 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 819 , Tuple.Create(Tuple.Create("", 12332), Tuple.Create<System.Object, System.Int32>(item.Id 820 821 #line default 822 #line hidden 823 , 12332), false) 824 ); 825 826 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 827 828 WriteLiteralTo(__razor_helper_writer, " "); 829 830 831 #line 309 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 832 WriteTo(__razor_helper_writer, RenderBlock(item)); 833 834 835 #line default 836 #line hidden 837 WriteLiteralTo(__razor_helper_writer, "\r\n </table>\r\n"); 838 839 840 #line 311 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 841 } 842 843 if (item.Design.RenderType == RenderType.TableRow) 844 { 845 846 847 #line default 848 #line hidden 849 WriteLiteralTo(__razor_helper_writer, " <tr"); 850 851 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 12549), Tuple.Create("\"", 12573) 852 853 #line 315 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 854 , Tuple.Create(Tuple.Create("", 12557), Tuple.Create<System.Object, System.Int32>(cssClass 855 856 #line default 857 #line hidden 858 , 12557), false) 859 , Tuple.Create(Tuple.Create(" ", 12566), Tuple.Create("dw-mod", 12567), true) 860 ); 861 862 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 12574), Tuple.Create("\"", 12594) 863 , Tuple.Create(Tuple.Create("", 12579), Tuple.Create("Block__", 12579), true) 864 865 #line 315 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 866 , Tuple.Create(Tuple.Create("", 12586), Tuple.Create<System.Object, System.Int32>(item.Id 867 868 #line default 869 #line hidden 870 , 12586), false) 871 ); 872 873 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 874 875 WriteLiteralTo(__razor_helper_writer, " "); 876 877 878 #line 316 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 879 WriteTo(__razor_helper_writer, RenderBlock(item)); 880 881 882 #line default 883 #line hidden 884 WriteLiteralTo(__razor_helper_writer, "\r\n </tr>\r\n"); 885 886 887 #line 318 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 888 } 889 890 if (item.Design.RenderType == RenderType.TableColumn) 891 { 892 893 894 #line default 895 #line hidden 896 WriteLiteralTo(__razor_helper_writer, " <td"); 897 898 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 12803), Tuple.Create("\"", 12827) 899 900 #line 322 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 901 , Tuple.Create(Tuple.Create("", 12811), Tuple.Create<System.Object, System.Int32>(cssClass 902 903 #line default 904 #line hidden 905 , 12811), false) 906 , Tuple.Create(Tuple.Create(" ", 12820), Tuple.Create("dw-mod", 12821), true) 907 ); 908 909 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 12828), Tuple.Create("\"", 12848) 910 , Tuple.Create(Tuple.Create("", 12833), Tuple.Create("Block__", 12833), true) 911 912 #line 322 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 913 , Tuple.Create(Tuple.Create("", 12840), Tuple.Create<System.Object, System.Int32>(item.Id 914 915 #line default 916 #line hidden 917 , 12840), false) 918 ); 919 920 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 921 922 WriteLiteralTo(__razor_helper_writer, " "); 923 924 925 #line 323 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 926 WriteTo(__razor_helper_writer, RenderBlock(item)); 927 928 929 #line default 930 #line hidden 931 WriteLiteralTo(__razor_helper_writer, "\r\n </td>\r\n"); 932 933 934 #line 325 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 935 } 936 937 if (item.Design.RenderType == RenderType.CardHeader) 938 { 939 940 941 #line default 942 #line hidden 943 WriteLiteralTo(__razor_helper_writer, " <div"); 944 945 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 13057), Tuple.Create("\"", 13093) 946 , Tuple.Create(Tuple.Create("", 13065), Tuple.Create("card-header", 13065), true) 947 948 #line 329 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 949 , Tuple.Create(Tuple.Create(" ", 13076), Tuple.Create<System.Object, System.Int32>(cssClass 950 951 #line default 952 #line hidden 953 , 13077), false) 954 , Tuple.Create(Tuple.Create(" ", 13086), Tuple.Create("dw-mod", 13087), true) 955 ); 956 957 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 958 959 WriteLiteralTo(__razor_helper_writer, " "); 960 961 962 #line 330 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 963 WriteTo(__razor_helper_writer, RenderBlock(item)); 964 965 966 #line default 967 #line hidden 968 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 969 970 971 #line 332 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 972 } 973 974 if (item.Design.RenderType == RenderType.CardBody) 975 { 976 977 978 #line default 979 #line hidden 980 WriteLiteralTo(__razor_helper_writer, " <div"); 981 982 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 13301), Tuple.Create("\"", 13330) 983 , Tuple.Create(Tuple.Create("", 13309), Tuple.Create("card", 13309), true) 984 985 #line 336 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 986 , Tuple.Create(Tuple.Create(" ", 13313), Tuple.Create<System.Object, System.Int32>(cssClass 987 988 #line default 989 #line hidden 990 , 13314), false) 991 , Tuple.Create(Tuple.Create(" ", 13323), Tuple.Create("dw-mod", 13324), true) 992 ); 993 994 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 995 996 WriteLiteralTo(__razor_helper_writer, " "); 997 998 999 #line 337 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1000 WriteTo(__razor_helper_writer, RenderBlock(item)); 1001 1002 1003 #line default 1004 #line hidden 1005 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1006 1007 1008 #line 339 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1009 } 1010 1011 if (item.Design.RenderType == RenderType.CardFooter) 1012 { 1013 1014 1015 #line default 1016 #line hidden 1017 WriteLiteralTo(__razor_helper_writer, " <div"); 1018 1019 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 13540), Tuple.Create("\"", 13576) 1020 , Tuple.Create(Tuple.Create("", 13548), Tuple.Create("card-footer", 13548), true) 1021 1022 #line 343 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1023 , Tuple.Create(Tuple.Create(" ", 13559), Tuple.Create<System.Object, System.Int32>(cssClass 1024 1025 #line default 1026 #line hidden 1027 , 13560), false) 1028 , Tuple.Create(Tuple.Create(" ", 13569), Tuple.Create("dw-mod", 13570), true) 1029 ); 1030 1031 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1032 1033 WriteLiteralTo(__razor_helper_writer, " "); 1034 1035 1036 #line 344 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1037 WriteTo(__razor_helper_writer, RenderBlock(item)); 1038 1039 1040 #line default 1041 #line hidden 1042 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1043 1044 1045 #line 346 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1046 1047 } 1048 1049 1050 } 1051 else 1052 { 1053 1054 1055 #line default 1056 #line hidden 1057 1058 #line 353 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1059 WriteTo(__razor_helper_writer, RenderBlock(item)); 1060 1061 1062 #line default 1063 #line hidden 1064 1065 #line 353 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1066 1067 } 1068 } 1069 1070 1071 1072 #line default 1073 #line hidden 1074 WriteLiteralTo(__razor_helper_writer, " <!-- END: "); 1075 1076 1077 #line 357 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1078 WriteTo(__razor_helper_writer, item.Id); 1079 1080 1081 #line default 1082 #line hidden 1083 WriteLiteralTo(__razor_helper_writer, " -->\r\n"); 1084 1085 1086 #line 358 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1087 } 1088 1089 1090 #line default 1091 #line hidden 1092 }); 1093 1094 #line 359 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1095 } 1096 #line default 1097 #line hidden 1098 1099 1100 #line 361 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1101 public RazorEngine.Templating.TemplateWriter RenderBlock(Block item) 1102 { 1103 #line default 1104 #line hidden 1105 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1106 1107 #line 362 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1108 1109 if (item.Template != null) 1110 { 1111 1112 1113 #line default 1114 #line hidden 1115 1116 #line 365 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1117 WriteTo(__razor_helper_writer, BlocksPage.RenderTemplate(item.Template)); 1118 1119 1120 #line default 1121 #line hidden 1122 1123 #line 365 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1124 1125 } 1126 1127 if (item.Component != null) 1128 { 1129 string methodName = item.Component.HelperName; 1130 dynamic[] methodParameters = new dynamic[1]; 1131 methodParameters[0] = item.Component; 1132 Type methodType = this.GetType(); 1133 MethodInfo generalMethod = methodType.GetMethod(methodName); 1134 1135 if (generalMethod != null) 1136 { 1137 1138 1139 #line default 1140 #line hidden 1141 1142 #line 378 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1143 WriteTo(__razor_helper_writer, generalMethod.Invoke(this, methodParameters).ToString()); 1144 1145 1146 #line default 1147 #line hidden 1148 1149 #line 378 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1150 ; 1151 } 1152 else 1153 { 1154 throw new Exception(item.Component.GetType().Name + " method '" + methodName + "' could not be invoked"); 1155 } 1156 } 1157 1158 if (item.BlocksList.Count > 0 && !item.SkipRenderBlocksList) 1159 { 1160 1161 1162 #line default 1163 #line hidden 1164 1165 #line 388 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1166 WriteTo(__razor_helper_writer, RenderBlockList(item.BlocksList)); 1167 1168 1169 #line default 1170 #line hidden 1171 1172 #line 388 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1173 1174 } 1175 1176 1177 #line default 1178 #line hidden 1179 }); 1180 1181 #line 390 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1182 } 1183 #line default 1184 #line hidden 1185 1186 1187 #line 408 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1188 public RazorEngine.Templating.TemplateWriter RenderIcon(Icon settings) { 1189 #line default 1190 #line hidden 1191 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1192 1193 #line 408 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1194 1195 if (settings != null) 1196 { 1197 dynamic[] methodParameters = new dynamic[1]; 1198 methodParameters[0] = settings; 1199 MethodInfo customMethod = this.GetType().GetMethod("RenderIconCustom"); 1200 1201 if (customMethod != null) 1202 { 1203 1204 1205 #line default 1206 #line hidden 1207 1208 #line 417 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1209 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 1210 1211 1212 #line default 1213 #line hidden 1214 1215 #line 417 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1216 ; 1217 } else { 1218 string color = settings.Color != null ? "style=\"color: " + settings.Color + "\"" : ""; 1219 1220 if (settings.Name != null) 1221 { 1222 if (String.IsNullOrEmpty(settings.Label)) { 1223 1224 1225 #line default 1226 #line hidden 1227 WriteLiteralTo(__razor_helper_writer, " <i"); 1228 1229 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 15654), Tuple.Create("\"", 15712) 1230 1231 #line 424 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1232 , Tuple.Create(Tuple.Create("", 15662), Tuple.Create<System.Object, System.Int32>(settings.Prefix 1233 1234 #line default 1235 #line hidden 1236 , 15662), false) 1237 1238 #line 424 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1239 , Tuple.Create(Tuple.Create(" ", 15678), Tuple.Create<System.Object, System.Int32>(settings.Name 1240 1241 #line default 1242 #line hidden 1243 , 15679), false) 1244 1245 #line 424 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1246 , Tuple.Create(Tuple.Create(" ", 15693), Tuple.Create<System.Object, System.Int32>(settings.CssClass 1247 1248 #line default 1249 #line hidden 1250 , 15694), false) 1251 ); 1252 1253 WriteLiteralTo(__razor_helper_writer, " "); 1254 1255 1256 #line 424 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1257 WriteTo(__razor_helper_writer, color); 1258 1259 1260 #line default 1261 #line hidden 1262 WriteLiteralTo(__razor_helper_writer, "></i>\r\n"); 1263 1264 1265 #line 425 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1266 } else { 1267 if (settings.LabelPosition == IconLabelPosition.Before) { 1268 1269 1270 #line default 1271 #line hidden 1272 WriteLiteralTo(__razor_helper_writer, " <span>"); 1273 1274 1275 #line 427 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1276 WriteTo(__razor_helper_writer, settings.Label); 1277 1278 1279 #line default 1280 #line hidden 1281 WriteLiteralTo(__razor_helper_writer, " <i"); 1282 1283 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 15880), Tuple.Create("\"", 15938) 1284 1285 #line 427 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1286 , Tuple.Create(Tuple.Create("", 15888), Tuple.Create<System.Object, System.Int32>(settings.Prefix 1287 1288 #line default 1289 #line hidden 1290 , 15888), false) 1291 1292 #line 427 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1293 , Tuple.Create(Tuple.Create(" ", 15904), Tuple.Create<System.Object, System.Int32>(settings.Name 1294 1295 #line default 1296 #line hidden 1297 , 15905), false) 1298 1299 #line 427 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1300 , Tuple.Create(Tuple.Create(" ", 15919), Tuple.Create<System.Object, System.Int32>(settings.CssClass 1301 1302 #line default 1303 #line hidden 1304 , 15920), false) 1305 ); 1306 1307 WriteLiteralTo(__razor_helper_writer, " "); 1308 1309 1310 #line 427 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1311 WriteTo(__razor_helper_writer, color); 1312 1313 1314 #line default 1315 #line hidden 1316 WriteLiteralTo(__razor_helper_writer, "></i></span>\r\n"); 1317 1318 1319 #line 428 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1320 } else { 1321 1322 1323 #line default 1324 #line hidden 1325 WriteLiteralTo(__razor_helper_writer, " <span><i"); 1326 1327 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 16022), Tuple.Create("\"", 16080) 1328 1329 #line 429 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1330 , Tuple.Create(Tuple.Create("", 16030), Tuple.Create<System.Object, System.Int32>(settings.Prefix 1331 1332 #line default 1333 #line hidden 1334 , 16030), false) 1335 1336 #line 429 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1337 , Tuple.Create(Tuple.Create(" ", 16046), Tuple.Create<System.Object, System.Int32>(settings.Name 1338 1339 #line default 1340 #line hidden 1341 , 16047), false) 1342 1343 #line 429 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1344 , Tuple.Create(Tuple.Create(" ", 16061), Tuple.Create<System.Object, System.Int32>(settings.CssClass 1345 1346 #line default 1347 #line hidden 1348 , 16062), false) 1349 ); 1350 1351 WriteLiteralTo(__razor_helper_writer, " "); 1352 1353 1354 #line 429 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1355 WriteTo(__razor_helper_writer, color); 1356 1357 1358 #line default 1359 #line hidden 1360 WriteLiteralTo(__razor_helper_writer, "></i> "); 1361 1362 1363 #line 429 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1364 WriteTo(__razor_helper_writer, settings.Label); 1365 1366 1367 #line default 1368 #line hidden 1369 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 1370 1371 1372 #line 430 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1373 } 1374 } 1375 } 1376 } 1377 } 1378 1379 1380 #line default 1381 #line hidden 1382 }); 1383 1384 #line 435 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1385 } 1386 #line default 1387 #line hidden 1388 1389 1390 #line 443 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1391 public RazorEngine.Templating.TemplateWriter RenderButtonExtended(ButtonExtended settings) 1392 { 1393 #line default 1394 #line hidden 1395 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1396 1397 #line 444 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1398 1399 dynamic[] methodParameters = new dynamic[1]; 1400 methodParameters[0] = settings; 1401 MethodInfo customMethod = this.GetType().GetMethod("RenderButtonCustom"); 1402 1403 if (customMethod != null) 1404 { 1405 1406 1407 #line default 1408 #line hidden 1409 1410 #line 451 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1411 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 1412 1413 1414 #line default 1415 #line hidden 1416 1417 #line 451 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1418 ; 1419 } 1420 else 1421 { 1422 string target; 1423 string disabled = settings.Disabled ? "disabled" : ""; 1424 string buttonType = settings.ButtonType == ButtonType.Submit ? "submit" : "button"; 1425 buttonType = settings.ButtonType == ButtonType.Reset ? "reset" : buttonType; 1426 string buttonLayout = settings.ButtonLayout.ToString().ToLower(); 1427 string nofollow = settings.ButtonNofollow != false ? "rel='nofollow'" : null; 1428 1429 switch (settings.Target) 1430 { 1431 case LinkTargetType.Blank: 1432 target = "_blank"; 1433 break; 1434 case LinkTargetType.Parent: 1435 target = "_parent"; 1436 break; 1437 case LinkTargetType.Self: 1438 target = "_self"; 1439 break; 1440 case LinkTargetType.Top: 1441 target = "_top"; 1442 break; 1443 default: 1444 target = "_self"; 1445 break; 1446 } 1447 1448 string onClickAction = settings.OnClick != null ? settings.OnClick : ""; 1449 string noOpener = target == "_blank" ? "rel=\"noopener\"" : ""; 1450 1451 if (!String.IsNullOrEmpty(settings.ConfirmText)) 1452 { 1453 string modalId = settings.Id; 1454 1455 1456 #line default 1457 #line hidden 1458 1459 #line 487 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1460 WriteTo(__razor_helper_writer, RenderConfirmDialog(settings)); 1461 1462 1463 #line default 1464 #line hidden 1465 1466 #line 487 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1467 ; 1468 onClickAction = "document.getElementById('" + modalId + "ModalTrigger').checked = true"; 1469 } 1470 1471 if (settings.Icon != null) 1472 { 1473 if (settings.IconPosition == null) 1474 { 1475 settings.Icon.LabelPosition = IconLabelPosition.After; 1476 } 1477 else 1478 { 1479 settings.Icon.LabelPosition = settings.IconPosition == IconPosition.Before ? IconLabelPosition.After : IconLabelPosition.Before; 1480 } 1481 if (settings.Icon.Label == null) 1482 { 1483 settings.Icon.Label = settings.Title; 1484 } 1485 } 1486 string content = settings.Icon == null ? settings.Title : Convert.ToString(RenderIcon(settings.Icon)); 1487 1488 if (!String.IsNullOrEmpty(settings.Link) && String.IsNullOrEmpty(settings.ConfirmText)) 1489 { 1490 1491 1492 #line default 1493 #line hidden 1494 WriteLiteralTo(__razor_helper_writer, " <a"); 1495 1496 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 18608), Tuple.Create("\"", 18629) 1497 1498 #line 510 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1499 , Tuple.Create(Tuple.Create("", 18615), Tuple.Create<System.Object, System.Int32>(settings.Link 1500 1501 #line default 1502 #line hidden 1503 , 18615), false) 1504 ); 1505 1506 WriteAttributeTo(__razor_helper_writer, "target", Tuple.Create(" target=\"", 18630), Tuple.Create("\"", 18646) 1507 1508 #line 510 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1509 , Tuple.Create(Tuple.Create("", 18639), Tuple.Create<System.Object, System.Int32>(target 1510 1511 #line default 1512 #line hidden 1513 , 18639), false) 1514 ); 1515 1516 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 18647), Tuple.Create("\"", 18713) 1517 , Tuple.Create(Tuple.Create("", 18655), Tuple.Create("btn", 18655), true) 1518 , Tuple.Create(Tuple.Create(" ", 18658), Tuple.Create("btn--", 18659), true) 1519 1520 #line 510 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1521 , Tuple.Create(Tuple.Create("", 18664), Tuple.Create<System.Object, System.Int32>(buttonLayout 1522 1523 #line default 1524 #line hidden 1525 , 18664), false) 1526 1527 #line 510 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1528 , Tuple.Create(Tuple.Create(" ", 18677), Tuple.Create<System.Object, System.Int32>(settings.CssClass 1529 1530 #line default 1531 #line hidden 1532 , 18678), false) 1533 1534 #line 510 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1535 , Tuple.Create(Tuple.Create(" ", 18696), Tuple.Create<System.Object, System.Int32>(disabled 1536 1537 #line default 1538 #line hidden 1539 , 18697), false) 1540 , Tuple.Create(Tuple.Create(" ", 18706), Tuple.Create("dw-mod", 18707), true) 1541 ); 1542 1543 WriteLiteralTo(__razor_helper_writer, " "); 1544 1545 1546 #line 510 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1547 WriteTo(__razor_helper_writer, nofollow); 1548 1549 1550 #line default 1551 #line hidden 1552 WriteLiteralTo(__razor_helper_writer, " onclick=\""); 1553 1554 1555 #line 510 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1556 WriteTo(__razor_helper_writer, onClickAction); 1557 1558 1559 #line default 1560 #line hidden 1561 WriteLiteralTo(__razor_helper_writer, "\" "); 1562 1563 1564 #line 510 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1565 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1566 1567 1568 #line default 1569 #line hidden 1570 WriteLiteralTo(__razor_helper_writer, " "); 1571 1572 1573 #line 510 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1574 WriteTo(__razor_helper_writer, disabled); 1575 1576 1577 #line default 1578 #line hidden 1579 WriteLiteralTo(__razor_helper_writer, ">"); 1580 1581 1582 #line 510 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1583 WriteTo(__razor_helper_writer, content); 1584 1585 1586 #line default 1587 #line hidden 1588 WriteLiteralTo(__razor_helper_writer, "</a> "); 1589 1590 1591 #line 510 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1592 } 1593 else 1594 { 1595 1596 1597 #line default 1598 #line hidden 1599 WriteLiteralTo(__razor_helper_writer, " <button"); 1600 1601 WriteAttributeTo(__razor_helper_writer, "type", Tuple.Create(" type=\"", 18864), Tuple.Create("\"", 18882) 1602 1603 #line 513 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1604 , Tuple.Create(Tuple.Create("", 18871), Tuple.Create<System.Object, System.Int32>(buttonType 1605 1606 #line default 1607 #line hidden 1608 , 18871), false) 1609 ); 1610 1611 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 18883), Tuple.Create("\"", 18949) 1612 , Tuple.Create(Tuple.Create("", 18891), Tuple.Create("btn", 18891), true) 1613 , Tuple.Create(Tuple.Create(" ", 18894), Tuple.Create("btn--", 18895), true) 1614 1615 #line 513 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1616 , Tuple.Create(Tuple.Create("", 18900), Tuple.Create<System.Object, System.Int32>(buttonLayout 1617 1618 #line default 1619 #line hidden 1620 , 18900), false) 1621 1622 #line 513 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1623 , Tuple.Create(Tuple.Create(" ", 18913), Tuple.Create<System.Object, System.Int32>(settings.CssClass 1624 1625 #line default 1626 #line hidden 1627 , 18914), false) 1628 1629 #line 513 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1630 , Tuple.Create(Tuple.Create(" ", 18932), Tuple.Create<System.Object, System.Int32>(disabled 1631 1632 #line default 1633 #line hidden 1634 , 18933), false) 1635 , Tuple.Create(Tuple.Create(" ", 18942), Tuple.Create("dw-mod", 18943), true) 1636 ); 1637 1638 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 18950), Tuple.Create("\"", 18974) 1639 1640 #line 513 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1641 , Tuple.Create(Tuple.Create("", 18960), Tuple.Create<System.Object, System.Int32>(onClickAction 1642 1643 #line default 1644 #line hidden 1645 , 18960), false) 1646 ); 1647 1648 WriteLiteralTo(__razor_helper_writer, " "); 1649 1650 1651 #line 513 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1652 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1653 1654 1655 #line default 1656 #line hidden 1657 WriteLiteralTo(__razor_helper_writer, " "); 1658 1659 1660 #line 513 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1661 WriteTo(__razor_helper_writer, disabled); 1662 1663 1664 #line default 1665 #line hidden 1666 WriteLiteralTo(__razor_helper_writer, ">"); 1667 1668 1669 #line 513 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1670 WriteTo(__razor_helper_writer, content); 1671 1672 1673 #line default 1674 #line hidden 1675 WriteLiteralTo(__razor_helper_writer, "</button>\r\n"); 1676 1677 1678 #line 514 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1679 } 1680 } 1681 1682 1683 #line default 1684 #line hidden 1685 }); 1686 1687 #line 516 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1688 } 1689 #line default 1690 #line hidden 1691 1692 1693 #line 518 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1694 public RazorEngine.Templating.TemplateWriter RenderButton(Button settings) 1695 { 1696 #line default 1697 #line hidden 1698 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1699 1700 #line 519 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1701 1702 dynamic[] methodParameters = new dynamic[1]; 1703 methodParameters[0] = settings; 1704 MethodInfo customMethod = this.GetType().GetMethod("RenderButtonCustom"); 1705 1706 if (customMethod != null) 1707 { 1708 1709 1710 #line default 1711 #line hidden 1712 1713 #line 526 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1714 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 1715 1716 1717 #line default 1718 #line hidden 1719 1720 #line 526 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1721 ; 1722 } 1723 else 1724 { 1725 string target; 1726 string disabled = settings.Disabled ? "disabled" : ""; 1727 string buttonType = settings.ButtonType == ButtonType.Submit ? "submit" : "button"; 1728 buttonType = settings.ButtonType == ButtonType.Reset ? "reset" : buttonType; 1729 string buttonLayout = settings.ButtonLayout.ToString().ToLower(); 1730 1731 switch (settings.Target) 1732 { 1733 case LinkTargetType.Blank: 1734 target = "_blank"; 1735 break; 1736 case LinkTargetType.Parent: 1737 target = "_parent"; 1738 break; 1739 case LinkTargetType.Self: 1740 target = "_self"; 1741 break; 1742 case LinkTargetType.Top: 1743 target = "_top"; 1744 break; 1745 default: 1746 target = "_self"; 1747 break; 1748 } 1749 1750 string onClickAction = settings.OnClick != null ? settings.OnClick : ""; 1751 string noOpener = target == "_blank" ? "rel=\"noopener\"" : ""; 1752 1753 if (!String.IsNullOrEmpty(settings.ConfirmText)) 1754 { 1755 string modalId = settings.Id; 1756 1757 1758 #line default 1759 #line hidden 1760 1761 #line 561 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1762 WriteTo(__razor_helper_writer, RenderConfirmDialog(settings)); 1763 1764 1765 #line default 1766 #line hidden 1767 1768 #line 561 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1769 ; 1770 onClickAction = "document.getElementById('" + modalId + "ModalTrigger').checked = true"; 1771 } 1772 1773 if (settings.Icon != null) 1774 { 1775 if (settings.IconPosition == null) 1776 { 1777 settings.Icon.LabelPosition = IconLabelPosition.After; 1778 } 1779 else 1780 { 1781 settings.Icon.LabelPosition = settings.IconPosition == IconPosition.Before ? IconLabelPosition.After : IconLabelPosition.Before; 1782 } 1783 if (settings.Icon.Label == null) 1784 { 1785 settings.Icon.Label = settings.Title; 1786 } 1787 } 1788 string content = settings.Icon == null ? settings.Title : Convert.ToString(RenderIcon(settings.Icon)); 1789 1790 if (!String.IsNullOrEmpty(settings.Link) && String.IsNullOrEmpty(settings.ConfirmText)) 1791 { 1792 1793 1794 #line default 1795 #line hidden 1796 WriteLiteralTo(__razor_helper_writer, " <a"); 1797 1798 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 21187), Tuple.Create("\"", 21208) 1799 1800 #line 584 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1801 , Tuple.Create(Tuple.Create("", 21194), Tuple.Create<System.Object, System.Int32>(settings.Link 1802 1803 #line default 1804 #line hidden 1805 , 21194), false) 1806 ); 1807 1808 WriteAttributeTo(__razor_helper_writer, "target", Tuple.Create(" target=\"", 21209), Tuple.Create("\"", 21225) 1809 1810 #line 584 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1811 , Tuple.Create(Tuple.Create("", 21218), Tuple.Create<System.Object, System.Int32>(target 1812 1813 #line default 1814 #line hidden 1815 , 21218), false) 1816 ); 1817 1818 WriteLiteralTo(__razor_helper_writer, " "); 1819 1820 1821 #line 584 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1822 WriteTo(__razor_helper_writer, noOpener); 1823 1824 1825 #line default 1826 #line hidden 1827 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn--"); 1828 1829 1830 #line 584 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1831 WriteTo(__razor_helper_writer, buttonLayout); 1832 1833 1834 #line default 1835 #line hidden 1836 WriteLiteralTo(__razor_helper_writer, " "); 1837 1838 1839 #line 584 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1840 WriteTo(__razor_helper_writer, settings.CssClass); 1841 1842 1843 #line default 1844 #line hidden 1845 WriteLiteralTo(__razor_helper_writer, " "); 1846 1847 1848 #line 584 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1849 WriteTo(__razor_helper_writer, disabled); 1850 1851 1852 #line default 1853 #line hidden 1854 WriteLiteralTo(__razor_helper_writer, " dw-mod\" onclick=\""); 1855 1856 1857 #line 584 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1858 WriteTo(__razor_helper_writer, onClickAction); 1859 1860 1861 #line default 1862 #line hidden 1863 WriteLiteralTo(__razor_helper_writer, "\" "); 1864 1865 1866 #line 584 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1867 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1868 1869 1870 #line default 1871 #line hidden 1872 WriteLiteralTo(__razor_helper_writer, " "); 1873 1874 1875 #line 584 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1876 WriteTo(__razor_helper_writer, disabled); 1877 1878 1879 #line default 1880 #line hidden 1881 WriteLiteralTo(__razor_helper_writer, ">"); 1882 1883 1884 #line 584 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1885 WriteTo(__razor_helper_writer, content); 1886 1887 1888 #line default 1889 #line hidden 1890 WriteLiteralTo(__razor_helper_writer, "</a> "); 1891 1892 1893 #line 584 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1894 } 1895 else 1896 { 1897 1898 1899 #line default 1900 #line hidden 1901 WriteLiteralTo(__razor_helper_writer, " <button"); 1902 1903 WriteAttributeTo(__razor_helper_writer, "type", Tuple.Create(" type=\"", 21443), Tuple.Create("\"", 21461) 1904 1905 #line 587 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1906 , Tuple.Create(Tuple.Create("", 21450), Tuple.Create<System.Object, System.Int32>(buttonType 1907 1908 #line default 1909 #line hidden 1910 , 21450), false) 1911 ); 1912 1913 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 21462), Tuple.Create("\"", 21528) 1914 , Tuple.Create(Tuple.Create("", 21470), Tuple.Create("btn", 21470), true) 1915 , Tuple.Create(Tuple.Create(" ", 21473), Tuple.Create("btn--", 21474), true) 1916 1917 #line 587 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1918 , Tuple.Create(Tuple.Create("", 21479), Tuple.Create<System.Object, System.Int32>(buttonLayout 1919 1920 #line default 1921 #line hidden 1922 , 21479), false) 1923 1924 #line 587 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1925 , Tuple.Create(Tuple.Create(" ", 21492), Tuple.Create<System.Object, System.Int32>(settings.CssClass 1926 1927 #line default 1928 #line hidden 1929 , 21493), false) 1930 1931 #line 587 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1932 , Tuple.Create(Tuple.Create(" ", 21511), Tuple.Create<System.Object, System.Int32>(disabled 1933 1934 #line default 1935 #line hidden 1936 , 21512), false) 1937 , Tuple.Create(Tuple.Create(" ", 21521), Tuple.Create("dw-mod", 21522), true) 1938 ); 1939 1940 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 21529), Tuple.Create("\"", 21553) 1941 1942 #line 587 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1943 , Tuple.Create(Tuple.Create("", 21539), Tuple.Create<System.Object, System.Int32>(onClickAction 1944 1945 #line default 1946 #line hidden 1947 , 21539), false) 1948 ); 1949 1950 WriteLiteralTo(__razor_helper_writer, " "); 1951 1952 1953 #line 587 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1954 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1955 1956 1957 #line default 1958 #line hidden 1959 WriteLiteralTo(__razor_helper_writer, " "); 1960 1961 1962 #line 587 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1963 WriteTo(__razor_helper_writer, disabled); 1964 1965 1966 #line default 1967 #line hidden 1968 WriteLiteralTo(__razor_helper_writer, ">"); 1969 1970 1971 #line 587 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1972 WriteTo(__razor_helper_writer, content); 1973 1974 1975 #line default 1976 #line hidden 1977 WriteLiteralTo(__razor_helper_writer, "</button>\r\n"); 1978 1979 1980 #line 588 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1981 } 1982 } 1983 1984 1985 #line default 1986 #line hidden 1987 }); 1988 1989 #line 590 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1990 } 1991 #line default 1992 #line hidden 1993 1994 1995 #line 593 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 1996 public RazorEngine.Templating.TemplateWriter RenderConfirmDialog(Button settings) 1997 { 1998 #line default 1999 #line hidden 2000 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2001 2002 #line 594 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2003 2004 dynamic[] methodParameters = new dynamic[1]; 2005 methodParameters[0] = settings; 2006 MethodInfo customMethod = this.GetType().GetMethod("RenderConfirmDialogCustom"); 2007 2008 if (customMethod != null) 2009 { 2010 2011 2012 #line default 2013 #line hidden 2014 2015 #line 601 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2016 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 2017 2018 2019 #line default 2020 #line hidden 2021 2022 #line 601 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2023 ; 2024 } 2025 else 2026 { 2027 string modalTriggerId = settings.Id + "ModalTrigger"; 2028 2029 2030 2031 #line default 2032 #line hidden 2033 WriteLiteralTo(__razor_helper_writer, " <!-- Trigger for the confirm modal -->\r\n"); 2034 2035 WriteLiteralTo(__razor_helper_writer, " <input"); 2036 2037 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 2038 2039 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 22124), Tuple.Create("\"", 22144) 2040 2041 #line 608 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2042 , Tuple.Create(Tuple.Create("", 22129), Tuple.Create<System.Object, System.Int32>(modalTriggerId 2043 2044 #line default 2045 #line hidden 2046 , 22129), false) 2047 ); 2048 2049 WriteLiteralTo(__razor_helper_writer, " class=\"modal-trigger\""); 2050 2051 WriteLiteralTo(__razor_helper_writer, " />\r\n"); 2052 2053 2054 #line 609 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2055 2056 2057 2058 #line default 2059 #line hidden 2060 WriteLiteralTo(__razor_helper_writer, " <!-- Login modal -->\r\n"); 2061 2062 WriteLiteralTo(__razor_helper_writer, " <div"); 2063 2064 WriteLiteralTo(__razor_helper_writer, " class=\"modal-container\""); 2065 2066 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 2067 2068 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 22247), Tuple.Create("\"", 22268) 2069 2070 #line 612 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2071 , Tuple.Create(Tuple.Create("", 22253), Tuple.Create<System.Object, System.Int32>(modalTriggerId 2072 2073 #line default 2074 #line hidden 2075 , 22253), false) 2076 ); 2077 2078 WriteLiteralTo(__razor_helper_writer, " class=\"modal-overlay\""); 2079 2080 WriteLiteralTo(__razor_helper_writer, "></label>\r\n <div"); 2081 2082 WriteLiteralTo(__razor_helper_writer, " class=\"modal modal--xs\""); 2083 2084 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2085 2086 WriteLiteralTo(__razor_helper_writer, " class=\"modal__header\""); 2087 2088 WriteLiteralTo(__razor_helper_writer, ">\r\n <h2>"); 2089 2090 2091 #line 615 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2092 WriteTo(__razor_helper_writer, settings.ConfirmText); 2093 2094 2095 #line default 2096 #line hidden 2097 WriteLiteralTo(__razor_helper_writer, "</h2>\r\n </div>\r\n <div"); 2098 2099 WriteLiteralTo(__razor_helper_writer, " class=\"modal__body\""); 2100 2101 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2102 2103 WriteLiteralTo(__razor_helper_writer, " "); 2104 2105 2106 #line 618 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2107 WriteTo(__razor_helper_writer, RenderButton(new Button { Title = Translate("OK"), ButtonLayout = ButtonLayout.Primary, OnClick = settings.OnClick, CssClass = "u-full-width", Link = settings.Link })); 2108 2109 2110 #line default 2111 #line hidden 2112 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n </div>\r\n"); 2113 2114 2115 #line 622 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2116 } 2117 2118 2119 #line default 2120 #line hidden 2121 }); 2122 2123 #line 623 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2124 } 2125 #line default 2126 #line hidden 2127 2128 2129 #line 632 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2130 public RazorEngine.Templating.TemplateWriter RenderRating(Rating settings) 2131 { 2132 #line default 2133 #line hidden 2134 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2135 2136 #line 633 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2137 2138 dynamic[] methodParameters = new dynamic[1]; 2139 methodParameters[0] = settings; 2140 MethodInfo customMethod = this.GetType().GetMethod("RenderRatingCustom"); 2141 2142 if (customMethod != null) 2143 { 2144 2145 2146 #line default 2147 #line hidden 2148 2149 #line 640 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2150 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 2151 2152 2153 #line default 2154 #line hidden 2155 2156 #line 640 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2157 ; 2158 } else { 2159 if (settings.Score > 0) 2160 { 2161 int rating = settings.Score; 2162 string iconType = "fa-star"; 2163 2164 switch (settings.Type.ToString()) { 2165 case "Stars": 2166 iconType = "fa-star"; 2167 break; 2168 case "Hearts": 2169 iconType = "fa-heart"; 2170 break; 2171 case "Lemons": 2172 iconType = "fa-lemon"; 2173 break; 2174 case "Bombs": 2175 iconType = "fa-bomb"; 2176 break; 2177 } 2178 2179 2180 2181 #line default 2182 #line hidden 2183 WriteLiteralTo(__razor_helper_writer, " <div"); 2184 2185 WriteLiteralTo(__razor_helper_writer, " class=\"u-ta-right\""); 2186 2187 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2188 2189 2190 #line 663 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2191 2192 2193 #line default 2194 #line hidden 2195 2196 #line 663 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2197 for (int i = 0; i < settings.OutOf; i++) 2198 { 2199 2200 2201 #line default 2202 #line hidden 2203 WriteLiteralTo(__razor_helper_writer, " <i"); 2204 2205 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 23995), Tuple.Create("\"", 24042) 2206 2207 #line 665 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2208 , Tuple.Create(Tuple.Create("", 24003), Tuple.Create<System.Object, System.Int32>(rating > i ? "fas" : "far" 2209 2210 #line default 2211 #line hidden 2212 , 24003), false) 2213 2214 #line 665 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2215 , Tuple.Create(Tuple.Create(" ", 24032), Tuple.Create<System.Object, System.Int32>(iconType 2216 2217 #line default 2218 #line hidden 2219 , 24033), false) 2220 ); 2221 2222 WriteLiteralTo(__razor_helper_writer, "></i>\r\n"); 2223 2224 2225 #line 666 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2226 } 2227 2228 2229 #line default 2230 #line hidden 2231 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 2232 2233 2234 #line 668 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2235 } 2236 } 2237 2238 2239 #line default 2240 #line hidden 2241 }); 2242 2243 #line 670 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2244 } 2245 #line default 2246 #line hidden 2247 2248 2249 #line 678 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2250 public RazorEngine.Templating.TemplateWriter RenderFieldListOption(FieldListOption settings) { 2251 #line default 2252 #line hidden 2253 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2254 2255 #line 678 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2256 2257 dynamic[] methodParameters = new dynamic[1]; 2258 methodParameters[0] = settings; 2259 MethodInfo customMethod = this.GetType().GetMethod("RenderFieldListOptionCustom"); 2260 2261 if (customMethod != null) 2262 { 2263 2264 2265 #line default 2266 #line hidden 2267 2268 #line 685 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2269 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 2270 2271 2272 #line default 2273 #line hidden 2274 2275 #line 685 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2276 ; 2277 } else { 2278 string disabled = settings.Disabled ? "disabled" : ""; 2279 string selected = settings.Checked ? "checked" : ""; 2280 2281 if (settings.Type.ToString() == "RadioButton") 2282 { 2283 2284 2285 #line default 2286 #line hidden 2287 WriteLiteralTo(__razor_helper_writer, " <input"); 2288 2289 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 24829), Tuple.Create("\"", 24867) 2290 , Tuple.Create(Tuple.Create("", 24837), Tuple.Create("form__control", 24837), true) 2291 2292 #line 692 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2293 , Tuple.Create(Tuple.Create(" ", 24850), Tuple.Create<System.Object, System.Int32>(disabled 2294 2295 #line default 2296 #line hidden 2297 , 24851), false) 2298 , Tuple.Create(Tuple.Create(" ", 24860), Tuple.Create("dw-mod", 24861), true) 2299 ); 2300 2301 WriteAttributeTo(__razor_helper_writer, "onchange", Tuple.Create(" onchange=\"", 24868), Tuple.Create("\"", 24897) 2302 2303 #line 692 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2304 , Tuple.Create(Tuple.Create("", 24879), Tuple.Create<System.Object, System.Int32>(settings.OnChange 2305 2306 #line default 2307 #line hidden 2308 , 24879), false) 2309 ); 2310 2311 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 24898), Tuple.Create("\"", 24925) 2312 2313 #line 692 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2314 , Tuple.Create(Tuple.Create("", 24908), Tuple.Create<System.Object, System.Int32>(settings.OnClick 2315 2316 #line default 2317 #line hidden 2318 , 24908), false) 2319 ); 2320 2321 WriteLiteralTo(__razor_helper_writer, " type=\"radio\""); 2322 2323 WriteAttributeTo(__razor_helper_writer, "name", Tuple.Create(" name=\"", 24939), Tuple.Create("\"", 24960) 2324 2325 #line 692 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2326 , Tuple.Create(Tuple.Create("", 24946), Tuple.Create<System.Object, System.Int32>(settings.Name 2327 2328 #line default 2329 #line hidden 2330 , 24946), false) 2331 ); 2332 2333 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 24961), Tuple.Create("\"", 24978) 2334 2335 #line 692 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2336 , Tuple.Create(Tuple.Create("", 24966), Tuple.Create<System.Object, System.Int32>(settings.Id 2337 2338 #line default 2339 #line hidden 2340 , 24966), false) 2341 ); 2342 2343 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 24979), Tuple.Create("\"", 25002) 2344 2345 #line 692 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2346 , Tuple.Create(Tuple.Create("", 24987), Tuple.Create<System.Object, System.Int32>(settings.Value 2347 2348 #line default 2349 #line hidden 2350 , 24987), false) 2351 ); 2352 2353 WriteLiteralTo(__razor_helper_writer, " "); 2354 2355 2356 #line 692 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2357 WriteTo(__razor_helper_writer, selected); 2358 2359 2360 #line default 2361 #line hidden 2362 WriteLiteralTo(__razor_helper_writer, " "); 2363 2364 2365 #line 692 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2366 WriteTo(__razor_helper_writer, disabled); 2367 2368 2369 #line default 2370 #line hidden 2371 WriteLiteralTo(__razor_helper_writer, " "); 2372 2373 2374 #line 692 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2375 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 2376 2377 2378 #line default 2379 #line hidden 2380 WriteLiteralTo(__razor_helper_writer, " />\r\n"); 2381 2382 WriteLiteralTo(__razor_helper_writer, " <label"); 2383 2384 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 25104), Tuple.Create("\"", 25122) 2385 2386 #line 693 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2387 , Tuple.Create(Tuple.Create("", 25110), Tuple.Create<System.Object, System.Int32>(settings.Id 2388 2389 #line default 2390 #line hidden 2391 , 25110), false) 2392 ); 2393 2394 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 25123), Tuple.Create("\"", 25156) 2395 , Tuple.Create(Tuple.Create("", 25131), Tuple.Create("u-inline", 25131), true) 2396 2397 #line 693 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2398 , Tuple.Create(Tuple.Create(" ", 25139), Tuple.Create<System.Object, System.Int32>(disabled 2399 2400 #line default 2401 #line hidden 2402 , 25140), false) 2403 , Tuple.Create(Tuple.Create(" ", 25149), Tuple.Create("dw-mod", 25150), true) 2404 ); 2405 2406 WriteLiteralTo(__razor_helper_writer, ">"); 2407 2408 2409 #line 693 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2410 WriteTo(__razor_helper_writer, settings.Label); 2411 2412 2413 #line default 2414 #line hidden 2415 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 2416 2417 2418 #line 694 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2419 2420 2421 #line default 2422 #line hidden 2423 2424 #line 694 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2425 WriteTo(__razor_helper_writer, RenderNotificationMessage(new NotificationMessage { Message = settings.ErrorMessage })); 2426 2427 2428 #line default 2429 #line hidden 2430 2431 #line 694 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2432 2433 } 2434 2435 if (settings.Type.ToString() == "Checkbox") 2436 { 2437 2438 2439 #line default 2440 #line hidden 2441 2442 #line 699 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2443 WriteTo(__razor_helper_writer, RenderCheckboxField(settings)); 2444 2445 2446 #line default 2447 #line hidden 2448 2449 #line 699 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2450 2451 } 2452 2453 if (settings.Type.ToString() == "SelectOption") 2454 { 2455 2456 2457 #line default 2458 #line hidden 2459 WriteLiteralTo(__razor_helper_writer, " <option"); 2460 2461 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 25505), Tuple.Create("\"", 25528) 2462 2463 #line 704 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2464 , Tuple.Create(Tuple.Create("", 25513), Tuple.Create<System.Object, System.Int32>(settings.Value 2465 2466 #line default 2467 #line hidden 2468 , 25513), false) 2469 ); 2470 2471 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 25529), Tuple.Create("\"", 25546) 2472 2473 #line 704 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2474 , Tuple.Create(Tuple.Create("", 25534), Tuple.Create<System.Object, System.Int32>(settings.Id 2475 2476 #line default 2477 #line hidden 2478 , 25534), false) 2479 ); 2480 2481 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 25547), Tuple.Create("\"", 25574) 2482 2483 #line 704 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2484 , Tuple.Create(Tuple.Create("", 25557), Tuple.Create<System.Object, System.Int32>(settings.OnClick 2485 2486 #line default 2487 #line hidden 2488 , 25557), false) 2489 ); 2490 2491 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 25575), Tuple.Create("\"", 25592) 2492 2493 #line 704 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2494 , Tuple.Create(Tuple.Create("", 25583), Tuple.Create<System.Object, System.Int32>(disabled 2495 2496 #line default 2497 #line hidden 2498 , 25583), false) 2499 ); 2500 2501 WriteLiteralTo(__razor_helper_writer, " "); 2502 2503 2504 #line 704 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2505 WriteTo(__razor_helper_writer, disabled); 2506 2507 2508 #line default 2509 #line hidden 2510 WriteLiteralTo(__razor_helper_writer, " "); 2511 2512 2513 #line 704 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2514 WriteTo(__razor_helper_writer, selected); 2515 2516 2517 #line default 2518 #line hidden 2519 WriteLiteralTo(__razor_helper_writer, " "); 2520 2521 2522 #line 704 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2523 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 2524 2525 2526 #line default 2527 #line hidden 2528 WriteLiteralTo(__razor_helper_writer, " >"); 2529 2530 2531 #line 704 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2532 WriteTo(__razor_helper_writer, settings.Name); 2533 2534 2535 #line default 2536 #line hidden 2537 WriteLiteralTo(__razor_helper_writer, "</option>\r\n"); 2538 2539 2540 #line 705 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2541 2542 2543 #line default 2544 #line hidden 2545 2546 #line 705 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2547 WriteTo(__razor_helper_writer, RenderNotificationMessage(new NotificationMessage { Message = settings.ErrorMessage })); 2548 2549 2550 #line default 2551 #line hidden 2552 2553 #line 705 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2554 2555 } 2556 } 2557 2558 2559 #line default 2560 #line hidden 2561 }); 2562 2563 #line 708 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2564 } 2565 #line default 2566 #line hidden 2567 2568 2569 #line 717 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2570 public RazorEngine.Templating.TemplateWriter RenderNavigation(Navigation settings) { 2571 #line default 2572 #line hidden 2573 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2574 2575 #line 717 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2576 2577 dynamic[] methodParameters = new dynamic[1]; 2578 methodParameters[0] = settings; 2579 MethodInfo customMethod = this.GetType().GetMethod("RenderNavigationCustom"); 2580 2581 if (customMethod != null) 2582 { 2583 2584 2585 #line default 2586 #line hidden 2587 2588 #line 724 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2589 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 2590 2591 2592 #line default 2593 #line hidden 2594 2595 #line 724 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2596 ; 2597 } else { 2598 2599 2600 #line default 2601 #line hidden 2602 2603 #line 726 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2604 WriteTo(__razor_helper_writer, RenderNavigation(new 2605 { 2606 id = settings.Id, 2607 cssclass = settings.CssClass, 2608 startLevel = settings.StartLevel, 2609 endlevel = settings.EndLevel, 2610 expandmode = settings.Expandmode, 2611 template = settings.Template 2612 })); 2613 2614 2615 #line default 2616 #line hidden 2617 2618 #line 734 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2619 2620 } 2621 2622 2623 #line default 2624 #line hidden 2625 }); 2626 2627 #line 736 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2628 } 2629 #line default 2630 #line hidden 2631 2632 2633 #line 744 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2634 public RazorEngine.Templating.TemplateWriter RenderBreadcrumbNavigation(BreadcrumbNavigation settings) { 2635 #line default 2636 #line hidden 2637 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2638 2639 #line 744 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2640 2641 dynamic[] methodParameters = new dynamic[1]; 2642 methodParameters[0] = settings; 2643 MethodInfo customMethod = this.GetType().GetMethod("RenderBreadcrumbNavigationCustom"); 2644 2645 if (customMethod != null) 2646 { 2647 2648 2649 #line default 2650 #line hidden 2651 2652 #line 751 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2653 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 2654 2655 2656 #line default 2657 #line hidden 2658 2659 #line 751 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2660 ; 2661 } else { 2662 settings.Id = String.IsNullOrEmpty(settings.Id) ? "breadcrumb" : settings.Id; 2663 settings.Template = String.IsNullOrEmpty(settings.Template) ? "Breadcrumb.xslt" : settings.Template; 2664 settings.StartLevel = settings.StartLevel == 0 ? 1 : settings.StartLevel; 2665 settings.EndLevel = settings.EndLevel == 10 ? 1 : settings.EndLevel; 2666 settings.Expandmode = String.IsNullOrEmpty(settings.Expandmode) ? "all" : settings.Expandmode; 2667 2668 2669 2670 #line default 2671 #line hidden 2672 2673 #line 759 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2674 WriteTo(__razor_helper_writer, RenderNavigation(settings)); 2675 2676 2677 #line default 2678 #line hidden 2679 2680 #line 759 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2681 2682 } 2683 2684 2685 #line default 2686 #line hidden 2687 }); 2688 2689 #line 761 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2690 } 2691 #line default 2692 #line hidden 2693 2694 2695 #line 768 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2696 public RazorEngine.Templating.TemplateWriter RenderHeading(Heading settings) { 2697 #line default 2698 #line hidden 2699 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2700 2701 #line 768 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2702 2703 dynamic[] methodParameters = new dynamic[1]; 2704 methodParameters[0] = settings; 2705 MethodInfo customMethod = this.GetType().GetMethod("RenderHeadingCustom"); 2706 2707 if (customMethod != null) 2708 { 2709 2710 2711 #line default 2712 #line hidden 2713 2714 #line 775 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2715 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 2716 2717 2718 #line default 2719 #line hidden 2720 2721 #line 775 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2722 ; 2723 } else { 2724 string startTag = "<h" + settings.Level.ToString() + " class=\"" + settings.CssClass + "\">"; 2725 string endTag = "</h" + settings.Level.ToString() + "\">"; 2726 2727 if (settings.Icon != null) 2728 { 2729 if (settings.IconPosition == null) { 2730 settings.Icon.LabelPosition = IconLabelPosition.After; 2731 } else { 2732 settings.Icon.LabelPosition = settings.IconPosition == IconPosition.Before ? IconLabelPosition.After : IconLabelPosition.Before; 2733 } 2734 if (settings.Icon.Label == null) { 2735 settings.Icon.Label = settings.Title; 2736 } 2737 2738 2739 2740 #line default 2741 #line hidden 2742 2743 #line 791 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2744 WriteTo(__razor_helper_writer, startTag); 2745 2746 2747 #line default 2748 #line hidden 2749 2750 #line 791 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2751 2752 2753 #line default 2754 #line hidden 2755 2756 #line 791 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2757 WriteTo(__razor_helper_writer, RenderIcon(settings.Icon)); 2758 2759 2760 #line default 2761 #line hidden 2762 2763 #line 791 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2764 2765 2766 #line default 2767 #line hidden 2768 2769 #line 791 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2770 WriteTo(__razor_helper_writer, endTag); 2771 2772 2773 #line default 2774 #line hidden 2775 2776 #line 791 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2777 2778 } else { 2779 2780 2781 #line default 2782 #line hidden 2783 2784 #line 793 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2785 WriteTo(__razor_helper_writer, startTag); 2786 2787 2788 #line default 2789 #line hidden 2790 2791 #line 793 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2792 2793 2794 #line default 2795 #line hidden 2796 2797 #line 793 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2798 WriteTo(__razor_helper_writer, settings.Title); 2799 2800 2801 #line default 2802 #line hidden 2803 2804 #line 793 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2805 2806 2807 #line default 2808 #line hidden 2809 2810 #line 793 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2811 WriteTo(__razor_helper_writer, endTag); 2812 2813 2814 #line default 2815 #line hidden 2816 2817 #line 793 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2818 2819 } 2820 } 2821 2822 2823 #line default 2824 #line hidden 2825 }); 2826 2827 #line 796 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2828 } 2829 #line default 2830 #line hidden 2831 2832 2833 #line 805 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2834 public RazorEngine.Templating.TemplateWriter RenderImage(Image settings) 2835 { 2836 #line default 2837 #line hidden 2838 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2839 2840 #line 806 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2841 2842 if (settings.Path != null) 2843 { 2844 dynamic[] methodParameters = new dynamic[1]; 2845 methodParameters[0] = settings; 2846 MethodInfo customMethod = this.GetType().GetMethod("RenderImageCustom"); 2847 2848 if (customMethod != null) 2849 { 2850 2851 2852 #line default 2853 #line hidden 2854 2855 #line 815 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2856 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 2857 2858 2859 #line default 2860 #line hidden 2861 2862 #line 815 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2863 ; 2864 } else { 2865 2866 2867 #line default 2868 #line hidden 2869 WriteLiteralTo(__razor_helper_writer, " <div>\r\n"); 2870 2871 2872 #line 818 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2873 2874 2875 #line default 2876 #line hidden 2877 2878 #line 818 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2879 if (settings.Link != null) 2880 { 2881 2882 2883 #line default 2884 #line hidden 2885 WriteLiteralTo(__razor_helper_writer, " <a"); 2886 2887 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 29693), Tuple.Create("\"", 29714) 2888 2889 #line 820 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2890 , Tuple.Create(Tuple.Create("", 29700), Tuple.Create<System.Object, System.Int32>(settings.Link 2891 2892 #line default 2893 #line hidden 2894 , 29700), false) 2895 ); 2896 2897 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2898 2899 WriteLiteralTo(__razor_helper_writer, " "); 2900 2901 2902 #line 821 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2903 WriteTo(__razor_helper_writer, RenderTheImage(settings)); 2904 2905 2906 #line default 2907 #line hidden 2908 WriteLiteralTo(__razor_helper_writer, ";\r\n </a>\r\n"); 2909 2910 2911 #line 823 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2912 } 2913 else 2914 { 2915 2916 2917 #line default 2918 #line hidden 2919 2920 #line 826 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2921 WriteTo(__razor_helper_writer, RenderTheImage(settings)); 2922 2923 2924 #line default 2925 #line hidden 2926 2927 #line 826 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2928 ; 2929 } 2930 2931 2932 #line default 2933 #line hidden 2934 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 2935 2936 2937 #line 829 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2938 } 2939 } 2940 2941 2942 #line default 2943 #line hidden 2944 }); 2945 2946 #line 831 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2947 } 2948 #line default 2949 #line hidden 2950 2951 2952 #line 833 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2953 2954 string getImagePathFromSettings(ImageSettings settings) 2955 { 2956 string result = ""; 2957 2958 if (settings != null) 2959 { 2960 result += settings.Width != 0 ? "Width=" + settings.Width + "&" : ""; 2961 result += settings.Height != 0 ? "Height=" + settings.Height + "&" : ""; 2962 result += "Crop=" + settings.Crop + "&"; 2963 result += "Compression=" + settings.Compression + "&"; 2964 result += "DoNotUpscale=" + settings.DoNotUpscale.ToString() + "&"; 2965 result += "FillCanvas=" + settings.FillCanvas.ToString() + "&"; 2966 } 2967 2968 return result; 2969 } 2970 2971 #line default 2972 #line hidden 2973 2974 2975 #line 852 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2976 public RazorEngine.Templating.TemplateWriter RenderTheImage(Image settings) 2977 { 2978 #line default 2979 #line hidden 2980 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2981 2982 #line 853 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2983 2984 if (settings != null) 2985 { 2986 dynamic[] methodParameters = new dynamic[1]; 2987 methodParameters[0] = settings; 2988 MethodInfo customMethod = this.GetType().GetMethod("RenderTheImageCustom"); 2989 2990 if (customMethod != null) 2991 { 2992 2993 2994 #line default 2995 #line hidden 2996 2997 #line 862 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 2998 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 2999 3000 3001 #line default 3002 #line hidden 3003 3004 #line 862 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3005 ; 3006 } else { 3007 string placeholderImage = "/Files/Images/placeholder.gif"; 3008 string imageEngine = "/Admin/Public/GetImage.ashx?"; 3009 3010 string imageStyle = ""; 3011 3012 switch (settings.Style) 3013 { 3014 case ImageStyle.Ball: 3015 imageStyle = "grid__cell-img--ball"; 3016 break; 3017 } 3018 3019 if (settings.Style == ImageStyle.Ball || settings.Style == ImageStyle.Circle) 3020 { 3021 if (settings.ImageDefault != null) 3022 { 3023 settings.ImageDefault.Height = settings.ImageDefault.Width; 3024 } 3025 if (settings.ImageMedium != null) 3026 { 3027 settings.ImageMedium.Height = settings.ImageMedium.Width; 3028 } 3029 if (settings.ImageSmall != null) 3030 { 3031 settings.ImageSmall.Height = settings.ImageSmall.Width; 3032 } 3033 } 3034 3035 string defaultImage = imageEngine; 3036 string imageSmall = ""; 3037 string imageMedium = ""; 3038 3039 if (settings.DisableImageEngine) { 3040 defaultImage = settings.Path; 3041 } else { 3042 if (settings.ImageDefault != null) 3043 { 3044 defaultImage += getImagePathFromSettings(settings.ImageDefault); 3045 3046 if (settings.Path.GetType() != typeof(string)) 3047 { 3048 defaultImage += settings.Path != null ? "Image=" + settings.Path.PathUrlEncoded : ""; 3049 defaultImage += settings.Path != null ? "&" + settings.Path.GetFocalPointParameters() : ""; 3050 } 3051 else 3052 { 3053 defaultImage += settings.Path != null ? "Image=" + settings.Path : ""; 3054 } 3055 } 3056 3057 if (settings.ImageSmall != null) 3058 { 3059 imageSmall = "data-src-small=\"" + imageEngine; 3060 imageSmall += getImagePathFromSettings(settings.ImageSmall); 3061 3062 if (settings.Path.GetType() != typeof(string)) 3063 { 3064 imageSmall += settings.Path != null ? "Image=" + settings.Path.PathUrlEncoded : ""; 3065 imageSmall += settings.Path != null ? "&" + settings.Path.GetFocalPointParameters() : ""; 3066 } 3067 else 3068 { 3069 imageSmall += settings.Path != null ? "Image=" + settings.Path : ""; 3070 } 3071 3072 imageSmall += "\""; 3073 } 3074 3075 if (settings.ImageMedium != null) 3076 { 3077 imageMedium = "data-src-medium=\"" + imageEngine; 3078 imageMedium += getImagePathFromSettings(settings.ImageMedium); 3079 3080 if (settings.Path.GetType() != typeof(string)) 3081 { 3082 imageMedium += settings.Path != null ? "Image=" + settings.Path.PathUrlEncoded : ""; 3083 imageMedium += settings.Path != null ? "&" + settings.Path.GetFocalPointParameters() : ""; 3084 } 3085 else 3086 { 3087 imageMedium += settings.Path != null ? "Image=" + settings.Path : ""; 3088 } 3089 3090 imageMedium += "\""; 3091 } 3092 } 3093 3094 Dictionary<String, String> optionalAttributes = new Dictionary<string, string>(); 3095 if (!String.IsNullOrEmpty(settings.OnClick)) { optionalAttributes.Add("onclick", settings.OnClick); } 3096 if (!String.IsNullOrEmpty(settings.Title)) { optionalAttributes.Add("alt", settings.Title); } 3097 3098 if (settings.DisableLazyLoad) { 3099 3100 3101 #line default 3102 #line hidden 3103 WriteLiteralTo(__razor_helper_writer, " <img"); 3104 3105 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 34977), Tuple.Create("\"", 35037) 3106 , Tuple.Create(Tuple.Create("", 34985), Tuple.Create("grid__cell-img", 34985), true) 3107 3108 #line 956 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3109 , Tuple.Create(Tuple.Create(" ", 34999), Tuple.Create<System.Object, System.Int32>(imageStyle 3110 3111 #line default 3112 #line hidden 3113 , 35000), false) 3114 3115 #line 956 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3116 , Tuple.Create(Tuple.Create(" ", 35011), Tuple.Create<System.Object, System.Int32>(settings.CssClass 3117 3118 #line default 3119 #line hidden 3120 , 35012), false) 3121 , Tuple.Create(Tuple.Create(" ", 35030), Tuple.Create("dw-mod", 35031), true) 3122 ); 3123 3124 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 35038), Tuple.Create("\"", 35057) 3125 3126 #line 956 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3127 , Tuple.Create(Tuple.Create("", 35044), Tuple.Create<System.Object, System.Int32>(defaultImage 3128 3129 #line default 3130 #line hidden 3131 , 35044), false) 3132 ); 3133 3134 WriteLiteralTo(__razor_helper_writer, " "); 3135 3136 3137 #line 956 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3138 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 3139 3140 3141 #line default 3142 #line hidden 3143 WriteLiteralTo(__razor_helper_writer, " "); 3144 3145 3146 #line 956 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3147 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 3148 3149 3150 #line default 3151 #line hidden 3152 WriteLiteralTo(__razor_helper_writer, " alt=\""); 3153 3154 3155 #line 956 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3156 WriteTo(__razor_helper_writer, settings.Path); 3157 3158 3159 #line default 3160 #line hidden 3161 WriteLiteralTo(__razor_helper_writer, "\" />\r\n"); 3162 3163 3164 #line 957 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3165 } else { 3166 3167 3168 #line default 3169 #line hidden 3170 WriteLiteralTo(__razor_helper_writer, " <img"); 3171 3172 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 35236), Tuple.Create("\"", 35303) 3173 , Tuple.Create(Tuple.Create("", 35244), Tuple.Create("grid__cell-img", 35244), true) 3174 , Tuple.Create(Tuple.Create(" ", 35258), Tuple.Create("b-lazy", 35259), true) 3175 3176 #line 958 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3177 , Tuple.Create(Tuple.Create(" ", 35265), Tuple.Create<System.Object, System.Int32>(imageStyle 3178 3179 #line default 3180 #line hidden 3181 , 35266), false) 3182 3183 #line 958 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3184 , Tuple.Create(Tuple.Create(" ", 35277), Tuple.Create<System.Object, System.Int32>(settings.CssClass 3185 3186 #line default 3187 #line hidden 3188 , 35278), false) 3189 , Tuple.Create(Tuple.Create(" ", 35296), Tuple.Create("dw-mod", 35297), true) 3190 ); 3191 3192 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 35304), Tuple.Create("\"", 35327) 3193 3194 #line 958 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3195 , Tuple.Create(Tuple.Create("", 35310), Tuple.Create<System.Object, System.Int32>(placeholderImage 3196 3197 #line default 3198 #line hidden 3199 , 35310), false) 3200 ); 3201 3202 WriteLiteralTo(__razor_helper_writer, " data-src=\""); 3203 3204 3205 #line 958 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3206 WriteTo(__razor_helper_writer, defaultImage); 3207 3208 3209 #line default 3210 #line hidden 3211 WriteLiteralTo(__razor_helper_writer, "\""); 3212 3213 WriteLiteralTo(__razor_helper_writer, " "); 3214 3215 3216 #line 958 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3217 WriteTo(__razor_helper_writer, imageSmall); 3218 3219 3220 #line default 3221 #line hidden 3222 WriteLiteralTo(__razor_helper_writer, " "); 3223 3224 3225 #line 958 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3226 WriteTo(__razor_helper_writer, imageMedium); 3227 3228 3229 #line default 3230 #line hidden 3231 WriteLiteralTo(__razor_helper_writer, " "); 3232 3233 3234 #line 958 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3235 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 3236 3237 3238 #line default 3239 #line hidden 3240 WriteLiteralTo(__razor_helper_writer, " "); 3241 3242 3243 #line 958 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3244 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 3245 3246 3247 #line default 3248 #line hidden 3249 WriteLiteralTo(__razor_helper_writer, " alt=\""); 3250 3251 3252 #line 958 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3253 WriteTo(__razor_helper_writer, settings.Path); 3254 3255 3256 #line default 3257 #line hidden 3258 WriteLiteralTo(__razor_helper_writer, "\" />\r\n"); 3259 3260 3261 #line 959 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3262 } 3263 3264 if (settings.Caption != null) 3265 { 3266 3267 3268 #line default 3269 #line hidden 3270 WriteLiteralTo(__razor_helper_writer, " <span"); 3271 3272 WriteLiteralTo(__razor_helper_writer, " class=\"image-caption dw-mod\""); 3273 3274 WriteLiteralTo(__razor_helper_writer, ">"); 3275 3276 3277 #line 963 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3278 WriteTo(__razor_helper_writer, settings.Caption); 3279 3280 3281 #line default 3282 #line hidden 3283 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 3284 3285 3286 #line 964 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3287 } 3288 } 3289 } 3290 3291 3292 #line default 3293 #line hidden 3294 }); 3295 3296 #line 967 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3297 } 3298 #line default 3299 #line hidden 3300 3301 3302 #line 975 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3303 public RazorEngine.Templating.TemplateWriter RenderTextField(TextField settings) { 3304 #line default 3305 #line hidden 3306 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3307 3308 #line 975 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3309 3310 dynamic[] methodParameters = new dynamic[1]; 3311 methodParameters[0] = settings; 3312 MethodInfo customMethod = this.GetType().GetMethod("RenderTextFieldCustom"); 3313 3314 if (customMethod != null) 3315 { 3316 3317 3318 #line default 3319 #line hidden 3320 3321 #line 982 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3322 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 3323 3324 3325 #line default 3326 #line hidden 3327 3328 #line 982 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3329 ; 3330 } else { 3331 int maxLength = settings.MaxLength != 0 ? settings.MaxLength : 524288; 3332 Dictionary<String, String> optionalAttributes = new Dictionary<string, string>(); 3333 if (settings.Type == TextFieldType.Password) { optionalAttributes.Add("autocomplete", "off"); }; 3334 if (!String.IsNullOrEmpty(settings.OnClick)) { optionalAttributes.Add("onclick", settings.OnClick.ToString()); } 3335 if (!String.IsNullOrEmpty(settings.Placeholder)) { optionalAttributes.Add("placeholder", settings.Placeholder); } 3336 if (settings.Disabled) { optionalAttributes.Add("disabled", settings.Disabled.ToString()); } 3337 if (settings.Required) { optionalAttributes.Add("required", settings.Required.ToString()); } 3338 if (settings.MaxLength != 0) { optionalAttributes.Add("maxlength", settings.MaxLength.ToString()); } 3339 3340 3341 3342 #line default 3343 #line hidden 3344 WriteLiteralTo(__razor_helper_writer, " <div"); 3345 3346 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-group dw-mod\""); 3347 3348 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3349 3350 3351 #line 994 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3352 3353 3354 #line default 3355 #line hidden 3356 3357 #line 994 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3358 if (!String.IsNullOrEmpty(settings.Label)) 3359 { 3360 3361 3362 #line default 3363 #line hidden 3364 WriteLiteralTo(__razor_helper_writer, " <label"); 3365 3366 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 37208), Tuple.Create("\"", 37226) 3367 3368 #line 996 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3369 , Tuple.Create(Tuple.Create("", 37214), Tuple.Create<System.Object, System.Int32>(settings.Id 3370 3371 #line default 3372 #line hidden 3373 , 37214), false) 3374 ); 3375 3376 WriteLiteralTo(__razor_helper_writer, ">"); 3377 3378 3379 #line 996 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3380 WriteTo(__razor_helper_writer, settings.Label); 3381 3382 3383 #line default 3384 #line hidden 3385 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 3386 3387 3388 #line 997 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3389 } 3390 3391 3392 #line default 3393 #line hidden 3394 WriteLiteralTo(__razor_helper_writer, "\r\n <input"); 3395 3396 WriteAttributeTo(__razor_helper_writer, "type", Tuple.Create(" type=\"", 37288), Tuple.Create("\"", 37309) 3397 3398 #line 999 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3399 , Tuple.Create(Tuple.Create("", 37295), Tuple.Create<System.Object, System.Int32>(settings.Type 3400 3401 #line default 3402 #line hidden 3403 , 37295), false) 3404 ); 3405 3406 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 37310), Tuple.Create("\"", 37356) 3407 , Tuple.Create(Tuple.Create("", 37318), Tuple.Create("u-full-width", 37318), true) 3408 3409 #line 999 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3410 , Tuple.Create(Tuple.Create(" ", 37330), Tuple.Create<System.Object, System.Int32>(settings.CssClass 3411 3412 #line default 3413 #line hidden 3414 , 37331), false) 3415 , Tuple.Create(Tuple.Create(" ", 37349), Tuple.Create("dw-mod", 37350), true) 3416 ); 3417 3418 WriteAttributeTo(__razor_helper_writer, "name", Tuple.Create(" name=\"", 37357), Tuple.Create("\"", 37376) 3419 3420 #line 999 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3421 , Tuple.Create(Tuple.Create("", 37364), Tuple.Create<System.Object, System.Int32>(settings.Id 3422 3423 #line default 3424 #line hidden 3425 , 37364), false) 3426 ); 3427 3428 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 37377), Tuple.Create("\"", 37396) 3429 3430 #line 999 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3431 , Tuple.Create(Tuple.Create("", 37382), Tuple.Create<System.Object, System.Int32>(settings.Id 3432 3433 #line default 3434 #line hidden 3435 , 37382), false) 3436 ); 3437 3438 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 37397), Tuple.Create("\"", 37420) 3439 3440 #line 999 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3441 , Tuple.Create(Tuple.Create("", 37405), Tuple.Create<System.Object, System.Int32>(settings.Value 3442 3443 #line default 3444 #line hidden 3445 , 37405), false) 3446 ); 3447 3448 WriteLiteralTo(__razor_helper_writer, " "); 3449 3450 3451 #line 999 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3452 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 3453 3454 3455 #line default 3456 #line hidden 3457 WriteLiteralTo(__razor_helper_writer, " "); 3458 3459 3460 #line 999 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3461 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 3462 3463 3464 #line default 3465 #line hidden 3466 WriteLiteralTo(__razor_helper_writer, " />\r\n\r\n"); 3467 3468 WriteLiteralTo(__razor_helper_writer, " "); 3469 3470 3471 #line 1001 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3472 WriteTo(__razor_helper_writer, RenderNotificationMessage(new NotificationMessage { Message = settings.ErrorMessage })); 3473 3474 3475 #line default 3476 #line hidden 3477 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3478 3479 3480 #line 1003 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3481 } 3482 3483 3484 #line default 3485 #line hidden 3486 }); 3487 3488 #line 1004 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3489 } 3490 #line default 3491 #line hidden 3492 3493 3494 #line 1012 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3495 public RazorEngine.Templating.TemplateWriter RenderNumberField(NumberField settings) { 3496 #line default 3497 #line hidden 3498 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3499 3500 #line 1012 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3501 3502 dynamic[] methodParameters = new dynamic[1]; 3503 methodParameters[0] = settings; 3504 MethodInfo customMethod = this.GetType().GetMethod("RenderNumberFieldCustom"); 3505 3506 if (customMethod != null) 3507 { 3508 3509 3510 #line default 3511 #line hidden 3512 3513 #line 1019 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3514 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 3515 3516 3517 #line default 3518 #line hidden 3519 3520 #line 1019 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3521 ; 3522 } else { 3523 Dictionary<String, String> optionalAttributes = new Dictionary<string, string>(); 3524 if (!String.IsNullOrEmpty(settings.OnClick)) { optionalAttributes.Add("onclick", settings.OnClick.ToString()); } 3525 if (settings.Disabled) { optionalAttributes.Add("disabled", settings.Disabled.ToString()); } 3526 if (settings.Required) { optionalAttributes.Add("required", settings.Required.ToString()); } 3527 if (settings.Max != 0) { optionalAttributes.Add("max", settings.Max.ToString()); } 3528 if (settings.Min != 0) { optionalAttributes.Add("min", settings.Min.ToString()); } 3529 if (settings.Step != 0) { optionalAttributes.Add("step", settings.Step.ToString()); } 3530 3531 3532 3533 #line default 3534 #line hidden 3535 WriteLiteralTo(__razor_helper_writer, " <div"); 3536 3537 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-group dw-mod\""); 3538 3539 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3540 3541 3542 #line 1030 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3543 3544 3545 #line default 3546 #line hidden 3547 3548 #line 1030 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3549 if (!String.IsNullOrEmpty(settings.Label)) 3550 { 3551 3552 3553 #line default 3554 #line hidden 3555 WriteLiteralTo(__razor_helper_writer, " <div>\r\n <label"); 3556 3557 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 39064), Tuple.Create("\"", 39082) 3558 3559 #line 1033 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3560 , Tuple.Create(Tuple.Create("", 39070), Tuple.Create<System.Object, System.Int32>(settings.Id 3561 3562 #line default 3563 #line hidden 3564 , 39070), false) 3565 ); 3566 3567 WriteLiteralTo(__razor_helper_writer, ">"); 3568 3569 3570 #line 1033 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3571 WriteTo(__razor_helper_writer, settings.Label); 3572 3573 3574 #line default 3575 #line hidden 3576 WriteLiteralTo(__razor_helper_writer, "</label>\r\n </div>\r\n"); 3577 3578 3579 #line 1035 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3580 } 3581 3582 3583 #line default 3584 #line hidden 3585 WriteLiteralTo(__razor_helper_writer, "\r\n <input"); 3586 3587 WriteLiteralTo(__razor_helper_writer, " type=\"Number\""); 3588 3589 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 39182), Tuple.Create("\"", 39223) 3590 , Tuple.Create(Tuple.Create("", 39190), Tuple.Create("u-w70px", 39190), true) 3591 3592 #line 1037 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3593 , Tuple.Create(Tuple.Create(" ", 39197), Tuple.Create<System.Object, System.Int32>(settings.CssClass 3594 3595 #line default 3596 #line hidden 3597 , 39198), false) 3598 , Tuple.Create(Tuple.Create(" ", 39216), Tuple.Create("dw-mod", 39217), true) 3599 ); 3600 3601 WriteAttributeTo(__razor_helper_writer, "name", Tuple.Create(" name=\"", 39224), Tuple.Create("\"", 39243) 3602 3603 #line 1037 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3604 , Tuple.Create(Tuple.Create("", 39231), Tuple.Create<System.Object, System.Int32>(settings.Id 3605 3606 #line default 3607 #line hidden 3608 , 39231), false) 3609 ); 3610 3611 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 39244), Tuple.Create("\"", 39263) 3612 3613 #line 1037 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3614 , Tuple.Create(Tuple.Create("", 39249), Tuple.Create<System.Object, System.Int32>(settings.Id 3615 3616 #line default 3617 #line hidden 3618 , 39249), false) 3619 ); 3620 3621 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 39264), Tuple.Create("\"", 39287) 3622 3623 #line 1037 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3624 , Tuple.Create(Tuple.Create("", 39272), Tuple.Create<System.Object, System.Int32>(settings.Value 3625 3626 #line default 3627 #line hidden 3628 , 39272), false) 3629 ); 3630 3631 WriteLiteralTo(__razor_helper_writer, " "); 3632 3633 3634 #line 1037 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3635 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 3636 3637 3638 #line default 3639 #line hidden 3640 WriteLiteralTo(__razor_helper_writer, " "); 3641 3642 3643 #line 1037 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3644 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 3645 3646 3647 #line default 3648 #line hidden 3649 WriteLiteralTo(__razor_helper_writer, " />\r\n\r\n"); 3650 3651 WriteLiteralTo(__razor_helper_writer, " "); 3652 3653 3654 #line 1039 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3655 WriteTo(__razor_helper_writer, RenderNotificationMessage(new NotificationMessage { Message = settings.ErrorMessage })); 3656 3657 3658 #line default 3659 #line hidden 3660 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3661 3662 3663 #line 1041 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3664 } 3665 3666 3667 #line default 3668 #line hidden 3669 }); 3670 3671 #line 1042 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3672 } 3673 #line default 3674 #line hidden 3675 3676 3677 #line 1050 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3678 public RazorEngine.Templating.TemplateWriter RenderTextareaField(TextareaField settings) { 3679 #line default 3680 #line hidden 3681 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3682 3683 #line 1050 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3684 3685 dynamic[] methodParameters = new dynamic[1]; 3686 methodParameters[0] = settings; 3687 MethodInfo customMethod = this.GetType().GetMethod("RenderTextareaFieldCustom"); 3688 3689 if (customMethod != null) 3690 { 3691 3692 3693 #line default 3694 #line hidden 3695 3696 #line 1057 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3697 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 3698 3699 3700 #line default 3701 #line hidden 3702 3703 #line 1057 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3704 ; 3705 } else { 3706 int maxLength = settings.MaxLength != 0 ? settings.MaxLength : 524288; 3707 Dictionary<String, String> optionalAttributes = new Dictionary<string, string>(); 3708 if (!String.IsNullOrEmpty(settings.OnClick)) { optionalAttributes.Add("onclick", settings.OnClick.ToString()); } 3709 if (!String.IsNullOrEmpty(settings.Placeholder)) { optionalAttributes.Add("placeholder", settings.Placeholder); } 3710 if (settings.Disabled) { optionalAttributes.Add("disabled", settings.Disabled.ToString()); } 3711 if (settings.Required) { optionalAttributes.Add("required", settings.Required.ToString()); } 3712 if (settings.MaxLength != 0) { optionalAttributes.Add("maxlength", settings.MaxLength.ToString()); } 3713 if (settings.Rows != 0) { optionalAttributes.Add("rows", settings.Rows.ToString()); } 3714 3715 3716 3717 #line default 3718 #line hidden 3719 WriteLiteralTo(__razor_helper_writer, " <div"); 3720 3721 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-group dw-mod\""); 3722 3723 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3724 3725 3726 #line 1069 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3727 3728 3729 #line default 3730 #line hidden 3731 3732 #line 1069 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3733 if (!String.IsNullOrEmpty(@settings.Label)) 3734 { 3735 3736 3737 #line default 3738 #line hidden 3739 WriteLiteralTo(__razor_helper_writer, " <label"); 3740 3741 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 41040), Tuple.Create("\"", 41058) 3742 3743 #line 1071 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3744 , Tuple.Create(Tuple.Create("", 41046), Tuple.Create<System.Object, System.Int32>(settings.Id 3745 3746 #line default 3747 #line hidden 3748 , 41046), false) 3749 ); 3750 3751 WriteLiteralTo(__razor_helper_writer, ">"); 3752 3753 3754 #line 1071 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3755 WriteTo(__razor_helper_writer, settings.Label); 3756 3757 3758 #line default 3759 #line hidden 3760 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 3761 3762 3763 #line 1072 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3764 } 3765 3766 3767 #line default 3768 #line hidden 3769 WriteLiteralTo(__razor_helper_writer, "\r\n <textarea"); 3770 3771 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 41123), Tuple.Create("\"", 41169) 3772 , Tuple.Create(Tuple.Create("", 41131), Tuple.Create("u-full-width", 41131), true) 3773 3774 #line 1074 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3775 , Tuple.Create(Tuple.Create(" ", 41143), Tuple.Create<System.Object, System.Int32>(settings.CssClass 3776 3777 #line default 3778 #line hidden 3779 , 41144), false) 3780 , Tuple.Create(Tuple.Create(" ", 41162), Tuple.Create("dw-mod", 41163), true) 3781 ); 3782 3783 WriteAttributeTo(__razor_helper_writer, "name", Tuple.Create(" name=\"", 41170), Tuple.Create("\"", 41189) 3784 3785 #line 1074 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3786 , Tuple.Create(Tuple.Create("", 41177), Tuple.Create<System.Object, System.Int32>(settings.Id 3787 3788 #line default 3789 #line hidden 3790 , 41177), false) 3791 ); 3792 3793 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 41190), Tuple.Create("\"", 41209) 3794 3795 #line 1074 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3796 , Tuple.Create(Tuple.Create("", 41195), Tuple.Create<System.Object, System.Int32>(settings.Id 3797 3798 #line default 3799 #line hidden 3800 , 41195), false) 3801 ); 3802 3803 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 41210), Tuple.Create("\"", 41233) 3804 3805 #line 1074 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3806 , Tuple.Create(Tuple.Create("", 41218), Tuple.Create<System.Object, System.Int32>(settings.Value 3807 3808 #line default 3809 #line hidden 3810 , 41218), false) 3811 ); 3812 3813 WriteLiteralTo(__razor_helper_writer, " "); 3814 3815 3816 #line 1074 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3817 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 3818 3819 3820 #line default 3821 #line hidden 3822 WriteLiteralTo(__razor_helper_writer, " "); 3823 3824 3825 #line 1074 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3826 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 3827 3828 3829 #line default 3830 #line hidden 3831 WriteLiteralTo(__razor_helper_writer, "></textarea>\r\n\r\n"); 3832 3833 WriteLiteralTo(__razor_helper_writer, " "); 3834 3835 3836 #line 1076 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3837 WriteTo(__razor_helper_writer, RenderNotificationMessage(new NotificationMessage { Message = settings.ErrorMessage })); 3838 3839 3840 #line default 3841 #line hidden 3842 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3843 3844 3845 #line 1078 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3846 } 3847 3848 3849 #line default 3850 #line hidden 3851 }); 3852 3853 #line 1079 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3854 } 3855 #line default 3856 #line hidden 3857 3858 3859 #line 1087 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3860 public RazorEngine.Templating.TemplateWriter RenderHiddenField(HiddenField settings) { 3861 #line default 3862 #line hidden 3863 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3864 3865 #line 1087 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3866 3867 dynamic[] methodParameters = new dynamic[1]; 3868 methodParameters[0] = settings; 3869 MethodInfo customMethod = this.GetType().GetMethod(settings.HelperName + "Custom"); 3870 3871 if (customMethod != null) 3872 { 3873 3874 3875 #line default 3876 #line hidden 3877 3878 #line 1094 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3879 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 3880 3881 3882 #line default 3883 #line hidden 3884 3885 #line 1094 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3886 ; 3887 } else { 3888 3889 3890 #line default 3891 #line hidden 3892 WriteLiteralTo(__razor_helper_writer, " <input"); 3893 3894 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 3895 3896 WriteAttributeTo(__razor_helper_writer, "name", Tuple.Create(" name=\"", 42052), Tuple.Create("\"", 42071) 3897 3898 #line 1096 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3899 , Tuple.Create(Tuple.Create("", 42059), Tuple.Create<System.Object, System.Int32>(settings.Id 3900 3901 #line default 3902 #line hidden 3903 , 42059), false) 3904 ); 3905 3906 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 42072), Tuple.Create("\"", 42091) 3907 3908 #line 1096 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3909 , Tuple.Create(Tuple.Create("", 42077), Tuple.Create<System.Object, System.Int32>(settings.Id 3910 3911 #line default 3912 #line hidden 3913 , 42077), false) 3914 ); 3915 3916 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 42092), Tuple.Create("\"", 42115) 3917 3918 #line 1096 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3919 , Tuple.Create(Tuple.Create("", 42100), Tuple.Create<System.Object, System.Int32>(settings.Value 3920 3921 #line default 3922 #line hidden 3923 , 42100), false) 3924 ); 3925 3926 WriteLiteralTo(__razor_helper_writer, " "); 3927 3928 3929 #line 1096 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3930 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 3931 3932 3933 #line default 3934 #line hidden 3935 WriteLiteralTo(__razor_helper_writer, "/>\r\n"); 3936 3937 3938 #line 1097 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3939 } 3940 3941 3942 #line default 3943 #line hidden 3944 }); 3945 3946 #line 1098 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3947 } 3948 #line default 3949 #line hidden 3950 3951 3952 #line 1106 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3953 public RazorEngine.Templating.TemplateWriter RenderCheckboxField(dynamic settings) { 3954 #line default 3955 #line hidden 3956 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3957 3958 #line 1106 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3959 3960 dynamic[] methodParameters = new dynamic[1]; 3961 methodParameters[0] = settings; 3962 MethodInfo customMethod = this.GetType().GetMethod("RenderCheckboxFieldCustom"); 3963 3964 if (customMethod != null) 3965 { 3966 3967 3968 #line default 3969 #line hidden 3970 3971 #line 1113 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3972 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 3973 3974 3975 #line default 3976 #line hidden 3977 3978 #line 1113 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 3979 ; 3980 } else { 3981 settings.Type = FieldListOptionType.Checkbox; 3982 string disabled = settings.Disabled ? "disabled" : ""; 3983 string required = settings.Required ? "required" : ""; 3984 string checkedString = settings.Checked == true ? "checked" : ""; 3985 string id = settings.Id != null ? settings.Id : settings.Label.Replace(" ", ""); 3986 3987 3988 3989 #line default 3990 #line hidden 3991 WriteLiteralTo(__razor_helper_writer, " <div"); 3992 3993 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-group dw-mod\""); 3994 3995 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 3996 3997 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 3998 3999 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 43113), Tuple.Create("\"", 43170) 4000 , Tuple.Create(Tuple.Create("", 43121), Tuple.Create("form__control", 43121), true) 4001 4002 #line 1122 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4003 , Tuple.Create(Tuple.Create(" ", 43134), Tuple.Create<System.Object, System.Int32>(settings.CssClass 4004 4005 #line default 4006 #line hidden 4007 , 43135), false) 4008 4009 #line 1122 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4010 , Tuple.Create(Tuple.Create(" ", 43153), Tuple.Create<System.Object, System.Int32>(disabled 4011 4012 #line default 4013 #line hidden 4014 , 43154), false) 4015 , Tuple.Create(Tuple.Create(" ", 43163), Tuple.Create("dw-mod", 43164), true) 4016 ); 4017 4018 WriteAttributeTo(__razor_helper_writer, "name", Tuple.Create(" name=\"", 43171), Tuple.Create("\"", 43192) 4019 4020 #line 1122 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4021 , Tuple.Create(Tuple.Create("", 43178), Tuple.Create<System.Object, System.Int32>(settings.Name 4022 4023 #line default 4024 #line hidden 4025 , 43178), false) 4026 ); 4027 4028 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 43193), Tuple.Create("\"", 43201) 4029 4030 #line 1122 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4031 , Tuple.Create(Tuple.Create("", 43198), Tuple.Create<System.Object, System.Int32>(id 4032 4033 #line default 4034 #line hidden 4035 , 43198), false) 4036 ); 4037 4038 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 43202), Tuple.Create("\"", 43225) 4039 4040 #line 1122 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4041 , Tuple.Create(Tuple.Create("", 43210), Tuple.Create<System.Object, System.Int32>(settings.Value 4042 4043 #line default 4044 #line hidden 4045 , 43210), false) 4046 ); 4047 4048 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 43226), Tuple.Create("\"", 43253) 4049 4050 #line 1122 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4051 , Tuple.Create(Tuple.Create("", 43236), Tuple.Create<System.Object, System.Int32>(settings.OnClick 4052 4053 #line default 4054 #line hidden 4055 , 43236), false) 4056 ); 4057 4058 WriteLiteralTo(__razor_helper_writer, " "); 4059 4060 4061 #line 1122 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4062 WriteTo(__razor_helper_writer, disabled); 4063 4064 4065 #line default 4066 #line hidden 4067 WriteLiteralTo(__razor_helper_writer, " "); 4068 4069 4070 #line 1122 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4071 WriteTo(__razor_helper_writer, required); 4072 4073 4074 #line default 4075 #line hidden 4076 WriteLiteralTo(__razor_helper_writer, " "); 4077 4078 4079 #line 1122 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4080 WriteTo(__razor_helper_writer, checkedString); 4081 4082 4083 #line default 4084 #line hidden 4085 WriteLiteralTo(__razor_helper_writer, " "); 4086 4087 4088 #line 1122 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4089 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 4090 4091 4092 #line default 4093 #line hidden 4094 WriteLiteralTo(__razor_helper_writer, " />\r\n\r\n"); 4095 4096 4097 #line 1124 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4098 4099 4100 #line default 4101 #line hidden 4102 4103 #line 1124 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4104 if (!String.IsNullOrEmpty(settings.Label)) 4105 { 4106 4107 4108 #line default 4109 #line hidden 4110 WriteLiteralTo(__razor_helper_writer, " <label"); 4111 4112 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 43448), Tuple.Create("\"", 43457) 4113 4114 #line 1126 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4115 , Tuple.Create(Tuple.Create("", 43454), Tuple.Create<System.Object, System.Int32>(id 4116 4117 #line default 4118 #line hidden 4119 , 43454), false) 4120 ); 4121 4122 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 43458), Tuple.Create("\"", 43482) 4123 4124 #line 1126 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4125 , Tuple.Create(Tuple.Create("", 43466), Tuple.Create<System.Object, System.Int32>(disabled 4126 4127 #line default 4128 #line hidden 4129 , 43466), false) 4130 , Tuple.Create(Tuple.Create(" ", 43475), Tuple.Create("dw-mod", 43476), true) 4131 ); 4132 4133 WriteLiteralTo(__razor_helper_writer, ">"); 4134 4135 4136 #line 1126 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4137 WriteTo(__razor_helper_writer, settings.Label); 4138 4139 4140 #line default 4141 #line hidden 4142 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 4143 4144 4145 #line 1127 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4146 } 4147 4148 4149 #line default 4150 #line hidden 4151 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4152 4153 WriteLiteralTo(__razor_helper_writer, " "); 4154 4155 4156 #line 1129 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4157 WriteTo(__razor_helper_writer, RenderNotificationMessage(new NotificationMessage { Message = settings.ErrorMessage })); 4158 4159 4160 #line default 4161 #line hidden 4162 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4163 4164 4165 #line 1131 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4166 } 4167 4168 4169 #line default 4170 #line hidden 4171 }); 4172 4173 #line 1132 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4174 } 4175 #line default 4176 #line hidden 4177 4178 4179 #line 1140 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4180 public RazorEngine.Templating.TemplateWriter RenderCheckboxListField(CheckboxListField settings) { 4181 #line default 4182 #line hidden 4183 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4184 4185 #line 1140 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4186 4187 dynamic[] methodParameters = new dynamic[1]; 4188 methodParameters[0] = settings; 4189 MethodInfo customMethod = this.GetType().GetMethod("RenderCheckboxListFieldCustom"); 4190 4191 if (customMethod != null) 4192 { 4193 4194 4195 #line default 4196 #line hidden 4197 4198 #line 1147 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4199 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 4200 4201 4202 #line default 4203 #line hidden 4204 4205 #line 1147 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4206 ; 4207 } else { 4208 string disabled = settings.Disabled ? "disabled" : ""; 4209 4210 4211 4212 #line default 4213 #line hidden 4214 WriteLiteralTo(__razor_helper_writer, " <div"); 4215 4216 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 44242), Tuple.Create("\"", 44319) 4217 , Tuple.Create(Tuple.Create("", 44250), Tuple.Create("form__field-group", 44250), true) 4218 4219 #line 1151 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4220 , Tuple.Create(Tuple.Create(" ", 44267), Tuple.Create<System.Object, System.Int32>(settings.CssClass 4221 4222 #line default 4223 #line hidden 4224 , 44268), false) 4225 , Tuple.Create(Tuple.Create(" ", 44286), Tuple.Create("u-margin-bottom", 44287), true) 4226 4227 #line 1151 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4228 , Tuple.Create(Tuple.Create(" ", 44302), Tuple.Create<System.Object, System.Int32>(disabled 4229 4230 #line default 4231 #line hidden 4232 , 44303), false) 4233 , Tuple.Create(Tuple.Create(" ", 44312), Tuple.Create("dw-mod", 44313), true) 4234 ); 4235 4236 WriteLiteralTo(__razor_helper_writer, " "); 4237 4238 4239 #line 1151 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4240 WriteTo(__razor_helper_writer, disabled); 4241 4242 4243 #line default 4244 #line hidden 4245 WriteLiteralTo(__razor_helper_writer, " "); 4246 4247 4248 #line 1151 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4249 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 4250 4251 4252 #line default 4253 #line hidden 4254 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4255 4256 4257 #line 1152 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4258 4259 4260 #line default 4261 #line hidden 4262 4263 #line 1152 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4264 if (!String.IsNullOrEmpty(settings.Label)) 4265 { 4266 4267 4268 #line default 4269 #line hidden 4270 WriteLiteralTo(__razor_helper_writer, " <div"); 4271 4272 WriteLiteralTo(__razor_helper_writer, " class=\"u-bold u-margin-bottom\""); 4273 4274 WriteLiteralTo(__razor_helper_writer, ">"); 4275 4276 4277 #line 1154 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4278 WriteTo(__razor_helper_writer, settings.Label); 4279 4280 4281 #line default 4282 #line hidden 4283 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 4284 4285 4286 #line 1155 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4287 } 4288 4289 4290 #line default 4291 #line hidden 4292 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4293 4294 4295 #line 1157 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4296 4297 4298 #line default 4299 #line hidden 4300 4301 #line 1157 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4302 foreach (var item in settings.Options) 4303 { 4304 item.Type = FieldListOptionType.Checkbox; 4305 4306 4307 #line default 4308 #line hidden 4309 4310 #line 1160 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4311 WriteTo(__razor_helper_writer, RenderFieldListOption(item)); 4312 4313 4314 #line default 4315 #line hidden 4316 4317 #line 1160 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4318 4319 } 4320 4321 4322 #line default 4323 #line hidden 4324 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4325 4326 WriteLiteralTo(__razor_helper_writer, " "); 4327 4328 4329 #line 1163 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4330 WriteTo(__razor_helper_writer, RenderNotificationMessage(new NotificationMessage { Message = settings.ErrorMessage })); 4331 4332 4333 #line default 4334 #line hidden 4335 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4336 4337 4338 #line 1165 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4339 } 4340 4341 4342 #line default 4343 #line hidden 4344 }); 4345 4346 #line 1166 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4347 } 4348 #line default 4349 #line hidden 4350 4351 4352 #line 1175 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4353 public RazorEngine.Templating.TemplateWriter RenderSelectField(SelectField settings) { 4354 #line default 4355 #line hidden 4356 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4357 4358 #line 1175 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4359 4360 dynamic[] methodParameters = new dynamic[1]; 4361 methodParameters[0] = settings; 4362 MethodInfo customMethod = this.GetType().GetMethod("RenderSelectFieldCustom"); 4363 4364 if (customMethod != null) 4365 { 4366 4367 4368 #line default 4369 #line hidden 4370 4371 #line 1182 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4372 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 4373 4374 4375 #line default 4376 #line hidden 4377 4378 #line 1182 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4379 ; 4380 } else { 4381 string disabled = settings.Disabled ? "disabled" : ""; 4382 string required = settings.Required ? "required" : ""; 4383 4384 if (settings.Default != null) 4385 { 4386 settings.Default.Type = FieldListOptionType.SelectOption; 4387 } 4388 4389 4390 4391 #line default 4392 #line hidden 4393 WriteLiteralTo(__razor_helper_writer, " <div"); 4394 4395 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-group u-full-width dw-mod\""); 4396 4397 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4398 4399 4400 #line 1193 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4401 4402 4403 #line default 4404 #line hidden 4405 4406 #line 1193 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4407 if (!String.IsNullOrEmpty(settings.Label)) 4408 { 4409 4410 4411 #line default 4412 #line hidden 4413 WriteLiteralTo(__razor_helper_writer, " <label"); 4414 4415 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 45825), Tuple.Create("\"", 45843) 4416 4417 #line 1195 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4418 , Tuple.Create(Tuple.Create("", 45831), Tuple.Create<System.Object, System.Int32>(settings.Id 4419 4420 #line default 4421 #line hidden 4422 , 45831), false) 4423 ); 4424 4425 WriteLiteralTo(__razor_helper_writer, ">"); 4426 4427 4428 #line 1195 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4429 WriteTo(__razor_helper_writer, settings.Label); 4430 4431 4432 #line default 4433 #line hidden 4434 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 4435 4436 4437 #line 1196 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4438 } 4439 4440 4441 #line default 4442 #line hidden 4443 WriteLiteralTo(__razor_helper_writer, "\r\n <div"); 4444 4445 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-combi u-no-margin dw-mod\""); 4446 4447 WriteLiteralTo(__razor_helper_writer, ">\r\n <select"); 4448 4449 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 45974), Tuple.Create("\"", 45991) 4450 4451 #line 1199 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4452 , Tuple.Create(Tuple.Create("", 45979), Tuple.Create<System.Object, System.Int32>(settings.Id 4453 4454 #line default 4455 #line hidden 4456 , 45979), false) 4457 ); 4458 4459 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 45992), Tuple.Create("\"", 46038) 4460 , Tuple.Create(Tuple.Create("", 46000), Tuple.Create("u-full-width", 46000), true) 4461 4462 #line 1199 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4463 , Tuple.Create(Tuple.Create(" ", 46012), Tuple.Create<System.Object, System.Int32>(settings.CssClass 4464 4465 #line default 4466 #line hidden 4467 , 46013), false) 4468 , Tuple.Create(Tuple.Create(" ", 46031), Tuple.Create("dw-mod", 46032), true) 4469 ); 4470 4471 WriteAttributeTo(__razor_helper_writer, "onchange", Tuple.Create(" onchange=\"", 46039), Tuple.Create("\"", 46068) 4472 4473 #line 1199 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4474 , Tuple.Create(Tuple.Create("", 46050), Tuple.Create<System.Object, System.Int32>(settings.OnChange 4475 4476 #line default 4477 #line hidden 4478 , 46050), false) 4479 ); 4480 4481 WriteLiteralTo(__razor_helper_writer, " "); 4482 4483 4484 #line 1199 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4485 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 4486 4487 4488 #line default 4489 #line hidden 4490 WriteLiteralTo(__razor_helper_writer, " >\r\n"); 4491 4492 4493 #line 1200 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4494 4495 4496 #line default 4497 #line hidden 4498 4499 #line 1200 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4500 if (settings.Default.Value != null) 4501 { 4502 4503 4504 #line default 4505 #line hidden 4506 4507 #line 1202 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4508 WriteTo(__razor_helper_writer, RenderFieldListOption(settings.Default)); 4509 4510 4511 #line default 4512 #line hidden 4513 4514 #line 1202 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4515 4516 } 4517 4518 4519 #line default 4520 #line hidden 4521 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4522 4523 4524 #line 1205 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4525 4526 4527 #line default 4528 #line hidden 4529 4530 #line 1205 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4531 foreach (var item in settings.Options) 4532 { 4533 item.Type = FieldListOptionType.SelectOption; 4534 4535 4536 #line default 4537 #line hidden 4538 4539 #line 1208 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4540 WriteTo(__razor_helper_writer, RenderFieldListOption(item)); 4541 4542 4543 #line default 4544 #line hidden 4545 4546 #line 1208 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4547 4548 } 4549 4550 4551 #line default 4552 #line hidden 4553 WriteLiteralTo(__razor_helper_writer, " </select>\r\n"); 4554 4555 4556 #line 1211 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4557 4558 4559 #line default 4560 #line hidden 4561 4562 #line 1211 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4563 if (settings.ActionButton.Link != null || settings.ActionButton.OnClick != null) { 4564 settings.ActionButton.CssClass += " btn--condensed u-no-margin"; 4565 4566 4567 #line default 4568 #line hidden 4569 4570 #line 1213 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4571 WriteTo(__razor_helper_writer, RenderButton(settings.ActionButton)); 4572 4573 4574 #line default 4575 #line hidden 4576 4577 #line 1213 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4578 ; 4579 } 4580 4581 4582 #line default 4583 #line hidden 4584 WriteLiteralTo(__razor_helper_writer, " </div>\r\n\r\n"); 4585 4586 WriteLiteralTo(__razor_helper_writer, " "); 4587 4588 4589 #line 1217 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4590 WriteTo(__razor_helper_writer, RenderNotificationMessage(new NotificationMessage { Message = settings.ErrorMessage })); 4591 4592 4593 #line default 4594 #line hidden 4595 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4596 4597 4598 #line 1219 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4599 } 4600 4601 4602 #line default 4603 #line hidden 4604 }); 4605 4606 #line 1220 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4607 } 4608 #line default 4609 #line hidden 4610 4611 4612 #line 1228 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4613 public RazorEngine.Templating.TemplateWriter RenderRadioButtonField(RadioButtonField settings) { 4614 #line default 4615 #line hidden 4616 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4617 4618 #line 1228 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4619 4620 dynamic[] methodParameters = new dynamic[1]; 4621 methodParameters[0] = settings; 4622 MethodInfo customMethod = this.GetType().GetMethod("RenderRadioButtonFieldCustom"); 4623 4624 if (customMethod != null) 4625 { 4626 4627 4628 #line default 4629 #line hidden 4630 4631 #line 1235 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4632 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 4633 4634 4635 #line default 4636 #line hidden 4637 4638 #line 1235 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4639 ; 4640 } else { 4641 string disabled = settings.Disabled ? "disabled" : ""; 4642 4643 4644 4645 #line default 4646 #line hidden 4647 WriteLiteralTo(__razor_helper_writer, " <div"); 4648 4649 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 47603), Tuple.Create("\"", 47673) 4650 , Tuple.Create(Tuple.Create("", 47611), Tuple.Create("form__field-group", 47611), true) 4651 4652 #line 1239 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4653 , Tuple.Create(Tuple.Create(" ", 47628), Tuple.Create<System.Object, System.Int32>(settings.CssClass 4654 4655 #line default 4656 #line hidden 4657 , 47629), false) 4658 , Tuple.Create(Tuple.Create(" ", 47647), Tuple.Create("u-margin-bottom", 47648), true) 4659 4660 #line 1239 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4661 , Tuple.Create(Tuple.Create(" ", 47663), Tuple.Create<System.Object, System.Int32>(disabled 4662 4663 #line default 4664 #line hidden 4665 , 47664), false) 4666 ); 4667 4668 WriteLiteralTo(__razor_helper_writer, " "); 4669 4670 4671 #line 1239 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4672 WriteTo(__razor_helper_writer, disabled); 4673 4674 4675 #line default 4676 #line hidden 4677 WriteLiteralTo(__razor_helper_writer, " "); 4678 4679 4680 #line 1239 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4681 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 4682 4683 4684 #line default 4685 #line hidden 4686 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4687 4688 4689 #line 1240 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4690 4691 4692 #line default 4693 #line hidden 4694 4695 #line 1240 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4696 if (!String.IsNullOrEmpty(settings.Label)) 4697 { 4698 4699 4700 #line default 4701 #line hidden 4702 WriteLiteralTo(__razor_helper_writer, " <div"); 4703 4704 WriteLiteralTo(__razor_helper_writer, " class=\"u-bold u-margin-bottom\""); 4705 4706 WriteLiteralTo(__razor_helper_writer, ">"); 4707 4708 4709 #line 1242 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4710 WriteTo(__razor_helper_writer, settings.Label); 4711 4712 4713 #line default 4714 #line hidden 4715 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 4716 4717 4718 #line 1243 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4719 } 4720 4721 4722 #line default 4723 #line hidden 4724 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4725 4726 4727 #line 1245 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4728 4729 4730 #line default 4731 #line hidden 4732 4733 #line 1245 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4734 foreach (var item in settings.Options) 4735 { 4736 item.Type = FieldListOptionType.RadioButton; 4737 4738 if (settings.Name != null) 4739 { 4740 item.Name = settings.Name; 4741 } 4742 4743 if (settings.RenderOptionsInline) 4744 { 4745 4746 4747 #line default 4748 #line hidden 4749 4750 #line 1256 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4751 WriteTo(__razor_helper_writer, RenderFieldListOption(item)); 4752 4753 4754 #line default 4755 #line hidden 4756 4757 #line 1256 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4758 4759 } 4760 else 4761 { 4762 4763 4764 #line default 4765 #line hidden 4766 WriteLiteralTo(__razor_helper_writer, " <div>\r\n"); 4767 4768 WriteLiteralTo(__razor_helper_writer, " "); 4769 4770 4771 #line 1261 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4772 WriteTo(__razor_helper_writer, RenderFieldListOption(item)); 4773 4774 4775 #line default 4776 #line hidden 4777 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4778 4779 4780 #line 1263 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4781 } 4782 } 4783 4784 4785 #line default 4786 #line hidden 4787 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4788 4789 WriteLiteralTo(__razor_helper_writer, " "); 4790 4791 4792 #line 1266 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4793 WriteTo(__razor_helper_writer, RenderNotificationMessage(new NotificationMessage { Message = settings.ErrorMessage })); 4794 4795 4796 #line default 4797 #line hidden 4798 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4799 4800 4801 #line 1268 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4802 } 4803 4804 4805 #line default 4806 #line hidden 4807 }); 4808 4809 #line 1269 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4810 } 4811 #line default 4812 #line hidden 4813 4814 4815 #line 1277 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4816 public RazorEngine.Templating.TemplateWriter RenderNotificationMessage(NotificationMessage settings) { 4817 #line default 4818 #line hidden 4819 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4820 4821 #line 1277 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4822 4823 dynamic[] methodParameters = new dynamic[1]; 4824 methodParameters[0] = settings; 4825 MethodInfo customMethod = this.GetType().GetMethod("RenderNotificationMessageCustom"); 4826 4827 if (customMethod != null) 4828 { 4829 4830 4831 #line default 4832 #line hidden 4833 4834 #line 1284 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4835 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 4836 4837 4838 #line default 4839 #line hidden 4840 4841 #line 1284 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4842 ; 4843 } else { 4844 if (!String.IsNullOrEmpty(settings.Message)) 4845 { 4846 string messageTypeClass = settings.MessageType.ToString().ToLower(); 4847 4848 4849 #line default 4850 #line hidden 4851 WriteLiteralTo(__razor_helper_writer, " <div"); 4852 4853 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 49346), Tuple.Create("\"", 49416) 4854 , Tuple.Create(Tuple.Create("", 49354), Tuple.Create("field-", 49354), true) 4855 4856 #line 1289 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4857 , Tuple.Create(Tuple.Create("", 49360), Tuple.Create<System.Object, System.Int32>(messageTypeClass 4858 4859 #line default 4860 #line hidden 4861 , 49360), false) 4862 4863 #line 1289 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4864 , Tuple.Create(Tuple.Create(" ", 49377), Tuple.Create<System.Object, System.Int32>(settings.CssClass 4865 4866 #line default 4867 #line hidden 4868 , 49378), false) 4869 , Tuple.Create(Tuple.Create(" ", 49396), Tuple.Create("u-full-width", 49397), true) 4870 , Tuple.Create(Tuple.Create(" ", 49409), Tuple.Create("dw-mod", 49410), true) 4871 ); 4872 4873 WriteLiteralTo(__razor_helper_writer, ">"); 4874 4875 4876 #line 1289 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4877 WriteTo(__razor_helper_writer, settings.Message); 4878 4879 4880 #line default 4881 #line hidden 4882 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 4883 4884 4885 #line 1290 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4886 } 4887 } 4888 4889 4890 #line default 4891 #line hidden 4892 }); 4893 4894 #line 1292 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4895 } 4896 #line default 4897 #line hidden 4898 4899 4900 #line 1299 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4901 public RazorEngine.Templating.TemplateWriter RenderHandlebarsRoot(HandlebarsRoot settings) { 4902 #line default 4903 #line hidden 4904 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4905 4906 #line 1299 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4907 4908 dynamic[] methodParameters = new dynamic[1]; 4909 methodParameters[0] = settings; 4910 MethodInfo customMethod = this.GetType().GetMethod("RenderHandlebarsRootCustom"); 4911 4912 if (customMethod != null) 4913 { 4914 4915 4916 #line default 4917 #line hidden 4918 4919 #line 1306 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4920 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 4921 4922 4923 #line default 4924 #line hidden 4925 4926 #line 1306 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4927 ; 4928 } else { 4929 string preRender = !String.IsNullOrEmpty(settings.PreRenderScriptTemplate) ? "data-pre-render-template=\"" + settings.PreRenderScriptTemplate + "\"" : ""; 4930 4931 4932 4933 #line default 4934 #line hidden 4935 WriteLiteralTo(__razor_helper_writer, " <div"); 4936 4937 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 50100), Tuple.Create("\"", 50152) 4938 4939 #line 1310 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4940 , Tuple.Create(Tuple.Create("", 50108), Tuple.Create<System.Object, System.Int32>(settings.CssClass 4941 4942 #line default 4943 #line hidden 4944 , 50108), false) 4945 , Tuple.Create(Tuple.Create(" ", 50126), Tuple.Create("dw-mod", 50127), true) 4946 , Tuple.Create(Tuple.Create(" ", 50133), Tuple.Create("js-handlebars-root", 50134), true) 4947 ); 4948 4949 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 50153), Tuple.Create("\"", 50170) 4950 4951 #line 1310 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4952 , Tuple.Create(Tuple.Create("", 50158), Tuple.Create<System.Object, System.Int32>(settings.Id 4953 4954 #line default 4955 #line hidden 4956 , 50158), false) 4957 ); 4958 4959 WriteLiteralTo(__razor_helper_writer, " data-template=\""); 4960 4961 4962 #line 1310 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4963 WriteTo(__razor_helper_writer, settings.ScriptTemplate); 4964 4965 4966 #line default 4967 #line hidden 4968 WriteLiteralTo(__razor_helper_writer, "\""); 4969 4970 WriteLiteralTo(__razor_helper_writer, " data-json-feed=\""); 4971 4972 4973 #line 1310 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4974 WriteTo(__razor_helper_writer, settings.FeedUrl); 4975 4976 4977 #line default 4978 #line hidden 4979 WriteLiteralTo(__razor_helper_writer, "\""); 4980 4981 WriteLiteralTo(__razor_helper_writer, " data-init-onload=\""); 4982 4983 4984 #line 1310 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4985 WriteTo(__razor_helper_writer, settings.InitOnLoad.ToString()); 4986 4987 4988 #line default 4989 #line hidden 4990 WriteLiteralTo(__razor_helper_writer, "\""); 4991 4992 WriteLiteralTo(__razor_helper_writer, " data-preloader=\""); 4993 4994 4995 #line 1310 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 4996 WriteTo(__razor_helper_writer, settings.Preloader); 4997 4998 4999 #line default 5000 #line hidden 5001 WriteLiteralTo(__razor_helper_writer, "\""); 5002 5003 WriteLiteralTo(__razor_helper_writer, " "); 5004 5005 5006 #line 1310 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5007 WriteTo(__razor_helper_writer, preRender); 5008 5009 5010 #line default 5011 #line hidden 5012 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5013 5014 5015 #line 1311 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5016 5017 5018 #line default 5019 #line hidden 5020 5021 #line 1311 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5022 if (settings.SubBlocks != null) { 5023 5024 5025 #line default 5026 #line hidden 5027 5028 #line 1312 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5029 WriteTo(__razor_helper_writer, RenderBlockList(settings.SubBlocks)); 5030 5031 5032 #line default 5033 #line hidden 5034 5035 #line 1312 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5036 5037 } 5038 5039 5040 #line default 5041 #line hidden 5042 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 5043 5044 5045 #line 1315 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5046 } 5047 5048 5049 #line default 5050 #line hidden 5051 }); 5052 5053 #line 1316 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5054 } 5055 #line default 5056 #line hidden 5057 5058 5059 #line 1325 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5060 public RazorEngine.Templating.TemplateWriter RenderSticker(Sticker settings) { 5061 #line default 5062 #line hidden 5063 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5064 5065 #line 1325 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5066 5067 dynamic[] methodParameters = new dynamic[1]; 5068 methodParameters[0] = settings; 5069 MethodInfo customMethod = this.GetType().GetMethod("RenderStickerCustom"); 5070 5071 if (customMethod != null) 5072 { 5073 5074 5075 #line default 5076 #line hidden 5077 5078 #line 1332 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5079 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 5080 5081 5082 #line default 5083 #line hidden 5084 5085 #line 1332 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5086 ; 5087 } 5088 else 5089 { 5090 if (!String.IsNullOrEmpty(settings.Title)) { 5091 string size = settings.Size.ToString() != "None" ? "" + "stickers-container__tag--" + settings.Size.ToString().ToLower() : ""; 5092 string style = settings.Style.ToString() != "None" ? "" + "stickers-container__tag--" + settings.Style.ToString().ToLower() : ""; 5093 5094 Dictionary<String, String> optionalAttributes = new Dictionary<string, string>(); 5095 if (!String.IsNullOrEmpty(settings.Color) || !String.IsNullOrEmpty(settings.BackgroundColor)) { 5096 string styleTag = !String.IsNullOrEmpty(settings.Color) ? "color: " + settings.Color + "; " : ""; 5097 styleTag += !String.IsNullOrEmpty(settings.BackgroundColor) ? "background-color: " + settings.BackgroundColor + "; " : ""; 5098 optionalAttributes.Add("style", styleTag); 5099 } 5100 5101 5102 5103 #line default 5104 #line hidden 5105 WriteLiteralTo(__razor_helper_writer, " <div"); 5106 5107 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 51906), Tuple.Create("\"", 51976) 5108 , Tuple.Create(Tuple.Create("", 51914), Tuple.Create("stickers-container__tag", 51914), true) 5109 5110 #line 1347 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5111 , Tuple.Create(Tuple.Create(" ", 51937), Tuple.Create<System.Object, System.Int32>(size 5112 5113 #line default 5114 #line hidden 5115 , 51938), false) 5116 5117 #line 1347 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5118 , Tuple.Create(Tuple.Create(" ", 51943), Tuple.Create<System.Object, System.Int32>(style 5119 5120 #line default 5121 #line hidden 5122 , 51944), false) 5123 5124 #line 1347 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5125 , Tuple.Create(Tuple.Create(" ", 51950), Tuple.Create<System.Object, System.Int32>(settings.CssClass 5126 5127 #line default 5128 #line hidden 5129 , 51951), false) 5130 , Tuple.Create(Tuple.Create(" ", 51969), Tuple.Create("dw-mod", 51970), true) 5131 ); 5132 5133 WriteLiteralTo(__razor_helper_writer, " "); 5134 5135 5136 #line 1347 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5137 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 5138 5139 5140 #line default 5141 #line hidden 5142 WriteLiteralTo(__razor_helper_writer, " "); 5143 5144 5145 #line 1347 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5146 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 5147 5148 5149 #line default 5150 #line hidden 5151 WriteLiteralTo(__razor_helper_writer, ">"); 5152 5153 5154 #line 1347 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5155 WriteTo(__razor_helper_writer, settings.Title); 5156 5157 5158 #line default 5159 #line hidden 5160 WriteLiteralTo(__razor_helper_writer, "</div> \r\n"); 5161 5162 5163 #line 1348 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5164 } 5165 } 5166 5167 5168 #line default 5169 #line hidden 5170 }); 5171 5172 #line 1350 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5173 } 5174 #line default 5175 #line hidden 5176 5177 5178 #line 1359 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5179 public RazorEngine.Templating.TemplateWriter RenderStickersCollection(StickersCollection settings) { 5180 #line default 5181 #line hidden 5182 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5183 5184 #line 1359 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5185 5186 dynamic[] methodParameters = new dynamic[1]; 5187 methodParameters[0] = settings; 5188 MethodInfo customMethod = this.GetType().GetMethod("RenderStickersCollectionCustom"); 5189 5190 if (customMethod != null) 5191 { 5192 5193 5194 #line default 5195 #line hidden 5196 5197 #line 1366 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5198 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 5199 5200 5201 #line default 5202 #line hidden 5203 5204 #line 1366 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5205 ; 5206 } 5207 else 5208 { 5209 if (settings.Stickers.Count > 0) { 5210 string position = settings.Position != null ? "" + "stickers-container--" + Regex.Replace(settings.Position.ToString(), "([a-z])([A-Z])", "$1-$2").ToLower() : ""; 5211 5212 5213 5214 #line default 5215 #line hidden 5216 WriteLiteralTo(__razor_helper_writer, " <div"); 5217 5218 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 52897), Tuple.Create("\"", 52959) 5219 , Tuple.Create(Tuple.Create("", 52905), Tuple.Create("stickers-container", 52905), true) 5220 5221 #line 1373 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5222 , Tuple.Create(Tuple.Create(" ", 52923), Tuple.Create<System.Object, System.Int32>(position 5223 5224 #line default 5225 #line hidden 5226 , 52924), false) 5227 5228 #line 1373 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5229 , Tuple.Create(Tuple.Create(" ", 52933), Tuple.Create<System.Object, System.Int32>(settings.CssClass 5230 5231 #line default 5232 #line hidden 5233 , 52934), false) 5234 , Tuple.Create(Tuple.Create(" ", 52952), Tuple.Create("dw-mod", 52953), true) 5235 ); 5236 5237 WriteLiteralTo(__razor_helper_writer, " "); 5238 5239 5240 #line 1373 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5241 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 5242 5243 5244 #line default 5245 #line hidden 5246 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5247 5248 5249 #line 1374 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5250 5251 5252 #line default 5253 #line hidden 5254 5255 #line 1374 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5256 foreach (Sticker sticker in settings.Stickers) 5257 { 5258 5259 5260 #line default 5261 #line hidden 5262 5263 #line 1376 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5264 WriteTo(__razor_helper_writer, RenderSticker(sticker)); 5265 5266 5267 #line default 5268 #line hidden 5269 5270 #line 1376 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5271 5272 } 5273 5274 5275 #line default 5276 #line hidden 5277 WriteLiteralTo(__razor_helper_writer, " </div> \r\n"); 5278 5279 5280 #line 1379 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5281 } 5282 } 5283 5284 5285 #line default 5286 #line hidden 5287 }); 5288 5289 #line 1381 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5290 } 5291 #line default 5292 #line hidden 5293 5294 5295 #line 1391 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5296 public RazorEngine.Templating.TemplateWriter RenderField(Field settings) { 5297 #line default 5298 #line hidden 5299 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5300 5301 #line 1391 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5302 5303 dynamic[] methodParameters = new dynamic[1]; 5304 methodParameters[0] = settings; 5305 MethodInfo customMethod = this.GetType().GetMethod("RenderFieldCustom"); 5306 5307 if (customMethod != null) 5308 { 5309 5310 5311 #line default 5312 #line hidden 5313 5314 #line 1398 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5315 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 5316 5317 5318 #line default 5319 #line hidden 5320 5321 #line 1398 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5322 ; 5323 } else { 5324 switch (settings.FieldType) 5325 { 5326 case FieldType.Checkbox: 5327 CheckboxField checkbox = new CheckboxField 5328 { 5329 Label = settings.Label, 5330 Id = settings.Id, 5331 Name = settings.Label.Replace(" ", ""), 5332 Value = settings.Value, 5333 Checked = Convert.ToBoolean(settings.Placeholder), 5334 OnClick = settings.OnClick, 5335 Disabled = settings.Disabled, 5336 Required = settings.Required, 5337 CssClass = settings.CssClass, 5338 ExtraAttributes = settings.ExtraAttributes, 5339 ErrorMessage = settings.ErrorMessage 5340 }; 5341 5342 5343 5344 #line default 5345 #line hidden 5346 5347 #line 1418 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5348 WriteTo(__razor_helper_writer, RenderCheckboxField(checkbox)); 5349 5350 5351 #line default 5352 #line hidden 5353 5354 #line 1418 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5355 5356 break; 5357 case FieldType.Email: 5358 TextField emailField = new TextField 5359 { 5360 Label = settings.Label != null ? settings.Label : Translate("Email"), 5361 Id = settings.Id, 5362 Value = settings.Value, 5363 OnClick = settings.OnClick, 5364 Disabled = settings.Disabled, 5365 Required = settings.Required, 5366 CssClass = settings.CssClass, 5367 ExtraAttributes = settings.ExtraAttributes, 5368 ErrorMessage = settings.ErrorMessage, 5369 Placeholder = settings.Placeholder, 5370 Type = TextFieldType.Email 5371 }; 5372 5373 5374 5375 #line default 5376 #line hidden 5377 5378 #line 1436 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5379 WriteTo(__razor_helper_writer, RenderTextField(emailField)); 5380 5381 5382 #line default 5383 #line hidden 5384 5385 #line 1436 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5386 5387 break; 5388 case FieldType.Hidden: 5389 HiddenField hiddenField = new HiddenField 5390 { 5391 Label = settings.Label, 5392 Id = settings.Id, 5393 Value = settings.Value, 5394 Disabled = settings.Disabled, 5395 Required = settings.Required, 5396 CssClass = settings.CssClass, 5397 ExtraAttributes = settings.ExtraAttributes, 5398 ErrorMessage = settings.ErrorMessage 5399 }; 5400 5401 5402 5403 #line default 5404 #line hidden 5405 5406 #line 1451 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5407 WriteTo(__razor_helper_writer, RenderHiddenField(hiddenField)); 5408 5409 5410 #line default 5411 #line hidden 5412 5413 #line 1451 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5414 5415 break; 5416 case FieldType.Integer: 5417 NumberField numberField = new NumberField 5418 { 5419 Label = settings.Label, 5420 Id = settings.Id, 5421 Value = settings.Value.GetType() == typeof(int) ? Convert.ToInt32(settings.Value) : 1, 5422 OnClick = settings.OnClick, 5423 Disabled = settings.Disabled, 5424 Required = settings.Required, 5425 CssClass = settings.CssClass, 5426 ExtraAttributes = settings.ExtraAttributes, 5427 ErrorMessage = settings.ErrorMessage, 5428 Step = 1 5429 }; 5430 5431 5432 5433 #line default 5434 #line hidden 5435 5436 #line 1468 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5437 WriteTo(__razor_helper_writer, RenderNumberField(numberField)); 5438 5439 5440 #line default 5441 #line hidden 5442 5443 #line 1468 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5444 5445 break; 5446 case FieldType.Password: 5447 TextField passwordField = new TextField 5448 { 5449 Label = settings.Label != null ? settings.Label : Translate("Password"), 5450 Id = settings.Id, 5451 Value = settings.Value, 5452 OnClick = settings.OnClick, 5453 Disabled = settings.Disabled, 5454 Required = settings.Required, 5455 CssClass = settings.CssClass, 5456 ExtraAttributes = settings.ExtraAttributes, 5457 ErrorMessage = settings.ErrorMessage, 5458 Placeholder = settings.Placeholder, 5459 Type = TextFieldType.Password 5460 }; 5461 5462 5463 5464 #line default 5465 #line hidden 5466 5467 #line 1486 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5468 WriteTo(__razor_helper_writer, RenderTextField(passwordField)); 5469 5470 5471 #line default 5472 #line hidden 5473 5474 #line 1486 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5475 5476 break; 5477 case FieldType.Reset: 5478 Button resetField = new Button 5479 { 5480 Title = settings.Label != null ? settings.Label : Translate("Reset"), 5481 Id = settings.Id, 5482 OnClick = settings.OnClick, 5483 Disabled = settings.Disabled, 5484 CssClass = settings.CssClass, 5485 ExtraAttributes = settings.ExtraAttributes, 5486 ButtonLayout = ButtonLayout.Secondary, 5487 ButtonType = ButtonType.Reset 5488 }; 5489 5490 5491 5492 #line default 5493 #line hidden 5494 5495 #line 1501 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5496 WriteTo(__razor_helper_writer, RenderButton(resetField)); 5497 5498 5499 #line default 5500 #line hidden 5501 5502 #line 1501 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5503 5504 break; 5505 case FieldType.Submit: 5506 Button submitField = new Button 5507 { 5508 Title = settings.Label != null ? settings.Label : Translate("Submit"), 5509 Id = settings.Id, 5510 OnClick = settings.OnClick, 5511 Disabled = settings.Disabled, 5512 CssClass = settings.CssClass, 5513 ExtraAttributes = settings.ExtraAttributes, 5514 ButtonLayout = ButtonLayout.Primary, 5515 ButtonType = ButtonType.Submit 5516 }; 5517 5518 5519 5520 #line default 5521 #line hidden 5522 5523 #line 1516 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5524 WriteTo(__razor_helper_writer, RenderButton(submitField)); 5525 5526 5527 #line default 5528 #line hidden 5529 5530 #line 1516 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5531 5532 break; 5533 case FieldType.Tel: 5534 TextField telField = new TextField 5535 { 5536 Label = settings.Label != null ? settings.Label : Translate("Phone"), 5537 Id = settings.Id, 5538 Value = settings.Value, 5539 OnClick = settings.OnClick, 5540 Disabled = settings.Disabled, 5541 Required = settings.Required, 5542 CssClass = settings.CssClass, 5543 ExtraAttributes = settings.ExtraAttributes, 5544 ErrorMessage = settings.ErrorMessage, 5545 Placeholder = settings.Placeholder, 5546 Type = TextFieldType.Tel 5547 }; 5548 5549 5550 5551 #line default 5552 #line hidden 5553 5554 #line 1534 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5555 WriteTo(__razor_helper_writer, RenderTextField(telField)); 5556 5557 5558 #line default 5559 #line hidden 5560 5561 #line 1534 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5562 5563 break; 5564 case FieldType.Text: 5565 TextField textField = new TextField 5566 { 5567 Label = settings.Label, 5568 Id = settings.Id, 5569 Value = settings.Value, 5570 OnClick = settings.OnClick, 5571 Disabled = settings.Disabled, 5572 Required = settings.Required, 5573 CssClass = settings.CssClass, 5574 ExtraAttributes = settings.ExtraAttributes, 5575 ErrorMessage = settings.ErrorMessage, 5576 Placeholder = settings.Placeholder, 5577 Type = TextFieldType.Text 5578 }; 5579 5580 5581 5582 #line default 5583 #line hidden 5584 5585 #line 1552 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5586 WriteTo(__razor_helper_writer, RenderTextField(textField)); 5587 5588 5589 #line default 5590 #line hidden 5591 5592 #line 1552 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5593 5594 break; 5595 case FieldType.Textarea: 5596 TextareaField textareaField = new TextareaField 5597 { 5598 Label = settings.Label, 5599 Id = settings.Id, 5600 Value = settings.Value, 5601 OnClick = settings.OnClick, 5602 Disabled = settings.Disabled, 5603 Required = settings.Required, 5604 CssClass = settings.CssClass, 5605 ExtraAttributes = settings.ExtraAttributes, 5606 ErrorMessage = settings.ErrorMessage, 5607 Placeholder = settings.Placeholder 5608 }; 5609 5610 5611 5612 #line default 5613 #line hidden 5614 5615 #line 1569 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5616 WriteTo(__razor_helper_writer, RenderTextareaField(textareaField)); 5617 5618 5619 #line default 5620 #line hidden 5621 5622 #line 1569 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5623 5624 break; 5625 default: 5626 TextField defaultField = new TextField 5627 { 5628 Label = settings.Label, 5629 Id = settings.Id, 5630 Value = settings.Value, 5631 OnClick = settings.OnClick, 5632 Disabled = settings.Disabled, 5633 Required = settings.Required, 5634 CssClass = settings.CssClass, 5635 ExtraAttributes = settings.ExtraAttributes, 5636 ErrorMessage = settings.ErrorMessage, 5637 Placeholder = settings.Placeholder, 5638 Type = TextFieldType.Text 5639 }; 5640 5641 5642 5643 #line default 5644 #line hidden 5645 5646 #line 1587 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5647 WriteTo(__razor_helper_writer, RenderTextField(defaultField)); 5648 5649 5650 #line default 5651 #line hidden 5652 5653 #line 1587 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5654 5655 break; 5656 } 5657 } 5658 5659 5660 #line default 5661 #line hidden 5662 }); 5663 5664 #line 1591 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5665 } 5666 #line default 5667 #line hidden 5668 5669 5670 #line 1610 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5671 public RazorEngine.Templating.TemplateWriter RenderArticleBanner(dynamic settings) 5672 { 5673 #line default 5674 #line hidden 5675 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5676 5677 #line 1611 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5678 5679 string headline = settings.Heading; 5680 //Video 5681 //getting video ID from youtube URL 5682 string videoCode = ""; 5683 var userAgent = HttpContext.Current.Request.UserAgent.ToString(); 5684 5685 bool ie9String = userAgent.Contains("Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"); 5686 bool ie10String = userAgent.Contains("Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)"); 5687 bool ie11String = userAgent.Contains("Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"); 5688 Regex regex = new Regex(@".be\/(.[^?]*)"); 5689 Match match = regex.Match(videoCode); 5690 5691 string videoId = ""; 5692 if (match.Success) 5693 { 5694 videoId = match.Groups[1].Value; 5695 } 5696 else 5697 { 5698 regex = new Regex(@"v=([^&]+)"); 5699 match = regex.Match(videoCode); 5700 if (match.Success) 5701 { 5702 videoId = match.Groups[1].Value; 5703 } 5704 } 5705 5706 string heroHeight = string.IsNullOrEmpty(videoCode) ? "heroheight" : ""; 5707 5708 string placeHolderImage = "/Files/Images/placeholder.gif"; 5709 string backgroundImage = ""; 5710 string backgroundImageLarge = ""; 5711 string backgroundImageMedium = ""; 5712 string backgroundImageSmall = ""; 5713 int backgroundImageWidth = 2500; 5714 int backgroundImageLargeWidth = 1440; 5715 int backgroundImageMediumWidth = 1300; 5716 int backgroundImageSmallWidth = 1024; 5717 5718 if (settings.Image != null) 5719 { 5720 string focalPointParameters = settings.Image.Path != null ? "&" + settings.Image.Path.GetFocalPointParameters() : ""; 5721 backgroundImage = "/Admin/Public/GetImage.ashx?width=" + backgroundImageWidth + "&amp;height=1100&amp;crop=7" + "&amp;Compression=85&amp;DoNotUpscale=true&amp;image=" + settings.Image.Path + focalPointParameters; 5722 backgroundImageLarge = "/Admin/Public/GetImage.ashx?width=" + backgroundImageLargeWidth + "&amp;height=370&amp;crop=7" + "&amp;Compression=85&amp;DoNotUpscale=true&amp;image=" + settings.Image.Path + focalPointParameters; 5723 backgroundImageMedium = "/Admin/Public/GetImage.ashx?width=" + backgroundImageMediumWidth + "&amp;height=572&amp;crop=7" + "&amp;Compression=85&amp;DoNotUpscale=true&amp;image=" + settings.Image.Path + focalPointParameters; 5724 backgroundImageSmall = "/Admin/Public/GetImage.ashx?width=" + backgroundImageSmallWidth + "&amp;height=450&amp;crop=7" + "&amp;Compression=85&amp;DoNotUpscale=true&amp;image=" + settings.Image.Path + focalPointParameters; 5725 } 5726 5727 dynamic[] methodParameters = new dynamic[1]; 5728 methodParameters[0] = settings; 5729 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleBannerCustom"); 5730 5731 var ieClass = ie10String || ie9String || ie11String ? "ie-hero" : ""; 5732 5733 if (customMethod != null) 5734 { 5735 5736 5737 #line default 5738 #line hidden 5739 5740 #line 1668 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5741 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 5742 5743 5744 #line default 5745 #line hidden 5746 5747 #line 1668 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5748 ; 5749 } 5750 else 5751 { 5752 settings.Layout = ArticleHeaderLayout.Banner; 5753 5754 if (settings.Image != null) 5755 { 5756 if (settings.Image.Path != null) 5757 { 5758 5759 5760 #line default 5761 #line hidden 5762 WriteLiteralTo(__razor_helper_writer, " <div"); 5763 5764 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-12 grid__col--bleed u-padding-bottom--lg\""); 5765 5766 WriteLiteralTo(__razor_helper_writer, ">\r\n <section"); 5767 5768 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 65695), Tuple.Create("\"", 65787) 5769 5770 #line 1679 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5771 , Tuple.Create(Tuple.Create("", 65703), Tuple.Create<System.Object, System.Int32>(ieClass 5772 5773 #line default 5774 #line hidden 5775 , 65703), false) 5776 , Tuple.Create(Tuple.Create(" ", 65711), Tuple.Create("hero", 65712), true) 5777 , Tuple.Create(Tuple.Create(" ", 65716), Tuple.Create("multiple-paragraphs-container", 65717), true) 5778 , Tuple.Create(Tuple.Create(" ", 65746), Tuple.Create("paragraph-container", 65747), true) 5779 , Tuple.Create(Tuple.Create(" ", 65766), Tuple.Create("grid--justify-center", 65767), true) 5780 ); 5781 5782 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 5783 5784 WriteLiteralTo(__razor_helper_writer, " class=\"background-image image-filter\""); 5785 5786 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 5787 5788 WriteLiteralTo(__razor_helper_writer, " class=\"background-image__wrapper image-filter\""); 5789 5790 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 5791 5792 WriteLiteralTo(__razor_helper_writer, " class=\"background-image__cover dw-mod b-lazy\""); 5793 5794 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 66036), Tuple.Create("\"", 66059) 5795 5796 #line 1682 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5797 , Tuple.Create(Tuple.Create("", 66042), Tuple.Create<System.Object, System.Int32>(placeHolderImage 5798 5799 #line default 5800 #line hidden 5801 , 66042), false) 5802 ); 5803 5804 WriteLiteralTo(__razor_helper_writer, " data-src=\""); 5805 5806 5807 #line 1682 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5808 WriteTo(__razor_helper_writer, backgroundImage); 5809 5810 5811 #line default 5812 #line hidden 5813 WriteLiteralTo(__razor_helper_writer, "\""); 5814 5815 WriteLiteralTo(__razor_helper_writer, " data-src-small=\""); 5816 5817 5818 #line 1682 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5819 WriteTo(__razor_helper_writer, backgroundImageSmall); 5820 5821 5822 #line default 5823 #line hidden 5824 WriteLiteralTo(__razor_helper_writer, "\""); 5825 5826 WriteLiteralTo(__razor_helper_writer, " data-src-medium=\""); 5827 5828 5829 #line 1682 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5830 WriteTo(__razor_helper_writer, backgroundImageMedium); 5831 5832 5833 #line default 5834 #line hidden 5835 WriteLiteralTo(__razor_helper_writer, "\""); 5836 5837 WriteLiteralTo(__razor_helper_writer, " data-src-large=\""); 5838 5839 5840 #line 1682 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5841 WriteTo(__razor_helper_writer, backgroundImageLarge); 5842 5843 5844 #line default 5845 #line hidden 5846 WriteLiteralTo(__razor_helper_writer, "\""); 5847 5848 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 66207), Tuple.Create("\"", 66233) 5849 5850 #line 1682 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5851 , Tuple.Create(Tuple.Create("", 66213), Tuple.Create<System.Object, System.Int32>(settings.Image.Path 5852 5853 #line default 5854 #line hidden 5855 , 66213), false) 5856 ); 5857 5858 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5859 5860 5861 #line 1683 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5862 5863 5864 #line default 5865 #line hidden 5866 5867 #line 1683 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5868 if (!string.IsNullOrEmpty(videoCode)) 5869 { 5870 5871 5872 5873 #line default 5874 #line hidden 5875 WriteLiteralTo(__razor_helper_writer, " <div"); 5876 5877 WriteLiteralTo(__razor_helper_writer, " class=\"video-background\""); 5878 5879 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 5880 5881 WriteLiteralTo(__razor_helper_writer, " class=\"video-background__container\""); 5882 5883 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 5884 5885 WriteLiteralTo(__razor_helper_writer, " class=\"js-youtube-video\""); 5886 5887 WriteLiteralTo(__razor_helper_writer, " data-video=\""); 5888 5889 5890 #line 1688 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5891 WriteTo(__razor_helper_writer, videoCode); 5892 5893 5894 #line default 5895 #line hidden 5896 WriteLiteralTo(__razor_helper_writer, "\""); 5897 5898 WriteLiteralTo(__razor_helper_writer, " id=\"ytPlayer\""); 5899 5900 WriteLiteralTo(__razor_helper_writer, "></div>\r\n </div>\r\n " + 5901 " </div>\r\n"); 5902 5903 5904 #line 1691 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5905 } 5906 5907 5908 #line default 5909 #line hidden 5910 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n " + 5911 " <div"); 5912 5913 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 66856), Tuple.Create("\"", 66940) 5914 , Tuple.Create(Tuple.Create("", 66864), Tuple.Create("grid", 66864), true) 5915 , Tuple.Create(Tuple.Create(" ", 66868), Tuple.Create("paragraph-container--height-xl", 66869), true) 5916 5917 #line 1694 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5918 , Tuple.Create(Tuple.Create(" ", 66899), Tuple.Create<System.Object, System.Int32>(heroHeight 5919 5920 #line default 5921 #line hidden 5922 , 66900), false) 5923 , Tuple.Create(Tuple.Create(" ", 66911), Tuple.Create("grid--justify-center", 66912), true) 5924 , Tuple.Create(Tuple.Create(" ", 66932), Tuple.Create("dw-mod", 66934), true) 5925 ); 5926 5927 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 5928 5929 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-sm-12 grid__col-xs-12 paragraph-container dw-mod grid--justif" + 5930 "y-center \""); 5931 5932 WriteLiteralTo(__razor_helper_writer, ">\r\n </div>\r\n </div>\r\n"); 5933 5934 5935 #line 1698 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5936 5937 5938 #line default 5939 #line hidden 5940 5941 #line 1698 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5942 if (ie10String || ie9String || ie11String) 5943 { 5944 5945 5946 #line default 5947 #line hidden 5948 WriteLiteralTo(__razor_helper_writer, " <svg"); 5949 5950 WriteLiteralTo(__razor_helper_writer, " class=\"ie-svg-header-without-text\""); 5951 5952 WriteLiteralTo(__razor_helper_writer, " width=\"1440px\""); 5953 5954 WriteLiteralTo(__razor_helper_writer, " height=\"203px\""); 5955 5956 WriteLiteralTo(__razor_helper_writer, " viewBox=\"0 0 1440 203\""); 5957 5958 WriteLiteralTo(__razor_helper_writer, " version=\"1.1\""); 5959 5960 WriteLiteralTo(__razor_helper_writer, " xmlns=\"http://www.w3.org/2000/svg\""); 5961 5962 WriteLiteralTo(__razor_helper_writer, " xmlns:xlink=\"http://www.w3.org/1999/xlink\""); 5963 5964 WriteLiteralTo(__razor_helper_writer, ">\r\n <g"); 5965 5966 WriteLiteralTo(__razor_helper_writer, " id=\"Page-1\""); 5967 5968 WriteLiteralTo(__razor_helper_writer, " stroke=\"none\""); 5969 5970 WriteLiteralTo(__razor_helper_writer, " stroke-width=\"1\""); 5971 5972 WriteLiteralTo(__razor_helper_writer, " fill=\"none\""); 5973 5974 WriteLiteralTo(__razor_helper_writer, " fill-rule=\"evenodd\""); 5975 5976 WriteLiteralTo(__razor_helper_writer, ">\r\n <g"); 5977 5978 WriteLiteralTo(__razor_helper_writer, " id=\"shop_forside_1\""); 5979 5980 WriteLiteralTo(__razor_helper_writer, " transform=\"translate(0.000000, -376.000000)\""); 5981 5982 WriteLiteralTo(__razor_helper_writer, " fill=\"#FFFFFF\""); 5983 5984 WriteLiteralTo(__razor_helper_writer, ">\r\n <path"); 5985 5986 WriteLiteralTo(__razor_helper_writer, " d=\"M0,578.015878 L1440,578.015878 C1885.14583,319.758548 1885.14583,252.418132 1" + 5987 "440,375.994629 C994.854167,499.571126 514.854167,566.911543 0,578.015878 Z\""); 5988 5989 WriteLiteralTo(__razor_helper_writer, " id=\"Path\""); 5990 5991 WriteLiteralTo(__razor_helper_writer, "></path>\r\n </g>\r\n " + 5992 " </g>\r\n </svg>\r\n"); 5993 5994 5995 #line 1707 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 5996 } 5997 5998 else 5999 { 6000 6001 6002 #line default 6003 #line hidden 6004 WriteLiteralTo(__razor_helper_writer, " <svg"); 6005 6006 WriteLiteralTo(__razor_helper_writer, " width=\"1440px\""); 6007 6008 WriteLiteralTo(__razor_helper_writer, " height=\"203px\""); 6009 6010 WriteLiteralTo(__razor_helper_writer, " viewBox=\"0 0 1440 203\""); 6011 6012 WriteLiteralTo(__razor_helper_writer, " version=\"1.1\""); 6013 6014 WriteLiteralTo(__razor_helper_writer, " xmlns=\"http://www.w3.org/2000/svg\""); 6015 6016 WriteLiteralTo(__razor_helper_writer, " xmlns:xlink=\"http://www.w3.org/1999/xlink\""); 6017 6018 WriteLiteralTo(__razor_helper_writer, ">\r\n <g"); 6019 6020 WriteLiteralTo(__razor_helper_writer, " id=\"Page-1\""); 6021 6022 WriteLiteralTo(__razor_helper_writer, " stroke=\"none\""); 6023 6024 WriteLiteralTo(__razor_helper_writer, " stroke-width=\"1\""); 6025 6026 WriteLiteralTo(__razor_helper_writer, " fill=\"none\""); 6027 6028 WriteLiteralTo(__razor_helper_writer, " fill-rule=\"evenodd\""); 6029 6030 WriteLiteralTo(__razor_helper_writer, ">\r\n <g"); 6031 6032 WriteLiteralTo(__razor_helper_writer, " id=\"shop_forside_1\""); 6033 6034 WriteLiteralTo(__razor_helper_writer, " transform=\"translate(0.000000, -376.000000)\""); 6035 6036 WriteLiteralTo(__razor_helper_writer, " fill=\"#FFFFFF\""); 6037 6038 WriteLiteralTo(__razor_helper_writer, ">\r\n <path"); 6039 6040 WriteLiteralTo(__razor_helper_writer, " d=\"M0,578.015878 L1440,578.015878 C1885.14583,319.758548 1885.14583,252.418132 1" + 6041 "440,375.994629 C994.854167,499.571126 514.854167,566.911543 0,578.015878 Z\""); 6042 6043 WriteLiteralTo(__razor_helper_writer, " id=\"Path\""); 6044 6045 WriteLiteralTo(__razor_helper_writer, "></path>\r\n </g>\r\n " + 6046 " </g>\r\n </svg>\r\n"); 6047 6048 6049 #line 1718 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6050 } 6051 6052 6053 #line default 6054 #line hidden 6055 WriteLiteralTo(__razor_helper_writer, " </section>\r\n </div>\r\n"); 6056 6057 6058 #line 1721 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6059 } 6060 else 6061 { 6062 settings.Layout = ArticleHeaderLayout.Clean; 6063 6064 6065 #line default 6066 #line hidden 6067 6068 #line 1725 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6069 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 6070 6071 6072 #line default 6073 #line hidden 6074 6075 #line 1725 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6076 ; 6077 } 6078 } 6079 else 6080 { 6081 settings.Layout = ArticleHeaderLayout.Clean; 6082 6083 6084 #line default 6085 #line hidden 6086 6087 #line 1731 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6088 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 6089 6090 6091 #line default 6092 #line hidden 6093 6094 #line 1731 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6095 ; 6096 } 6097 6098 if (!String.IsNullOrEmpty(headline)) 6099 { 6100 6101 6102 #line default 6103 #line hidden 6104 WriteLiteralTo(__razor_helper_writer, " <h1"); 6105 6106 WriteLiteralTo(__razor_helper_writer, " class=\"article__leadtext dw-mod grid-custom-layout-third\""); 6107 6108 WriteLiteralTo(__razor_helper_writer, ">"); 6109 6110 6111 #line 1736 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6112 WriteTo(__razor_helper_writer, headline); 6113 6114 6115 #line default 6116 #line hidden 6117 WriteLiteralTo(__razor_helper_writer, "</h1>\r\n"); 6118 6119 6120 #line 1737 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6121 6122 } 6123 } 6124 6125 6126 #line default 6127 #line hidden 6128 }); 6129 6130 #line 1740 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6131 } 6132 #line default 6133 #line hidden 6134 6135 6136 #line 1753 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6137 public RazorEngine.Templating.TemplateWriter RenderArticleHeaderExtended(ArticleHeaderExtended settings) 6138 { 6139 #line default 6140 #line hidden 6141 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6142 6143 #line 1754 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6144 6145 dynamic[] methodParameters = new dynamic[1]; 6146 methodParameters[0] = settings; 6147 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleHeaderCustom"); 6148 6149 if (customMethod != null) 6150 { 6151 6152 6153 #line default 6154 #line hidden 6155 6156 #line 1761 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6157 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 6158 6159 6160 #line default 6161 #line hidden 6162 6163 #line 1761 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6164 ; 6165 } 6166 else 6167 { 6168 switch (settings.Layout) 6169 { 6170 case ArticleHeaderLayout.Clean: 6171 6172 6173 #line default 6174 #line hidden 6175 6176 #line 1768 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6177 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 6178 6179 6180 #line default 6181 #line hidden 6182 6183 #line 1768 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6184 ; 6185 break; 6186 case ArticleHeaderLayout.Split: 6187 6188 6189 #line default 6190 #line hidden 6191 6192 #line 1771 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6193 WriteTo(__razor_helper_writer, RenderArticleSplitHeader(settings)); 6194 6195 6196 #line default 6197 #line hidden 6198 6199 #line 1771 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6200 ; 6201 break; 6202 case ArticleHeaderLayout.Banner: 6203 6204 6205 #line default 6206 #line hidden 6207 6208 #line 1774 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6209 WriteTo(__razor_helper_writer, RenderArticleBannerHeader(settings)); 6210 6211 6212 #line default 6213 #line hidden 6214 6215 #line 1774 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6216 ; 6217 break; 6218 case ArticleHeaderLayout.Overlay: 6219 6220 6221 #line default 6222 #line hidden 6223 6224 #line 1777 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6225 WriteTo(__razor_helper_writer, RenderArticleOverlayHeader(settings)); 6226 6227 6228 #line default 6229 #line hidden 6230 6231 #line 1777 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6232 ; 6233 break; 6234 default: 6235 6236 6237 #line default 6238 #line hidden 6239 6240 #line 1780 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6241 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 6242 6243 6244 #line default 6245 #line hidden 6246 6247 #line 1780 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6248 ; 6249 break; 6250 } 6251 } 6252 6253 6254 #line default 6255 #line hidden 6256 }); 6257 6258 #line 1784 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6259 } 6260 #line default 6261 #line hidden 6262 6263 6264 #line 1786 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6265 public RazorEngine.Templating.TemplateWriter RenderArticleCleanHeader(ArticleHeader settings) 6266 { 6267 #line default 6268 #line hidden 6269 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6270 6271 #line 1787 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6272 6273 dynamic[] methodParameters = new dynamic[1]; 6274 methodParameters[0] = settings; 6275 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleCleanHeaderCustom"); 6276 6277 if (customMethod != null) 6278 { 6279 6280 6281 #line default 6282 #line hidden 6283 6284 #line 1794 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6285 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 6286 6287 6288 #line default 6289 #line hidden 6290 6291 #line 1794 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6292 ; 6293 } 6294 else 6295 { 6296 string contentColumns = settings.TextLayout != ArticleHeaderTextLayout.Full ? "8" : "12"; 6297 6298 6299 6300 #line default 6301 #line hidden 6302 WriteLiteralTo(__razor_helper_writer, " <div"); 6303 6304 WriteLiteralTo(__razor_helper_writer, " class=\"grid grid--align-content-start grid--justify-start\""); 6305 6306 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 6307 6308 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 71502), Tuple.Create("\"", 71575) 6309 , Tuple.Create(Tuple.Create("", 71510), Tuple.Create("grid__col-md-", 71510), true) 6310 6311 #line 1801 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6312 , Tuple.Create(Tuple.Create("", 71523), Tuple.Create<System.Object, System.Int32>(contentColumns 6313 6314 #line default 6315 #line hidden 6316 , 71523), false) 6317 , Tuple.Create(Tuple.Create(" ", 71538), Tuple.Create("grid__col-sm-12", 71539), true) 6318 , Tuple.Create(Tuple.Create(" ", 71554), Tuple.Create("u-padding--lg", 71555), true) 6319 , Tuple.Create(Tuple.Create(" ", 71568), Tuple.Create("dw-mod", 71569), true) 6320 ); 6321 6322 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n\r\n <div"); 6323 6324 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 6325 6326 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6327 6328 6329 #line 1805 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6330 6331 6332 #line default 6333 #line hidden 6334 6335 #line 1805 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6336 if (settings.Image != null) 6337 { 6338 if (settings.Image.Path != null) 6339 { 6340 6341 6342 #line default 6343 #line hidden 6344 WriteLiteralTo(__razor_helper_writer, " <div"); 6345 6346 WriteLiteralTo(__razor_helper_writer, " class=\"u-padding-bottom--lg\""); 6347 6348 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6349 6350 WriteLiteralTo(__razor_helper_writer, " "); 6351 6352 6353 #line 1810 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6354 WriteTo(__razor_helper_writer, RenderImage(settings.Image)); 6355 6356 6357 #line default 6358 #line hidden 6359 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 6360 6361 6362 #line 1812 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6363 6364 } 6365 } 6366 6367 6368 #line default 6369 #line hidden 6370 WriteLiteralTo(__razor_helper_writer, " \r\n"); 6371 6372 6373 #line 1816 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6374 6375 6376 #line default 6377 #line hidden 6378 6379 #line 1816 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6380 if (!String.IsNullOrEmpty(settings.Heading)) 6381 { 6382 6383 //Check to hide heading if the item is not a Dynamic Article 6384 var ItemName = PageView.Current().Item.SystemName; 6385 6386 if (ItemName == "DynamicArticle") 6387 { 6388 6389 6390 #line default 6391 #line hidden 6392 WriteLiteralTo(__razor_helper_writer, " <h1"); 6393 6394 WriteLiteralTo(__razor_helper_writer, " class=\"article__header article__header--giant dw-mod\""); 6395 6396 WriteLiteralTo(__razor_helper_writer, ">"); 6397 6398 6399 #line 1824 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6400 WriteTo(__razor_helper_writer, settings.Heading); 6401 6402 6403 #line default 6404 #line hidden 6405 WriteLiteralTo(__razor_helper_writer, "</h1>\r\n"); 6406 6407 6408 #line 1825 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6409 } 6410 6411 else 6412 { 6413 } 6414 6415 } 6416 6417 6418 #line default 6419 #line hidden 6420 WriteLiteralTo(__razor_helper_writer, "\r\n"); 6421 6422 6423 #line 1833 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6424 6425 6426 #line default 6427 #line hidden 6428 6429 #line 1833 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6430 if (!String.IsNullOrEmpty(settings.Category) || !String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date) || settings.RatingOutOf != 0) 6431 { 6432 6433 6434 #line default 6435 #line hidden 6436 WriteLiteralTo(__razor_helper_writer, " <div"); 6437 6438 WriteLiteralTo(__razor_helper_writer, " class=\"u-padding-bottom\""); 6439 6440 WriteLiteralTo(__razor_helper_writer, ">\r\n "); 6441 6442 WriteLiteralTo(__razor_helper_writer, "\r\n <div"); 6443 6444 WriteLiteralTo(__razor_helper_writer, " class=\"\""); 6445 6446 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6447 6448 6449 #line 1843 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6450 6451 6452 #line default 6453 #line hidden 6454 6455 #line 1843 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6456 if (!String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date)) 6457 { 6458 6459 6460 #line default 6461 #line hidden 6462 WriteLiteralTo(__razor_helper_writer, " <small"); 6463 6464 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info dw-mod\""); 6465 6466 WriteLiteralTo(__razor_helper_writer, ">"); 6467 6468 6469 #line 1845 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6470 WriteTo(__razor_helper_writer, Translate("Author")); 6471 6472 6473 #line default 6474 #line hidden 6475 WriteLiteralTo(__razor_helper_writer, ": "); 6476 6477 6478 #line 1845 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6479 WriteTo(__razor_helper_writer, settings.Author); 6480 6481 6482 #line default 6483 #line hidden 6484 WriteLiteralTo(__razor_helper_writer, ", "); 6485 6486 6487 #line 1845 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6488 WriteTo(__razor_helper_writer, settings.Date); 6489 6490 6491 #line default 6492 #line hidden 6493 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 6494 6495 6496 #line 1846 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6497 } 6498 6499 6500 #line default 6501 #line hidden 6502 6503 #line 1850 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6504 6505 6506 6507 #line default 6508 #line hidden 6509 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 6510 6511 6512 #line 1853 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6513 6514 } 6515 6516 6517 #line default 6518 #line hidden 6519 WriteLiteralTo(__razor_helper_writer, "\r\n"); 6520 6521 6522 #line 1856 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6523 6524 6525 #line default 6526 #line hidden 6527 6528 #line 1856 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6529 if (!String.IsNullOrEmpty(settings.Subheading)) 6530 { 6531 6532 6533 #line default 6534 #line hidden 6535 WriteLiteralTo(__razor_helper_writer, " <div"); 6536 6537 WriteLiteralTo(__razor_helper_writer, " class=\"article__leadtext news-article-leadtext dw-mod\""); 6538 6539 WriteLiteralTo(__razor_helper_writer, ">"); 6540 6541 6542 #line 1858 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6543 WriteTo(__razor_helper_writer, settings.Subheading); 6544 6545 6546 #line default 6547 #line hidden 6548 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 6549 6550 6551 #line 1859 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6552 } 6553 6554 6555 #line default 6556 #line hidden 6557 WriteLiteralTo(__razor_helper_writer, " "); 6558 6559 6560 #line 1860 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6561 if (!String.IsNullOrEmpty(settings.Link)) 6562 { 6563 6564 6565 #line default 6566 #line hidden 6567 WriteLiteralTo(__razor_helper_writer, " <div"); 6568 6569 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 6570 6571 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6572 6573 WriteLiteralTo(__razor_helper_writer, " "); 6574 6575 6576 #line 1863 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6577 WriteTo(__razor_helper_writer, RenderButton(new Button { Link = settings.Link, Title = settings.LinkText, ButtonLayout = settings.ButtonLayout })); 6578 6579 6580 #line default 6581 #line hidden 6582 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 6583 6584 6585 #line 1865 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6586 } 6587 6588 6589 #line default 6590 #line hidden 6591 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 6592 6593 6594 #line 1868 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6595 6596 6597 #line default 6598 #line hidden 6599 6600 #line 1868 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6601 if (settings.ExternalParagraphId != 0) 6602 { 6603 6604 6605 #line default 6606 #line hidden 6607 WriteLiteralTo(__razor_helper_writer, " <div"); 6608 6609 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-4 grid__col-sm-12 u-padding--lg u-color-light-gray--bg dw-mo" + 6610 "d\""); 6611 6612 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6613 6614 WriteLiteralTo(__razor_helper_writer, " "); 6615 6616 6617 #line 1871 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6618 WriteTo(__razor_helper_writer, RenderParagraphContent(settings.ExternalParagraphId)); 6619 6620 6621 #line default 6622 #line hidden 6623 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 6624 6625 6626 #line 1873 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6627 } 6628 6629 6630 #line default 6631 #line hidden 6632 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 6633 6634 6635 #line 1875 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6636 } 6637 6638 6639 #line default 6640 #line hidden 6641 }); 6642 6643 #line 1876 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6644 } 6645 #line default 6646 #line hidden 6647 6648 6649 #line 1878 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6650 public RazorEngine.Templating.TemplateWriter RenderArticleSplitHeader(ArticleHeader settings) 6651 { 6652 #line default 6653 #line hidden 6654 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6655 6656 #line 1879 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6657 6658 dynamic[] methodParameters = new dynamic[1]; 6659 methodParameters[0] = settings; 6660 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleSplitHeaderCustom"); 6661 6662 if (customMethod != null) 6663 { 6664 6665 6666 #line default 6667 #line hidden 6668 6669 #line 1886 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6670 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 6671 6672 6673 #line default 6674 #line hidden 6675 6676 #line 1886 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6677 ; 6678 } 6679 else 6680 { 6681 string headerColumnWidth = settings.ExternalParagraphId != 0 ? "4" : "6"; 6682 6683 if (settings.Image != null) 6684 { 6685 if (settings.Image.Path != null) 6686 { 6687 6688 6689 #line default 6690 #line hidden 6691 WriteLiteralTo(__razor_helper_writer, " <section"); 6692 6693 WriteLiteralTo(__razor_helper_writer, " class=\"multiple-paragraphs-container paragraph-container--full-width\""); 6694 6695 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 6696 6697 WriteLiteralTo(__razor_helper_writer, " class=\"grid\""); 6698 6699 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 6700 6701 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 75630), Tuple.Create("\"", 75759) 6702 , Tuple.Create(Tuple.Create("", 75638), Tuple.Create("grid__col-md-", 75638), true) 6703 6704 #line 1898 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6705 , Tuple.Create(Tuple.Create("", 75651), Tuple.Create<System.Object, System.Int32>(headerColumnWidth 6706 6707 #line default 6708 #line hidden 6709 , 75651), false) 6710 , Tuple.Create(Tuple.Create(" ", 75669), Tuple.Create("grid__col-sm-12", 75670), true) 6711 , Tuple.Create(Tuple.Create(" ", 75685), Tuple.Create("grid__col-xs-12", 75686), true) 6712 , Tuple.Create(Tuple.Create(" ", 75701), Tuple.Create("paragraph-container", 75702), true) 6713 , Tuple.Create(Tuple.Create(" ", 75721), Tuple.Create("paragraph-container--height-xl", 75722), true) 6714 , Tuple.Create(Tuple.Create(" ", 75752), Tuple.Create("dw-mod", 75753), true) 6715 ); 6716 6717 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 6718 6719 WriteLiteralTo(__razor_helper_writer, " class=\"u-left-middle u-padding--lg\""); 6720 6721 WriteLiteralTo(__razor_helper_writer, ">\r\n <div>\r\n"); 6722 6723 6724 #line 1901 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6725 6726 6727 #line default 6728 #line hidden 6729 6730 #line 1901 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6731 if (!String.IsNullOrEmpty(settings.Category)) 6732 { 6733 6734 6735 #line default 6736 #line hidden 6737 WriteLiteralTo(__razor_helper_writer, " <div"); 6738 6739 WriteLiteralTo(__razor_helper_writer, " class=\"article__category dw-mod\""); 6740 6741 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 76073), Tuple.Create("\"", 76111) 6742 , Tuple.Create(Tuple.Create("", 76081), Tuple.Create("color:", 76081), true) 6743 6744 #line 1903 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6745 , Tuple.Create(Tuple.Create(" ", 76087), Tuple.Create<System.Object, System.Int32>(settings.CategoryColor 6746 6747 #line default 6748 #line hidden 6749 , 76088), false) 6750 ); 6751 6752 WriteLiteralTo(__razor_helper_writer, ">"); 6753 6754 6755 #line 1903 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6756 WriteTo(__razor_helper_writer, settings.Category); 6757 6758 6759 #line default 6760 #line hidden 6761 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 6762 6763 6764 #line 1904 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6765 } 6766 6767 6768 #line default 6769 #line hidden 6770 WriteLiteralTo(__razor_helper_writer, " "); 6771 6772 6773 #line 1905 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6774 if (!String.IsNullOrEmpty(settings.Heading)) 6775 { 6776 6777 6778 #line default 6779 #line hidden 6780 WriteLiteralTo(__razor_helper_writer, " <h1"); 6781 6782 WriteLiteralTo(__razor_helper_writer, " class=\"article__header article__header--giant dw-mod\""); 6783 6784 WriteLiteralTo(__razor_helper_writer, ">"); 6785 6786 6787 #line 1907 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6788 WriteTo(__razor_helper_writer, settings.Heading); 6789 6790 6791 #line default 6792 #line hidden 6793 WriteLiteralTo(__razor_helper_writer, "</h1>\r\n"); 6794 6795 6796 #line 1908 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6797 } 6798 6799 6800 #line default 6801 #line hidden 6802 WriteLiteralTo(__razor_helper_writer, " "); 6803 6804 6805 #line 1909 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6806 if (!String.IsNullOrEmpty(settings.Subheading)) 6807 { 6808 6809 6810 #line default 6811 #line hidden 6812 WriteLiteralTo(__razor_helper_writer, " <div"); 6813 6814 WriteLiteralTo(__razor_helper_writer, " class=\"article__leadtext dw-mod\""); 6815 6816 WriteLiteralTo(__razor_helper_writer, ">"); 6817 6818 6819 #line 1911 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6820 WriteTo(__razor_helper_writer, settings.Subheading); 6821 6822 6823 #line default 6824 #line hidden 6825 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 6826 6827 6828 #line 1912 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6829 } 6830 6831 6832 #line default 6833 #line hidden 6834 WriteLiteralTo(__razor_helper_writer, " "); 6835 6836 6837 #line 1913 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6838 if (!String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date)) 6839 { 6840 6841 6842 #line default 6843 #line hidden 6844 WriteLiteralTo(__razor_helper_writer, " <small"); 6845 6846 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info u-pull--left dw-mod\""); 6847 6848 WriteLiteralTo(__razor_helper_writer, ">"); 6849 6850 6851 #line 1915 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6852 WriteTo(__razor_helper_writer, settings.Author); 6853 6854 6855 #line default 6856 #line hidden 6857 WriteLiteralTo(__razor_helper_writer, " "); 6858 6859 6860 #line 1915 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6861 WriteTo(__razor_helper_writer, settings.Date); 6862 6863 6864 #line default 6865 #line hidden 6866 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 6867 6868 6869 #line 1916 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6870 } 6871 6872 6873 #line default 6874 #line hidden 6875 WriteLiteralTo(__razor_helper_writer, " "); 6876 6877 6878 #line 1917 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6879 if (settings.RatingOutOf != 0) 6880 { 6881 6882 6883 #line default 6884 #line hidden 6885 WriteLiteralTo(__razor_helper_writer, " <div"); 6886 6887 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right\""); 6888 6889 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6890 6891 WriteLiteralTo(__razor_helper_writer, " "); 6892 6893 6894 #line 1920 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6895 WriteTo(__razor_helper_writer, RenderRating(new Rating { Score = settings.RatingScore, OutOf = settings.RatingOutOf })); 6896 6897 6898 #line default 6899 #line hidden 6900 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 6901 6902 6903 #line 1922 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6904 } 6905 6906 6907 #line default 6908 #line hidden 6909 WriteLiteralTo(__razor_helper_writer, " "); 6910 6911 6912 #line 1923 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6913 if (!String.IsNullOrEmpty(settings.Link)) 6914 { 6915 6916 6917 #line default 6918 #line hidden 6919 6920 #line 1925 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6921 WriteTo(__razor_helper_writer, RenderButton(new Button { Link = settings.Link, Title = settings.LinkText, ButtonLayout = settings.ButtonLayout })); 6922 6923 6924 #line default 6925 #line hidden 6926 6927 #line 1925 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6928 6929 } 6930 6931 6932 #line default 6933 #line hidden 6934 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n " + 6935 " </div>\r\n <div"); 6936 6937 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 77915), Tuple.Create("\"", 78046) 6938 , Tuple.Create(Tuple.Create("", 77923), Tuple.Create("grid__col-md-", 77923), true) 6939 6940 #line 1930 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6941 , Tuple.Create(Tuple.Create("", 77936), Tuple.Create<System.Object, System.Int32>(headerColumnWidth 6942 6943 #line default 6944 #line hidden 6945 , 77936), false) 6946 , Tuple.Create(Tuple.Create(" ", 77954), Tuple.Create("grid__col-sm-12", 77955), true) 6947 , Tuple.Create(Tuple.Create(" ", 77970), Tuple.Create("grid__col-xs-12", 77971), true) 6948 , Tuple.Create(Tuple.Create(" ", 77986), Tuple.Create("paragraph-container", 77987), true) 6949 , Tuple.Create(Tuple.Create(" ", 78006), Tuple.Create("paragraph-container--height-auto", 78007), true) 6950 , Tuple.Create(Tuple.Create(" ", 78039), Tuple.Create("dw-mod", 78040), true) 6951 ); 6952 6953 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 78047), Tuple.Create("\"", 78275) 6954 , Tuple.Create(Tuple.Create("", 78055), Tuple.Create("background-image:url(/Admin/Public/GetImage.ashx?width=1800&amp;height=1100&amp;c" + 6955 "rop=0&amp;Compression=85&amp;DoNotUpscale=true&amp;image=", 78055), true) 6956 6957 #line 1930 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6958 , Tuple.Create(Tuple.Create("", 78193), Tuple.Create<System.Object, System.Int32>(settings.Image.Path 6959 6960 #line default 6961 #line hidden 6962 , 78193), false) 6963 , Tuple.Create(Tuple.Create("", 78213), Tuple.Create(");", 78213), true) 6964 , Tuple.Create(Tuple.Create(" ", 78215), Tuple.Create("background-position:", 78216), true) 6965 , Tuple.Create(Tuple.Create(" ", 78236), Tuple.Create("center", 78237), true) 6966 , Tuple.Create(Tuple.Create(" ", 78243), Tuple.Create("center;", 78244), true) 6967 , Tuple.Create(Tuple.Create(" ", 78251), Tuple.Create("background-size:", 78252), true) 6968 , Tuple.Create(Tuple.Create(" ", 78268), Tuple.Create("cover;", 78269), true) 6969 ); 6970 6971 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 6972 6973 6974 #line 1931 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6975 6976 6977 #line default 6978 #line hidden 6979 6980 #line 1931 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6981 if (settings.ExternalParagraphId != 0) 6982 { 6983 6984 6985 #line default 6986 #line hidden 6987 WriteLiteralTo(__razor_helper_writer, " <div"); 6988 6989 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-4 grid__col-sm-12 grid__col-xs-12 paragraph-container paragr" + 6990 "aph-container--height-auto u-color-light-gray--bg dw-mod\""); 6991 6992 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6993 6994 WriteLiteralTo(__razor_helper_writer, " "); 6995 6996 6997 #line 1934 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 6998 WriteTo(__razor_helper_writer, RenderParagraphContent(settings.ExternalParagraphId)); 6999 7000 7001 #line default 7002 #line hidden 7003 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 7004 7005 7006 #line 1936 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7007 } 7008 7009 7010 #line default 7011 #line hidden 7012 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </section>\r\n"); 7013 7014 7015 #line 1939 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7016 } 7017 } 7018 else 7019 { 7020 7021 7022 #line default 7023 #line hidden 7024 7025 #line 1943 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7026 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 7027 7028 7029 #line default 7030 #line hidden 7031 7032 #line 1943 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7033 ; 7034 } 7035 } 7036 7037 7038 #line default 7039 #line hidden 7040 }); 7041 7042 #line 1946 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7043 } 7044 #line default 7045 #line hidden 7046 7047 7048 #line 1948 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7049 public RazorEngine.Templating.TemplateWriter RenderArticleOverlayHeader(ArticleHeader settings) 7050 { 7051 #line default 7052 #line hidden 7053 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7054 7055 #line 1949 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7056 7057 dynamic[] methodParameters = new dynamic[1]; 7058 methodParameters[0] = settings; 7059 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleOverlayHeaderCustom"); 7060 7061 if (customMethod != null) 7062 { 7063 7064 7065 #line default 7066 #line hidden 7067 7068 #line 1956 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7069 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 7070 7071 7072 #line default 7073 #line hidden 7074 7075 #line 1956 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7076 ; 7077 } 7078 else 7079 { 7080 string contentColumns = settings.TextLayout != ArticleHeaderTextLayout.Full ? "8" : "12"; 7081 string contentAlignment = settings.TextLayout == ArticleHeaderTextLayout.Center ? "grid--justify-center" : ""; 7082 7083 if (settings.Image != null) 7084 { 7085 if (settings.Image.Path != null) 7086 { 7087 if (settings.ExternalParagraphId == 0) 7088 { 7089 7090 7091 #line default 7092 #line hidden 7093 WriteLiteralTo(__razor_helper_writer, " <section"); 7094 7095 WriteLiteralTo(__razor_helper_writer, " class=\"multiple-paragraphs-container u-color-light paragraph-container--full-wid" + 7096 "th\""); 7097 7098 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7099 7100 WriteLiteralTo(__razor_helper_writer, " class=\"background-image image-filter image-filter--darken dw-mod\""); 7101 7102 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7103 7104 WriteLiteralTo(__razor_helper_writer, " class=\"background-image__wrapper image-filter image-filter--darken dw-mod\""); 7105 7106 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7107 7108 7109 #line 1972 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7110 7111 7112 #line default 7113 #line hidden 7114 7115 #line 1972 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7116 7117 settings.Image.CssClass += "background-image__cover dw-mod"; 7118 7119 7120 #line default 7121 #line hidden 7122 WriteLiteralTo(__razor_helper_writer, "\r\n"); 7123 7124 WriteLiteralTo(__razor_helper_writer, " "); 7125 7126 7127 #line 1975 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7128 WriteTo(__razor_helper_writer, RenderImage(settings.Image)); 7129 7130 7131 #line default 7132 #line hidden 7133 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n " + 7134 " <div"); 7135 7136 WriteLiteralTo(__razor_helper_writer, " class=\"center-container dw-mod\""); 7137 7138 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7139 7140 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 80374), Tuple.Create("\"", 80404) 7141 , Tuple.Create(Tuple.Create("", 80382), Tuple.Create("grid", 80382), true) 7142 7143 #line 1979 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7144 , Tuple.Create(Tuple.Create(" ", 80386), Tuple.Create<System.Object, System.Int32>(contentAlignment 7145 7146 #line default 7147 #line hidden 7148 , 80387), false) 7149 ); 7150 7151 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7152 7153 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 80444), Tuple.Create("\"", 80567) 7154 , Tuple.Create(Tuple.Create("", 80452), Tuple.Create("grid__col-md-", 80452), true) 7155 7156 #line 1980 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7157 , Tuple.Create(Tuple.Create("", 80465), Tuple.Create<System.Object, System.Int32>(contentColumns 7158 7159 #line default 7160 #line hidden 7161 , 80465), false) 7162 , Tuple.Create(Tuple.Create(" ", 80480), Tuple.Create("grid__col-xs-12", 80481), true) 7163 , Tuple.Create(Tuple.Create(" ", 80496), Tuple.Create("paragraph-container", 80497), true) 7164 , Tuple.Create(Tuple.Create(" ", 80516), Tuple.Create("paragraph-container--height-xl", 80517), true) 7165 , Tuple.Create(Tuple.Create(" ", 80547), Tuple.Create("u-no-padding", 80548), true) 7166 , Tuple.Create(Tuple.Create(" ", 80560), Tuple.Create("dw-mod", 80561), true) 7167 ); 7168 7169 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7170 7171 7172 #line 1981 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7173 7174 7175 #line default 7176 #line hidden 7177 7178 #line 1981 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7179 if (!String.IsNullOrEmpty(settings.Heading)) 7180 { 7181 7182 7183 #line default 7184 #line hidden 7185 WriteLiteralTo(__razor_helper_writer, " <h1"); 7186 7187 WriteLiteralTo(__razor_helper_writer, " class=\"article__header article__header--giant u-padding-top--lg dw-mod\""); 7188 7189 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 80808), Tuple.Create("\"", 80842) 7190 , Tuple.Create(Tuple.Create("", 80816), Tuple.Create("color:", 80816), true) 7191 7192 #line 1983 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7193 , Tuple.Create(Tuple.Create(" ", 80822), Tuple.Create<System.Object, System.Int32>(settings.TextColor 7194 7195 #line default 7196 #line hidden 7197 , 80823), false) 7198 ); 7199 7200 WriteLiteralTo(__razor_helper_writer, ">"); 7201 7202 7203 #line 1983 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7204 WriteTo(__razor_helper_writer, settings.Heading); 7205 7206 7207 #line default 7208 #line hidden 7209 WriteLiteralTo(__razor_helper_writer, "</h1>\r\n"); 7210 7211 7212 #line 1984 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7213 } 7214 7215 7216 #line default 7217 #line hidden 7218 WriteLiteralTo(__razor_helper_writer, " "); 7219 7220 7221 #line 1985 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7222 if (!String.IsNullOrEmpty(settings.Subheading)) 7223 { 7224 7225 7226 #line default 7227 #line hidden 7228 WriteLiteralTo(__razor_helper_writer, " <div"); 7229 7230 WriteLiteralTo(__razor_helper_writer, " class=\"article__leadtext dw-mod\""); 7231 7232 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 81109), Tuple.Create("\"", 81143) 7233 , Tuple.Create(Tuple.Create("", 81117), Tuple.Create("color:", 81117), true) 7234 7235 #line 1987 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7236 , Tuple.Create(Tuple.Create(" ", 81123), Tuple.Create<System.Object, System.Int32>(settings.TextColor 7237 7238 #line default 7239 #line hidden 7240 , 81124), false) 7241 ); 7242 7243 WriteLiteralTo(__razor_helper_writer, ">"); 7244 7245 7246 #line 1987 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7247 WriteTo(__razor_helper_writer, settings.Subheading); 7248 7249 7250 #line default 7251 #line hidden 7252 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 7253 7254 7255 #line 1988 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7256 } 7257 7258 7259 #line default 7260 #line hidden 7261 WriteLiteralTo(__razor_helper_writer, " <div"); 7262 7263 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-top\""); 7264 7265 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7266 7267 7268 #line 1990 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7269 7270 7271 #line default 7272 #line hidden 7273 7274 #line 1990 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7275 if (!String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date)) 7276 { 7277 7278 7279 #line default 7280 #line hidden 7281 WriteLiteralTo(__razor_helper_writer, " <small"); 7282 7283 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info u-pull--left dw-mod\""); 7284 7285 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 81542), Tuple.Create("\"", 81576) 7286 , Tuple.Create(Tuple.Create("", 81550), Tuple.Create("color:", 81550), true) 7287 7288 #line 1992 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7289 , Tuple.Create(Tuple.Create(" ", 81556), Tuple.Create<System.Object, System.Int32>(settings.TextColor 7290 7291 #line default 7292 #line hidden 7293 , 81557), false) 7294 ); 7295 7296 WriteLiteralTo(__razor_helper_writer, ">"); 7297 7298 7299 #line 1992 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7300 WriteTo(__razor_helper_writer, settings.Author); 7301 7302 7303 #line default 7304 #line hidden 7305 WriteLiteralTo(__razor_helper_writer, " "); 7306 7307 7308 #line 1992 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7309 WriteTo(__razor_helper_writer, settings.Date); 7310 7311 7312 #line default 7313 #line hidden 7314 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 7315 7316 7317 #line 1993 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7318 } 7319 7320 7321 #line default 7322 #line hidden 7323 WriteLiteralTo(__razor_helper_writer, " "); 7324 7325 7326 #line 1994 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7327 if (settings.RatingOutOf != 0) 7328 { 7329 7330 7331 #line default 7332 #line hidden 7333 WriteLiteralTo(__razor_helper_writer, " <div"); 7334 7335 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right\""); 7336 7337 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7338 7339 WriteLiteralTo(__razor_helper_writer, " "); 7340 7341 7342 #line 1997 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7343 WriteTo(__razor_helper_writer, RenderRating(new Rating { Score = settings.RatingScore, OutOf = settings.RatingOutOf })); 7344 7345 7346 #line default 7347 #line hidden 7348 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 7349 7350 7351 #line 1999 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7352 } 7353 7354 7355 #line default 7356 #line hidden 7357 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 7358 7359 7360 #line 2001 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7361 7362 7363 #line default 7364 #line hidden 7365 7366 #line 2001 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7367 if (!String.IsNullOrEmpty(settings.Link)) 7368 { 7369 7370 7371 #line default 7372 #line hidden 7373 WriteLiteralTo(__razor_helper_writer, " <div"); 7374 7375 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 7376 7377 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7378 7379 WriteLiteralTo(__razor_helper_writer, " "); 7380 7381 7382 #line 2004 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7383 WriteTo(__razor_helper_writer, RenderButtonExtended(new ButtonExtended { Link = settings.Link, Title = settings.LinkText, ButtonLayout = settings.ButtonLayout })); 7384 7385 7386 #line default 7387 #line hidden 7388 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 7389 7390 7391 #line 2006 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7392 } 7393 7394 7395 #line default 7396 #line hidden 7397 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n " + 7398 " </div>\r\n </section>\r\n"); 7399 7400 7401 #line 2011 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7402 } 7403 else 7404 { 7405 7406 7407 #line default 7408 #line hidden 7409 7410 #line 2014 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7411 WriteTo(__razor_helper_writer, RenderArticleBanner(settings)); 7412 7413 7414 #line default 7415 #line hidden 7416 7417 #line 2014 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7418 ; 7419 } 7420 } 7421 } 7422 else 7423 { 7424 7425 7426 #line default 7427 #line hidden 7428 7429 #line 2020 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7430 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 7431 7432 7433 #line default 7434 #line hidden 7435 7436 #line 2020 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7437 ; 7438 } 7439 } 7440 7441 7442 #line default 7443 #line hidden 7444 }); 7445 7446 #line 2023 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7447 } 7448 #line default 7449 #line hidden 7450 7451 7452 #line 2025 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7453 public RazorEngine.Templating.TemplateWriter RenderArticleBannerHeader(dynamic settings) 7454 { 7455 #line default 7456 #line hidden 7457 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7458 7459 #line 2026 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7460 7461 dynamic[] methodParameters = new dynamic[1]; 7462 methodParameters[0] = settings; 7463 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleBannerHeaderCustom"); 7464 7465 if (customMethod != null) 7466 { 7467 7468 7469 #line default 7470 #line hidden 7471 7472 #line 2033 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7473 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 7474 7475 7476 #line default 7477 #line hidden 7478 7479 #line 2033 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7480 ; 7481 } 7482 else 7483 { 7484 7485 7486 #line default 7487 #line hidden 7488 7489 #line 2037 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7490 WriteTo(__razor_helper_writer, RenderArticleBanner(settings)); 7491 7492 7493 #line default 7494 #line hidden 7495 7496 #line 2037 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7497 ; 7498 } 7499 7500 7501 #line default 7502 #line hidden 7503 }); 7504 7505 #line 2039 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7506 } 7507 #line default 7508 #line hidden 7509 7510 7511 #line 2052 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7512 public RazorEngine.Templating.TemplateWriter RenderArticleBodyRow(ArticleBodyRow settings) 7513 { 7514 #line default 7515 #line hidden 7516 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7517 7518 #line 2053 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7519 7520 dynamic[] methodParameters = new dynamic[1]; 7521 methodParameters[0] = settings; 7522 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleBodyRowCustom"); 7523 7524 if (customMethod != null) 7525 { 7526 7527 7528 #line default 7529 #line hidden 7530 7531 #line 2060 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7532 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 7533 7534 7535 #line default 7536 #line hidden 7537 7538 #line 2060 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7539 ; 7540 } else { 7541 string position = settings.TopLayout == "overlay" ? "article__overlay-offset" : ""; 7542 string contentAlignment = settings.TextLayout == "center" ? "grid--justify-center" : ""; 7543 7544 7545 7546 #line default 7547 #line hidden 7548 WriteLiteralTo(__razor_helper_writer, " <div"); 7549 7550 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 84290), Tuple.Create("\"", 84363) 7551 , Tuple.Create(Tuple.Create("", 84298), Tuple.Create("grid", 84298), true) 7552 , Tuple.Create(Tuple.Create(" ", 84302), Tuple.Create("grid--align-content-start", 84303), true) 7553 7554 #line 2065 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7555 , Tuple.Create(Tuple.Create(" ", 84328), Tuple.Create<System.Object, System.Int32>(contentAlignment 7556 7557 #line default 7558 #line hidden 7559 , 84329), false) 7560 7561 #line 2065 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7562 , Tuple.Create(Tuple.Create(" ", 84346), Tuple.Create<System.Object, System.Int32>(position 7563 7564 #line default 7565 #line hidden 7566 , 84347), false) 7567 , Tuple.Create(Tuple.Create(" ", 84356), Tuple.Create("dw-mod", 84357), true) 7568 ); 7569 7570 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7571 7572 WriteLiteralTo(__razor_helper_writer, " "); 7573 7574 7575 #line 2066 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7576 WriteTo(__razor_helper_writer, RenderBlockList(settings.SubBlocks)); 7577 7578 7579 #line default 7580 #line hidden 7581 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 7582 7583 7584 #line 2068 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7585 } 7586 7587 7588 #line default 7589 #line hidden 7590 }); 7591 7592 #line 2069 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7593 } 7594 #line default 7595 #line hidden 7596 7597 7598 #line 2078 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7599 public RazorEngine.Templating.TemplateWriter RenderArticleImage(ArticleImage settings) 7600 { 7601 #line default 7602 #line hidden 7603 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7604 7605 #line 2079 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7606 7607 dynamic[] methodParameters = new dynamic[1]; 7608 methodParameters[0] = settings; 7609 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleImageCustom"); 7610 7611 if (customMethod != null) 7612 { 7613 7614 7615 #line default 7616 #line hidden 7617 7618 #line 2086 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7619 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 7620 7621 7622 #line default 7623 #line hidden 7624 7625 #line 2086 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7626 ; 7627 } 7628 else 7629 { 7630 if (settings.Image != null) 7631 { 7632 if (settings.Image.Path != null) 7633 { 7634 7635 7636 #line default 7637 #line hidden 7638 WriteLiteralTo(__razor_helper_writer, " <div"); 7639 7640 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-bottom--lg\""); 7641 7642 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7643 7644 WriteLiteralTo(__razor_helper_writer, " "); 7645 7646 7647 #line 2095 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7648 WriteTo(__razor_helper_writer, RenderImage(settings.Image)); 7649 7650 7651 #line default 7652 #line hidden 7653 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 7654 7655 7656 #line 2097 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7657 } 7658 } 7659 } 7660 7661 7662 #line default 7663 #line hidden 7664 }); 7665 7666 #line 2100 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7667 } 7668 #line default 7669 #line hidden 7670 7671 7672 #line 2108 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7673 public RazorEngine.Templating.TemplateWriter RenderArticleSubHeader(ArticleSubHeader settings) 7674 { 7675 #line default 7676 #line hidden 7677 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7678 7679 #line 2109 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7680 7681 dynamic[] methodParameters = new dynamic[1]; 7682 methodParameters[0] = settings; 7683 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleSubHeaderCustom"); 7684 7685 if (customMethod != null) 7686 { 7687 7688 7689 #line default 7690 #line hidden 7691 7692 #line 2116 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7693 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 7694 7695 7696 #line default 7697 #line hidden 7698 7699 #line 2116 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7700 ; 7701 } else { 7702 if (!String.IsNullOrEmpty(settings.Title)) 7703 { 7704 7705 7706 #line default 7707 #line hidden 7708 WriteLiteralTo(__razor_helper_writer, " <h2"); 7709 7710 WriteLiteralTo(__razor_helper_writer, " class=\"article__header\""); 7711 7712 WriteLiteralTo(__razor_helper_writer, ">"); 7713 7714 7715 #line 2120 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7716 WriteTo(__razor_helper_writer, settings.Title); 7717 7718 7719 #line default 7720 #line hidden 7721 WriteLiteralTo(__razor_helper_writer, "</h2>\r\n"); 7722 7723 7724 #line 2121 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7725 } 7726 } 7727 7728 7729 #line default 7730 #line hidden 7731 }); 7732 7733 #line 2123 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7734 } 7735 #line default 7736 #line hidden 7737 7738 7739 #line 2132 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7740 public RazorEngine.Templating.TemplateWriter RenderArticleText(ArticleText settings) 7741 { 7742 #line default 7743 #line hidden 7744 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7745 7746 #line 2133 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7747 7748 dynamic[] methodParameters = new dynamic[1]; 7749 methodParameters[0] = settings; 7750 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleTextCustom"); 7751 7752 if (customMethod != null) 7753 { 7754 7755 7756 #line default 7757 #line hidden 7758 7759 #line 2140 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7760 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 7761 7762 7763 #line default 7764 #line hidden 7765 7766 #line 2140 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7767 ; 7768 } else { 7769 if (!String.IsNullOrEmpty(settings.Text)) 7770 { 7771 string greatTextClass = settings.EnableLargeText == true ? "article__paragraph--great-text" : ""; 7772 7773 7774 7775 #line default 7776 #line hidden 7777 WriteLiteralTo(__razor_helper_writer, " <div"); 7778 7779 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 86802), Tuple.Create("\"", 86844) 7780 , Tuple.Create(Tuple.Create("", 86810), Tuple.Create("article__paragraph", 86810), true) 7781 7782 #line 2146 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7783 , Tuple.Create(Tuple.Create(" ", 86828), Tuple.Create<System.Object, System.Int32>(greatTextClass 7784 7785 #line default 7786 #line hidden 7787 , 86829), false) 7788 ); 7789 7790 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7791 7792 WriteLiteralTo(__razor_helper_writer, " "); 7793 7794 7795 #line 2147 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7796 WriteTo(__razor_helper_writer, settings.Text); 7797 7798 7799 #line default 7800 #line hidden 7801 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 7802 7803 7804 #line 2149 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7805 } 7806 } 7807 7808 7809 #line default 7810 #line hidden 7811 }); 7812 7813 #line 2151 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7814 } 7815 #line default 7816 #line hidden 7817 7818 7819 #line 2160 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7820 public RazorEngine.Templating.TemplateWriter RenderArticleQuote(ArticleQuote settings) 7821 { 7822 #line default 7823 #line hidden 7824 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7825 7826 #line 2161 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7827 7828 dynamic[] methodParameters = new dynamic[1]; 7829 methodParameters[0] = settings; 7830 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleQuoteCustom"); 7831 7832 if (customMethod != null) 7833 { 7834 7835 7836 #line default 7837 #line hidden 7838 7839 #line 2168 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7840 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 7841 7842 7843 #line default 7844 #line hidden 7845 7846 #line 2168 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7847 ; 7848 } else { 7849 string text = Regex.Replace(settings.Text, "<.*?>", String.Empty); 7850 7851 7852 7853 #line default 7854 #line hidden 7855 WriteLiteralTo(__razor_helper_writer, " <div"); 7856 7857 WriteLiteralTo(__razor_helper_writer, " class=\"grid u-padding-bottom--lg\""); 7858 7859 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7860 7861 7862 #line 2173 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7863 7864 7865 #line default 7866 #line hidden 7867 7868 #line 2173 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7869 if (settings.Image != null) 7870 { 7871 if (settings.Image.Path != null) { 7872 7873 7874 #line default 7875 #line hidden 7876 WriteLiteralTo(__razor_helper_writer, " <div"); 7877 7878 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-3 grid__col-12\""); 7879 7880 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7881 7882 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell-img\""); 7883 7884 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7885 7886 7887 #line 2178 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7888 7889 7890 #line default 7891 #line hidden 7892 7893 #line 2178 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7894 7895 settings.Image.Title = !String.IsNullOrEmpty(settings.Image.Title) ? settings.Image.Title : settings.Author; 7896 settings.Image.CssClass += " article__image article__image--square"; 7897 settings.Image.ImageDefault.Width = 200; 7898 settings.Image.ImageDefault.Height = 200; 7899 7900 7901 #line default 7902 #line hidden 7903 WriteLiteralTo(__razor_helper_writer, "\r\n"); 7904 7905 WriteLiteralTo(__razor_helper_writer, " "); 7906 7907 7908 #line 2184 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7909 WriteTo(__razor_helper_writer, RenderImage(settings.Image)); 7910 7911 7912 #line default 7913 #line hidden 7914 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n"); 7915 7916 7917 #line 2187 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7918 } 7919 } 7920 7921 7922 #line default 7923 #line hidden 7924 WriteLiteralTo(__razor_helper_writer, " <div"); 7925 7926 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-auto\""); 7927 7928 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7929 7930 WriteLiteralTo(__razor_helper_writer, " class=\"custombackground\""); 7931 7932 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7933 7934 7935 #line 2191 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7936 7937 7938 #line default 7939 #line hidden 7940 7941 #line 2191 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7942 if (!String.IsNullOrEmpty(settings.Text)) 7943 { 7944 7945 7946 #line default 7947 #line hidden 7948 WriteLiteralTo(__razor_helper_writer, " <div"); 7949 7950 WriteLiteralTo(__razor_helper_writer, " class=\"article__quote dw-mod\""); 7951 7952 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7953 7954 WriteLiteralTo(__razor_helper_writer, " "); 7955 7956 7957 #line 2194 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7958 WriteTo(__razor_helper_writer, settings.Text); 7959 7960 7961 #line default 7962 #line hidden 7963 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 7964 7965 7966 #line 2196 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7967 } 7968 7969 7970 #line default 7971 #line hidden 7972 WriteLiteralTo(__razor_helper_writer, " "); 7973 7974 7975 #line 2197 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7976 if (!String.IsNullOrEmpty(settings.Author)) 7977 { 7978 7979 7980 #line default 7981 #line hidden 7982 WriteLiteralTo(__razor_helper_writer, " <div"); 7983 7984 WriteLiteralTo(__razor_helper_writer, " class=\"article__quote-author dw-mod\""); 7985 7986 WriteLiteralTo(__razor_helper_writer, ">\r\n - "); 7987 7988 7989 #line 2200 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7990 WriteTo(__razor_helper_writer, settings.Author); 7991 7992 7993 #line default 7994 #line hidden 7995 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 7996 7997 7998 #line 2202 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 7999 } 8000 8001 8002 #line default 8003 #line hidden 8004 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n </div>\r\n"); 8005 8006 8007 #line 2206 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8008 } 8009 8010 8011 #line default 8012 #line hidden 8013 }); 8014 8015 #line 2207 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8016 } 8017 #line default 8018 #line hidden 8019 8020 8021 #line 2215 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8022 public RazorEngine.Templating.TemplateWriter RenderArticleInfoTable(ArticleInfoTable settings) 8023 { 8024 #line default 8025 #line hidden 8026 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 8027 8028 #line 2216 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8029 8030 dynamic[] methodParameters = new dynamic[1]; 8031 methodParameters[0] = settings; 8032 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleInfoTableCustom"); 8033 8034 if (customMethod != null) 8035 { 8036 8037 8038 #line default 8039 #line hidden 8040 8041 #line 2223 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8042 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 8043 8044 8045 #line default 8046 #line hidden 8047 8048 #line 2223 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8049 ; 8050 } else { 8051 8052 8053 #line default 8054 #line hidden 8055 WriteLiteralTo(__razor_helper_writer, " <h3>"); 8056 8057 8058 #line 2225 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8059 WriteTo(__razor_helper_writer, Translate("Facts")); 8060 8061 8062 #line default 8063 #line hidden 8064 WriteLiteralTo(__razor_helper_writer, "</h3>\r\n"); 8065 8066 WriteLiteralTo(__razor_helper_writer, " <table"); 8067 8068 WriteLiteralTo(__razor_helper_writer, " class=\"table table--clean\""); 8069 8070 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8071 8072 8073 #line 2227 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8074 8075 8076 #line default 8077 #line hidden 8078 8079 #line 2227 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8080 foreach (var row in settings.Rows) 8081 { 8082 string iconColor = row.IconColor != null ? row.IconColor : "u-brand-color-two"; 8083 8084 8085 8086 #line default 8087 #line hidden 8088 WriteLiteralTo(__razor_helper_writer, " <tr>\r\n"); 8089 8090 8091 #line 2232 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8092 8093 8094 #line default 8095 #line hidden 8096 8097 #line 2232 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8098 if (!String.IsNullOrEmpty(row.Icon)) 8099 { 8100 8101 8102 #line default 8103 #line hidden 8104 WriteLiteralTo(__razor_helper_writer, " <td"); 8105 8106 WriteLiteralTo(__razor_helper_writer, " class=\"u-w32px\""); 8107 8108 WriteLiteralTo(__razor_helper_writer, "><i"); 8109 8110 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 90208), Tuple.Create("\"", 90246) 8111 8112 #line 2234 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8113 , Tuple.Create(Tuple.Create("", 90216), Tuple.Create<System.Object, System.Int32>(row.Icon 8114 8115 #line default 8116 #line hidden 8117 , 90216), false) 8118 , Tuple.Create(Tuple.Create(" ", 90225), Tuple.Create("fa-2x", 90226), true) 8119 8120 #line 2234 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8121 , Tuple.Create(Tuple.Create(" ", 90231), Tuple.Create<System.Object, System.Int32>(row.IconColor 8122 8123 #line default 8124 #line hidden 8125 , 90232), false) 8126 ); 8127 8128 WriteLiteralTo(__razor_helper_writer, "></i></td>\r\n"); 8129 8130 8131 #line 2235 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8132 } 8133 8134 8135 #line default 8136 #line hidden 8137 WriteLiteralTo(__razor_helper_writer, " <td"); 8138 8139 WriteLiteralTo(__razor_helper_writer, " class=\"u-no-margin-on-p-elements\""); 8140 8141 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8142 8143 WriteLiteralTo(__razor_helper_writer, " class=\"u-bold\""); 8144 8145 WriteLiteralTo(__razor_helper_writer, ">"); 8146 8147 8148 #line 2237 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8149 WriteTo(__razor_helper_writer, row.Title); 8150 8151 8152 #line default 8153 #line hidden 8154 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 8155 8156 8157 #line 2238 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8158 8159 8160 #line default 8161 #line hidden 8162 8163 #line 2238 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8164 if (!String.IsNullOrEmpty(row.SubTitle)) 8165 { 8166 if (row.Link == null) 8167 { 8168 8169 8170 #line default 8171 #line hidden 8172 WriteLiteralTo(__razor_helper_writer, " <div>"); 8173 8174 8175 #line 2242 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8176 WriteTo(__razor_helper_writer, row.SubTitle); 8177 8178 8179 #line default 8180 #line hidden 8181 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 8182 8183 8184 #line 2243 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8185 } 8186 else 8187 { 8188 8189 8190 #line default 8191 #line hidden 8192 WriteLiteralTo(__razor_helper_writer, " <a"); 8193 8194 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 90760), Tuple.Create("\"", 90776) 8195 8196 #line 2246 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8197 , Tuple.Create(Tuple.Create("", 90767), Tuple.Create<System.Object, System.Int32>(row.Link 8198 8199 #line default 8200 #line hidden 8201 , 90767), false) 8202 ); 8203 8204 WriteLiteralTo(__razor_helper_writer, " class=\"u-color-inherit\""); 8205 8206 WriteLiteralTo(__razor_helper_writer, ">"); 8207 8208 8209 #line 2246 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8210 WriteTo(__razor_helper_writer, row.SubTitle); 8211 8212 8213 #line default 8214 #line hidden 8215 WriteLiteralTo(__razor_helper_writer, "</a>\r\n"); 8216 8217 8218 #line 2247 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8219 } 8220 } 8221 8222 8223 #line default 8224 #line hidden 8225 WriteLiteralTo(__razor_helper_writer, " </td>\r\n </tr>\r\n"); 8226 8227 8228 #line 2251 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8229 } 8230 8231 8232 #line default 8233 #line hidden 8234 WriteLiteralTo(__razor_helper_writer, " </table>\r\n"); 8235 8236 8237 #line 2253 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8238 } 8239 8240 8241 #line default 8242 #line hidden 8243 }); 8244 8245 #line 2254 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8246 } 8247 #line default 8248 #line hidden 8249 8250 8251 #line 2262 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8252 public RazorEngine.Templating.TemplateWriter RenderArticleGalleryModal(ArticleGalleryModal settings) 8253 { 8254 #line default 8255 #line hidden 8256 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 8257 8258 #line 2263 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8259 8260 dynamic[] methodParameters = new dynamic[1]; 8261 methodParameters[0] = settings; 8262 MethodInfo customMethod = this.GetType().GetMethod(settings.HelperName + "Custom"); 8263 8264 if (customMethod != null) 8265 { 8266 8267 8268 #line default 8269 #line hidden 8270 8271 #line 2270 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8272 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 8273 8274 8275 #line default 8276 #line hidden 8277 8278 #line 2270 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8279 ; 8280 } 8281 else 8282 { 8283 8284 8285 #line default 8286 #line hidden 8287 WriteLiteralTo(__razor_helper_writer, " <input"); 8288 8289 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 8290 8291 WriteLiteralTo(__razor_helper_writer, " id=\"ParagraphGalleryTrigger\""); 8292 8293 WriteLiteralTo(__razor_helper_writer, " class=\"modal-trigger\""); 8294 8295 WriteLiteralTo(__razor_helper_writer, " />\r\n"); 8296 8297 WriteLiteralTo(__razor_helper_writer, " <div"); 8298 8299 WriteLiteralTo(__razor_helper_writer, " class=\"modal-container\""); 8300 8301 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 8302 8303 WriteLiteralTo(__razor_helper_writer, " for=\"ParagraphGalleryTrigger\""); 8304 8305 WriteLiteralTo(__razor_helper_writer, " id=\"ParagraphGalleryOverlay\""); 8306 8307 WriteLiteralTo(__razor_helper_writer, " class=\"modal-overlay\""); 8308 8309 WriteLiteralTo(__razor_helper_writer, "></label>\r\n <div"); 8310 8311 WriteLiteralTo(__razor_helper_writer, " class=\"modal modal--full\""); 8312 8313 WriteLiteralTo(__razor_helper_writer, " id=\"ParagraphGallery\""); 8314 8315 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8316 8317 WriteLiteralTo(__razor_helper_writer, " class=\"modal__body modal__body--full\""); 8318 8319 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 8320 8321 WriteLiteralTo(__razor_helper_writer, " src=\"/Files/Images/placeholder.gif\""); 8322 8323 WriteLiteralTo(__razor_helper_writer, " alt=\"\""); 8324 8325 WriteLiteralTo(__razor_helper_writer, " id=\"ParagraphGalleryModalImage\""); 8326 8327 WriteLiteralTo(__razor_helper_writer, " style=\"margin: 0 auto;\""); 8328 8329 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 8330 8331 WriteLiteralTo(__razor_helper_writer, " class=\"u-padding u-ta-center\""); 8332 8333 WriteLiteralTo(__razor_helper_writer, " id=\"ParagraphGalleryModalCaption\""); 8334 8335 WriteLiteralTo(__razor_helper_writer, "></div>\r\n <label"); 8336 8337 WriteLiteralTo(__razor_helper_writer, " class=\"modal__close-btn dw-mod\""); 8338 8339 WriteLiteralTo(__razor_helper_writer, " for=\"ParagraphGalleryTrigger\""); 8340 8341 WriteLiteralTo(__razor_helper_writer, "></label>\r\n </div>\r\n </div>\r\n </div>\r\n"); 8342 8343 WriteLiteralTo(__razor_helper_writer, @" <script> 8344 function showImageInModal(image) { 8345 let imageNode = document.getElementById('ParagraphGalleryModalImage'); 8346 let captionNode = document.getElementById('ParagraphGalleryModalCaption'); 8347 let trigger = document.getElementById('ParagraphGalleryTrigger'); 8348 imageNode.src = image.src; 8349 if (image.alt != """") { 8350 captionNode.innerText = image.alt; 8351 imageNode.alt = image.alt; 8352 captionNode.style.display = ""block""; 8353 } else { 8354 captionNode.style.display = ""none""; 8355 } 8356 trigger.checked = true; 8357 } 8358 </script> 8359 "); 8360 8361 8362 #line 2301 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8363 } 8364 8365 8366 #line default 8367 #line hidden 8368 }); 8369 8370 #line 2302 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8371 } 8372 #line default 8373 #line hidden 8374 8375 8376 #line 2311 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8377 public RazorEngine.Templating.TemplateWriter RenderArticleRelated(ArticleRelated settings) 8378 { 8379 #line default 8380 #line hidden 8381 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 8382 8383 #line 2312 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8384 8385 string cardClass = Pageview.Device.ToString() != "Tablet" ? "card u-color-light--bg u-full-height" : ""; 8386 string cardFooterClass = Pageview.Device.ToString() != "Tablet" ? "card-footer u-color-light--bg" : ""; 8387 8388 8389 8390 #line default 8391 #line hidden 8392 WriteLiteralTo(__razor_helper_writer, " <section"); 8393 8394 WriteLiteralTo(__razor_helper_writer, " class=\"multiple-paragraphs-container related-articles-container paragraph-contai" + 8395 "ner--full-width\""); 8396 8397 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8398 8399 WriteLiteralTo(__razor_helper_writer, " class=\"center-container dw-mod\""); 8400 8401 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8402 8403 WriteLiteralTo(__razor_helper_writer, " class=\"grid u-padding u-margin-bottom--lg\""); 8404 8405 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8406 8407 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-12 grid__col-xs-12 u-margin-bottom--lg\""); 8408 8409 WriteLiteralTo(__razor_helper_writer, ">\r\n <h2"); 8410 8411 WriteLiteralTo(__razor_helper_writer, " class=\"article__header related-header u-no-margin u-margin-top dw-mod\""); 8412 8413 WriteLiteralTo(__razor_helper_writer, ">"); 8414 8415 8416 #line 2320 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8417 WriteTo(__razor_helper_writer, Translate("Andre relevante nyheder")); 8418 8419 8420 #line default 8421 #line hidden 8422 WriteLiteralTo(__razor_helper_writer, "</h2>\r\n </div>\r\n </div>\r\n\r\n <div"); 8423 8424 WriteLiteralTo(__razor_helper_writer, " class=\"js-handlebars-root u-padding\""); 8425 8426 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 94066), Tuple.Create("\"", 94114) 8427 8428 #line 2324 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8429 , Tuple.Create(Tuple.Create("", 94071), Tuple.Create<System.Object, System.Int32>(settings.Title.Replace(" ", String.Empty) 8430 8431 #line default 8432 #line hidden 8433 , 94071), false) 8434 ); 8435 8436 WriteLiteralTo(__razor_helper_writer, " data-template=\"RelatedSimpleTemplate\""); 8437 8438 WriteLiteralTo(__razor_helper_writer, " data-json-feed=\"/Default.aspx?ID="); 8439 8440 8441 #line 2324 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8442 WriteTo(__razor_helper_writer, settings.FeedPageId); 8443 8444 8445 #line default 8446 #line hidden 8447 WriteLiteralTo(__razor_helper_writer, "&"); 8448 8449 8450 #line 2324 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8451 WriteTo(__razor_helper_writer, settings.Query); 8452 8453 8454 #line default 8455 #line hidden 8456 WriteLiteralTo(__razor_helper_writer, "&ExcludeItemID="); 8457 8458 8459 #line 2324 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8460 WriteTo(__razor_helper_writer, settings.CurrentPageId); 8461 8462 8463 #line default 8464 #line hidden 8465 WriteLiteralTo(__razor_helper_writer, "&PageSize="); 8466 8467 8468 #line 2324 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8469 WriteTo(__razor_helper_writer, settings.PageSize); 8470 8471 8472 #line default 8473 #line hidden 8474 WriteLiteralTo(__razor_helper_writer, "\""); 8475 8476 WriteLiteralTo(__razor_helper_writer, "></div>\r\n\r\n <script"); 8477 8478 WriteLiteralTo(__razor_helper_writer, " id=\"RelatedSimpleTemplate\""); 8479 8480 WriteLiteralTo(__razor_helper_writer, " type=\"text/x-template\""); 8481 8482 WriteLiteralTo(__razor_helper_writer, @"> 8483 {{#.}} 8484 <div class=""grid u-padding-bottom--lg""> 8485 {{#Cases}} 8486 <div class=""grid__col-md-3 grid__col-12 image-hover--zoom dw-mod""> 8487 <a href=""{{link}}"" class=""u-full-height related-articles-container""> 8488 {{#if image}} 8489 <div class=""u-color-light--bg u-no-padding dw-mod""> 8490 <div class=""flex-img image-hover__wrapper""> 8491 <img class=""b-lazy"" src=""/Files/Images/placeholder.gif"" data-src=""/Admin/Public/GetImage.ashx?width=680&height=314&amp;crop=1&amp;DoNotUpscale=True&amp;Compression=75&amp;image={{image}}"" alt=""{{title}}"" /> 8492 </div> 8493 </div> 8494 {{/if}} 8495 8496 <div class=""card related-articles-container article-content-container dw-mod""> 8497 <p class=""article__post-info dw-mod"">{{date}}</p> 8498 <h3 class=""article-list__item-header u-color-dark dw-mod"">{{title}}</h3> 8499 "); 8500 8501 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </a>\r\n " + 8502 " </div>\r\n {{/Cases}}\r\n </div>\r\n " + 8503 " {{/.}}\r\n </script>\r\n </div>\r\n </section>\r\n"); 8504 8505 8506 #line 2353 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8507 8508 8509 #line default 8510 #line hidden 8511 }); 8512 8513 #line 2353 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8514 } 8515 #line default 8516 #line hidden 8517 8518 8519 #line 2362 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8520 public RazorEngine.Templating.TemplateWriter RenderArticleMenu(ArticleMenu settings) 8521 { 8522 #line default 8523 #line hidden 8524 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 8525 8526 #line 2363 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8527 8528 dynamic[] methodParameters = new dynamic[1]; 8529 methodParameters[0] = settings; 8530 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleMenuCustom"); 8531 8532 if (customMethod != null) 8533 { 8534 8535 8536 #line default 8537 #line hidden 8538 8539 #line 2370 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8540 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 8541 8542 8543 #line default 8544 #line hidden 8545 8546 #line 2370 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8547 ; 8548 } else { 8549 if (!String.IsNullOrEmpty(settings.Title)) { 8550 8551 8552 #line default 8553 #line hidden 8554 WriteLiteralTo(__razor_helper_writer, " <div"); 8555 8556 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin u-border-bottom\""); 8557 8558 WriteLiteralTo(__razor_helper_writer, ">\r\n <h3"); 8559 8560 WriteLiteralTo(__razor_helper_writer, " class=\"u-no-margin\""); 8561 8562 WriteLiteralTo(__razor_helper_writer, ">"); 8563 8564 8565 #line 2374 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8566 WriteTo(__razor_helper_writer, settings.Title); 8567 8568 8569 #line default 8570 #line hidden 8571 WriteLiteralTo(__razor_helper_writer, "</h3>\r\n </div>\r\n"); 8572 8573 8574 #line 2376 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8575 } 8576 8577 8578 8579 #line default 8580 #line hidden 8581 WriteLiteralTo(__razor_helper_writer, " <ul"); 8582 8583 WriteLiteralTo(__razor_helper_writer, " class=\"menu-left u-margin-bottom dw-mod\""); 8584 8585 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8586 8587 8588 #line 2379 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8589 8590 8591 #line default 8592 #line hidden 8593 8594 #line 2379 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8595 foreach (var item in settings.Items) 8596 { 8597 8598 8599 #line default 8600 #line hidden 8601 8602 #line 2381 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8603 WriteTo(__razor_helper_writer, RenderArticleMenuItem(item)); 8604 8605 8606 #line default 8607 #line hidden 8608 8609 #line 2381 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8610 8611 } 8612 8613 8614 #line default 8615 #line hidden 8616 WriteLiteralTo(__razor_helper_writer, " </ul>\r\n"); 8617 8618 8619 #line 2384 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8620 } 8621 8622 8623 #line default 8624 #line hidden 8625 }); 8626 8627 #line 2385 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8628 } 8629 #line default 8630 #line hidden 8631 8632 8633 #line 2387 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8634 public RazorEngine.Templating.TemplateWriter RenderArticleMenuItem(ArticleMenuItem settings) 8635 { 8636 #line default 8637 #line hidden 8638 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 8639 8640 #line 2388 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8641 8642 dynamic[] methodParameters = new dynamic[1]; 8643 methodParameters[0] = settings; 8644 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleMenuItemCustom"); 8645 8646 if (customMethod != null) 8647 { 8648 8649 8650 #line default 8651 #line hidden 8652 8653 #line 2395 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8654 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 8655 8656 8657 #line default 8658 #line hidden 8659 8660 #line 2395 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8661 ; 8662 } else { 8663 string link = !String.IsNullOrEmpty(settings.Link) ? settings.Link : "#"; 8664 8665 if (!String.IsNullOrEmpty(settings.Title)) { 8666 8667 8668 #line default 8669 #line hidden 8670 WriteLiteralTo(__razor_helper_writer, " <li"); 8671 8672 WriteLiteralTo(__razor_helper_writer, " class=\"menu-left__item dw-mod\""); 8673 8674 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 8675 8676 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 97446), Tuple.Create("\"", 97458) 8677 8678 #line 2401 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8679 , Tuple.Create(Tuple.Create("", 97453), Tuple.Create<System.Object, System.Int32>(link 8680 8681 #line default 8682 #line hidden 8683 , 97453), false) 8684 ); 8685 8686 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 97459), Tuple.Create("\"", 97486) 8687 8688 #line 2401 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8689 , Tuple.Create(Tuple.Create("", 97469), Tuple.Create<System.Object, System.Int32>(settings.OnClick 8690 8691 #line default 8692 #line hidden 8693 , 97469), false) 8694 ); 8695 8696 WriteLiteralTo(__razor_helper_writer, " class=\"menu-left__link dw-mod\""); 8697 8698 WriteLiteralTo(__razor_helper_writer, ">"); 8699 8700 8701 #line 2401 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8702 WriteTo(__razor_helper_writer, settings.Title); 8703 8704 8705 #line default 8706 #line hidden 8707 WriteLiteralTo(__razor_helper_writer, "</a>\r\n </li>\r\n"); 8708 8709 8710 #line 2403 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8711 } 8712 } 8713 8714 8715 #line default 8716 #line hidden 8717 }); 8718 8719 #line 2405 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8720 } 8721 #line default 8722 #line hidden 8723 8724 8725 #line 2413 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8726 public RazorEngine.Templating.TemplateWriter RenderArticleList(ArticleList settings) 8727 { 8728 #line default 8729 #line hidden 8730 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 8731 8732 #line 2414 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8733 8734 dynamic[] methodParameters = new dynamic[1]; 8735 methodParameters[0] = settings; 8736 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleListCustom"); 8737 8738 if (customMethod != null) 8739 { 8740 8741 8742 #line default 8743 #line hidden 8744 8745 #line 2421 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8746 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 8747 8748 8749 #line default 8750 #line hidden 8751 8752 #line 2421 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8753 ; 8754 } else { 8755 if (Pageview != null) 8756 { 8757 bool isParagraph = Pageview.CurrentParagraph != null ? true : false; 8758 string[] sortArticlesListBy = new string[2]; 8759 8760 if (isParagraph) { 8761 sortArticlesListBy = Pageview.CurrentParagraph.Item["SortArticlesListBy"] != null && !string.IsNullOrEmpty(Pageview.CurrentParagraph.Item["SortArticlesListBy"].ToString()) ? Pageview.CurrentParagraph.Item["SortArticlesListBy"].ToString().Split('+') : new string[] { "Date", "ASC" }; 8762 } 8763 else { 8764 sortArticlesListBy = Pageview.Item["SortArticlesListBy"] != null && !string.IsNullOrEmpty(Pageview.Item["SortArticlesListBy"].ToString()) ? Pageview.Item["SortArticlesListBy"].ToString().Split('+') : new string[] { "Date", "ASC" }; 8765 } 8766 8767 string sourcePage = settings.SourcePage != null ? settings.SourcePage : Pageview.ID.ToString(); 8768 8769 8770 8771 #line default 8772 #line hidden 8773 8774 #line 2437 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8775 WriteTo(__razor_helper_writer, RenderItemList(new 8776 { 8777 ItemType = !String.IsNullOrEmpty(settings.ItemType) ? settings.ItemType : "DynamicArticle", 8778 ListSourceType = settings.SourceType, 8779 ListSourcePage = sourcePage, 8780 ItemFieldsList = "*", 8781 Filter = settings.Filter, 8782 ListOrderBy = sortArticlesListBy[0], 8783 ListOrderByDirection = sortArticlesListBy[1], 8784 ListSecondOrderBy = sortArticlesListBy[0] == "Date" ? "InFocusSortId" : "Date", 8785 ListSecondOrderByDirection = "ASC", 8786 IncludeAllChildItems = true, 8787 ListTemplate = settings.Template, 8788 ListPageSize = settings.PageSize.ToString() 8789 })); 8790 8791 8792 #line default 8793 #line hidden 8794 8795 #line 2451 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8796 ; 8797 } 8798 } 8799 8800 8801 #line default 8802 #line hidden 8803 }); 8804 8805 #line 2454 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8806 } 8807 #line default 8808 #line hidden 8809 8810 8811 #line 2461 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8812 public RazorEngine.Templating.TemplateWriter RenderArticleSummary(ArticleSummary settings) 8813 { 8814 #line default 8815 #line hidden 8816 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 8817 8818 #line 2462 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8819 8820 dynamic[] methodParameters = new dynamic[1]; 8821 methodParameters[0] = settings; 8822 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleSummaryCustom"); 8823 8824 if (customMethod != null) 8825 { 8826 8827 8828 #line default 8829 #line hidden 8830 8831 #line 2469 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8832 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 8833 8834 8835 #line default 8836 #line hidden 8837 8838 #line 2469 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8839 ; 8840 } else { 8841 if (!String.IsNullOrEmpty(settings.Text)) 8842 { 8843 8844 8845 #line default 8846 #line hidden 8847 WriteLiteralTo(__razor_helper_writer, " <div"); 8848 8849 WriteLiteralTo(__razor_helper_writer, " class=\"article__summary dw-mod\""); 8850 8851 WriteLiteralTo(__razor_helper_writer, ">"); 8852 8853 8854 #line 2473 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8855 WriteTo(__razor_helper_writer, settings.Text); 8856 8857 8858 #line default 8859 #line hidden 8860 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 8861 8862 8863 #line 2474 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8864 } 8865 } 8866 8867 8868 #line default 8869 #line hidden 8870 }); 8871 8872 #line 2476 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8873 } 8874 #line default 8875 #line hidden 8876 8877 8878 #line 2484 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8879 public RazorEngine.Templating.TemplateWriter RenderArticleListCategoryFilter(ArticleListCategoryFilter settings) 8880 { 8881 #line default 8882 #line hidden 8883 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 8884 8885 #line 2485 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8886 8887 dynamic[] methodParameters = new dynamic[1]; 8888 methodParameters[0] = settings; 8889 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleListCategoryFilterCustom"); 8890 8891 if (customMethod != null) 8892 { 8893 8894 8895 #line default 8896 #line hidden 8897 8898 #line 2492 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8899 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 8900 8901 8902 #line default 8903 #line hidden 8904 8905 #line 2492 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8906 ; 8907 } else { 8908 string pageId = Pageview.ID.ToString(); 8909 string selectedFilter = !String.IsNullOrEmpty(HttpContext.Current.Request.QueryString.Get("sourcePage")) ? HttpContext.Current.Request.QueryString.Get("sourcePage") : Translate("All"); 8910 var query = HttpUtility.ParseQueryString(HttpContext.Current.Request.QueryString.ToString()); 8911 8912 foreach (var option in settings.Categories) 8913 { 8914 selectedFilter = selectedFilter == option.Value ? option.Key : selectedFilter; 8915 } 8916 8917 if (selectedFilter == pageId) 8918 { 8919 selectedFilter = Translate("All"); 8920 } 8921 8922 if (Pageview.Device.ToString() != "Mobile" && Pageview.Device.ToString() != "Tablet") 8923 { 8924 8925 8926 #line default 8927 #line hidden 8928 WriteLiteralTo(__razor_helper_writer, " <div"); 8929 8930 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right u-margin-left\""); 8931 8932 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8933 8934 WriteLiteralTo(__razor_helper_writer, " class=\"collection u-no-margin\""); 8935 8936 WriteLiteralTo(__razor_helper_writer, ">\r\n <h5>"); 8937 8938 8939 #line 2512 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8940 WriteTo(__razor_helper_writer, Translate("Category")); 8941 8942 8943 #line default 8944 #line hidden 8945 WriteLiteralTo(__razor_helper_writer, "</h5>\r\n <input"); 8946 8947 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 8948 8949 WriteLiteralTo(__razor_helper_writer, " id=\"CategorySelector\""); 8950 8951 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger\""); 8952 8953 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 8954 8955 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown u-w180px dw-mod\""); 8956 8957 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 8958 8959 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__header dropdown__btn dw-mod\""); 8960 8961 WriteLiteralTo(__razor_helper_writer, " for=\"CategorySelector\""); 8962 8963 WriteLiteralTo(__razor_helper_writer, ">"); 8964 8965 8966 #line 2515 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8967 WriteTo(__razor_helper_writer, Translate(selectedFilter)); 8968 8969 8970 #line default 8971 #line hidden 8972 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <div"); 8973 8974 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__content dw-mod\""); 8975 8976 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8977 8978 8979 #line 2517 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8980 8981 8982 #line default 8983 #line hidden 8984 8985 #line 2517 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 8986 foreach (var option in settings.Categories) 8987 { 8988 8989 8990 #line default 8991 #line hidden 8992 WriteLiteralTo(__razor_helper_writer, " <div"); 8993 8994 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 8995 8996 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 102598), Tuple.Create("\"", 102740) 8997 , Tuple.Create(Tuple.Create("", 102608), Tuple.Create("QueryArray.setParametersInCurrentURL({", 102608), true) 8998 , Tuple.Create(Tuple.Create(" ", 102646), Tuple.Create("sourceType:", 102647), true) 8999 , Tuple.Create(Tuple.Create(" ", 102658), Tuple.Create("\'Page\',", 102659), true) 9000 , Tuple.Create(Tuple.Create(" ", 102666), Tuple.Create("sourcePage:", 102667), true) 9001 , Tuple.Create(Tuple.Create(" ", 102678), Tuple.Create("\'", 102679), true) 9002 9003 #line 2519 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9004 , Tuple.Create(Tuple.Create("", 102680), Tuple.Create<System.Object, System.Int32>(option.Key.ToLower() == "all" ? pageId : option.Value 9005 9006 #line default 9007 #line hidden 9008 , 102680), false) 9009 , Tuple.Create(Tuple.Create("", 102736), Tuple.Create("\'", 102736), true) 9010 , Tuple.Create(Tuple.Create(" ", 102737), Tuple.Create("})", 102738), true) 9011 ); 9012 9013 WriteLiteralTo(__razor_helper_writer, ">"); 9014 9015 9016 #line 2519 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9017 WriteTo(__razor_helper_writer, Translate(option.Key)); 9018 9019 9020 #line default 9021 #line hidden 9022 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 9023 9024 9025 #line 2520 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9026 } 9027 9028 9029 #line default 9030 #line hidden 9031 WriteLiteralTo(__razor_helper_writer, " </div>\r\n <label"); 9032 9033 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger-off\""); 9034 9035 WriteLiteralTo(__razor_helper_writer, " for=\"CategorySelector\""); 9036 9037 WriteLiteralTo(__razor_helper_writer, "></label>\r\n </div>\r\n </div>\r\n </div>" + 9038 "\r\n"); 9039 9040 9041 #line 2526 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9042 } 9043 else 9044 { 9045 9046 9047 #line default 9048 #line hidden 9049 WriteLiteralTo(__razor_helper_writer, " <div"); 9050 9051 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width u-margin-bottom\""); 9052 9053 WriteLiteralTo(__razor_helper_writer, ">\r\n <h5"); 9054 9055 WriteLiteralTo(__razor_helper_writer, " class=\"u-no-margin\""); 9056 9057 WriteLiteralTo(__razor_helper_writer, ">"); 9058 9059 9060 #line 2530 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9061 WriteTo(__razor_helper_writer, Translate("Category")); 9062 9063 9064 #line default 9065 #line hidden 9066 WriteLiteralTo(__razor_helper_writer, "</h5>\r\n <input"); 9067 9068 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 9069 9070 WriteLiteralTo(__razor_helper_writer, " id=\"CategorySelector\""); 9071 9072 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger\""); 9073 9074 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 9075 9076 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown u-full-width dw-mod\""); 9077 9078 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 9079 9080 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__header dropdown__btn dw-mod\""); 9081 9082 WriteLiteralTo(__razor_helper_writer, " for=\"CategorySelector\""); 9083 9084 WriteLiteralTo(__razor_helper_writer, ">"); 9085 9086 9087 #line 2533 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9088 WriteTo(__razor_helper_writer, Translate(selectedFilter)); 9089 9090 9091 #line default 9092 #line hidden 9093 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <div"); 9094 9095 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__content dw-mod\""); 9096 9097 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9098 9099 9100 #line 2535 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9101 9102 9103 #line default 9104 #line hidden 9105 9106 #line 2535 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9107 foreach (var option in settings.Categories) 9108 { 9109 9110 9111 #line default 9112 #line hidden 9113 WriteLiteralTo(__razor_helper_writer, " <div"); 9114 9115 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 9116 9117 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 103651), Tuple.Create("\"", 103793) 9118 , Tuple.Create(Tuple.Create("", 103661), Tuple.Create("QueryArray.setParametersInCurrentURL({", 103661), true) 9119 , Tuple.Create(Tuple.Create(" ", 103699), Tuple.Create("sourceType:", 103700), true) 9120 , Tuple.Create(Tuple.Create(" ", 103711), Tuple.Create("\'Page\',", 103712), true) 9121 , Tuple.Create(Tuple.Create(" ", 103719), Tuple.Create("sourcePage:", 103720), true) 9122 , Tuple.Create(Tuple.Create(" ", 103731), Tuple.Create("\'", 103732), true) 9123 9124 #line 2537 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9125 , Tuple.Create(Tuple.Create("", 103733), Tuple.Create<System.Object, System.Int32>(option.Key.ToLower() == "all" ? pageId : option.Value 9126 9127 #line default 9128 #line hidden 9129 , 103733), false) 9130 , Tuple.Create(Tuple.Create("", 103789), Tuple.Create("\'", 103789), true) 9131 , Tuple.Create(Tuple.Create(" ", 103790), Tuple.Create("})", 103791), true) 9132 ); 9133 9134 WriteLiteralTo(__razor_helper_writer, ">"); 9135 9136 9137 #line 2537 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9138 WriteTo(__razor_helper_writer, Translate(option.Key)); 9139 9140 9141 #line default 9142 #line hidden 9143 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 9144 9145 9146 #line 2538 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9147 } 9148 9149 9150 #line default 9151 #line hidden 9152 WriteLiteralTo(__razor_helper_writer, " </div>\r\n <label"); 9153 9154 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger-off\""); 9155 9156 WriteLiteralTo(__razor_helper_writer, " for=\"CategorySelector\""); 9157 9158 WriteLiteralTo(__razor_helper_writer, "></label>\r\n </div>\r\n </div>\r\n"); 9159 9160 9161 #line 2543 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9162 } 9163 } 9164 9165 9166 #line default 9167 #line hidden 9168 }); 9169 9170 #line 2545 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9171 } 9172 #line default 9173 #line hidden 9174 9175 9176 #line 2555 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9177 public RazorEngine.Templating.TemplateWriter RenderArticleListFilter(ArticleListFilter settings) 9178 { 9179 #line default 9180 #line hidden 9181 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9182 9183 #line 2556 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9184 9185 string selectedFilter = !String.IsNullOrEmpty(HttpContext.Current.Request.QueryString.Get(settings.SystemName)) ? HttpContext.Current.Request.QueryString.Get(settings.SystemName) : Translate("All"); 9186 var query = HttpUtility.ParseQueryString(HttpContext.Current.Request.QueryString.ToString()); 9187 9188 if (settings.Options != null) 9189 { 9190 foreach (var option in settings.Options) 9191 { 9192 selectedFilter = selectedFilter == option.Value ? option.Name : selectedFilter; 9193 } 9194 9195 9196 9197 #line default 9198 #line hidden 9199 9200 #line 2567 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9201 9202 9203 if (Pageview.Device.ToString() != "Mobile" && Pageview.Device.ToString() != "Tablet") 9204 { 9205 9206 9207 #line default 9208 #line hidden 9209 WriteLiteralTo(__razor_helper_writer, " <div"); 9210 9211 WriteLiteralTo(__razor_helper_writer, " class=\"grid\""); 9212 9213 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9214 9215 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-12 paragraph-container customlist\""); 9216 9217 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <section"); 9218 9219 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-12\""); 9220 9221 WriteLiteralTo(__razor_helper_writer, " id=\"custom-facets-overall-container\""); 9222 9223 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <input"); 9224 9225 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 9226 9227 WriteLiteralTo(__razor_helper_writer, " id=\"CheckFacetGroups\""); 9228 9229 WriteLiteralTo(__razor_helper_writer, " class=\"js-remember-state u-hidden\""); 9230 9231 WriteLiteralTo(__razor_helper_writer, " data-expand=\"CheckFacetGroups\""); 9232 9233 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 9234 9235 WriteLiteralTo(__razor_helper_writer, " class=\"grid grid--external-bleed-x facets-container facets-container--top expand" + 9236 "able--collapsed grid--justify-center dw-mod\""); 9237 9238 WriteLiteralTo(__razor_helper_writer, " id=\"mobile-custom-facets-container\""); 9239 9240 WriteLiteralTo(__razor_helper_writer, " data-trigger=\"CheckFacetGroups\""); 9241 9242 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9243 9244 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-12\""); 9245 9246 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <input"); 9247 9248 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 9249 9250 WriteLiteralTo(__razor_helper_writer, " id=\"OptionsGroup_{{name}}\""); 9251 9252 WriteLiteralTo(__razor_helper_writer, " class=\"expand-trigger js-remember-state mobile-facet-input\""); 9253 9254 WriteLiteralTo(__razor_helper_writer, " {{defaultState}} />\r\n\r\n <div"); 9255 9256 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-12 expand-container facets-container__box custom-expand-contain" + 9257 "er dw-mod js-filter\""); 9258 9259 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 9260 9261 WriteLiteralTo(__razor_helper_writer, " class=\"grid--justify-center expand-container__btn facets-container__header custo" + 9262 "m-btn-expand-container dw-mod\""); 9263 9264 WriteLiteralTo(__razor_helper_writer, " id=\"custom-btn-expand-container\""); 9265 9266 WriteLiteralTo(__razor_helper_writer, " for=\"OptionsGroup_{{name}}\""); 9267 9268 WriteLiteralTo(__razor_helper_writer, ">"); 9269 9270 9271 #line 2583 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9272 WriteTo(__razor_helper_writer, Translate("Filters")); 9273 9274 9275 #line default 9276 #line hidden 9277 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <div"); 9278 9279 WriteLiteralTo(__razor_helper_writer, " class=\"expand-container__content custom-expand-content-container dw-mod\""); 9280 9281 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9282 9283 WriteLiteralTo(__razor_helper_writer, " class=\"facets-container__list dw-mod\""); 9284 9285 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9286 9287 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-12 grid--direction-row u-no-padding grid--wrap\""); 9288 9289 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9290 9291 9292 #line 2587 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9293 9294 9295 #line default 9296 #line hidden 9297 9298 #line 2587 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9299 foreach (var option in settings.Options) 9300 { 9301 9302 var currentUrl = HttpContext.Current.Request.QueryString.ToString(); 9303 9304 9305 9306 #line default 9307 #line hidden 9308 WriteLiteralTo(__razor_helper_writer, " <div"); 9309 9310 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-lg-3 grid__col-sm-3 grid__col-xs-12 u-no-padding-y\""); 9311 9312 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9313 9314 9315 #line 2593 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9316 9317 9318 #line default 9319 #line hidden 9320 9321 #line 2593 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9322 if (currentUrl.Contains(settings.SystemName + "=" + option.Value)) 9323 { 9324 9325 9326 #line default 9327 #line hidden 9328 WriteLiteralTo(__razor_helper_writer, " <input"); 9329 9330 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 9331 9332 WriteLiteralTo(__razor_helper_writer, " class=\"checked checkbox-facet__checkbox form__control dw-mod\""); 9333 9334 WriteLiteralTo(__razor_helper_writer, " checked"); 9335 9336 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 106828), Tuple.Create("\"", 106870) 9337 9338 #line 2595 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9339 , Tuple.Create(Tuple.Create("", 106833), Tuple.Create<System.Object, System.Int32>(settings.SystemName + option.Value 9340 9341 #line default 9342 #line hidden 9343 , 106833), false) 9344 ); 9345 9346 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 106871), Tuple.Create("\"", 106944) 9347 , Tuple.Create(Tuple.Create("", 106881), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 106881), true) 9348 9349 #line 2595 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9350 , Tuple.Create(Tuple.Create("", 106918), Tuple.Create<System.Object, System.Int32>(settings.SystemName 9351 9352 #line default 9353 #line hidden 9354 , 106918), false) 9355 , Tuple.Create(Tuple.Create("", 106938), Tuple.Create("\',", 106938), true) 9356 , Tuple.Create(Tuple.Create(" ", 106940), Tuple.Create("\'\')", 106941), true) 9357 ); 9358 9359 WriteAttributeTo(__razor_helper_writer, "name", Tuple.Create(" name=\"", 106945), Tuple.Create("\"", 106989) 9360 9361 #line 2595 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9362 , Tuple.Create(Tuple.Create("", 106952), Tuple.Create<System.Object, System.Int32>(settings.SystemName + option.Value 9363 9364 #line default 9365 #line hidden 9366 , 106952), false) 9367 ); 9368 9369 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9370 9371 9372 #line 2596 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9373 9374 } 9375 9376 else 9377 { 9378 9379 9380 #line default 9381 #line hidden 9382 WriteLiteralTo(__razor_helper_writer, " <input"); 9383 9384 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 9385 9386 WriteLiteralTo(__razor_helper_writer, " class=\"checkbox-facet__checkbox form__control dw-mod\""); 9387 9388 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 107203), Tuple.Create("\"", 107245) 9389 9390 #line 2601 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9391 , Tuple.Create(Tuple.Create("", 107208), Tuple.Create<System.Object, System.Int32>(settings.SystemName + option.Value 9392 9393 #line default 9394 #line hidden 9395 , 107208), false) 9396 ); 9397 9398 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 107246), Tuple.Create("\"", 107332) 9399 , Tuple.Create(Tuple.Create("", 107256), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 107256), true) 9400 9401 #line 2601 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9402 , Tuple.Create(Tuple.Create("", 107293), Tuple.Create<System.Object, System.Int32>(settings.SystemName 9403 9404 #line default 9405 #line hidden 9406 , 107293), false) 9407 , Tuple.Create(Tuple.Create("", 107313), Tuple.Create("\',", 107313), true) 9408 , Tuple.Create(Tuple.Create(" ", 107315), Tuple.Create("\'", 107316), true) 9409 9410 #line 2601 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9411 , Tuple.Create(Tuple.Create("", 107317), Tuple.Create<System.Object, System.Int32>(option.Value 9412 9413 #line default 9414 #line hidden 9415 , 107317), false) 9416 , Tuple.Create(Tuple.Create("", 107330), Tuple.Create("\')", 107330), true) 9417 ); 9418 9419 WriteAttributeTo(__razor_helper_writer, "name", Tuple.Create(" name=\"", 107333), Tuple.Create("\"", 107377) 9420 9421 #line 2601 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9422 , Tuple.Create(Tuple.Create("", 107340), Tuple.Create<System.Object, System.Int32>(settings.SystemName + option.Value 9423 9424 #line default 9425 #line hidden 9426 , 107340), false) 9427 ); 9428 9429 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9430 9431 9432 #line 2602 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9433 9434 } 9435 9436 9437 #line default 9438 #line hidden 9439 WriteLiteralTo(__razor_helper_writer, " <label"); 9440 9441 WriteLiteralTo(__razor_helper_writer, " class=\"u-border-bottom u-padding u-no-padding-x checkbox-facet custom-checkbox-f" + 9442 "acet dw-mod\""); 9443 9444 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 107543), Tuple.Create("\"", 107586) 9445 9446 #line 2604 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9447 , Tuple.Create(Tuple.Create("", 107549), Tuple.Create<System.Object, System.Int32>(settings.SystemName + option.Value 9448 9449 #line default 9450 #line hidden 9451 , 107549), false) 9452 ); 9453 9454 WriteLiteralTo(__razor_helper_writer, "><span"); 9455 9456 WriteLiteralTo(__razor_helper_writer, " class=\"checkbox-facet__label custom-checkbox-facet-label dw-mod\""); 9457 9458 WriteLiteralTo(__razor_helper_writer, ">"); 9459 9460 9461 #line 2604 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9462 WriteTo(__razor_helper_writer, Translate(option.Name)); 9463 9464 9465 #line default 9466 #line hidden 9467 WriteLiteralTo(__razor_helper_writer, "</span></label>\r\n </div>\r\n"); 9468 9469 9470 #line 2606 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9471 9472 } 9473 9474 9475 #line default 9476 #line hidden 9477 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n </div" + 9478 ">\r\n </div>\r\n </div>\r\n </div>\r\n " + 9479 " <label"); 9480 9481 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 107932), Tuple.Create("\"", 107968) 9482 9483 #line 2614 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9484 , Tuple.Create(Tuple.Create("", 107938), Tuple.Create<System.Object, System.Int32>(settings.SystemName 9485 9486 #line default 9487 #line hidden 9488 , 107938), false) 9489 , Tuple.Create(Tuple.Create("", 107960), Tuple.Create("Selector", 107960), true) 9490 ); 9491 9492 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn--primary btn--full dw-mod js-expand-hide facets-container-trigger" + 9493 "\""); 9494 9495 WriteLiteralTo(__razor_helper_writer, " data-trigger=\"CheckFacetGroups\""); 9496 9497 WriteLiteralTo(__razor_helper_writer, ">"); 9498 9499 9500 #line 2614 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9501 WriteTo(__razor_helper_writer, Translate("Select filters")); 9502 9503 9504 #line default 9505 #line hidden 9506 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <label"); 9507 9508 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 108140), Tuple.Create("\"", 108176) 9509 9510 #line 2615 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9511 , Tuple.Create(Tuple.Create("", 108146), Tuple.Create<System.Object, System.Int32>(settings.SystemName 9512 9513 #line default 9514 #line hidden 9515 , 108146), false) 9516 , Tuple.Create(Tuple.Create("", 108168), Tuple.Create("Selector", 108168), true) 9517 ); 9518 9519 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn--primary btn--full dw-mod expandable--collapsed facets-container-" + 9520 "trigger\""); 9521 9522 WriteLiteralTo(__razor_helper_writer, " data-trigger=\"CheckFacetGroups\""); 9523 9524 WriteLiteralTo(__razor_helper_writer, ">"); 9525 9526 9527 #line 2615 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9528 WriteTo(__razor_helper_writer, Translate("Close filters")); 9529 9530 9531 #line default 9532 #line hidden 9533 WriteLiteralTo(__razor_helper_writer, "</label>\r\n </section>\r\n </div>\r\n </div>\r\n"); 9534 9535 9536 #line 2619 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9537 9538 } 9539 9540 9541 9542 #line default 9543 #line hidden 9544 9545 #line 2622 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9546 9547 9548 else 9549 { 9550 9551 9552 #line default 9553 #line hidden 9554 WriteLiteralTo(__razor_helper_writer, " <div"); 9555 9556 WriteLiteralTo(__razor_helper_writer, " class=\"grid\""); 9557 9558 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9559 9560 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-12 customlist u-no-padding\""); 9561 9562 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <section"); 9563 9564 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-12 u-no-padding\""); 9565 9566 WriteLiteralTo(__razor_helper_writer, " id=\"custom-facets-overall-container\""); 9567 9568 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n "); 9569 9570 WriteLiteralTo(__razor_helper_writer, "\r\n <input"); 9571 9572 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 9573 9574 WriteLiteralTo(__razor_helper_writer, " id=\"CheckFilters\""); 9575 9576 WriteLiteralTo(__razor_helper_writer, " class=\"js-remember-state u-hidden\""); 9577 9578 WriteLiteralTo(__razor_helper_writer, " data-expand=\"CheckFilters\""); 9579 9580 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 9581 9582 WriteLiteralTo(__razor_helper_writer, " class=\"grid grid--external-bleed-x facets-container facets-container--top expand" + 9583 "able--collapsed grid--justify-center dw-mod\""); 9584 9585 WriteLiteralTo(__razor_helper_writer, " id=\"mobile-custom-facets-container\""); 9586 9587 WriteLiteralTo(__razor_helper_writer, " data-trigger=\"CheckFilters\""); 9588 9589 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9590 9591 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-12\""); 9592 9593 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <input"); 9594 9595 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 9596 9597 WriteLiteralTo(__razor_helper_writer, " id=\"OptionsGroup_{{name}}\""); 9598 9599 WriteLiteralTo(__razor_helper_writer, " class=\"expand-trigger js-remember-state mobile-facet-input\""); 9600 9601 WriteLiteralTo(__razor_helper_writer, " />\r\n\r\n <div"); 9602 9603 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-12 expand-container facets-container__box custom-expand-contain" + 9604 "er dw-mod js-filter\""); 9605 9606 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 9607 9608 WriteLiteralTo(__razor_helper_writer, " class=\"grid--justify-center expand-container__btn facets-container__header custo" + 9609 "m-btn-expand-container dw-mod\""); 9610 9611 WriteLiteralTo(__razor_helper_writer, " id=\"custom-btn-expand-container\""); 9612 9613 WriteLiteralTo(__razor_helper_writer, " for=\"OptionsGroup_{{name}}\""); 9614 9615 WriteLiteralTo(__razor_helper_writer, ">"); 9616 9617 9618 #line 2639 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9619 WriteTo(__razor_helper_writer, Translate("Filters")); 9620 9621 9622 #line default 9623 #line hidden 9624 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <div"); 9625 9626 WriteLiteralTo(__razor_helper_writer, " class=\"expand-container__content custom-expand-content-container dw-mod\""); 9627 9628 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9629 9630 WriteLiteralTo(__razor_helper_writer, " class=\"facets-container__list dw-mod\""); 9631 9632 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9633 9634 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-12 grid--direction-row u-no-padding grid--wrap\""); 9635 9636 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9637 9638 9639 #line 2643 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9640 9641 9642 #line default 9643 #line hidden 9644 9645 #line 2643 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9646 foreach (var option in settings.Options) 9647 { 9648 9649 var currentUrl = HttpContext.Current.Request.QueryString.ToString(); 9650 9651 9652 9653 #line default 9654 #line hidden 9655 WriteLiteralTo(__razor_helper_writer, " <div"); 9656 9657 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-lg-3 grid__col-sm-4 grid__col-xs-12 u-no-padding-y\""); 9658 9659 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9660 9661 9662 #line 2649 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9663 9664 9665 #line default 9666 #line hidden 9667 9668 #line 2649 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9669 if (currentUrl.Contains(settings.SystemName + "=" + option.Value)) 9670 { 9671 9672 9673 #line default 9674 #line hidden 9675 WriteLiteralTo(__razor_helper_writer, " <input"); 9676 9677 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 9678 9679 WriteLiteralTo(__razor_helper_writer, " class=\"checked checkbox-facet__checkbox form__control dw-mod\""); 9680 9681 WriteLiteralTo(__razor_helper_writer, " checked"); 9682 9683 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 110455), Tuple.Create("\"", 110497) 9684 9685 #line 2651 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9686 , Tuple.Create(Tuple.Create("", 110460), Tuple.Create<System.Object, System.Int32>(settings.SystemName + option.Value 9687 9688 #line default 9689 #line hidden 9690 , 110460), false) 9691 ); 9692 9693 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 110498), Tuple.Create("\"", 110571) 9694 , Tuple.Create(Tuple.Create("", 110508), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 110508), true) 9695 9696 #line 2651 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9697 , Tuple.Create(Tuple.Create("", 110545), Tuple.Create<System.Object, System.Int32>(settings.SystemName 9698 9699 #line default 9700 #line hidden 9701 , 110545), false) 9702 , Tuple.Create(Tuple.Create("", 110565), Tuple.Create("\',", 110565), true) 9703 , Tuple.Create(Tuple.Create(" ", 110567), Tuple.Create("\'\')", 110568), true) 9704 ); 9705 9706 WriteAttributeTo(__razor_helper_writer, "name", Tuple.Create(" name=\"", 110572), Tuple.Create("\"", 110616) 9707 9708 #line 2651 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9709 , Tuple.Create(Tuple.Create("", 110579), Tuple.Create<System.Object, System.Int32>(settings.SystemName + option.Value 9710 9711 #line default 9712 #line hidden 9713 , 110579), false) 9714 ); 9715 9716 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9717 9718 9719 #line 2652 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9720 9721 } 9722 9723 else 9724 { 9725 9726 9727 #line default 9728 #line hidden 9729 WriteLiteralTo(__razor_helper_writer, " <input"); 9730 9731 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 9732 9733 WriteLiteralTo(__razor_helper_writer, " class=\"checkbox-facet__checkbox form__control dw-mod\""); 9734 9735 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 110830), Tuple.Create("\"", 110872) 9736 9737 #line 2657 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9738 , Tuple.Create(Tuple.Create("", 110835), Tuple.Create<System.Object, System.Int32>(settings.SystemName + option.Value 9739 9740 #line default 9741 #line hidden 9742 , 110835), false) 9743 ); 9744 9745 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 110873), Tuple.Create("\"", 110959) 9746 , Tuple.Create(Tuple.Create("", 110883), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 110883), true) 9747 9748 #line 2657 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9749 , Tuple.Create(Tuple.Create("", 110920), Tuple.Create<System.Object, System.Int32>(settings.SystemName 9750 9751 #line default 9752 #line hidden 9753 , 110920), false) 9754 , Tuple.Create(Tuple.Create("", 110940), Tuple.Create("\',", 110940), true) 9755 , Tuple.Create(Tuple.Create(" ", 110942), Tuple.Create("\'", 110943), true) 9756 9757 #line 2657 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9758 , Tuple.Create(Tuple.Create("", 110944), Tuple.Create<System.Object, System.Int32>(option.Value 9759 9760 #line default 9761 #line hidden 9762 , 110944), false) 9763 , Tuple.Create(Tuple.Create("", 110957), Tuple.Create("\')", 110957), true) 9764 ); 9765 9766 WriteAttributeTo(__razor_helper_writer, "name", Tuple.Create(" name=\"", 110960), Tuple.Create("\"", 111004) 9767 9768 #line 2657 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9769 , Tuple.Create(Tuple.Create("", 110967), Tuple.Create<System.Object, System.Int32>(settings.SystemName + option.Value 9770 9771 #line default 9772 #line hidden 9773 , 110967), false) 9774 ); 9775 9776 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9777 9778 9779 #line 2658 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9780 9781 } 9782 9783 9784 #line default 9785 #line hidden 9786 WriteLiteralTo(__razor_helper_writer, " <label"); 9787 9788 WriteLiteralTo(__razor_helper_writer, " class=\"u-border-bottom u-padding u-no-padding-x checkbox-facet custom-checkbox-f" + 9789 "acet dw-mod\""); 9790 9791 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 111171), Tuple.Create("\"", 111214) 9792 9793 #line 2660 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9794 , Tuple.Create(Tuple.Create("", 111177), Tuple.Create<System.Object, System.Int32>(settings.SystemName + option.Value 9795 9796 #line default 9797 #line hidden 9798 , 111177), false) 9799 ); 9800 9801 WriteLiteralTo(__razor_helper_writer, "><span"); 9802 9803 WriteLiteralTo(__razor_helper_writer, " class=\"checkbox-facet__label custom-checkbox-facet-label dw-mod\""); 9804 9805 WriteLiteralTo(__razor_helper_writer, ">"); 9806 9807 9808 #line 2660 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9809 WriteTo(__razor_helper_writer, Translate(option.Name)); 9810 9811 9812 #line default 9813 #line hidden 9814 WriteLiteralTo(__razor_helper_writer, "</span></label>\r\n </div>\r\n"); 9815 9816 9817 #line 2662 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9818 9819 } 9820 9821 9822 #line default 9823 #line hidden 9824 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n </div" + 9825 ">\r\n </div>\r\n </div>\r\n </div>\r\n\r\n " + 9826 " </section>\r\n </div>\r\n </div>\r\n"); 9827 9828 9829 #line 2674 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9830 9831 } 9832 } 9833 9834 9835 #line default 9836 #line hidden 9837 }); 9838 9839 #line 2677 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9840 } 9841 #line default 9842 #line hidden 9843 9844 9845 #line 2685 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9846 public RazorEngine.Templating.TemplateWriter RenderArticleListSearch(ArticleListSearch settings) 9847 { 9848 #line default 9849 #line hidden 9850 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9851 9852 #line 2686 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9853 9854 dynamic[] methodParameters = new dynamic[1]; 9855 methodParameters[0] = settings; 9856 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleListSearchCustom"); 9857 9858 if (customMethod != null) 9859 { 9860 9861 9862 #line default 9863 #line hidden 9864 9865 #line 2693 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9866 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 9867 9868 9869 #line default 9870 #line hidden 9871 9872 #line 2693 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9873 ; 9874 } else { 9875 string searchString = !string.IsNullOrEmpty(HttpContext.Current.Request.QueryString.Get("Title")) ? HttpContext.Current.Request.QueryString.Get("Title").Trim('*') : ""; 9876 string className = "u-w340px u-pull--right u-margin-left"; 9877 9878 if (Pageview.Device.ToString() == "Mobile" || Pageview.Device.ToString() == "Tablet") 9879 { 9880 className = "u-full-width"; 9881 } 9882 9883 9884 9885 #line default 9886 #line hidden 9887 WriteLiteralTo(__razor_helper_writer, " <div"); 9888 9889 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 112641), Tuple.Create("\"", 112708) 9890 , Tuple.Create(Tuple.Create("", 112649), Tuple.Create("typeahead", 112649), true) 9891 , Tuple.Create(Tuple.Create(" ", 112658), Tuple.Create("u-color-inherit", 112659), true) 9892 , Tuple.Create(Tuple.Create(" ", 112674), Tuple.Create("u-margin-bottom", 112675), true) 9893 , Tuple.Create(Tuple.Create(" ", 112690), Tuple.Create("dw-mod", 112691), true) 9894 9895 #line 2703 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9896 , Tuple.Create(Tuple.Create(" ", 112697), Tuple.Create<System.Object, System.Int32>(className 9897 9898 #line default 9899 #line hidden 9900 , 112698), false) 9901 ); 9902 9903 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 9904 9905 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 9906 9907 WriteLiteralTo(__razor_helper_writer, " class=\"typeahead-search-field u-no-margin dw-mod\""); 9908 9909 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 112792), Tuple.Create("\"", 112834) 9910 9911 #line 2704 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9912 , Tuple.Create(Tuple.Create("", 112806), Tuple.Create<System.Object, System.Int32>(Translate("Search in list") 9913 9914 #line default 9915 #line hidden 9916 , 112806), false) 9917 ); 9918 9919 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 112835), Tuple.Create("\"", 112856) 9920 9921 #line 2704 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9922 , Tuple.Create(Tuple.Create("", 112843), Tuple.Create<System.Object, System.Int32>(searchString 9923 9924 #line default 9925 #line hidden 9926 , 112843), false) 9927 ); 9928 9929 WriteLiteralTo(__razor_helper_writer, " id=\"ArticleListSearchInput\""); 9930 9931 WriteLiteralTo(__razor_helper_writer, " onchange=\"QueryArray.setParameterInCurrentURL(\'Title\', \'*\' + document.getElement" + 9932 "ById(\'ArticleListSearchInput\').value + \'*\')\""); 9933 9934 WriteLiteralTo(__razor_helper_writer, ">\r\n <button"); 9935 9936 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 9937 9938 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn--condensed btn--primary u-no-margin dw-mod\""); 9939 9940 WriteLiteralTo(__razor_helper_writer, "><i"); 9941 9942 WriteLiteralTo(__razor_helper_writer, " class=\"fas fa-search\""); 9943 9944 WriteLiteralTo(__razor_helper_writer, "></i></button>\r\n </div>\r\n"); 9945 9946 9947 #line 2707 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9948 } 9949 9950 9951 #line default 9952 #line hidden 9953 }); 9954 9955 #line 2708 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9956 } 9957 #line default 9958 #line hidden 9959 9960 9961 #line 2716 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9962 public RazorEngine.Templating.TemplateWriter RenderArticleListNoResultsInfo(ArticleListNoResultsInfo settings) 9963 { 9964 #line default 9965 #line hidden 9966 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9967 9968 #line 2717 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9969 9970 dynamic[] methodParameters = new dynamic[1]; 9971 methodParameters[0] = settings; 9972 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleListNoResultsInfoCustom"); 9973 9974 if (customMethod != null) 9975 { 9976 9977 9978 #line default 9979 #line hidden 9980 9981 #line 2724 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9982 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 9983 9984 9985 #line default 9986 #line hidden 9987 9988 #line 2724 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 9989 ; 9990 } else { 9991 9992 9993 #line default 9994 #line hidden 9995 WriteLiteralTo(__razor_helper_writer, " <div"); 9996 9997 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-top--lg u-bold u-ta-center u-bold\""); 9998 9999 WriteLiteralTo(__razor_helper_writer, ">"); 10000 10001 10002 #line 2726 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10003 WriteTo(__razor_helper_writer, Translate(settings.Message)); 10004 10005 10006 #line default 10007 #line hidden 10008 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 10009 10010 10011 #line 2727 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10012 } 10013 10014 10015 #line default 10016 #line hidden 10017 }); 10018 10019 #line 2728 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10020 } 10021 #line default 10022 #line hidden 10023 10024 10025 #line 2740 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10026 public RazorEngine.Templating.TemplateWriter RenderArticleListItem(ArticleListItemExtended settings) 10027 { 10028 #line default 10029 #line hidden 10030 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10031 10032 #line 2741 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10033 10034 switch (settings.Type) { 10035 case ArticleListItemType.Card: 10036 10037 10038 #line default 10039 #line hidden 10040 10041 #line 2744 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10042 WriteTo(__razor_helper_writer, RenderArticleListItemCard(settings)); 10043 10044 10045 #line default 10046 #line hidden 10047 10048 #line 2744 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10049 ; 10050 break; 10051 case ArticleListItemType.List: 10052 10053 10054 #line default 10055 #line hidden 10056 10057 #line 2747 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10058 WriteTo(__razor_helper_writer, RenderArticleListItemList(settings)); 10059 10060 10061 #line default 10062 #line hidden 10063 10064 #line 2747 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10065 ; 10066 break; 10067 case ArticleListItemType.Simple: 10068 10069 10070 #line default 10071 #line hidden 10072 10073 #line 2750 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10074 WriteTo(__razor_helper_writer, RenderArticleListItemSimple(settings)); 10075 10076 10077 #line default 10078 #line hidden 10079 10080 #line 2750 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10081 ; 10082 break; 10083 default: 10084 10085 10086 #line default 10087 #line hidden 10088 10089 #line 2753 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10090 WriteTo(__razor_helper_writer, RenderArticleListItemCard(settings)); 10091 10092 10093 #line default 10094 #line hidden 10095 10096 #line 2753 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10097 ; 10098 break; 10099 } 10100 10101 10102 #line default 10103 #line hidden 10104 }); 10105 10106 #line 2756 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10107 } 10108 #line default 10109 #line hidden 10110 10111 10112 #line 2758 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10113 public RazorEngine.Templating.TemplateWriter RenderArticleListItemExtended(ArticleListItemExtended settings) 10114 { 10115 #line default 10116 #line hidden 10117 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10118 10119 #line 2759 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10120 10121 switch (settings.Type) { 10122 case ArticleListItemType.Card: 10123 10124 10125 #line default 10126 #line hidden 10127 10128 #line 2762 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10129 WriteTo(__razor_helper_writer, RenderArticleListItemCard(settings)); 10130 10131 10132 #line default 10133 #line hidden 10134 10135 #line 2762 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10136 ; 10137 break; 10138 case ArticleListItemType.List: 10139 10140 10141 #line default 10142 #line hidden 10143 10144 #line 2765 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10145 WriteTo(__razor_helper_writer, RenderArticleListItemList(settings)); 10146 10147 10148 #line default 10149 #line hidden 10150 10151 #line 2765 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10152 ; 10153 break; 10154 case ArticleListItemType.Simple: 10155 10156 10157 #line default 10158 #line hidden 10159 10160 #line 2768 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10161 WriteTo(__razor_helper_writer, RenderArticleListItemSimple(settings)); 10162 10163 10164 #line default 10165 #line hidden 10166 10167 #line 2768 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10168 ; 10169 break; 10170 default: 10171 10172 10173 #line default 10174 #line hidden 10175 10176 #line 2771 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10177 WriteTo(__razor_helper_writer, RenderArticleListItemCard(settings)); 10178 10179 10180 #line default 10181 #line hidden 10182 10183 #line 2771 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10184 ; 10185 break; 10186 } 10187 10188 10189 #line default 10190 #line hidden 10191 }); 10192 10193 #line 2774 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10194 } 10195 #line default 10196 #line hidden 10197 10198 10199 #line 2776 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10200 public RazorEngine.Templating.TemplateWriter RenderArticleListItemCard(ArticleListItemExtended settings) { 10201 #line default 10202 #line hidden 10203 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10204 10205 #line 2776 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10206 10207 10208 10209 #line default 10210 #line hidden 10211 WriteLiteralTo(__razor_helper_writer, "<a"); 10212 10213 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 115304), Tuple.Create("\"", 115325) 10214 10215 #line 2777 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10216 , Tuple.Create(Tuple.Create("", 115311), Tuple.Create<System.Object, System.Int32>(settings.Link 10217 10218 #line default 10219 #line hidden 10220 , 115311), false) 10221 ); 10222 10223 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-height u-color-light--bg\""); 10224 10225 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10226 10227 WriteLiteralTo(__razor_helper_writer, " class=\"u-color-light--bg u-no-padding dw-mod\""); 10228 10229 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10230 10231 10232 #line 2779 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10233 10234 10235 #line default 10236 #line hidden 10237 10238 #line 2779 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10239 if (settings.Logo != null) 10240 { 10241 string backgroundImage = settings.Image != null ? "background-image:url(/Admin/Public/GetImage.ashx?width=992&amp;height=760&amp;crop=0&amp;Compression=75&amp;DoNotUpscale=True&amp;image=" + settings.Image.Path + "); background-size: cover;" : ""; 10242 settings.Logo.ImageDefault.Crop = 5; 10243 settings.Logo.ImageDefault.Width = settings.Logo.ImageDefault.Width == 1920 ? 240 : settings.Logo.ImageDefault.Width; 10244 settings.Logo.ImageDefault.Height = settings.Logo.ImageDefault.Height == 1080 ? 200 : settings.Logo.ImageDefault.Height; 10245 10246 10247 #line default 10248 #line hidden 10249 WriteLiteralTo(__razor_helper_writer, " <div"); 10250 10251 WriteLiteralTo(__razor_helper_writer, " class=\"image-hover__wrapper layered-image layered-image--tinted dw-mod\""); 10252 10253 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 116100), Tuple.Create("\"", 116124) 10254 10255 #line 2785 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10256 , Tuple.Create(Tuple.Create("", 116108), Tuple.Create<System.Object, System.Int32>(backgroundImage 10257 10258 #line default 10259 #line hidden 10260 , 116108), false) 10261 ); 10262 10263 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10264 10265 10266 #line 2786 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10267 10268 10269 #line default 10270 #line hidden 10271 10272 #line 2786 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10273 if (settings.Stickers != null) 10274 { 10275 if (settings.Stickers.Position != StickersListPosition.Custom) 10276 { 10277 10278 10279 #line default 10280 #line hidden 10281 10282 #line 2790 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10283 WriteTo(__razor_helper_writer, RenderStickersCollection(settings.Stickers)); 10284 10285 10286 #line default 10287 #line hidden 10288 10289 #line 2790 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10290 ; 10291 } 10292 } 10293 10294 10295 #line default 10296 #line hidden 10297 WriteLiteralTo(__razor_helper_writer, " "); 10298 10299 10300 #line 2793 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10301 WriteTo(__razor_helper_writer, RenderImage(settings.Logo)); 10302 10303 10304 #line default 10305 #line hidden 10306 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 10307 10308 10309 #line 2795 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10310 } 10311 else if (settings.Image != null) 10312 { 10313 10314 10315 #line default 10316 #line hidden 10317 WriteLiteralTo(__razor_helper_writer, " <div"); 10318 10319 WriteLiteralTo(__razor_helper_writer, " class=\"flex-img image-hover__wrapper u-position-relative dw-mod\""); 10320 10321 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10322 10323 10324 #line 2799 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10325 10326 10327 #line default 10328 #line hidden 10329 10330 #line 2799 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10331 if (settings.Stickers != null) 10332 { 10333 if (settings.Stickers.Position != StickersListPosition.Custom) 10334 { 10335 10336 10337 #line default 10338 #line hidden 10339 10340 #line 2803 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10341 WriteTo(__razor_helper_writer, RenderStickersCollection(settings.Stickers)); 10342 10343 10344 #line default 10345 #line hidden 10346 10347 #line 2803 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10348 ; 10349 } 10350 } 10351 10352 10353 #line default 10354 #line hidden 10355 WriteLiteralTo(__razor_helper_writer, " "); 10356 10357 10358 #line 2806 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10359 WriteTo(__razor_helper_writer, RenderImage(settings.Image)); 10360 10361 10362 #line default 10363 #line hidden 10364 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 10365 10366 10367 #line 2808 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10368 } 10369 10370 10371 #line default 10372 #line hidden 10373 WriteLiteralTo(__razor_helper_writer, " </div>\r\n\r\n"); 10374 10375 10376 #line 2811 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10377 10378 10379 #line default 10380 #line hidden 10381 10382 #line 2811 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10383 if (!String.IsNullOrEmpty(settings.Title) || !String.IsNullOrEmpty(settings.Summary)) 10384 { 10385 10386 10387 10388 #line default 10389 #line hidden 10390 WriteLiteralTo(__razor_helper_writer, " <div"); 10391 10392 WriteLiteralTo(__razor_helper_writer, " class=\"paragraph-card u-color-light--bg dw-mod\""); 10393 10394 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n\r\n"); 10395 10396 10397 #line 2817 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10398 10399 10400 #line default 10401 #line hidden 10402 10403 #line 2817 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10404 if (settings.Stickers != null) 10405 { 10406 if (settings.Stickers.Position == StickersListPosition.Custom) 10407 { 10408 10409 10410 #line default 10411 #line hidden 10412 10413 #line 2821 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10414 WriteTo(__razor_helper_writer, RenderStickersCollection(settings.Stickers)); 10415 10416 10417 #line default 10418 #line hidden 10419 10420 #line 2821 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10421 10422 ; 10423 } 10424 } 10425 10426 10427 #line default 10428 #line hidden 10429 WriteLiteralTo(__razor_helper_writer, " "); 10430 10431 10432 #line 2825 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10433 if (!String.IsNullOrEmpty(settings.Title)) 10434 { 10435 10436 10437 #line default 10438 #line hidden 10439 WriteLiteralTo(__razor_helper_writer, " <h3"); 10440 10441 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-header u-truncate-text dw-mod\""); 10442 10443 WriteLiteralTo(__razor_helper_writer, ">"); 10444 10445 10446 #line 2827 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10447 WriteTo(__razor_helper_writer, settings.Title); 10448 10449 10450 #line default 10451 #line hidden 10452 WriteLiteralTo(__razor_helper_writer, "</h3>\r\n"); 10453 10454 10455 #line 2828 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10456 } 10457 10458 10459 #line default 10460 #line hidden 10461 WriteLiteralTo(__razor_helper_writer, " "); 10462 10463 10464 #line 2829 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10465 if (!String.IsNullOrEmpty(settings.Date)) 10466 { 10467 10468 10469 #line default 10470 #line hidden 10471 WriteLiteralTo(__razor_helper_writer, " <div"); 10472 10473 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info dw-mod\""); 10474 10475 WriteLiteralTo(__razor_helper_writer, ">"); 10476 10477 10478 #line 2831 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10479 WriteTo(__razor_helper_writer, DateTime.Parse(settings.Date).ToString("dd-MM-yyyy")); 10480 10481 10482 #line default 10483 #line hidden 10484 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 10485 10486 10487 #line 2832 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10488 } 10489 10490 10491 #line default 10492 #line hidden 10493 WriteLiteralTo(__razor_helper_writer, " "); 10494 10495 10496 #line 2833 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10497 if (!String.IsNullOrEmpty(settings.SubTitle)) 10498 { 10499 10500 10501 #line default 10502 #line hidden 10503 WriteLiteralTo(__razor_helper_writer, " <div"); 10504 10505 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-micro-info u-truncate-text dw-mod\""); 10506 10507 WriteLiteralTo(__razor_helper_writer, ">"); 10508 10509 10510 #line 2835 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10511 WriteTo(__razor_helper_writer, settings.SubTitle); 10512 10513 10514 #line default 10515 #line hidden 10516 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 10517 10518 10519 #line 2836 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10520 } 10521 10522 10523 #line default 10524 #line hidden 10525 WriteLiteralTo(__razor_helper_writer, " "); 10526 10527 10528 #line 2837 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10529 if (!String.IsNullOrEmpty(settings.Summary)) 10530 { 10531 10532 10533 #line default 10534 #line hidden 10535 WriteLiteralTo(__razor_helper_writer, " <p"); 10536 10537 WriteLiteralTo(__razor_helper_writer, " class=\"article__short-summary dw-mod\""); 10538 10539 WriteLiteralTo(__razor_helper_writer, ">"); 10540 10541 10542 #line 2839 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10543 WriteTo(__razor_helper_writer, settings.Summary); 10544 10545 10546 #line default 10547 #line hidden 10548 WriteLiteralTo(__razor_helper_writer, "</p>\r\n"); 10549 10550 10551 #line 2840 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10552 } 10553 10554 10555 #line default 10556 #line hidden 10557 WriteLiteralTo(__razor_helper_writer, " <a"); 10558 10559 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 117907), Tuple.Create("\"", 117928) 10560 10561 #line 2841 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10562 , Tuple.Create(Tuple.Create("", 117914), Tuple.Create<System.Object, System.Int32>(settings.Link 10563 10564 #line default 10565 #line hidden 10566 , 117914), false) 10567 ); 10568 10569 WriteLiteralTo(__razor_helper_writer, " class=\"search-result__name search\""); 10570 10571 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10572 10573 WriteLiteralTo(__razor_helper_writer, " "); 10574 10575 10576 #line 2842 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10577 WriteTo(__razor_helper_writer, Translate("Read more")); 10578 10579 10580 #line default 10581 #line hidden 10582 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n </div>\r\n"); 10583 10584 10585 #line 2845 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10586 } 10587 10588 10589 #line default 10590 #line hidden 10591 WriteLiteralTo(__razor_helper_writer, "</a>\r\n"); 10592 10593 10594 #line 2847 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10595 10596 10597 #line default 10598 #line hidden 10599 }); 10600 10601 #line 2847 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10602 } 10603 #line default 10604 #line hidden 10605 10606 10607 #line 2849 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10608 public RazorEngine.Templating.TemplateWriter RenderArticleListItemList(ArticleListItemExtended settings) { 10609 #line default 10610 #line hidden 10611 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10612 10613 #line 2849 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10614 10615 10616 10617 #line default 10618 #line hidden 10619 WriteLiteralTo(__razor_helper_writer, " <a"); 10620 10621 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 118120), Tuple.Create("\"", 118141) 10622 10623 #line 2850 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10624 , Tuple.Create(Tuple.Create("", 118127), Tuple.Create<System.Object, System.Int32>(settings.Link 10625 10626 #line default 10627 #line hidden 10628 , 118127), false) 10629 ); 10630 10631 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10632 10633 WriteLiteralTo(__razor_helper_writer, " class=\"grid u-color-light--bg u-no-padding dw-mod\""); 10634 10635 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10636 10637 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-3\""); 10638 10639 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10640 10641 WriteLiteralTo(__razor_helper_writer, " class=\"u-color-light--bg u-no-padding dw-mod\""); 10642 10643 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10644 10645 10646 #line 2854 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10647 10648 10649 #line default 10650 #line hidden 10651 10652 #line 2854 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10653 if (settings.Logo != null) 10654 { 10655 string backgroundImage = settings.Image != null ? "background-image:url(/Admin/Public/GetImage.ashx?width=992&amp;height=760&amp;crop=0&amp;Compression=75&amp;DoNotUpscale=True&amp;image=" + settings.Image.Path + "); background-size: cover;" : ""; 10656 settings.Logo.ImageDefault.Crop = 5; 10657 settings.Logo.ImageDefault.Width = settings.Logo.ImageDefault.Width == 1920 ? 240 : settings.Logo.ImageDefault.Width; 10658 settings.Logo.ImageDefault.Height = settings.Logo.ImageDefault.Height == 1080 ? 200 : settings.Logo.ImageDefault.Height; 10659 10660 10661 #line default 10662 #line hidden 10663 WriteLiteralTo(__razor_helper_writer, " <div"); 10664 10665 WriteLiteralTo(__razor_helper_writer, " class=\"image-hover__wrapper layered-image layered-image--tinted dw-mod\""); 10666 10667 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 119118), Tuple.Create("\"", 119142) 10668 10669 #line 2860 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10670 , Tuple.Create(Tuple.Create("", 119126), Tuple.Create<System.Object, System.Int32>(backgroundImage 10671 10672 #line default 10673 #line hidden 10674 , 119126), false) 10675 ); 10676 10677 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10678 10679 10680 #line 2861 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10681 10682 10683 #line default 10684 #line hidden 10685 10686 #line 2861 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10687 if (settings.Stickers != null) 10688 { 10689 if (settings.Stickers.Position != StickersListPosition.Custom) 10690 { 10691 10692 10693 #line default 10694 #line hidden 10695 10696 #line 2865 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10697 WriteTo(__razor_helper_writer, RenderStickersCollection(settings.Stickers)); 10698 10699 10700 #line default 10701 #line hidden 10702 10703 #line 2865 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10704 ; 10705 } 10706 } 10707 10708 10709 #line default 10710 #line hidden 10711 WriteLiteralTo(__razor_helper_writer, " "); 10712 10713 10714 #line 2868 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10715 WriteTo(__razor_helper_writer, RenderImage(settings.Logo)); 10716 10717 10718 #line default 10719 #line hidden 10720 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 10721 10722 10723 #line 2870 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10724 } else if (settings.Image != null) 10725 { 10726 10727 10728 #line default 10729 #line hidden 10730 WriteLiteralTo(__razor_helper_writer, " <div"); 10731 10732 WriteLiteralTo(__razor_helper_writer, " class=\"flex-img image-hover__wrapper dw-mod\""); 10733 10734 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10735 10736 10737 #line 2873 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10738 10739 10740 #line default 10741 #line hidden 10742 10743 #line 2873 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10744 if (settings.Stickers != null) 10745 { 10746 if (settings.Stickers.Position != StickersListPosition.Custom) 10747 { 10748 10749 10750 #line default 10751 #line hidden 10752 10753 #line 2877 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10754 WriteTo(__razor_helper_writer, RenderStickersCollection(settings.Stickers)); 10755 10756 10757 #line default 10758 #line hidden 10759 10760 #line 2877 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10761 ; 10762 } 10763 } 10764 10765 10766 #line default 10767 #line hidden 10768 WriteLiteralTo(__razor_helper_writer, " "); 10769 10770 10771 #line 2880 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10772 WriteTo(__razor_helper_writer, RenderImage(settings.Image)); 10773 10774 10775 #line default 10776 #line hidden 10777 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 10778 10779 10780 #line 2882 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10781 } 10782 10783 10784 #line default 10785 #line hidden 10786 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n\r\n"); 10787 10788 10789 #line 2886 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10790 10791 10792 #line default 10793 #line hidden 10794 10795 #line 2886 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10796 if (!String.IsNullOrEmpty(settings.Title) || !String.IsNullOrEmpty(settings.Summary)) 10797 { 10798 10799 10800 #line default 10801 #line hidden 10802 WriteLiteralTo(__razor_helper_writer, " <div"); 10803 10804 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-9\""); 10805 10806 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10807 10808 10809 #line 2889 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10810 10811 10812 #line default 10813 #line hidden 10814 10815 #line 2889 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10816 if (!String.IsNullOrEmpty(settings.Title)) 10817 { 10818 10819 10820 #line default 10821 #line hidden 10822 WriteLiteralTo(__razor_helper_writer, " <h3"); 10823 10824 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-header u-truncate-text dw-mod\""); 10825 10826 WriteLiteralTo(__razor_helper_writer, ">"); 10827 10828 10829 #line 2891 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10830 WriteTo(__razor_helper_writer, settings.Title); 10831 10832 10833 #line default 10834 #line hidden 10835 WriteLiteralTo(__razor_helper_writer, "</h3>\r\n"); 10836 10837 10838 #line 2892 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10839 } 10840 10841 10842 #line default 10843 #line hidden 10844 WriteLiteralTo(__razor_helper_writer, " "); 10845 10846 10847 #line 2893 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10848 if (settings.Stickers != null) 10849 { 10850 if (settings.Stickers.Position == StickersListPosition.Custom) 10851 { 10852 10853 10854 #line default 10855 #line hidden 10856 10857 #line 2897 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10858 WriteTo(__razor_helper_writer, RenderStickersCollection(settings.Stickers)); 10859 10860 10861 #line default 10862 #line hidden 10863 10864 #line 2897 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10865 ; 10866 } 10867 } 10868 10869 10870 #line default 10871 #line hidden 10872 WriteLiteralTo(__razor_helper_writer, " "); 10873 10874 10875 #line 2900 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10876 if (!String.IsNullOrEmpty(settings.SubTitle)) 10877 { 10878 10879 10880 #line default 10881 #line hidden 10882 WriteLiteralTo(__razor_helper_writer, " <div"); 10883 10884 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-micro-info u-truncate-text dw-mod\""); 10885 10886 WriteLiteralTo(__razor_helper_writer, ">"); 10887 10888 10889 #line 2902 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10890 WriteTo(__razor_helper_writer, settings.SubTitle); 10891 10892 10893 #line default 10894 #line hidden 10895 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 10896 10897 10898 #line 2903 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10899 } 10900 10901 10902 #line default 10903 #line hidden 10904 WriteLiteralTo(__razor_helper_writer, " "); 10905 10906 10907 #line 2904 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10908 if (!String.IsNullOrEmpty(settings.Summary)) 10909 { 10910 10911 10912 #line default 10913 #line hidden 10914 WriteLiteralTo(__razor_helper_writer, " <p"); 10915 10916 WriteLiteralTo(__razor_helper_writer, " class=\"article__short-summary dw-mod\""); 10917 10918 WriteLiteralTo(__razor_helper_writer, ">"); 10919 10920 10921 #line 2906 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10922 WriteTo(__razor_helper_writer, settings.Summary); 10923 10924 10925 #line default 10926 #line hidden 10927 WriteLiteralTo(__razor_helper_writer, "</p>\r\n"); 10928 10929 10930 #line 2907 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10931 } 10932 10933 10934 #line default 10935 #line hidden 10936 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 10937 10938 10939 #line 2909 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10940 } 10941 10942 10943 #line default 10944 #line hidden 10945 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </a>\r\n"); 10946 10947 10948 #line 2912 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10949 10950 10951 #line default 10952 #line hidden 10953 }); 10954 10955 #line 2912 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10956 } 10957 #line default 10958 #line hidden 10959 10960 10961 #line 2914 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10962 public RazorEngine.Templating.TemplateWriter RenderArticleListItemSimple(ArticleListItemExtended settings) { 10963 #line default 10964 #line hidden 10965 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10966 10967 #line 2914 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10968 10969 10970 10971 #line default 10972 #line hidden 10973 WriteLiteralTo(__razor_helper_writer, " <a"); 10974 10975 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 121676), Tuple.Create("\"", 121697) 10976 10977 #line 2915 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10978 , Tuple.Create(Tuple.Create("", 121683), Tuple.Create<System.Object, System.Int32>(settings.Link 10979 10980 #line default 10981 #line hidden 10982 , 121683), false) 10983 ); 10984 10985 WriteLiteralTo(__razor_helper_writer, " class=\"u-color-inherit\""); 10986 10987 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10988 10989 WriteLiteralTo(__razor_helper_writer, " class=\"grid u-color-light--bg u-no-padding dw-mod\""); 10990 10991 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10992 10993 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-12\""); 10994 10995 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10996 10997 10998 #line 2918 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 10999 11000 11001 #line default 11002 #line hidden 11003 11004 #line 2918 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11005 if (!String.IsNullOrEmpty(settings.Title)) 11006 { 11007 11008 11009 #line default 11010 #line hidden 11011 WriteLiteralTo(__razor_helper_writer, " <section"); 11012 11013 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-12 grid--justify-center\""); 11014 11015 WriteLiteralTo(__razor_helper_writer, ">\r\n "); 11016 11017 WriteLiteralTo(__razor_helper_writer, "\r\n </section> \r\n"); 11018 11019 11020 #line 2925 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11021 11022 } 11023 11024 11025 #line default 11026 #line hidden 11027 WriteLiteralTo(__razor_helper_writer, " "); 11028 11029 11030 #line 2927 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11031 if (!String.IsNullOrEmpty(settings.SubTitle)) 11032 { 11033 11034 11035 #line default 11036 #line hidden 11037 WriteLiteralTo(__razor_helper_writer, " <div"); 11038 11039 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-micro-info u-truncate-text dw-mod\""); 11040 11041 WriteLiteralTo(__razor_helper_writer, ">"); 11042 11043 11044 #line 2929 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11045 WriteTo(__razor_helper_writer, settings.SubTitle); 11046 11047 11048 #line default 11049 #line hidden 11050 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11051 11052 11053 #line 2930 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11054 } 11055 11056 11057 #line default 11058 #line hidden 11059 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n </a>\r\n"); 11060 11061 11062 #line 2934 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11063 11064 11065 #line default 11066 #line hidden 11067 }); 11068 11069 #line 2934 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11070 } 11071 #line default 11072 #line hidden 11073 11074 11075 #line 2941 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11076 public RazorEngine.Templating.TemplateWriter RenderArticleAuthorAndDate(ArticleAuthorAndDate settings) 11077 { 11078 #line default 11079 #line hidden 11080 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11081 11082 #line 2942 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11083 11084 dynamic[] methodParameters = new dynamic[1]; 11085 methodParameters[0] = settings; 11086 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleAuthorAndDateCustom"); 11087 11088 if (customMethod != null) 11089 { 11090 11091 11092 #line default 11093 #line hidden 11094 11095 #line 2949 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11096 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 11097 11098 11099 #line default 11100 #line hidden 11101 11102 #line 2949 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11103 ; 11104 } else { 11105 11106 11107 #line default 11108 #line hidden 11109 WriteLiteralTo(__razor_helper_writer, " <small"); 11110 11111 WriteLiteralTo(__razor_helper_writer, " class=\"article__subscription\""); 11112 11113 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11114 11115 11116 #line 2952 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11117 11118 11119 #line default 11120 #line hidden 11121 11122 #line 2952 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11123 if (!(string.IsNullOrWhiteSpace(settings.Author) && string.IsNullOrWhiteSpace(settings.Date))) 11124 { 11125 11126 11127 #line default 11128 #line hidden 11129 WriteLiteralTo(__razor_helper_writer, " "); 11130 11131 11132 #line 2954 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11133 WriteTo(__razor_helper_writer, Translate("Written")); 11134 11135 11136 #line default 11137 #line hidden 11138 WriteLiteralTo(__razor_helper_writer, "\r\n"); 11139 11140 11141 #line 2955 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11142 } 11143 11144 11145 #line default 11146 #line hidden 11147 WriteLiteralTo(__razor_helper_writer, " "); 11148 11149 11150 #line 2956 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11151 if (!string.IsNullOrWhiteSpace(settings.Author)) 11152 { 11153 11154 11155 #line default 11156 #line hidden 11157 WriteLiteralTo(__razor_helper_writer, " "); 11158 11159 11160 #line 2958 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11161 WriteTo(__razor_helper_writer, Translate("by")); 11162 11163 11164 #line default 11165 #line hidden 11166 WriteLiteralTo(__razor_helper_writer, " "); 11167 11168 11169 #line 2958 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11170 WriteTo(__razor_helper_writer, settings.Author); 11171 11172 11173 #line default 11174 #line hidden 11175 WriteLiteralTo(__razor_helper_writer, "\r\n"); 11176 11177 11178 #line 2959 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11179 } 11180 11181 11182 #line default 11183 #line hidden 11184 WriteLiteralTo(__razor_helper_writer, " "); 11185 11186 11187 #line 2960 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11188 if (!string.IsNullOrWhiteSpace(settings.Date)) 11189 { 11190 11191 11192 #line default 11193 #line hidden 11194 WriteLiteralTo(__razor_helper_writer, " "); 11195 11196 11197 #line 2962 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11198 WriteTo(__razor_helper_writer, Translate("on")); 11199 11200 11201 #line default 11202 #line hidden 11203 WriteLiteralTo(__razor_helper_writer, " "); 11204 11205 11206 #line 2962 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11207 WriteTo(__razor_helper_writer, settings.Date); 11208 11209 11210 #line default 11211 #line hidden 11212 WriteLiteralTo(__razor_helper_writer, "\r\n"); 11213 11214 11215 #line 2963 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11216 } 11217 11218 11219 #line default 11220 #line hidden 11221 WriteLiteralTo(__razor_helper_writer, " </small>\r\n"); 11222 11223 11224 #line 2965 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11225 } 11226 11227 11228 #line default 11229 #line hidden 11230 }); 11231 11232 #line 2966 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11233 } 11234 #line default 11235 #line hidden 11236 11237 11238 #line 2973 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11239 public RazorEngine.Templating.TemplateWriter RenderArticleLink(ArticleLink settings) 11240 { 11241 #line default 11242 #line hidden 11243 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11244 11245 #line 2974 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11246 11247 dynamic[] methodParameters = new dynamic[1]; 11248 methodParameters[0] = settings; 11249 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleLinkCustom"); 11250 11251 if (customMethod != null) 11252 { 11253 11254 11255 #line default 11256 #line hidden 11257 11258 #line 2981 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11259 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 11260 11261 11262 #line default 11263 #line hidden 11264 11265 #line 2981 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11266 ; 11267 } else { 11268 if (!String.IsNullOrEmpty(settings.Title)) 11269 { 11270 11271 11272 #line default 11273 #line hidden 11274 WriteLiteralTo(__razor_helper_writer, " <div"); 11275 11276 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 11277 11278 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11279 11280 WriteLiteralTo(__razor_helper_writer, " "); 11281 11282 11283 #line 2986 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11284 WriteTo(__razor_helper_writer, RenderButton(settings)); 11285 11286 11287 #line default 11288 #line hidden 11289 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 11290 11291 11292 #line 2988 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11293 } 11294 } 11295 11296 11297 #line default 11298 #line hidden 11299 }); 11300 11301 #line 2990 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11302 } 11303 #line default 11304 #line hidden 11305 11306 11307 #line 2999 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11308 public RazorEngine.Templating.TemplateWriter RenderArticleCarousel(ArticleCarousel settings) 11309 { 11310 #line default 11311 #line hidden 11312 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11313 11314 #line 3000 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11315 11316 dynamic[] methodParameters = new dynamic[1]; 11317 methodParameters[0] = settings; 11318 MethodInfo customMethod = this.GetType().GetMethod(settings.HelperName + "Custom"); 11319 11320 if (customMethod != null) 11321 { 11322 11323 11324 #line default 11325 #line hidden 11326 11327 #line 3007 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11328 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 11329 11330 11331 #line default 11332 #line hidden 11333 11334 #line 3007 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11335 ; 11336 } else { 11337 11338 11339 #line default 11340 #line hidden 11341 WriteLiteralTo(__razor_helper_writer, " <div"); 11342 11343 WriteLiteralTo(__razor_helper_writer, " class=\"grid\""); 11344 11345 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11346 11347 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-12\""); 11348 11349 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11350 11351 WriteLiteralTo(__razor_helper_writer, " class=\"carousel\""); 11352 11353 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 124964), Tuple.Create("\"", 124990) 11354 , Tuple.Create(Tuple.Create("", 124969), Tuple.Create("carousel_", 124969), true) 11355 11356 #line 3011 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11357 , Tuple.Create(Tuple.Create("", 124978), Tuple.Create<System.Object, System.Int32>(settings.Id 11358 11359 #line default 11360 #line hidden 11361 , 124978), false) 11362 ); 11363 11364 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11365 11366 WriteLiteralTo(__razor_helper_writer, " class=\"carousel__container js-carousel-slides dw-mod\""); 11367 11368 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11369 11370 WriteLiteralTo(__razor_helper_writer, " "); 11371 11372 11373 #line 3013 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11374 WriteTo(__razor_helper_writer, RenderBlockList(settings.SubBlocks)); 11375 11376 11377 #line default 11378 #line hidden 11379 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n </div>\r\n " + 11380 " </div>\r\n"); 11381 11382 11383 #line 3018 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11384 11385 11386 11387 #line default 11388 #line hidden 11389 WriteLiteralTo(__razor_helper_writer, " <script>\r\n document.addEventListener(\"DOMContentLoaded\", funct" + 11390 "ion () {\r\n new CarouselModule(\"#carousel_"); 11391 11392 11393 #line 3021 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11394 WriteTo(__razor_helper_writer, settings.Id); 11395 11396 11397 #line default 11398 #line hidden 11399 WriteLiteralTo(__razor_helper_writer, "\", {\r\n slideTime: 0,\r\n dots: true\r\n " + 11400 " });\r\n });\r\n </script>\r\n"); 11401 11402 11403 #line 3027 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11404 } 11405 11406 11407 #line default 11408 #line hidden 11409 }); 11410 11411 #line 3028 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11412 } 11413 #line default 11414 #line hidden 11415 11416 11417 #line 3030 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11418 public RazorEngine.Templating.TemplateWriter RenderArticleCarouselSlide(ArticleCarouselSlide settings) 11419 { 11420 #line default 11421 #line hidden 11422 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11423 11424 #line 3031 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11425 11426 dynamic[] methodParameters = new dynamic[1]; 11427 methodParameters[0] = settings; 11428 MethodInfo customMethod = this.GetType().GetMethod(settings.HelperName + "Custom"); 11429 11430 if (customMethod != null) 11431 { 11432 11433 11434 #line default 11435 #line hidden 11436 11437 #line 3038 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11438 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 11439 11440 11441 #line default 11442 #line hidden 11443 11444 #line 3038 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11445 ; 11446 } 11447 else 11448 { 11449 string imageEngine = "/Admin/Public/GetImage.ashx?"; 11450 11451 string defaultImage = settings.ImageSettings != null ? imageEngine : settings.Image; 11452 if (settings.ImageSettings != null) 11453 { 11454 defaultImage += settings.ImageSettings.Width != 0 ? "Width=" + settings.ImageSettings.Width + "&" : ""; 11455 defaultImage += settings.ImageSettings.Height != 0 ? "Height=" + settings.ImageSettings.Height + "&" : ""; 11456 defaultImage += "Crop=" + settings.ImageSettings.Crop + "&"; 11457 defaultImage += "Compression=" + settings.ImageSettings.Compression + "&"; 11458 defaultImage += "DoNotUpscale=" + settings.ImageSettings.DoNotUpscale.ToString() + "&"; 11459 defaultImage += "FillCanvas=" + settings.ImageSettings.FillCanvas.ToString() + "&"; 11460 } 11461 defaultImage += "&Image=" + settings.Image; 11462 11463 11464 11465 #line default 11466 #line hidden 11467 WriteLiteralTo(__razor_helper_writer, " <div"); 11468 11469 WriteLiteralTo(__razor_helper_writer, " class=\"carousel__slide u-min-h300px u-flex dw-mod\""); 11470 11471 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 126838), Tuple.Create("\"", 126906) 11472 , Tuple.Create(Tuple.Create("", 126846), Tuple.Create("background-size:cover;", 126846), true) 11473 , Tuple.Create(Tuple.Create(" ", 126868), Tuple.Create("background-image:url(\'", 126869), true) 11474 11475 #line 3056 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11476 , Tuple.Create(Tuple.Create("", 126891), Tuple.Create<System.Object, System.Int32>(defaultImage 11477 11478 #line default 11479 #line hidden 11480 , 126891), false) 11481 , Tuple.Create(Tuple.Create("", 126904), Tuple.Create("\')", 126904), true) 11482 ); 11483 11484 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 11485 11486 WriteLiteralTo(__razor_helper_writer, " class=\"article-carousel-item__wrap\""); 11487 11488 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 126960), Tuple.Create("\"", 126981) 11489 11490 #line 3057 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11491 , Tuple.Create(Tuple.Create("", 126967), Tuple.Create<System.Object, System.Int32>(settings.Link 11492 11493 #line default 11494 #line hidden 11495 , 126967), false) 11496 ); 11497 11498 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 126982), Tuple.Create("\"", 127005) 11499 11500 #line 3057 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11501 , Tuple.Create(Tuple.Create("", 126990), Tuple.Create<System.Object, System.Int32>(settings.Title 11502 11503 #line default 11504 #line hidden 11505 , 126990), false) 11506 ); 11507 11508 WriteLiteralTo(__razor_helper_writer, ">\r\n <h2"); 11509 11510 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-header u-truncate-text u-color-light dw-mod\""); 11511 11512 WriteLiteralTo(__razor_helper_writer, ">"); 11513 11514 11515 #line 3058 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11516 WriteTo(__razor_helper_writer, settings.Title); 11517 11518 11519 #line default 11520 #line hidden 11521 WriteLiteralTo(__razor_helper_writer, "</h2>\r\n <div"); 11522 11523 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-info\""); 11524 11525 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11526 11527 11528 #line 3060 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11529 11530 11531 #line default 11532 #line hidden 11533 11534 #line 3060 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11535 if (settings.Stickers != null) 11536 { 11537 settings.Stickers.Position = StickersListPosition.Custom; 11538 11539 11540 #line default 11541 #line hidden 11542 11543 #line 3063 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11544 WriteTo(__razor_helper_writer, RenderStickersCollection(settings.Stickers)); 11545 11546 11547 #line default 11548 #line hidden 11549 11550 #line 3063 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11551 ; 11552 } 11553 11554 11555 #line default 11556 #line hidden 11557 WriteLiteralTo(__razor_helper_writer, "\r\n <small"); 11558 11559 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-top--lg u-color-light\""); 11560 11561 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11562 11563 11564 #line 3067 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11565 11566 11567 #line default 11568 #line hidden 11569 11570 #line 3067 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11571 if (!(string.IsNullOrWhiteSpace(settings.Author) && string.IsNullOrWhiteSpace(settings.Date))) 11572 { 11573 11574 11575 #line default 11576 #line hidden 11577 WriteLiteralTo(__razor_helper_writer, " "); 11578 11579 11580 #line 3069 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11581 WriteTo(__razor_helper_writer, Translate("Written")); 11582 11583 11584 #line default 11585 #line hidden 11586 WriteLiteralTo(__razor_helper_writer, "\r\n"); 11587 11588 11589 #line 3070 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11590 } 11591 11592 11593 #line default 11594 #line hidden 11595 WriteLiteralTo(__razor_helper_writer, " "); 11596 11597 11598 #line 3071 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11599 if (!string.IsNullOrWhiteSpace(settings.Author)) 11600 { 11601 11602 11603 #line default 11604 #line hidden 11605 WriteLiteralTo(__razor_helper_writer, " "); 11606 11607 11608 #line 3073 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11609 WriteTo(__razor_helper_writer, Translate("by")); 11610 11611 11612 #line default 11613 #line hidden 11614 WriteLiteralTo(__razor_helper_writer, " "); 11615 11616 11617 #line 3073 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11618 WriteTo(__razor_helper_writer, settings.Author); 11619 11620 11621 #line default 11622 #line hidden 11623 WriteLiteralTo(__razor_helper_writer, "\r\n"); 11624 11625 11626 #line 3074 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11627 } 11628 11629 11630 #line default 11631 #line hidden 11632 WriteLiteralTo(__razor_helper_writer, " "); 11633 11634 11635 #line 3075 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11636 if (!string.IsNullOrWhiteSpace(settings.Date)) 11637 { 11638 11639 11640 #line default 11641 #line hidden 11642 WriteLiteralTo(__razor_helper_writer, " "); 11643 11644 11645 #line 3077 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11646 WriteTo(__razor_helper_writer, Translate("on")); 11647 11648 11649 #line default 11650 #line hidden 11651 WriteLiteralTo(__razor_helper_writer, " "); 11652 11653 11654 #line 3077 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11655 WriteTo(__razor_helper_writer, settings.Date); 11656 11657 11658 #line default 11659 #line hidden 11660 WriteLiteralTo(__razor_helper_writer, "\r\n"); 11661 11662 11663 #line 3078 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11664 } 11665 11666 11667 #line default 11668 #line hidden 11669 WriteLiteralTo(__razor_helper_writer, " </small>\r\n </div>\r\n\r\n <h3"); 11670 11671 WriteLiteralTo(__razor_helper_writer, " class=\"article__short-summary u-color-light\""); 11672 11673 WriteLiteralTo(__razor_helper_writer, ">"); 11674 11675 11676 #line 3082 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11677 WriteTo(__razor_helper_writer, settings.Summary); 11678 11679 11680 #line default 11681 #line hidden 11682 WriteLiteralTo(__razor_helper_writer, "</h3>\r\n </a>\r\n"); 11683 11684 11685 #line 3084 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11686 11687 11688 #line default 11689 #line hidden 11690 11691 #line 3084 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11692 if (settings.UseFilters == true) 11693 { 11694 11695 11696 #line default 11697 #line hidden 11698 WriteLiteralTo(__razor_helper_writer, " <div"); 11699 11700 WriteLiteralTo(__razor_helper_writer, " class=\"background-image image-filter image-filter--darken dw-mod\""); 11701 11702 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 11703 11704 11705 #line 3087 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11706 } 11707 11708 11709 #line default 11710 #line hidden 11711 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 11712 11713 11714 #line 3089 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11715 } 11716 11717 11718 #line default 11719 #line hidden 11720 }); 11721 11722 #line 3090 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11723 } 11724 #line default 11725 #line hidden 11726 11727 11728 #line 3099 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11729 public RazorEngine.Templating.TemplateWriter RenderArticleVideo(ArticleVideo settings) 11730 { 11731 #line default 11732 #line hidden 11733 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11734 11735 #line 3100 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11736 11737 dynamic[] methodParameters = new dynamic[1]; 11738 methodParameters[0] = settings; 11739 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleTextCustom"); 11740 11741 if (customMethod != null) 11742 { 11743 11744 11745 #line default 11746 #line hidden 11747 11748 #line 3107 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11749 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 11750 11751 11752 #line default 11753 #line hidden 11754 11755 #line 3107 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11756 ; 11757 } else { 11758 if (settings.Url != null) 11759 { 11760 //getting video ID from youtube URL 11761 string videoCode = settings.Url; 11762 Regex regex = new Regex(@".be\/(.[^?]*)"); 11763 Match match = regex.Match(videoCode); 11764 string videoId = ""; 11765 if (match.Success) 11766 { 11767 videoId = match.Groups[1].Value; 11768 } 11769 else 11770 { 11771 regex = new Regex(@"v=([^&]+)"); 11772 match = regex.Match(videoCode); 11773 if (match.Success) 11774 { 11775 videoId = match.Groups[1].Value; 11776 } 11777 } 11778 11779 int autoPlay = settings.AutoPlay == "true" ? 1 : 0; 11780 11781 11782 11783 #line default 11784 #line hidden 11785 WriteLiteralTo(__razor_helper_writer, " <div"); 11786 11787 WriteLiteralTo(__razor_helper_writer, " class=\"video-wrapper\""); 11788 11789 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11790 11791 WriteLiteralTo(__razor_helper_writer, " class=\"js-youtube-video\""); 11792 11793 WriteLiteralTo(__razor_helper_writer, " data-video=\""); 11794 11795 11796 #line 3133 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11797 WriteTo(__razor_helper_writer, videoId); 11798 11799 11800 #line default 11801 #line hidden 11802 WriteLiteralTo(__razor_helper_writer, "\""); 11803 11804 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 129989), Tuple.Create("\"", 130033) 11805 , Tuple.Create(Tuple.Create("", 129994), Tuple.Create("ytPlayer", 129994), true) 11806 11807 #line 3133 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11808 , Tuple.Create(Tuple.Create("", 130002), Tuple.Create<System.Object, System.Int32>(Guid.NewGuid().ToString("N") 11809 11810 #line default 11811 #line hidden 11812 , 130002), false) 11813 ); 11814 11815 WriteLiteralTo(__razor_helper_writer, " data-auto-play=\""); 11816 11817 11818 #line 3133 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11819 WriteTo(__razor_helper_writer, autoPlay); 11820 11821 11822 #line default 11823 #line hidden 11824 WriteLiteralTo(__razor_helper_writer, "\""); 11825 11826 WriteLiteralTo(__razor_helper_writer, " data-enable-controls=\"1\""); 11827 11828 WriteLiteralTo(__razor_helper_writer, "></div>\r\n </div> \r\n"); 11829 11830 11831 #line 3135 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11832 } 11833 } 11834 11835 11836 #line default 11837 #line hidden 11838 }); 11839 11840 #line 3137 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11841 } 11842 #line default 11843 #line hidden 11844 11845 11846 #line 3148 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11847 public RazorEngine.Templating.TemplateWriter RenderSocialShare() 11848 { 11849 #line default 11850 #line hidden 11851 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11852 11853 #line 3149 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11854 11855 string siteURL = Pageview.SearchFriendlyUrl.ToString(); 11856 11857 11858 11859 #line default 11860 #line hidden 11861 WriteLiteralTo(__razor_helper_writer, " <section"); 11862 11863 WriteLiteralTo(__razor_helper_writer, " class=\"socialshare grid__col-md-12 grid__col--bleed grid-custom-layout grid--jus" + 11864 "tify-center u-padding--lg dw-mod\""); 11865 11866 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11867 11868 WriteLiteralTo(__razor_helper_writer, " class=\"socialheader grid__col-md-12 u-no-padding u-border-bottom\""); 11869 11870 WriteLiteralTo(__razor_helper_writer, ">\r\n <h3>"); 11871 11872 11873 #line 3154 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11874 WriteTo(__razor_helper_writer, Translate("ShareThis")); 11875 11876 11877 #line default 11878 #line hidden 11879 WriteLiteralTo(__razor_helper_writer, "</h3>\r\n </div>\r\n <div"); 11880 11881 WriteLiteralTo(__razor_helper_writer, " class=\"sociallinks grid__col-md-12 u-no-padding\""); 11882 11883 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11884 11885 WriteLiteralTo(__razor_helper_writer, " class=\"social-container\""); 11886 11887 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11888 11889 WriteLiteralTo(__razor_helper_writer, " class=\"links\""); 11890 11891 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11892 11893 WriteLiteralTo(__razor_helper_writer, " class=\"icon-nz-nz-facebook links-share\""); 11894 11895 WriteLiteralTo(__razor_helper_writer, " data-sharer=\"facebook\""); 11896 11897 WriteLiteralTo(__razor_helper_writer, " data-url=\""); 11898 11899 11900 #line 3159 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11901 WriteTo(__razor_helper_writer, siteURL); 11902 11903 11904 #line default 11905 #line hidden 11906 WriteLiteralTo(__razor_helper_writer, "\""); 11907 11908 WriteLiteralTo(__razor_helper_writer, "></div>\r\n <div"); 11909 11910 WriteLiteralTo(__razor_helper_writer, " class=\"linkedin icon-nz-nz-linkedin links-share\""); 11911 11912 WriteLiteralTo(__razor_helper_writer, " data-sharer=\"linkedin\""); 11913 11914 WriteLiteralTo(__razor_helper_writer, " data-url=\""); 11915 11916 11917 #line 3160 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11918 WriteTo(__razor_helper_writer, siteURL); 11919 11920 11921 #line default 11922 #line hidden 11923 WriteLiteralTo(__razor_helper_writer, "\""); 11924 11925 WriteLiteralTo(__razor_helper_writer, "></div>\r\n <div"); 11926 11927 WriteLiteralTo(__razor_helper_writer, " data-icon-nz=\"nz-link\""); 11928 11929 WriteLiteralTo(__razor_helper_writer, " class=\"js-geturl icon-nz-nz-link links-share\""); 11930 11931 WriteLiteralTo(__razor_helper_writer, " aria-label=\"Copy link\""); 11932 11933 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11934 11935 WriteLiteralTo(__razor_helper_writer, " class=\"links-input js-show-hide\""); 11936 11937 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 11938 11939 WriteLiteralTo(__razor_helper_writer, " class=\"js-urlCopied\""); 11940 11941 WriteLiteralTo(__razor_helper_writer, ">\r\n </div>\r\n </div>\r\n </" + 11942 "div>\r\n </div>\r\n </div>\r\n </section>\r\n"); 11943 11944 11945 #line 3170 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11946 11947 11948 #line default 11949 #line hidden 11950 }); 11951 11952 #line 3170 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11953 } 11954 #line default 11955 #line hidden 11956 11957 11958 #line 3176 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11959 public RazorEngine.Templating.TemplateWriter RenderArticleItemGallery(IList<ItemViewModel> gallery) 11960 { 11961 #line default 11962 #line hidden 11963 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11964 11965 #line 3177 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11966 11967 string placeHolderImage = "/Files/Images/placeholder.gif"; 11968 11969 11970 11971 #line default 11972 #line hidden 11973 WriteLiteralTo(__razor_helper_writer, " <main"); 11974 11975 WriteLiteralTo(__razor_helper_writer, " class=\"wrapper grid grid--direction-row\""); 11976 11977 WriteLiteralTo(__razor_helper_writer, ">\r\n <section"); 11978 11979 WriteLiteralTo(__razor_helper_writer, " class=\"gallery grid__col-lg-9 grid__col-sm-12\""); 11980 11981 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11982 11983 WriteLiteralTo(__razor_helper_writer, " class=\"swiper-container gallery-top\""); 11984 11985 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11986 11987 WriteLiteralTo(__razor_helper_writer, " class=\"swiper-wrapper\""); 11988 11989 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11990 11991 11992 #line 3184 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11993 11994 11995 #line default 11996 #line hidden 11997 11998 #line 3184 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 11999 if (gallery != null && gallery.Count > 0) 12000 { 12001 int count = 1; 12002 12003 foreach (var item in gallery) 12004 { 12005 if (item.GetFile("ImagePath") != null) 12006 { 12007 string focalPointParameters = item.GetFile("ImagePath") != null ? "&" + item.GetFile("ImagePath").GetFocalPointParameters() : ""; 12008 12009 string image = item.GetFile("ImagePath").PathUrlEncoded + focalPointParameters; 12010 int imagesCount = gallery.Count; 12011 string text = item.GetString("Text"); 12012 12013 12014 12015 #line default 12016 #line hidden 12017 WriteLiteralTo(__razor_helper_writer, " <div"); 12018 12019 WriteLiteralTo(__razor_helper_writer, " class=\"swiper-slide b-lazy\""); 12020 12021 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 132866), Tuple.Create("\"", 132889) 12022 12023 #line 3198 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12024 , Tuple.Create(Tuple.Create("", 132872), Tuple.Create<System.Object, System.Int32>(placeHolderImage 12025 12026 #line default 12027 #line hidden 12028 , 132872), false) 12029 ); 12030 12031 WriteLiteralTo(__razor_helper_writer, " data-src=\"/Admin/Public/GetImage.ashx?width=1024&amp;height=583&amp;crop=0&amp;C" + 12032 "ompression=75&amp;DoNotUpscale=1&amp;image="); 12033 12034 12035 #line 3198 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12036 WriteTo(__razor_helper_writer, image); 12037 12038 12039 #line default 12040 #line hidden 12041 WriteLiteralTo(__razor_helper_writer, "\""); 12042 12043 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 133021), Tuple.Create("\"", 133032) 12044 12045 #line 3198 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12046 , Tuple.Create(Tuple.Create("", 133027), Tuple.Create<System.Object, System.Int32>(text 12047 12048 #line default 12049 #line hidden 12050 , 133027), false) 12051 ); 12052 12053 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12054 12055 WriteLiteralTo(__razor_helper_writer, " class=\"swiper-text\""); 12056 12057 WriteLiteralTo(__razor_helper_writer, ">"); 12058 12059 12060 #line 3199 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12061 WriteTo(__razor_helper_writer, text); 12062 12063 12064 #line default 12065 #line hidden 12066 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </div>\r\n"); 12067 12068 12069 #line 3201 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12070 12071 count++; 12072 } 12073 } 12074 } 12075 12076 12077 #line default 12078 #line hidden 12079 WriteLiteralTo(__razor_helper_writer, " </div>\r\n <div"); 12080 12081 WriteLiteralTo(__razor_helper_writer, " class=\"swiper-button-next swiper-button-white\""); 12082 12083 WriteLiteralTo(__razor_helper_writer, "></div>\r\n <div"); 12084 12085 WriteLiteralTo(__razor_helper_writer, " class=\"swiper-button-prev swiper-button-white\""); 12086 12087 WriteLiteralTo(__razor_helper_writer, "></div>\r\n </div>\r\n </section>\r\n"); 12088 12089 12090 #line 3211 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12091 12092 12093 #line default 12094 #line hidden 12095 12096 #line 3211 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12097 if (gallery != null && gallery.Count > 0) 12098 { 12099 12100 12101 #line default 12102 #line hidden 12103 WriteLiteralTo(__razor_helper_writer, " <section"); 12104 12105 WriteLiteralTo(__razor_helper_writer, " class=\"thumbs grid__col-lg-3 grid__col-sm-12\""); 12106 12107 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12108 12109 WriteLiteralTo(__razor_helper_writer, " class=\"swiper-container gallery-thumbs\""); 12110 12111 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12112 12113 WriteLiteralTo(__razor_helper_writer, " class=\"swiper-wrapper\""); 12114 12115 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12116 12117 12118 #line 3216 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12119 12120 12121 #line default 12122 #line hidden 12123 12124 #line 3216 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12125 12126 int count = 1; 12127 12128 12129 #line default 12130 #line hidden 12131 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n"); 12132 12133 12134 #line 3220 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12135 12136 12137 #line default 12138 #line hidden 12139 12140 #line 3220 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12141 foreach (var item in gallery) 12142 { 12143 if (item.GetFile("ImagePath") != null) 12144 { 12145 string focalPointParameters = item.GetFile("ImagePath") != null ? "&" + item.GetFile("ImagePath").GetFocalPointParameters() : ""; 12146 12147 string image = item.GetFile("ImagePath").PathUrlEncoded + focalPointParameters; 12148 int imagesCount = gallery.Count; 12149 string text = item.GetString("Text"); 12150 12151 12152 12153 #line default 12154 #line hidden 12155 WriteLiteralTo(__razor_helper_writer, " <img"); 12156 12157 WriteLiteralTo(__razor_helper_writer, " class=\"swiper-slide\""); 12158 12159 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 134489), Tuple.Create("\"", 134613) 12160 , Tuple.Create(Tuple.Create("", 134495), Tuple.Create("/Admin/Public/GetImage.ashx?width=450&amp;height=247&amp;crop=0&amp;Compression=7" + 12161 "5&amp;DoNotUpscale=1&amp;image=", 134495), true) 12162 12163 #line 3230 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12164 , Tuple.Create(Tuple.Create("", 134607), Tuple.Create<System.Object, System.Int32>(image 12165 12166 #line default 12167 #line hidden 12168 , 134607), false) 12169 ); 12170 12171 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 134614), Tuple.Create("\"", 134625) 12172 12173 #line 3230 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12174 , Tuple.Create(Tuple.Create("", 134620), Tuple.Create<System.Object, System.Int32>(text 12175 12176 #line default 12177 #line hidden 12178 , 134620), false) 12179 ); 12180 12181 WriteLiteralTo(__razor_helper_writer, " />\r\n"); 12182 12183 12184 #line 3231 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12185 12186 count++; 12187 } 12188 } 12189 12190 12191 #line default 12192 #line hidden 12193 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n </section>\r\n"); 12194 12195 12196 #line 3238 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12197 } 12198 12199 12200 #line default 12201 #line hidden 12202 WriteLiteralTo(__razor_helper_writer, " </main>\r\n"); 12203 12204 12205 #line 3240 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12206 12207 12208 12209 #line default 12210 #line hidden 12211 }); 12212 12213 #line 3241 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12214 } 12215 #line default 12216 #line hidden 12217 12218 12219 #line 3243 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12220 public RazorEngine.Templating.TemplateWriter RenderArticleItemGalleryModal() 12221 { 12222 #line default 12223 #line hidden 12224 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 12225 12226 #line 3244 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12227 12228 12229 12230 #line default 12231 #line hidden 12232 WriteLiteralTo(__razor_helper_writer, " <!-- Trigger for the gallery modal -->\r\n"); 12233 12234 WriteLiteralTo(__razor_helper_writer, " <input"); 12235 12236 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 12237 12238 WriteLiteralTo(__razor_helper_writer, " id=\"GalleryModalTrigger\""); 12239 12240 WriteLiteralTo(__razor_helper_writer, " class=\"modal-trigger\""); 12241 12242 WriteLiteralTo(__razor_helper_writer, " />\r\n"); 12243 12244 12245 #line 3247 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12246 12247 12248 12249 #line default 12250 #line hidden 12251 WriteLiteralTo(__razor_helper_writer, " <!-- Gallery modal -->\r\n"); 12252 12253 WriteLiteralTo(__razor_helper_writer, " <div"); 12254 12255 WriteLiteralTo(__razor_helper_writer, " class=\"modal-container\""); 12256 12257 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 12258 12259 WriteLiteralTo(__razor_helper_writer, " for=\"GalleryModalTrigger\""); 12260 12261 WriteLiteralTo(__razor_helper_writer, " id=\"GalleryModalOverlay\""); 12262 12263 WriteLiteralTo(__razor_helper_writer, " class=\"modal-overlay\""); 12264 12265 WriteLiteralTo(__razor_helper_writer, "></label>\r\n <div"); 12266 12267 WriteLiteralTo(__razor_helper_writer, " class=\"modal modal--full\""); 12268 12269 WriteLiteralTo(__razor_helper_writer, " id=\"GalleryModal\""); 12270 12271 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12272 12273 WriteLiteralTo(__razor_helper_writer, " class=\"modal__body modal__body--full\""); 12274 12275 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12276 12277 WriteLiteralTo(__razor_helper_writer, " class=\"gallery-slider\""); 12278 12279 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12280 12281 WriteLiteralTo(__razor_helper_writer, " class=\"gallery-slider__image\""); 12282 12283 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 12284 12285 WriteLiteralTo(__razor_helper_writer, " src=\"#\""); 12286 12287 WriteLiteralTo(__razor_helper_writer, " alt=\"\""); 12288 12289 WriteLiteralTo(__razor_helper_writer, " class=\"modal--full__img\""); 12290 12291 WriteLiteralTo(__razor_helper_writer, " id=\"FullImage\""); 12292 12293 WriteLiteralTo(__razor_helper_writer, " />\r\n </div>\r\n <div"); 12294 12295 WriteLiteralTo(__razor_helper_writer, " class=\"gallery-slider__image-counter\""); 12296 12297 WriteLiteralTo(__razor_helper_writer, " id=\"FullImage_counter\""); 12298 12299 WriteLiteralTo(__razor_helper_writer, "></div>\r\n <label"); 12300 12301 WriteLiteralTo(__razor_helper_writer, " class=\"gallery-slider__close-btn\""); 12302 12303 WriteLiteralTo(__razor_helper_writer, " for=\"GalleryModalTrigger\""); 12304 12305 WriteLiteralTo(__razor_helper_writer, "></label>\r\n <button"); 12306 12307 WriteLiteralTo(__razor_helper_writer, " class=\"gallery-slider__previous-btn\""); 12308 12309 WriteLiteralTo(__razor_helper_writer, " id=\"FullImage_prev\""); 12310 12311 WriteLiteralTo(__razor_helper_writer, " onclick=\"Gallery.prevImage(\'FullImage\')\""); 12312 12313 WriteLiteralTo(__razor_helper_writer, "></button>\r\n <button"); 12314 12315 WriteLiteralTo(__razor_helper_writer, " class=\"gallery-slider__next-btn\""); 12316 12317 WriteLiteralTo(__razor_helper_writer, " id=\"FullImage_next\""); 12318 12319 WriteLiteralTo(__razor_helper_writer, " onclick=\"Gallery.nextImage(\'FullImage\')\""); 12320 12321 WriteLiteralTo(__razor_helper_writer, "></button>\r\n </div>\r\n </div>\r\n </div>\r\n </div" + 12322 ">\r\n"); 12323 12324 12325 #line 3265 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12326 12327 12328 #line default 12329 #line hidden 12330 }); 12331 12332 #line 3265 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12333 } 12334 #line default 12335 #line hidden 12336 12337 12338 #line 3268 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12339 public RazorEngine.Templating.TemplateWriter RenderMobileFilters(List<Block> settings) 12340 { 12341 #line default 12342 #line hidden 12343 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 12344 12345 #line 3269 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12346 12347 if (settings.Count > 0) 12348 { 12349 12350 12351 #line default 12352 #line hidden 12353 WriteLiteralTo(__razor_helper_writer, " <div"); 12354 12355 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-12\""); 12356 12357 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 12358 12359 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 12360 12361 WriteLiteralTo(__razor_helper_writer, " id=\"CheckFilters\""); 12362 12363 WriteLiteralTo(__razor_helper_writer, " class=\"js-remember-state u-hidden\""); 12364 12365 WriteLiteralTo(__razor_helper_writer, " data-expand=\"CheckFilters\""); 12366 12367 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 12368 12369 WriteLiteralTo(__razor_helper_writer, " class=\"grid u-margin-bottom dw-mod\""); 12370 12371 WriteLiteralTo(__razor_helper_writer, " data-trigger=\"CheckFilters\""); 12372 12373 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12374 12375 WriteLiteralTo(__razor_helper_writer, " "); 12376 12377 12378 #line 3275 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12379 WriteTo(__razor_helper_writer, RenderBlockList(settings)); 12380 12381 12382 #line default 12383 #line hidden 12384 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n "); 12385 12386 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 12387 12388 12389 #line 3280 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12390 } 12391 12392 12393 #line default 12394 #line hidden 12395 }); 12396 12397 #line 3281 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12398 } 12399 #line default 12400 #line hidden 12401 12402 12403 #line 3388 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12404 public RazorEngine.Templating.TemplateWriter LoginModal() { 12405 #line default 12406 #line hidden 12407 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 12408 12409 #line 3388 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12410 12411 int pageId = Model.TopPage.ID; 12412 string userSignedInError = !Model.LogOnFailed ? "" : "checked"; 12413 string userSignedInErrorText = ""; 12414 int signInProfilePageId = GetPageIdByNavigationTag("SignInPage"); 12415 string forgotPasswordPageLink = "/Default.aspx?ID=" + signInProfilePageId + "&LoginAction=Recovery"; 12416 int createAccountPageId = GetPageIdByNavigationTag("CreateAccount"); 12417 12418 if (Model.LogOnFailed) { 12419 switch (Model.LogOnFailedReason) 12420 { 12421 case LogOnFailedReason.PasswordLengthInvalid: 12422 userSignedInErrorText = Translate("Password length is invalid"); 12423 break; 12424 case LogOnFailedReason.IncorrectLogin: 12425 userSignedInErrorText = Translate("Invalid email or password"); 12426 break; 12427 case LogOnFailedReason.ExceededFailedLogOnLimit: 12428 userSignedInErrorText = Translate("You have exceeded the limit of allowed login attempts. The user account is temporarily locked"); 12429 break; 12430 case LogOnFailedReason.LoginLocked: 12431 userSignedInErrorText = Translate("The user account is temporarily locked"); 12432 break; 12433 case LogOnFailedReason.PasswordExpired: 12434 userSignedInErrorText = Translate("The password has expired and needs to be renewed"); 12435 break; 12436 default: 12437 userSignedInErrorText = Translate("An unknown error occured"); 12438 break; 12439 } 12440 } 12441 12442 12443 12444 #line default 12445 #line hidden 12446 WriteLiteralTo(__razor_helper_writer, " <!-- Trigger for the login modal -->\r\n"); 12447 12448 WriteLiteralTo(__razor_helper_writer, " <input"); 12449 12450 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 12451 12452 WriteLiteralTo(__razor_helper_writer, " id=\"SignInModalTrigger\""); 12453 12454 WriteLiteralTo(__razor_helper_writer, " class=\"modal-trigger\""); 12455 12456 WriteLiteralTo(__razor_helper_writer, " "); 12457 12458 12459 #line 3421 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12460 WriteTo(__razor_helper_writer, userSignedInError); 12461 12462 12463 #line default 12464 #line hidden 12465 WriteLiteralTo(__razor_helper_writer, " />\r\n"); 12466 12467 12468 #line 3422 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12469 12470 12471 12472 #line default 12473 #line hidden 12474 WriteLiteralTo(__razor_helper_writer, " <!-- Login modal -->\r\n"); 12475 12476 WriteLiteralTo(__razor_helper_writer, " <div"); 12477 12478 WriteLiteralTo(__razor_helper_writer, " class=\"modal-container\""); 12479 12480 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 12481 12482 WriteLiteralTo(__razor_helper_writer, " for=\"SignInModalTrigger\""); 12483 12484 WriteLiteralTo(__razor_helper_writer, " id=\"SignInModalOverlay\""); 12485 12486 WriteLiteralTo(__razor_helper_writer, " class=\"modal-overlay\""); 12487 12488 WriteLiteralTo(__razor_helper_writer, "></label>\r\n <div"); 12489 12490 WriteLiteralTo(__razor_helper_writer, " class=\"modal modal--xs\""); 12491 12492 WriteLiteralTo(__razor_helper_writer, " id=\"SignInModal\""); 12493 12494 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12495 12496 WriteLiteralTo(__razor_helper_writer, " class=\"modal__header\""); 12497 12498 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12499 12500 WriteLiteralTo(__razor_helper_writer, " class=\"heading h2\""); 12501 12502 WriteLiteralTo(__razor_helper_writer, ">"); 12503 12504 12505 #line 3428 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12506 WriteTo(__razor_helper_writer, Translate("Sign in")); 12507 12508 12509 #line default 12510 #line hidden 12511 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </div>\r\n <div"); 12512 12513 WriteLiteralTo(__razor_helper_writer, " class=\"modal__body\""); 12514 12515 WriteLiteralTo(__razor_helper_writer, ">\r\n <form"); 12516 12517 WriteLiteralTo(__razor_helper_writer, " method=\"post\""); 12518 12519 WriteLiteralTo(__razor_helper_writer, " id=\"LoginForm\""); 12520 12521 WriteLiteralTo(__razor_helper_writer, " class=\"u-no-margin\""); 12522 12523 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 12524 12525 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 12526 12527 WriteLiteralTo(__razor_helper_writer, " name=\"ID\""); 12528 12529 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 142806), Tuple.Create("\"", 142821) 12530 12531 #line 3432 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12532 , Tuple.Create(Tuple.Create("", 142814), Tuple.Create<System.Object, System.Int32>(pageId 12533 12534 #line default 12535 #line hidden 12536 , 142814), false) 12537 ); 12538 12539 WriteLiteralTo(__razor_helper_writer, " />\r\n <input"); 12540 12541 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 12542 12543 WriteLiteralTo(__razor_helper_writer, " name=\"DWExtranetUsernameRemember\""); 12544 12545 WriteLiteralTo(__razor_helper_writer, " value=\"True\""); 12546 12547 WriteLiteralTo(__razor_helper_writer, " />\r\n <input"); 12548 12549 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 12550 12551 WriteLiteralTo(__razor_helper_writer, " name=\"DWExtranetPasswordRemember\""); 12552 12553 WriteLiteralTo(__razor_helper_writer, " value=\"True\""); 12554 12555 WriteLiteralTo(__razor_helper_writer, " />\r\n <input"); 12556 12557 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 12558 12559 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width\""); 12560 12561 WriteLiteralTo(__razor_helper_writer, " id=\"LoginUsername\""); 12562 12563 WriteLiteralTo(__razor_helper_writer, " name=\"username\""); 12564 12565 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 143105), Tuple.Create("\"", 143138) 12566 12567 #line 3435 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12568 , Tuple.Create(Tuple.Create("", 143119), Tuple.Create<System.Object, System.Int32>(Translate("Email") 12569 12570 #line default 12571 #line hidden 12572 , 143119), false) 12573 ); 12574 12575 WriteLiteralTo(__razor_helper_writer, " />\r\n <input"); 12576 12577 WriteLiteralTo(__razor_helper_writer, " type=\"password\""); 12578 12579 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width\""); 12580 12581 WriteLiteralTo(__razor_helper_writer, " id=\"LoginPassword\""); 12582 12583 WriteLiteralTo(__razor_helper_writer, " name=\"password\""); 12584 12585 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 143242), Tuple.Create("\"", 143278) 12586 12587 #line 3436 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12588 , Tuple.Create(Tuple.Create("", 143256), Tuple.Create<System.Object, System.Int32>(Translate("Password") 12589 12590 #line default 12591 #line hidden 12592 , 143256), false) 12593 ); 12594 12595 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 12596 12597 WriteLiteralTo(__razor_helper_writer, " class=\"field-error dw-mod\""); 12598 12599 WriteLiteralTo(__razor_helper_writer, ">"); 12600 12601 12602 #line 3437 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12603 WriteTo(__razor_helper_writer, userSignedInErrorText); 12604 12605 12606 #line default 12607 #line hidden 12608 WriteLiteralTo(__razor_helper_writer, "</div>\r\n\r\n <div"); 12609 12610 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-group dw-mod\""); 12611 12612 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 12613 12614 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 12615 12616 WriteLiteralTo(__razor_helper_writer, " id=\"LoginRememberMe\""); 12617 12618 WriteLiteralTo(__razor_helper_writer, " name=\"Autologin\""); 12619 12620 WriteLiteralTo(__razor_helper_writer, " checked=\"checked\""); 12621 12622 WriteLiteralTo(__razor_helper_writer, " value=\"True\""); 12623 12624 WriteLiteralTo(__razor_helper_writer, " class=\"form__control\""); 12625 12626 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 12627 12628 WriteLiteralTo(__razor_helper_writer, " for=\"LoginRememberMe\""); 12629 12630 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12631 12632 WriteLiteralTo(__razor_helper_writer, " "); 12633 12634 12635 #line 3442 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12636 WriteTo(__razor_helper_writer, Translate("Remember me", "Remember me")); 12637 12638 12639 #line default 12640 #line hidden 12641 WriteLiteralTo(__razor_helper_writer, "\r\n </label>\r\n </div>\r\n\r\n " + 12642 " <button"); 12643 12644 WriteLiteralTo(__razor_helper_writer, " type=\"submit\""); 12645 12646 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn--primary btn--full dw-mod\""); 12647 12648 WriteLiteralTo(__razor_helper_writer, " name=\"LoginAction\""); 12649 12650 WriteLiteralTo(__razor_helper_writer, " value=\"Login\""); 12651 12652 WriteLiteralTo(__razor_helper_writer, " onclick=\"Buttons.LockButton(event)\""); 12653 12654 WriteLiteralTo(__razor_helper_writer, ">"); 12655 12656 12657 #line 3446 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12658 WriteTo(__razor_helper_writer, Translate("Sign in")); 12659 12660 12661 #line default 12662 #line hidden 12663 WriteLiteralTo(__razor_helper_writer, "</button>\r\n"); 12664 12665 12666 #line 3447 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12667 12668 12669 #line default 12670 #line hidden 12671 12672 #line 3447 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12673 12674 ProviderCollection providers = Provider.GetActiveProviders(); 12675 12676 12677 #line default 12678 #line hidden 12679 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n"); 12680 12681 12682 #line 3451 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12683 12684 12685 #line default 12686 #line hidden 12687 12688 #line 3451 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12689 foreach(Provider LoginProvider in providers) 12690 { 12691 var ProviderName = LoginProvider.Name.ToLower(); 12692 12693 12694 #line default 12695 #line hidden 12696 WriteLiteralTo(__razor_helper_writer, " <a"); 12697 12698 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 144268), Tuple.Create("\"", 144356) 12699 , Tuple.Create(Tuple.Create("", 144275), Tuple.Create("/Admin/Public/Social/ExternalLogin.aspx?action=login&providerID=", 144275), true) 12700 12701 #line 3454 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12702 , Tuple.Create(Tuple.Create("", 144339), Tuple.Create<System.Object, System.Int32>(LoginProvider.ID 12703 12704 #line default 12705 #line hidden 12706 , 144339), false) 12707 ); 12708 12709 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 144357), Tuple.Create("\"", 144384) 12710 12711 #line 3454 "D:\dynamicweb.net\Solutions\S_DW_HD2412\Files\Templates\Designs\Rapido\_parsed\EventArticle.parsed.cshtml" 12712 , Tuple.Create(Tuple.Create("", 144365), Tuple.Create<System.Object, System.Int32>(LoginProvider.Name 12713 12714 #line default 12715 #line hidden 12716 , 144365), false) 12717 ); 12718 12719 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 144385), Tuple.Create("\"", 144451) 12720 , Tuple.Create(Tuple.Create("", 144393), Tuple.Create("btn", 144393), true) 12721 , Tuple.Create(Tuple.Create(" ", 144396), Tuple.Create("btn--clean", 144397), true) 12722 , Tuple.Create(Tuple.Create(" ", 144407), Tuple.Create("btn--condensed", 144408), true) 12723 , Tuple.Create(Tuple.Create(" ", 144422), Tuple.Create("u-color-", 144423), true) 12724 12725 #line 3454 &qu