Saved posts

posts
Category
Filter one
Error compiling template "Designs/Rapido/ItemPublisher/List/FocusList.cshtml"
Line 14341: The name 'blocksPageName' does not exist in the current context

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 2160 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 14 using System; 15 16 #line default 17 #line hidden 18 19 #line 3605 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 20 using System.Collections.Generic; 21 22 #line default 23 #line hidden 24 25 #line 2075 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 26 using System.Linq; 27 28 #line default 29 #line hidden 30 31 #line 3606 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 32 using System.Web; 33 34 #line default 35 #line hidden 36 37 #line 463 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 38 using System.IO; 39 40 #line default 41 #line hidden 42 43 #line 3612 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 44 using Dynamicweb.Rapido.Blocks; 45 46 #line default 47 #line hidden 48 49 #line 3508 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 50 using Dynamicweb.Rapido.Blocks.Components.Articles; 51 52 #line default 53 #line hidden 54 55 #line 3608 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 56 using Dynamicweb.Rapido.Blocks.Components.General; 57 58 #line default 59 #line hidden 60 61 #line 2679 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 62 using Dynamicweb.Content.Items; 63 64 #line default 65 #line hidden 66 67 #line 3505 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 68 using System.Text.RegularExpressions; 69 70 #line default 71 #line hidden 72 73 #line 3425 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 74 using System.Reflection; 75 76 #line default 77 #line hidden 78 79 #line 2307 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 80 using System.Web.UI.HtmlControls; 81 82 #line default 83 #line hidden 84 85 #line 3506 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 86 using Dynamicweb.Rapido.Blocks.Components; 87 88 #line default 89 #line hidden 90 91 #line 312 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 92 using Dynamicweb.Rapido.Blocks.Components.Documentation; 93 94 #line default 95 #line hidden 96 97 #line 2057 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 98 using Dynamicweb.Core; 99 100 #line default 101 #line hidden 102 103 #line 2678 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 104 using Dynamicweb.Frontend; 105 106 #line default 107 #line hidden 108 109 110 public class RazorEngine_62bc58ff81464af3a22c22f208fa93dc : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> { 111 112 #line hidden 113 114 #line 9 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 115 116 BlocksPage articlePage = BlocksPage.GetBlockPage("FocusList"); 117 118 public string Truncate(string value, int maxChars) 119 { 120 return value.Length <= maxChars ? value : value.Substring(0, maxChars) + "..."; 121 } 122 123 public string GetArticleCategory(int pageId) 124 { 125 string categoryName = null; 126 127 //Secure that the article is not in the root folder = Actual has a category 128 if (Dynamicweb.Services.Pages.GetPage(pageId).Parent != null) { 129 if (Dynamicweb.Services.Pages.GetPage(pageId).Parent.Parent != null) { 130 if (!String.IsNullOrEmpty(Dynamicweb.Services.Pages.GetPage(pageId).Parent.Parent.ItemType)) 131 { 132 categoryName = Dynamicweb.Services.Pages.GetPage(pageId).Parent.GetDisplayName(); 133 } 134 } 135 } 136 137 return categoryName; 138 } 139 140 public string GetArticleCategoryColor(int pageId) 141 { 142 string categoryColor = ""; 143 144 //Secure that the article is not in the root folder = Actual has a category 145 if (Dynamicweb.Services.Pages.GetPage(pageId).Parent != null) { 146 if (Dynamicweb.Services.Pages.GetPage(pageId).Parent.Parent != null) { 147 if (!String.IsNullOrEmpty(Dynamicweb.Services.Pages.GetPage(pageId).Parent.Parent.ItemType)) 148 { 149 if (Dynamicweb.Services.Pages.GetPage(pageId).Parent.Item["CategoryColor"] != null) 150 { 151 var service = new ColorSwatchService(); 152 categoryColor = Dynamicweb.Services.Pages.GetPage(pageId).Parent.Item["CategoryColor"].ToString(); 153 154 if (!categoryColor.Contains("#")) { 155 categoryColor = service.GetHexColor(Converter.ToInt32(GetGlobalValue("Global:Area.ID")), categoryColor); 156 } 157 } 158 } 159 } 160 } 161 162 return categoryColor; 163 } 164 165 166 public string GetParentSettingsItem(string systemName) 167 { 168 string item = null; 169 170 Dynamicweb.Content.Page current = Dynamicweb.Services.Pages.GetPage(Convert.ToInt32(GetGlobalValue("Global:Page.ID"))); 171 while (current != null && current.Parent != current) 172 { 173 var temp = current.Item != null ? current.Item[systemName] : ""; 174 175 if (temp != null) 176 { 177 item = temp.ToString(); 178 179 if (!String.IsNullOrEmpty(item) && !String.Equals("default", item, StringComparison.OrdinalIgnoreCase)) 180 { 181 break; 182 } 183 } 184 185 current = current.Parent; 186 } 187 188 return item; 189 } 190 191 #line default 192 #line hidden 193 194 195 #line 318 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 196 public RazorEngine.Templating.TemplateWriter RenderBlockList(List<Block> blocks) 197 { 198 #line default 199 #line hidden 200 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 201 202 #line 319 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 203 204 bool debug = !String.IsNullOrEmpty(HttpContext.Current.Request.QueryString.Get("debug")) ? Convert.ToBoolean(HttpContext.Current.Request.QueryString.Get("debug")) : false; 205 blocks = blocks.OrderBy(item => item.SortId).ToList(); 206 207 foreach (Block item in blocks) 208 { 209 if (debug) { 210 211 212 #line default 213 #line hidden 214 WriteLiteralTo(__razor_helper_writer, " <!-- Block START: "); 215 216 217 #line 326 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 218 WriteTo(__razor_helper_writer, item.Id); 219 220 221 #line default 222 #line hidden 223 WriteLiteralTo(__razor_helper_writer, " -->\r\n"); 224 225 226 #line 327 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 227 } 228 229 if (item.Design == null) 230 { 231 232 233 #line default 234 #line hidden 235 236 #line 331 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 237 WriteTo(__razor_helper_writer, RenderBlock(item)); 238 239 240 #line default 241 #line hidden 242 243 #line 331 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 244 245 } 246 else if (item.Design.RenderType == RenderType.None) { 247 string cssClass = item.Design.CssClass != null ? item.Design.CssClass : ""; 248 249 250 251 #line default 252 #line hidden 253 WriteLiteralTo(__razor_helper_writer, " <div"); 254 255 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 12902), Tuple.Create("\"", 12926) 256 257 #line 336 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 258 , Tuple.Create(Tuple.Create("", 12910), Tuple.Create<System.Object, System.Int32>(cssClass 259 260 #line default 261 #line hidden 262 , 12910), false) 263 , Tuple.Create(Tuple.Create(" ", 12919), Tuple.Create("dw-mod", 12920), true) 264 ); 265 266 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 267 268 WriteLiteralTo(__razor_helper_writer, " "); 269 270 271 #line 337 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 272 WriteTo(__razor_helper_writer, RenderBlock(item)); 273 274 275 #line default 276 #line hidden 277 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 278 279 280 #line 339 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 281 } 282 else if (item.Design.RenderType != RenderType.Hide) 283 { 284 string cssClass = item.Design.CssClass != null ? item.Design.CssClass : ""; 285 286 if (!item.SkipRenderBlocksList) { 287 if (item.Design.RenderType == RenderType.Row) 288 { 289 290 291 #line default 292 #line hidden 293 WriteLiteralTo(__razor_helper_writer, " <div"); 294 295 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 13312), Tuple.Create("\"", 13367) 296 , Tuple.Create(Tuple.Create("", 13320), Tuple.Create("grid", 13320), true) 297 , Tuple.Create(Tuple.Create(" ", 13324), Tuple.Create("grid--align-content-start", 13325), true) 298 299 #line 347 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 300 , Tuple.Create(Tuple.Create(" ", 13350), Tuple.Create<System.Object, System.Int32>(cssClass 301 302 #line default 303 #line hidden 304 , 13351), false) 305 , Tuple.Create(Tuple.Create(" ", 13360), Tuple.Create("dw-mod", 13361), true) 306 ); 307 308 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 13368), Tuple.Create("\"", 13388) 309 , Tuple.Create(Tuple.Create("", 13373), Tuple.Create("Block__", 13373), true) 310 311 #line 347 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 312 , Tuple.Create(Tuple.Create("", 13380), Tuple.Create<System.Object, System.Int32>(item.Id 313 314 #line default 315 #line hidden 316 , 13380), false) 317 ); 318 319 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 320 321 WriteLiteralTo(__razor_helper_writer, " "); 322 323 324 #line 348 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 325 WriteTo(__razor_helper_writer, RenderBlock(item)); 326 327 328 #line default 329 #line hidden 330 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 331 332 333 #line 350 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 334 } 335 336 if (item.Design.RenderType == RenderType.Column) 337 { 338 string hidePadding = item.Design.HidePadding ? "u-no-padding" : ""; 339 string size = item.Design.Size ?? "12"; 340 size = Regex.IsMatch(size, @"\d") ? "md-" + item.Design.Size : item.Design.Size; 341 342 343 344 #line default 345 #line hidden 346 WriteLiteralTo(__razor_helper_writer, " <div"); 347 348 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 13848), Tuple.Create("\"", 13979) 349 , Tuple.Create(Tuple.Create("", 13856), Tuple.Create("grid__col-lg-", 13856), true) 350 351 #line 358 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 352 , Tuple.Create(Tuple.Create("", 13869), Tuple.Create<System.Object, System.Int32>(item.Design.Size 353 354 #line default 355 #line hidden 356 , 13869), false) 357 , Tuple.Create(Tuple.Create(" ", 13886), Tuple.Create("grid__col-md-", 13887), true) 358 359 #line 358 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 360 , Tuple.Create(Tuple.Create("", 13900), Tuple.Create<System.Object, System.Int32>(item.Design.Size 361 362 #line default 363 #line hidden 364 , 13900), false) 365 , Tuple.Create(Tuple.Create(" ", 13917), Tuple.Create("grid__col-sm-12", 13918), true) 366 , Tuple.Create(Tuple.Create(" ", 13933), Tuple.Create("grid__col-xs-12", 13934), true) 367 368 #line 358 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 369 , Tuple.Create(Tuple.Create(" ", 13949), Tuple.Create<System.Object, System.Int32>(hidePadding 370 371 #line default 372 #line hidden 373 , 13950), false) 374 375 #line 358 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 376 , Tuple.Create(Tuple.Create(" ", 13962), Tuple.Create<System.Object, System.Int32>(cssClass 377 378 #line default 379 #line hidden 380 , 13963), false) 381 , Tuple.Create(Tuple.Create(" ", 13972), Tuple.Create("dw-mod", 13973), true) 382 ); 383 384 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 13980), Tuple.Create("\"", 14000) 385 , Tuple.Create(Tuple.Create("", 13985), Tuple.Create("Block__", 13985), true) 386 387 #line 358 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 388 , Tuple.Create(Tuple.Create("", 13992), Tuple.Create<System.Object, System.Int32>(item.Id 389 390 #line default 391 #line hidden 392 , 13992), false) 393 ); 394 395 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 396 397 WriteLiteralTo(__razor_helper_writer, " "); 398 399 400 #line 359 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 401 WriteTo(__razor_helper_writer, RenderBlock(item)); 402 403 404 #line default 405 #line hidden 406 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 407 408 409 #line 361 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 410 } 411 412 if (item.Design.RenderType == RenderType.Table) 413 { 414 415 416 #line default 417 #line hidden 418 WriteLiteralTo(__razor_helper_writer, " <table"); 419 420 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 14207), Tuple.Create("\"", 14237) 421 , Tuple.Create(Tuple.Create("", 14215), Tuple.Create("table", 14215), true) 422 423 #line 365 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 424 , Tuple.Create(Tuple.Create(" ", 14220), Tuple.Create<System.Object, System.Int32>(cssClass 425 426 #line default 427 #line hidden 428 , 14221), false) 429 , Tuple.Create(Tuple.Create(" ", 14230), Tuple.Create("dw-mod", 14231), true) 430 ); 431 432 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 14238), Tuple.Create("\"", 14258) 433 , Tuple.Create(Tuple.Create("", 14243), Tuple.Create("Block__", 14243), true) 434 435 #line 365 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 436 , Tuple.Create(Tuple.Create("", 14250), Tuple.Create<System.Object, System.Int32>(item.Id 437 438 #line default 439 #line hidden 440 , 14250), false) 441 ); 442 443 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 444 445 WriteLiteralTo(__razor_helper_writer, " "); 446 447 448 #line 366 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 449 WriteTo(__razor_helper_writer, RenderBlock(item)); 450 451 452 #line default 453 #line hidden 454 WriteLiteralTo(__razor_helper_writer, "\r\n </table>\r\n"); 455 456 457 #line 368 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 458 } 459 460 if (item.Design.RenderType == RenderType.TableRow) 461 { 462 463 464 #line default 465 #line hidden 466 WriteLiteralTo(__razor_helper_writer, " <tr"); 467 468 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 14467), Tuple.Create("\"", 14491) 469 470 #line 372 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 471 , Tuple.Create(Tuple.Create("", 14475), Tuple.Create<System.Object, System.Int32>(cssClass 472 473 #line default 474 #line hidden 475 , 14475), false) 476 , Tuple.Create(Tuple.Create(" ", 14484), Tuple.Create("dw-mod", 14485), true) 477 ); 478 479 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 14492), Tuple.Create("\"", 14512) 480 , Tuple.Create(Tuple.Create("", 14497), Tuple.Create("Block__", 14497), true) 481 482 #line 372 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 483 , Tuple.Create(Tuple.Create("", 14504), Tuple.Create<System.Object, System.Int32>(item.Id 484 485 #line default 486 #line hidden 487 , 14504), false) 488 ); 489 490 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 491 492 WriteLiteralTo(__razor_helper_writer, " "); 493 494 495 #line 373 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 496 WriteTo(__razor_helper_writer, RenderBlock(item)); 497 498 499 #line default 500 #line hidden 501 WriteLiteralTo(__razor_helper_writer, "\r\n </tr>\r\n"); 502 503 504 #line 375 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 505 } 506 507 if (item.Design.RenderType == RenderType.TableColumn) 508 { 509 510 511 #line default 512 #line hidden 513 WriteLiteralTo(__razor_helper_writer, " <td"); 514 515 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 14721), Tuple.Create("\"", 14745) 516 517 #line 379 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 518 , Tuple.Create(Tuple.Create("", 14729), Tuple.Create<System.Object, System.Int32>(cssClass 519 520 #line default 521 #line hidden 522 , 14729), false) 523 , Tuple.Create(Tuple.Create(" ", 14738), Tuple.Create("dw-mod", 14739), true) 524 ); 525 526 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 14746), Tuple.Create("\"", 14766) 527 , Tuple.Create(Tuple.Create("", 14751), Tuple.Create("Block__", 14751), true) 528 529 #line 379 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 530 , Tuple.Create(Tuple.Create("", 14758), Tuple.Create<System.Object, System.Int32>(item.Id 531 532 #line default 533 #line hidden 534 , 14758), false) 535 ); 536 537 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 538 539 WriteLiteralTo(__razor_helper_writer, " "); 540 541 542 #line 380 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 543 WriteTo(__razor_helper_writer, RenderBlock(item)); 544 545 546 #line default 547 #line hidden 548 WriteLiteralTo(__razor_helper_writer, "\r\n </td>\r\n"); 549 550 551 #line 382 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 552 } 553 554 if (item.Design.RenderType == RenderType.CardHeader) 555 { 556 557 558 #line default 559 #line hidden 560 WriteLiteralTo(__razor_helper_writer, " <div"); 561 562 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 14975), Tuple.Create("\"", 15011) 563 , Tuple.Create(Tuple.Create("", 14983), Tuple.Create("card-header", 14983), true) 564 565 #line 386 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 566 , Tuple.Create(Tuple.Create(" ", 14994), Tuple.Create<System.Object, System.Int32>(cssClass 567 568 #line default 569 #line hidden 570 , 14995), false) 571 , Tuple.Create(Tuple.Create(" ", 15004), Tuple.Create("dw-mod", 15005), true) 572 ); 573 574 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 575 576 WriteLiteralTo(__razor_helper_writer, " "); 577 578 579 #line 387 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 580 WriteTo(__razor_helper_writer, RenderBlock(item)); 581 582 583 #line default 584 #line hidden 585 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 586 587 588 #line 389 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 589 } 590 591 if (item.Design.RenderType == RenderType.CardBody) 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=\"", 15219), Tuple.Create("\"", 15248) 600 , Tuple.Create(Tuple.Create("", 15227), Tuple.Create("card", 15227), true) 601 602 #line 393 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 603 , Tuple.Create(Tuple.Create(" ", 15231), Tuple.Create<System.Object, System.Int32>(cssClass 604 605 #line default 606 #line hidden 607 , 15232), false) 608 , Tuple.Create(Tuple.Create(" ", 15241), Tuple.Create("dw-mod", 15242), true) 609 ); 610 611 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 612 613 WriteLiteralTo(__razor_helper_writer, " "); 614 615 616 #line 394 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 617 WriteTo(__razor_helper_writer, RenderBlock(item)); 618 619 620 #line default 621 #line hidden 622 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 623 624 625 #line 396 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 626 } 627 628 if (item.Design.RenderType == RenderType.CardFooter) 629 { 630 631 632 #line default 633 #line hidden 634 WriteLiteralTo(__razor_helper_writer, " <div"); 635 636 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 15458), Tuple.Create("\"", 15494) 637 , Tuple.Create(Tuple.Create("", 15466), Tuple.Create("card-footer", 15466), true) 638 639 #line 400 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 640 , Tuple.Create(Tuple.Create(" ", 15477), Tuple.Create<System.Object, System.Int32>(cssClass 641 642 #line default 643 #line hidden 644 , 15478), false) 645 , Tuple.Create(Tuple.Create(" ", 15487), Tuple.Create("dw-mod", 15488), true) 646 ); 647 648 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 649 650 WriteLiteralTo(__razor_helper_writer, " "); 651 652 653 #line 401 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 654 WriteTo(__razor_helper_writer, RenderBlock(item)); 655 656 657 #line default 658 #line hidden 659 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 660 661 662 #line 403 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 663 } 664 } 665 else 666 { 667 668 669 #line default 670 #line hidden 671 672 #line 407 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 673 WriteTo(__razor_helper_writer, RenderBlock(item)); 674 675 676 #line default 677 #line hidden 678 679 #line 407 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 680 681 } 682 } 683 684 if (debug) { 685 686 687 #line default 688 #line hidden 689 WriteLiteralTo(__razor_helper_writer, " <!-- Block END: "); 690 691 692 #line 412 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 693 WriteTo(__razor_helper_writer, item.Id); 694 695 696 #line default 697 #line hidden 698 WriteLiteralTo(__razor_helper_writer, " -->\r\n"); 699 700 701 #line 413 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 702 } 703 } 704 705 706 #line default 707 #line hidden 708 }); 709 710 #line 415 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 711 } 712 #line default 713 #line hidden 714 715 716 #line 417 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 717 public RazorEngine.Templating.TemplateWriter RenderBlock(Block item) 718 { 719 #line default 720 #line hidden 721 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 722 723 #line 418 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 724 725 bool debug = !String.IsNullOrEmpty(HttpContext.Current.Request.QueryString.Get("debug")) ? Convert.ToBoolean(HttpContext.Current.Request.QueryString.Get("debug")) : false; 726 727 if (item.Template != null) 728 { 729 730 731 #line default 732 #line hidden 733 734 #line 423 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 735 WriteTo(__razor_helper_writer, BlocksPage.RenderTemplate(item.Template)); 736 737 738 #line default 739 #line hidden 740 741 #line 423 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 742 743 } 744 745 if (item.Component != null) 746 { 747 string customSufix = "Custom"; 748 string methodName = item.Component.HelperName; 749 750 ComponentBase[] methodParameters = new ComponentBase[1]; 751 methodParameters[0] = item.Component; 752 Type methodType = this.GetType(); 753 754 MethodInfo customMethod = methodType.GetMethod(methodName + customSufix); 755 MethodInfo generalMethod = methodType.GetMethod(methodName); 756 757 try { 758 if (debug) { 759 760 761 #line default 762 #line hidden 763 WriteLiteralTo(__razor_helper_writer, " <!-- Component: "); 764 765 766 #line 440 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 767 WriteTo(__razor_helper_writer, methodName.Replace("Render", "")); 768 769 770 #line default 771 #line hidden 772 WriteLiteralTo(__razor_helper_writer, " -->\r\n"); 773 774 775 #line 441 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 776 } 777 778 779 #line default 780 #line hidden 781 782 #line 442 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 783 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 784 785 786 #line default 787 #line hidden 788 789 #line 442 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 790 ; 791 } catch { 792 try { 793 794 795 #line default 796 #line hidden 797 798 #line 445 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 799 WriteTo(__razor_helper_writer, generalMethod.Invoke(this, methodParameters).ToString()); 800 801 802 #line default 803 #line hidden 804 805 #line 445 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 806 ; 807 } catch(Exception ex) { 808 throw new Exception(item.Component.GetType().Name + " method '" + methodName +"' could not be invoked", ex); 809 } 810 } 811 } 812 813 if (item.BlocksList.Count > 0 && !item.SkipRenderBlocksList) 814 { 815 816 817 #line default 818 #line hidden 819 820 #line 454 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 821 WriteTo(__razor_helper_writer, RenderBlockList(item.BlocksList)); 822 823 824 #line default 825 #line hidden 826 827 #line 454 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 828 829 } 830 831 832 #line default 833 #line hidden 834 }); 835 836 #line 456 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 837 } 838 #line default 839 #line hidden 840 841 842 #line 471 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 843 public RazorEngine.Templating.TemplateWriter Render(ComponentBase component) 844 { 845 #line default 846 #line hidden 847 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 848 849 #line 472 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 850 851 if (component != null) 852 { 853 854 855 #line default 856 #line hidden 857 858 #line 475 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 859 WriteTo(__razor_helper_writer, component.Render(this)); 860 861 862 #line default 863 #line hidden 864 865 #line 475 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 866 867 } 868 869 870 #line default 871 #line hidden 872 }); 873 874 #line 477 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 875 } 876 #line default 877 #line hidden 878 879 880 #line 487 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 881 public RazorEngine.Templating.TemplateWriter RenderIcon(Icon settings) 882 { 883 #line default 884 #line hidden 885 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 886 887 #line 488 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 888 889 if (settings != null) 890 { 891 string color = settings.Color != null ? "style=\"color: " + settings.Color + "\"" : ""; 892 893 if (settings.Name != null) 894 { 895 if (string.IsNullOrEmpty(settings.Label)) 896 { 897 898 899 #line default 900 #line hidden 901 WriteLiteralTo(__razor_helper_writer, " <i"); 902 903 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 18074), Tuple.Create("\"", 18132) 904 905 #line 497 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 906 , Tuple.Create(Tuple.Create("", 18082), Tuple.Create<System.Object, System.Int32>(settings.Prefix 907 908 #line default 909 #line hidden 910 , 18082), false) 911 912 #line 497 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 913 , Tuple.Create(Tuple.Create(" ", 18098), Tuple.Create<System.Object, System.Int32>(settings.Name 914 915 #line default 916 #line hidden 917 , 18099), false) 918 919 #line 497 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 920 , Tuple.Create(Tuple.Create(" ", 18113), Tuple.Create<System.Object, System.Int32>(settings.CssClass 921 922 #line default 923 #line hidden 924 , 18114), false) 925 ); 926 927 WriteLiteralTo(__razor_helper_writer, " "); 928 929 930 #line 497 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 931 WriteTo(__razor_helper_writer, color); 932 933 934 #line default 935 #line hidden 936 WriteLiteralTo(__razor_helper_writer, "></i>\r\n"); 937 938 939 #line 498 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 940 } 941 else 942 { 943 if (settings.LabelPosition == IconLabelPosition.Before) 944 { 945 946 947 #line default 948 #line hidden 949 WriteLiteralTo(__razor_helper_writer, " <span>"); 950 951 952 #line 503 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 953 WriteTo(__razor_helper_writer, settings.Label); 954 955 956 #line default 957 #line hidden 958 WriteLiteralTo(__razor_helper_writer, " <i"); 959 960 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 18331), Tuple.Create("\"", 18389) 961 962 #line 503 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 963 , Tuple.Create(Tuple.Create("", 18339), Tuple.Create<System.Object, System.Int32>(settings.Prefix 964 965 #line default 966 #line hidden 967 , 18339), false) 968 969 #line 503 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 970 , Tuple.Create(Tuple.Create(" ", 18355), Tuple.Create<System.Object, System.Int32>(settings.Name 971 972 #line default 973 #line hidden 974 , 18356), false) 975 976 #line 503 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 977 , Tuple.Create(Tuple.Create(" ", 18370), Tuple.Create<System.Object, System.Int32>(settings.CssClass 978 979 #line default 980 #line hidden 981 , 18371), false) 982 ); 983 984 WriteLiteralTo(__razor_helper_writer, " "); 985 986 987 #line 503 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 988 WriteTo(__razor_helper_writer, color); 989 990 991 #line default 992 #line hidden 993 WriteLiteralTo(__razor_helper_writer, "></i></span>\r\n"); 994 995 996 #line 504 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 997 } 998 else 999 { 1000 1001 1002 #line default 1003 #line hidden 1004 WriteLiteralTo(__razor_helper_writer, " <span><i"); 1005 1006 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 18499), Tuple.Create("\"", 18557) 1007 1008 #line 507 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1009 , Tuple.Create(Tuple.Create("", 18507), Tuple.Create<System.Object, System.Int32>(settings.Prefix 1010 1011 #line default 1012 #line hidden 1013 , 18507), false) 1014 1015 #line 507 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1016 , Tuple.Create(Tuple.Create(" ", 18523), Tuple.Create<System.Object, System.Int32>(settings.Name 1017 1018 #line default 1019 #line hidden 1020 , 18524), false) 1021 1022 #line 507 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1023 , Tuple.Create(Tuple.Create(" ", 18538), Tuple.Create<System.Object, System.Int32>(settings.CssClass 1024 1025 #line default 1026 #line hidden 1027 , 18539), false) 1028 ); 1029 1030 WriteLiteralTo(__razor_helper_writer, " "); 1031 1032 1033 #line 507 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1034 WriteTo(__razor_helper_writer, color); 1035 1036 1037 #line default 1038 #line hidden 1039 WriteLiteralTo(__razor_helper_writer, "></i> "); 1040 1041 1042 #line 507 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1043 WriteTo(__razor_helper_writer, settings.Label); 1044 1045 1046 #line default 1047 #line hidden 1048 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 1049 1050 1051 #line 508 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1052 } 1053 } 1054 } 1055 else if (!string.IsNullOrEmpty(settings.Label)) 1056 { 1057 1058 1059 #line default 1060 #line hidden 1061 1062 #line 513 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1063 WriteTo(__razor_helper_writer, settings.Label); 1064 1065 1066 #line default 1067 #line hidden 1068 1069 #line 513 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1070 1071 } 1072 } 1073 1074 1075 #line default 1076 #line hidden 1077 }); 1078 1079 #line 516 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1080 } 1081 #line default 1082 #line hidden 1083 1084 1085 #line 524 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1086 public RazorEngine.Templating.TemplateWriter RenderButton(Button settings) 1087 { 1088 #line default 1089 #line hidden 1090 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1091 1092 #line 525 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1093 1094 if (settings != null && (!string.IsNullOrEmpty(settings.Title) || settings.Icon != null)) 1095 { 1096 Dictionary<string, string> attributes = new Dictionary<string, string>(); 1097 List<string> classList = settings.CssClass != null ? settings.CssClass.Split(' ').ToList() : new List<string>(); 1098 if (settings.Disabled) { 1099 attributes.Add("disabled", "true"); 1100 classList.Add("disabled"); 1101 } 1102 1103 if (!string.IsNullOrEmpty(settings.ConfirmText) || !string.IsNullOrEmpty(settings.ConfirmTitle)) 1104 { 1105 settings.Id = !string.IsNullOrEmpty(settings.Id) ? settings.Id : Guid.NewGuid().ToString("N"); 1106 1107 1108 #line default 1109 #line hidden 1110 1111 #line 538 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1112 WriteTo(__razor_helper_writer, RenderConfirmDialog(settings)); 1113 1114 1115 #line default 1116 #line hidden 1117 1118 #line 538 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1119 ; 1120 settings.OnClick = "document.getElementById('" + settings.Id + "ModalTrigger').checked = true"; 1121 } 1122 1123 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 1124 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 1125 if (!string.IsNullOrEmpty(settings.AltText)) 1126 { 1127 attributes.Add("title", settings.AltText); 1128 } 1129 else if (!string.IsNullOrEmpty(settings.Title)) 1130 { 1131 attributes.Add("title", settings.Title); 1132 } 1133 1134 var onClickEvents = new List<string>(); 1135 if (!string.IsNullOrEmpty(settings.OnClick)) 1136 { 1137 onClickEvents.Add(settings.OnClick); 1138 } 1139 if (!string.IsNullOrEmpty(settings.Href)) 1140 { 1141 onClickEvents.Add("location.href='" + settings.Href + "'"); 1142 } 1143 if (onClickEvents.Count > 0) 1144 { 1145 attributes.Add("onClick", string.Join(";", onClickEvents)); 1146 } 1147 1148 if (settings.ButtonLayout != ButtonLayout.None) 1149 { 1150 classList.Add("btn"); 1151 string btnLayout = Enum.GetName(typeof(ButtonLayout), settings.ButtonLayout).ToLower(); 1152 if (btnLayout == "linkclean") 1153 { 1154 btnLayout = "link-clean"; //fix 1155 } 1156 classList.Add("btn--" + btnLayout); 1157 } 1158 1159 if (settings.Icon == null) 1160 { 1161 settings.Icon = new Icon(); 1162 } 1163 settings.Icon.Label = settings.Title; 1164 1165 attributes.Add("type", Enum.GetName(typeof(ButtonType), settings.ButtonType).ToLower()); 1166 1167 1168 1169 #line default 1170 #line hidden 1171 WriteLiteralTo(__razor_helper_writer, " <button"); 1172 1173 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 21202), Tuple.Create("\"", 21245) 1174 1175 #line 586 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1176 , Tuple.Create(Tuple.Create("", 21210), Tuple.Create<System.Object, System.Int32>(string.Join(" ", classList) 1177 1178 #line default 1179 #line hidden 1180 , 21210), false) 1181 , Tuple.Create(Tuple.Create(" ", 21238), Tuple.Create("dw-mod", 21239), true) 1182 ); 1183 1184 WriteLiteralTo(__razor_helper_writer, " "); 1185 1186 1187 #line 586 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1188 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(attributes)); 1189 1190 1191 #line default 1192 #line hidden 1193 WriteLiteralTo(__razor_helper_writer, " "); 1194 1195 1196 #line 586 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1197 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1198 1199 1200 #line default 1201 #line hidden 1202 WriteLiteralTo(__razor_helper_writer, ">"); 1203 1204 1205 #line 586 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1206 WriteTo(__razor_helper_writer, Render(settings.Icon)); 1207 1208 1209 #line default 1210 #line hidden 1211 WriteLiteralTo(__razor_helper_writer, "</button>\r\n"); 1212 1213 1214 #line 587 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1215 } 1216 1217 1218 #line default 1219 #line hidden 1220 }); 1221 1222 #line 588 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1223 } 1224 #line default 1225 #line hidden 1226 1227 1228 #line 590 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1229 public RazorEngine.Templating.TemplateWriter RenderConfirmDialog(Button settings) 1230 { 1231 #line default 1232 #line hidden 1233 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1234 1235 #line 591 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1236 1237 Modal confirmDialog = new Modal { 1238 Id = settings.Id, 1239 Width = ModalWidth.Sm, 1240 Heading = new Heading 1241 { 1242 Level = 2, 1243 Title = settings.ConfirmTitle 1244 }, 1245 BodyText = settings.ConfirmText 1246 }; 1247 1248 confirmDialog.AddAction(new Button { Title = Translate("Cancel"), ButtonLayout = ButtonLayout.Secondary, OnClick = "document.getElementById('" + settings.Id + "ModalTrigger').checked = false"}); 1249 confirmDialog.AddAction(new Button { Title = Translate("OK"), ButtonLayout = ButtonLayout.Primary, OnClick = "document.getElementById('" + settings.Id + "ModalTrigger').checked = false;" + settings.OnClick }); 1250 1251 1252 1253 #line default 1254 #line hidden 1255 1256 #line 606 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1257 WriteTo(__razor_helper_writer, Render(confirmDialog)); 1258 1259 1260 #line default 1261 #line hidden 1262 1263 #line 606 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1264 1265 1266 1267 #line default 1268 #line hidden 1269 }); 1270 1271 #line 607 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1272 } 1273 #line default 1274 #line hidden 1275 1276 1277 #line 612 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1278 public RazorEngine.Templating.TemplateWriter RenderDashboard(Dashboard settings) 1279 { 1280 #line default 1281 #line hidden 1282 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1283 1284 #line 613 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1285 1286 var widgets = settings.GetWidgets(); 1287 1288 if (!string.IsNullOrEmpty(settings.WidgetsBaseBackgroundColor)) 1289 { 1290 //set bg color for them 1291 1292 System.Drawing.Color color = System.Drawing.ColorTranslator.FromHtml(settings.WidgetsBaseBackgroundColor); 1293 int r = Convert.ToInt16(color.R); 1294 int g = Convert.ToInt16(color.G); 1295 int b = Convert.ToInt16(color.B); 1296 1297 var count = widgets.Length; 1298 var max = Math.Max(r, Math.Max(g, b)); 1299 double step = 255.0 / (max * count); 1300 var i = 0; 1301 foreach (var widget in widgets) 1302 { 1303 i++; 1304 1305 var shade = "rgb(" + Converter.ToString(r * step * i).Replace(",", ".") + ", " + Converter.ToString(g * step * i).Replace(",", ".") + ", " + Converter.ToString(b * step * i).Replace(",", ".") + ")"; 1306 widget.BackgroundColor = shade; 1307 } 1308 } 1309 1310 1311 1312 #line default 1313 #line hidden 1314 WriteLiteralTo(__razor_helper_writer, " <div"); 1315 1316 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 23241), Tuple.Create("\"", 23284) 1317 , Tuple.Create(Tuple.Create("", 23249), Tuple.Create("dashboard", 23249), true) 1318 1319 #line 638 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1320 , Tuple.Create(Tuple.Create(" ", 23258), Tuple.Create<System.Object, System.Int32>(settings.CssClass 1321 1322 #line default 1323 #line hidden 1324 , 23259), false) 1325 , Tuple.Create(Tuple.Create(" ", 23277), Tuple.Create("dw-mod", 23278), true) 1326 ); 1327 1328 WriteLiteralTo(__razor_helper_writer, " "); 1329 1330 1331 #line 638 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1332 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1333 1334 1335 #line default 1336 #line hidden 1337 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1338 1339 1340 #line 639 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1341 1342 1343 #line default 1344 #line hidden 1345 1346 #line 639 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1347 foreach (var widget in widgets) 1348 { 1349 1350 1351 #line default 1352 #line hidden 1353 WriteLiteralTo(__razor_helper_writer, " <div"); 1354 1355 WriteLiteralTo(__razor_helper_writer, " class=\"dashboard__widget\""); 1356 1357 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1358 1359 WriteLiteralTo(__razor_helper_writer, " "); 1360 1361 1362 #line 642 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1363 WriteTo(__razor_helper_writer, Render(widget)); 1364 1365 1366 #line default 1367 #line hidden 1368 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1369 1370 1371 #line 644 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1372 } 1373 1374 1375 #line default 1376 #line hidden 1377 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 1378 1379 1380 #line 646 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1381 1382 1383 #line default 1384 #line hidden 1385 }); 1386 1387 #line 646 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1388 } 1389 #line default 1390 #line hidden 1391 1392 1393 #line 650 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1394 public RazorEngine.Templating.TemplateWriter RenderDashboardWidgetLink(DashboardWidgetLink settings) 1395 { 1396 #line default 1397 #line hidden 1398 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1399 1400 #line 651 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1401 1402 if (!string.IsNullOrEmpty(settings.Link)) 1403 { 1404 var backgroundStyles = ""; 1405 if (!string.IsNullOrEmpty(settings.BackgroundColor)) 1406 { 1407 backgroundStyles = "style=\"background-color:" + settings.BackgroundColor + "\""; 1408 } 1409 1410 1411 1412 #line default 1413 #line hidden 1414 WriteLiteralTo(__razor_helper_writer, " <a"); 1415 1416 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 23970), Tuple.Create("\"", 23991) 1417 1418 #line 660 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1419 , Tuple.Create(Tuple.Create("", 23977), Tuple.Create<System.Object, System.Int32>(settings.Link 1420 1421 #line default 1422 #line hidden 1423 , 23977), false) 1424 ); 1425 1426 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 23992), Tuple.Create("\"", 24045) 1427 , Tuple.Create(Tuple.Create("", 24000), Tuple.Create("widget", 24000), true) 1428 , Tuple.Create(Tuple.Create(" ", 24006), Tuple.Create("widget--link", 24007), true) 1429 1430 #line 660 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1431 , Tuple.Create(Tuple.Create(" ", 24019), Tuple.Create<System.Object, System.Int32>(settings.CssClass 1432 1433 #line default 1434 #line hidden 1435 , 24020), false) 1436 , Tuple.Create(Tuple.Create(" ", 24038), Tuple.Create("dw-mod", 24039), true) 1437 ); 1438 1439 WriteLiteralTo(__razor_helper_writer, " "); 1440 1441 1442 #line 660 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1443 WriteTo(__razor_helper_writer, backgroundStyles); 1444 1445 1446 #line default 1447 #line hidden 1448 WriteLiteralTo(__razor_helper_writer, " title=\""); 1449 1450 1451 #line 660 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1452 WriteTo(__razor_helper_writer, settings.Title); 1453 1454 1455 #line default 1456 #line hidden 1457 WriteLiteralTo(__razor_helper_writer, "\" "); 1458 1459 1460 #line 660 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1461 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1462 1463 1464 #line default 1465 #line hidden 1466 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1467 1468 WriteLiteralTo(__razor_helper_writer, " class=\"u-center-middle u-color-light\""); 1469 1470 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1471 1472 1473 #line 662 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1474 1475 1476 #line default 1477 #line hidden 1478 1479 #line 662 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1480 if (settings.Icon != null) 1481 { 1482 settings.Icon.CssClass += "widget__icon"; 1483 1484 1485 #line default 1486 #line hidden 1487 1488 #line 665 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1489 WriteTo(__razor_helper_writer, Render(settings.Icon)); 1490 1491 1492 #line default 1493 #line hidden 1494 1495 #line 665 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1496 1497 } 1498 1499 1500 #line default 1501 #line hidden 1502 WriteLiteralTo(__razor_helper_writer, " <div"); 1503 1504 WriteLiteralTo(__razor_helper_writer, " class=\"widget__title\""); 1505 1506 WriteLiteralTo(__razor_helper_writer, ">"); 1507 1508 1509 #line 667 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1510 WriteTo(__razor_helper_writer, settings.Title); 1511 1512 1513 #line default 1514 #line hidden 1515 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </div>\r\n </a>\r\n"); 1516 1517 1518 #line 670 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1519 } 1520 1521 1522 #line default 1523 #line hidden 1524 }); 1525 1526 #line 671 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1527 } 1528 #line default 1529 #line hidden 1530 1531 1532 #line 675 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1533 public RazorEngine.Templating.TemplateWriter RenderDashboardWidgetCounter(DashboardWidgetCounter settings) 1534 { 1535 #line default 1536 #line hidden 1537 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1538 1539 #line 676 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1540 1541 var backgroundStyles = ""; 1542 if (!string.IsNullOrEmpty(settings.BackgroundColor)) 1543 { 1544 backgroundStyles = "style='background-color:" + settings.BackgroundColor + "'"; 1545 } 1546 1547 1548 1549 #line default 1550 #line hidden 1551 WriteLiteralTo(__razor_helper_writer, " <div"); 1552 1553 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 24881), Tuple.Create("\"", 24921) 1554 , Tuple.Create(Tuple.Create("", 24889), Tuple.Create("widget", 24889), true) 1555 1556 #line 683 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1557 , Tuple.Create(Tuple.Create(" ", 24895), Tuple.Create<System.Object, System.Int32>(settings.CssClass 1558 1559 #line default 1560 #line hidden 1561 , 24896), false) 1562 , Tuple.Create(Tuple.Create(" ", 24914), Tuple.Create("dw-mod", 24915), true) 1563 ); 1564 1565 WriteLiteralTo(__razor_helper_writer, " "); 1566 1567 1568 #line 683 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1569 WriteTo(__razor_helper_writer, backgroundStyles); 1570 1571 1572 #line default 1573 #line hidden 1574 WriteLiteralTo(__razor_helper_writer, " "); 1575 1576 1577 #line 683 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1578 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1579 1580 1581 #line default 1582 #line hidden 1583 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1584 1585 WriteLiteralTo(__razor_helper_writer, " class=\"u-center-middle u-color-light\""); 1586 1587 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1588 1589 1590 #line 685 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1591 1592 1593 #line default 1594 #line hidden 1595 1596 #line 685 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1597 if (settings.Icon != null) 1598 { 1599 settings.Icon.CssClass += "widget__icon"; 1600 1601 1602 #line default 1603 #line hidden 1604 1605 #line 688 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1606 WriteTo(__razor_helper_writer, Render(settings.Icon)); 1607 1608 1609 #line default 1610 #line hidden 1611 1612 #line 688 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1613 1614 } 1615 1616 1617 #line default 1618 #line hidden 1619 WriteLiteralTo(__razor_helper_writer, " <div"); 1620 1621 WriteLiteralTo(__razor_helper_writer, " class=\"widget__counter\""); 1622 1623 WriteLiteralTo(__razor_helper_writer, ">"); 1624 1625 1626 #line 690 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1627 WriteTo(__razor_helper_writer, settings.Count); 1628 1629 1630 #line default 1631 #line hidden 1632 WriteLiteralTo(__razor_helper_writer, "</div>\r\n <div"); 1633 1634 WriteLiteralTo(__razor_helper_writer, " class=\"widget__title\""); 1635 1636 WriteLiteralTo(__razor_helper_writer, ">"); 1637 1638 1639 #line 691 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1640 WriteTo(__razor_helper_writer, settings.Title); 1641 1642 1643 #line default 1644 #line hidden 1645 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </div>\r\n </div>\r\n"); 1646 1647 1648 #line 694 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1649 1650 1651 #line default 1652 #line hidden 1653 }); 1654 1655 #line 694 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1656 } 1657 #line default 1658 #line hidden 1659 1660 1661 #line 702 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1662 public RazorEngine.Templating.TemplateWriter RenderLink(Link settings) 1663 { 1664 #line default 1665 #line hidden 1666 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1667 1668 #line 703 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1669 1670 if (settings != null && !string.IsNullOrEmpty(settings.Href) && (!string.IsNullOrEmpty(settings.Title) || settings.Icon != null)) 1671 { 1672 Dictionary<string, string> attributes = new Dictionary<string, string>(); 1673 List<string> classList = settings.CssClass != null ? settings.CssClass.Split(' ').ToList() : new List<string>(); 1674 if (settings.Disabled) 1675 { 1676 attributes.Add("disabled", "true"); 1677 classList.Add("disabled"); 1678 } 1679 1680 if (!string.IsNullOrEmpty(settings.AltText)) 1681 { 1682 attributes.Add("title", settings.AltText); 1683 } 1684 else if (!string.IsNullOrEmpty(settings.Title)) 1685 { 1686 attributes.Add("title", settings.Title); 1687 } 1688 1689 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 1690 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 1691 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onClick", settings.OnClick); } 1692 attributes.Add("href", settings.Href); 1693 1694 if (settings.ButtonLayout != ButtonLayout.None) 1695 { 1696 classList.Add("btn"); 1697 string btnLayout = Enum.GetName(typeof(ButtonLayout), settings.ButtonLayout).ToLower(); 1698 if (btnLayout == "linkclean") 1699 { 1700 btnLayout = "link-clean"; //fix 1701 } 1702 classList.Add("btn--" + btnLayout); 1703 } 1704 1705 if (settings.Icon == null) 1706 { 1707 settings.Icon = new Icon(); 1708 } 1709 settings.Icon.Label = settings.Title; 1710 1711 if (settings.Target == LinkTargetType.Blank && settings.Rel == LinkRelType.None) 1712 { 1713 settings.Rel = LinkRelType.Noopener; 1714 } 1715 if (settings.Target != LinkTargetType.None) 1716 { 1717 attributes.Add("target", "_" + Enum.GetName(typeof(LinkTargetType), settings.Target).ToLower()); 1718 } 1719 if (settings.Download) 1720 { 1721 attributes.Add("download", "true"); 1722 } 1723 if (settings.Rel != LinkRelType.None) 1724 { 1725 attributes.Add("rel", Enum.GetName(typeof(LinkRelType), settings.Rel).ToLower()); 1726 } 1727 1728 1729 1730 #line default 1731 #line hidden 1732 WriteLiteralTo(__razor_helper_writer, " <a"); 1733 1734 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 27886), Tuple.Create("\"", 27929) 1735 1736 #line 762 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1737 , Tuple.Create(Tuple.Create("", 27894), Tuple.Create<System.Object, System.Int32>(string.Join(" ", classList) 1738 1739 #line default 1740 #line hidden 1741 , 27894), false) 1742 , Tuple.Create(Tuple.Create(" ", 27922), Tuple.Create("dw-mod", 27923), true) 1743 ); 1744 1745 WriteLiteralTo(__razor_helper_writer, " "); 1746 1747 1748 #line 762 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1749 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(attributes)); 1750 1751 1752 #line default 1753 #line hidden 1754 WriteLiteralTo(__razor_helper_writer, " "); 1755 1756 1757 #line 762 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1758 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1759 1760 1761 #line default 1762 #line hidden 1763 WriteLiteralTo(__razor_helper_writer, ">"); 1764 1765 1766 #line 762 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1767 WriteTo(__razor_helper_writer, Render(settings.Icon)); 1768 1769 1770 #line default 1771 #line hidden 1772 WriteLiteralTo(__razor_helper_writer, "</a>\r\n"); 1773 1774 1775 #line 763 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1776 } 1777 1778 1779 #line default 1780 #line hidden 1781 }); 1782 1783 #line 764 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1784 } 1785 #line default 1786 #line hidden 1787 1788 1789 #line 773 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1790 public RazorEngine.Templating.TemplateWriter RenderRating(Rating settings) 1791 { 1792 #line default 1793 #line hidden 1794 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1795 1796 #line 774 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1797 1798 if (settings.Score > 0) 1799 { 1800 int rating = settings.Score; 1801 string iconType = "fa-star"; 1802 1803 switch (settings.Type.ToString()) { 1804 case "Stars": 1805 iconType = "fa-star"; 1806 break; 1807 case "Hearts": 1808 iconType = "fa-heart"; 1809 break; 1810 case "Lemons": 1811 iconType = "fa-lemon"; 1812 break; 1813 case "Bombs": 1814 iconType = "fa-bomb"; 1815 break; 1816 } 1817 1818 1819 1820 #line default 1821 #line hidden 1822 WriteLiteralTo(__razor_helper_writer, " <div"); 1823 1824 WriteLiteralTo(__razor_helper_writer, " class=\"u-ta-right\""); 1825 1826 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1827 1828 1829 #line 796 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1830 1831 1832 #line default 1833 #line hidden 1834 1835 #line 796 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1836 for (int i = 0; i < settings.OutOf; i++) 1837 { 1838 1839 1840 #line default 1841 #line hidden 1842 WriteLiteralTo(__razor_helper_writer, " <i"); 1843 1844 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 28949), Tuple.Create("\"", 28996) 1845 1846 #line 798 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1847 , Tuple.Create(Tuple.Create("", 28957), Tuple.Create<System.Object, System.Int32>(rating > i ? "fas" : "far" 1848 1849 #line default 1850 #line hidden 1851 , 28957), false) 1852 1853 #line 798 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1854 , Tuple.Create(Tuple.Create(" ", 28986), Tuple.Create<System.Object, System.Int32>(iconType 1855 1856 #line default 1857 #line hidden 1858 , 28987), false) 1859 ); 1860 1861 WriteLiteralTo(__razor_helper_writer, "></i>\r\n"); 1862 1863 1864 #line 799 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1865 } 1866 1867 1868 #line default 1869 #line hidden 1870 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 1871 1872 1873 #line 801 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1874 } 1875 1876 1877 #line default 1878 #line hidden 1879 }); 1880 1881 #line 802 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1882 } 1883 #line default 1884 #line hidden 1885 1886 1887 #line 810 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1888 public RazorEngine.Templating.TemplateWriter RenderSelectFieldOption(SelectFieldOption settings) 1889 { 1890 #line default 1891 #line hidden 1892 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1893 1894 #line 811 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1895 1896 Dictionary<string, string> attributes = new Dictionary<string, string>(); 1897 if (settings.Checked) { attributes.Add("selected", "true"); } 1898 if (settings.Disabled) { attributes.Add("disabled", "true"); } 1899 if (settings.Value != null) { attributes.Add("value", settings.Value); } 1900 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 1901 1902 1903 1904 #line default 1905 #line hidden 1906 WriteLiteralTo(__razor_helper_writer, " <option "); 1907 1908 1909 #line 818 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1910 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(attributes)); 1911 1912 1913 #line default 1914 #line hidden 1915 WriteLiteralTo(__razor_helper_writer, " "); 1916 1917 1918 #line 818 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1919 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1920 1921 1922 #line default 1923 #line hidden 1924 WriteLiteralTo(__razor_helper_writer, ">"); 1925 1926 1927 #line 818 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1928 WriteTo(__razor_helper_writer, settings.Label); 1929 1930 1931 #line default 1932 #line hidden 1933 WriteLiteralTo(__razor_helper_writer, "</option>\r\n"); 1934 1935 1936 #line 819 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1937 1938 1939 #line default 1940 #line hidden 1941 }); 1942 1943 #line 819 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1944 } 1945 #line default 1946 #line hidden 1947 1948 1949 #line 827 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1950 public RazorEngine.Templating.TemplateWriter RenderNavigation(Navigation settings) { 1951 #line default 1952 #line hidden 1953 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1954 1955 #line 827 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1956 1957 1958 1959 #line default 1960 #line hidden 1961 1962 #line 828 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1963 WriteTo(__razor_helper_writer, RenderNavigation(new 1964 { 1965 id = settings.Id, 1966 cssclass = settings.CssClass, 1967 startLevel = settings.StartLevel, 1968 endlevel = settings.EndLevel, 1969 expandmode = settings.Expandmode, 1970 sitemapmode = settings.SitemapMode, 1971 template = settings.Template 1972 })); 1973 1974 1975 #line default 1976 #line hidden 1977 1978 #line 837 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1979 1980 1981 1982 #line default 1983 #line hidden 1984 }); 1985 1986 #line 838 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1987 } 1988 #line default 1989 #line hidden 1990 1991 1992 #line 845 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1993 public RazorEngine.Templating.TemplateWriter RenderBreadcrumbNavigation(BreadcrumbNavigation settings) { 1994 #line default 1995 #line hidden 1996 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1997 1998 #line 845 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 1999 2000 settings.Id = String.IsNullOrEmpty(settings.Id) ? "breadcrumb" : settings.Id; 2001 settings.Template = String.IsNullOrEmpty(settings.Template) ? "Breadcrumb.xslt" : settings.Template; 2002 settings.StartLevel = settings.StartLevel == 0 ? 1 : settings.StartLevel; 2003 settings.EndLevel = settings.EndLevel == 10 ? 1 : settings.EndLevel; 2004 settings.Expandmode = String.IsNullOrEmpty(settings.Expandmode) ? "all" : settings.Expandmode; 2005 settings.SitemapMode = false; 2006 2007 2008 2009 #line default 2010 #line hidden 2011 2012 #line 853 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2013 WriteTo(__razor_helper_writer, RenderNavigation(settings)); 2014 2015 2016 #line default 2017 #line hidden 2018 2019 #line 853 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2020 2021 2022 2023 #line default 2024 #line hidden 2025 }); 2026 2027 #line 854 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2028 } 2029 #line default 2030 #line hidden 2031 2032 2033 #line 861 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2034 public RazorEngine.Templating.TemplateWriter RenderLeftNavigation(LeftNavigation settings) { 2035 #line default 2036 #line hidden 2037 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2038 2039 #line 861 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2040 2041 settings.Id = String.IsNullOrEmpty(settings.Id) ? "breadcrumb" : settings.Id; 2042 settings.Template = String.IsNullOrEmpty(settings.Template) ? "Breadcrumb.xslt" : settings.Template; 2043 settings.StartLevel = settings.StartLevel == 0 ? 1 : settings.StartLevel; 2044 settings.EndLevel = settings.EndLevel == 10 ? 1 : settings.EndLevel; 2045 settings.Expandmode = String.IsNullOrEmpty(settings.Expandmode) ? "all" : settings.Expandmode; 2046 2047 2048 2049 #line default 2050 #line hidden 2051 WriteLiteralTo(__razor_helper_writer, " <div"); 2052 2053 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 2054 2055 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2056 2057 WriteLiteralTo(__razor_helper_writer, " "); 2058 2059 2060 #line 869 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2061 WriteTo(__razor_helper_writer, RenderNavigation(settings)); 2062 2063 2064 #line default 2065 #line hidden 2066 WriteLiteralTo(__razor_helper_writer, " \r\n </div> \r\n"); 2067 2068 2069 #line 871 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2070 2071 2072 #line default 2073 #line hidden 2074 }); 2075 2076 #line 871 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2077 } 2078 #line default 2079 #line hidden 2080 2081 2082 #line 878 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2083 public RazorEngine.Templating.TemplateWriter RenderHeading(Heading settings) 2084 { 2085 #line default 2086 #line hidden 2087 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2088 2089 #line 879 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2090 2091 if (settings != null && !string.IsNullOrEmpty(settings.Title)) 2092 { 2093 string color = settings.Color != null ? "style=\"color: " + settings.Color + "\"" : ""; 2094 string tagName = settings.Level != 0 ? "h" + settings.Level.ToString() : "div"; 2095 2096 2097 2098 #line default 2099 #line hidden 2100 2101 #line 885 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2102 WriteTo(__razor_helper_writer, "<" + tagName + " class=\"" + settings.CssClass + " dw-mod\" " + color + ">"); 2103 2104 2105 #line default 2106 #line hidden 2107 2108 #line 885 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2109 2110 if (!string.IsNullOrEmpty(settings.Link)) 2111 { 2112 2113 2114 #line default 2115 #line hidden 2116 2117 #line 888 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2118 WriteTo(__razor_helper_writer, Render(new Link { Href = settings.Link, Icon = settings.Icon, Title = settings.Title, ButtonLayout = ButtonLayout.None })); 2119 2120 2121 #line default 2122 #line hidden 2123 2124 #line 888 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2125 2126 } 2127 else 2128 { 2129 if (settings.Icon == null) 2130 { 2131 settings.Icon = new Icon(); 2132 } 2133 settings.Icon.Label = settings.Title; 2134 2135 2136 #line default 2137 #line hidden 2138 2139 #line 897 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2140 WriteTo(__razor_helper_writer, Render(settings.Icon)); 2141 2142 2143 #line default 2144 #line hidden 2145 2146 #line 897 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2147 2148 } 2149 2150 2151 #line default 2152 #line hidden 2153 2154 #line 899 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2155 WriteTo(__razor_helper_writer, "</" + tagName + ">"); 2156 2157 2158 #line default 2159 #line hidden 2160 2161 #line 899 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2162 ; 2163 } 2164 2165 2166 #line default 2167 #line hidden 2168 }); 2169 2170 #line 901 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2171 } 2172 #line default 2173 #line hidden 2174 2175 2176 #line 909 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2177 public RazorEngine.Templating.TemplateWriter RenderImage(Image settings) 2178 { 2179 #line default 2180 #line hidden 2181 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2182 2183 #line 910 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2184 2185 if (settings.FilterPrimary != ImageFilter.None || settings.FilterSecondary != ImageFilter.None) 2186 { 2187 Dictionary<string, string> optionalAttributes = new Dictionary<string, string>(); 2188 if (!string.IsNullOrEmpty(settings.FilterColor)) { optionalAttributes.Add("style", "background-color: " + settings.FilterColor); } 2189 2190 if (settings.Caption != null) 2191 { 2192 2193 2194 #line default 2195 #line hidden 2196 WriteLiteralTo(__razor_helper_writer, " "); 2197 2198 WriteLiteralTo(__razor_helper_writer, "<div>\r\n"); 2199 2200 2201 #line 919 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2202 } 2203 2204 var primaryFilterClass = settings.FilterPrimary.ToString().ToLower(); 2205 var secondaryFilterClass = settings.FilterSecondary.ToString().ToLower(); 2206 2207 2208 2209 #line default 2210 #line hidden 2211 WriteLiteralTo(__razor_helper_writer, " <div"); 2212 2213 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 33574), Tuple.Create("\"", 33655) 2214 , Tuple.Create(Tuple.Create("", 33582), Tuple.Create("image-filter", 33582), true) 2215 , Tuple.Create(Tuple.Create(" ", 33594), Tuple.Create("image-filter--", 33595), true) 2216 2217 #line 924 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2218 , Tuple.Create(Tuple.Create("", 33609), Tuple.Create<System.Object, System.Int32>(primaryFilterClass 2219 2220 #line default 2221 #line hidden 2222 , 33609), false) 2223 , Tuple.Create(Tuple.Create(" ", 33628), Tuple.Create("u-position-relative", 33629), true) 2224 , Tuple.Create(Tuple.Create(" ", 33648), Tuple.Create("dw-mod", 33649), true) 2225 ); 2226 2227 WriteLiteralTo(__razor_helper_writer, " "); 2228 2229 2230 #line 924 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2231 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 2232 2233 2234 #line default 2235 #line hidden 2236 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2237 2238 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 33727), Tuple.Create("\"", 33790) 2239 , Tuple.Create(Tuple.Create("", 33735), Tuple.Create("image-filter", 33735), true) 2240 , Tuple.Create(Tuple.Create(" ", 33747), Tuple.Create("image-filter--", 33748), true) 2241 2242 #line 925 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2243 , Tuple.Create(Tuple.Create("", 33762), Tuple.Create<System.Object, System.Int32>(secondaryFilterClass 2244 2245 #line default 2246 #line hidden 2247 , 33762), false) 2248 , Tuple.Create(Tuple.Create(" ", 33783), Tuple.Create("dw-mod", 33784), true) 2249 ); 2250 2251 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2252 2253 2254 #line 926 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2255 2256 2257 #line default 2258 #line hidden 2259 2260 #line 926 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2261 if (settings.Link != null) 2262 { 2263 2264 2265 #line default 2266 #line hidden 2267 WriteLiteralTo(__razor_helper_writer, " <a"); 2268 2269 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 33880), Tuple.Create("\"", 33901) 2270 2271 #line 928 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2272 , Tuple.Create(Tuple.Create("", 33887), Tuple.Create<System.Object, System.Int32>(settings.Link 2273 2274 #line default 2275 #line hidden 2276 , 33887), false) 2277 ); 2278 2279 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2280 2281 WriteLiteralTo(__razor_helper_writer, " "); 2282 2283 2284 #line 929 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2285 WriteTo(__razor_helper_writer, RenderTheImage(settings)); 2286 2287 2288 #line default 2289 #line hidden 2290 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n"); 2291 2292 2293 #line 931 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2294 } 2295 else 2296 { 2297 2298 2299 #line default 2300 #line hidden 2301 2302 #line 934 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2303 WriteTo(__razor_helper_writer, RenderTheImage(settings)); 2304 2305 2306 #line default 2307 #line hidden 2308 2309 #line 934 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2310 2311 } 2312 2313 2314 #line default 2315 #line hidden 2316 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 2317 2318 2319 #line 938 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2320 2321 if (settings.Caption != null) 2322 { 2323 2324 2325 #line default 2326 #line hidden 2327 WriteLiteralTo(__razor_helper_writer, " <span"); 2328 2329 WriteLiteralTo(__razor_helper_writer, " class=\"image-caption dw-mod\""); 2330 2331 WriteLiteralTo(__razor_helper_writer, ">"); 2332 2333 2334 #line 941 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2335 WriteTo(__razor_helper_writer, settings.Caption); 2336 2337 2338 #line default 2339 #line hidden 2340 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 2341 2342 WriteLiteralTo(__razor_helper_writer, " "); 2343 2344 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 2345 2346 2347 #line 943 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2348 } 2349 } 2350 else 2351 { 2352 if (settings.Caption != null) 2353 { 2354 2355 2356 #line default 2357 #line hidden 2358 WriteLiteralTo(__razor_helper_writer, " "); 2359 2360 WriteLiteralTo(__razor_helper_writer, "<div>\r\n"); 2361 2362 2363 #line 950 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2364 } 2365 if (!string.IsNullOrEmpty(settings.Link)) 2366 { 2367 2368 2369 #line default 2370 #line hidden 2371 WriteLiteralTo(__razor_helper_writer, " <a"); 2372 2373 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 34485), Tuple.Create("\"", 34506) 2374 2375 #line 953 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2376 , Tuple.Create(Tuple.Create("", 34492), Tuple.Create<System.Object, System.Int32>(settings.Link 2377 2378 #line default 2379 #line hidden 2380 , 34492), false) 2381 ); 2382 2383 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2384 2385 WriteLiteralTo(__razor_helper_writer, " "); 2386 2387 2388 #line 954 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2389 WriteTo(__razor_helper_writer, RenderTheImage(settings)); 2390 2391 2392 #line default 2393 #line hidden 2394 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n"); 2395 2396 2397 #line 956 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2398 } 2399 else 2400 { 2401 2402 2403 #line default 2404 #line hidden 2405 2406 #line 959 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2407 WriteTo(__razor_helper_writer, RenderTheImage(settings)); 2408 2409 2410 #line default 2411 #line hidden 2412 2413 #line 959 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2414 2415 } 2416 2417 if (settings.Caption != null) 2418 { 2419 2420 2421 #line default 2422 #line hidden 2423 WriteLiteralTo(__razor_helper_writer, " <span"); 2424 2425 WriteLiteralTo(__razor_helper_writer, " class=\"image-caption dw-mod\""); 2426 2427 WriteLiteralTo(__razor_helper_writer, ">"); 2428 2429 2430 #line 964 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2431 WriteTo(__razor_helper_writer, settings.Caption); 2432 2433 2434 #line default 2435 #line hidden 2436 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 2437 2438 WriteLiteralTo(__razor_helper_writer, " "); 2439 2440 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 2441 2442 2443 #line 966 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2444 } 2445 } 2446 2447 2448 #line default 2449 #line hidden 2450 }); 2451 2452 #line 968 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2453 } 2454 #line default 2455 #line hidden 2456 2457 2458 #line 970 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2459 public RazorEngine.Templating.TemplateWriter RenderTheImage(Image settings) 2460 { 2461 #line default 2462 #line hidden 2463 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2464 2465 #line 971 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2466 2467 if (settings != null) 2468 { 2469 string placeholderImage = "/Files/Images/placeholder.gif"; 2470 string imageEngine = "/Admin/Public/GetImage.ashx?Format=jpg&"; 2471 2472 string imageStyle = ""; 2473 2474 switch (settings.Style) 2475 { 2476 case ImageStyle.Ball: 2477 imageStyle = "grid__cell-img--ball"; 2478 break; 2479 } 2480 2481 if (settings.Style == ImageStyle.Ball || settings.Style == ImageStyle.Circle) 2482 { 2483 if (settings.ImageDefault != null) 2484 { 2485 settings.ImageDefault.Height = settings.ImageDefault.Width; 2486 } 2487 if (settings.ImageMedium != null) 2488 { 2489 settings.ImageMedium.Height = settings.ImageMedium.Width; 2490 } 2491 if (settings.ImageSmall != null) 2492 { 2493 settings.ImageSmall.Height = settings.ImageSmall.Width; 2494 } 2495 } 2496 2497 string defaultImage = imageEngine; 2498 string imageSmall = ""; 2499 string imageMedium = ""; 2500 2501 if (settings.DisableImageEngine) 2502 { 2503 defaultImage = settings.Path; 2504 } 2505 else 2506 { 2507 if (settings.ImageDefault != null) 2508 { 2509 defaultImage += Dynamicweb.Rapido.Services.Images.GetImagePathFromSettings(settings.ImageDefault); 2510 2511 if (settings.Path.GetType() != typeof(string)) 2512 { 2513 defaultImage += settings.Path != null ? "Image=" + settings.Path.PathUrlEncoded : ""; 2514 defaultImage += settings.Path != null ? "&" + settings.Path.GetFocalPointParameters() : ""; 2515 } 2516 else 2517 { 2518 defaultImage += settings.Path != null ? "Image=" + settings.Path : ""; 2519 } 2520 } 2521 2522 if (settings.ImageSmall != null) 2523 { 2524 imageSmall = "data-src-small=\"" + imageEngine; 2525 imageSmall += Dynamicweb.Rapido.Services.Images.GetImagePathFromSettings(settings.ImageSmall); 2526 2527 if (settings.Path.GetType() != typeof(string)) 2528 { 2529 imageSmall += settings.Path != null ? "Image=" + settings.Path.PathUrlEncoded : ""; 2530 imageSmall += settings.Path != null ? "&" + settings.Path.GetFocalPointParameters() : ""; 2531 } 2532 else 2533 { 2534 imageSmall += settings.Path != null ? "Image=" + settings.Path : ""; 2535 } 2536 2537 imageSmall += "\""; 2538 } 2539 2540 if (settings.ImageMedium != null) 2541 { 2542 imageMedium = "data-src-medium=\"" + imageEngine; 2543 imageMedium += Dynamicweb.Rapido.Services.Images.GetImagePathFromSettings(settings.ImageMedium); 2544 2545 if (settings.Path.GetType() != typeof(string)) 2546 { 2547 imageMedium += settings.Path != null ? "Image=" + settings.Path.PathUrlEncoded : ""; 2548 imageMedium += settings.Path != null ? "&" + settings.Path.GetFocalPointParameters() : ""; 2549 } 2550 else 2551 { 2552 imageMedium += settings.Path != null ? "Image=" + settings.Path : ""; 2553 } 2554 2555 imageMedium += "\""; 2556 } 2557 } 2558 2559 Dictionary<string, string> optionalAttributes = new Dictionary<string, string>(); 2560 if (!string.IsNullOrEmpty(settings.OnClick)) { optionalAttributes.Add("onclick", settings.OnClick); } 2561 if (!string.IsNullOrEmpty(settings.Title)) 2562 { 2563 optionalAttributes.Add("alt", settings.Title); 2564 optionalAttributes.Add("title", settings.Title); 2565 } 2566 2567 if (settings.DisableLazyLoad) 2568 { 2569 2570 2571 #line default 2572 #line hidden 2573 WriteLiteralTo(__razor_helper_writer, " <img"); 2574 2575 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 38758), Tuple.Create("\"", 38775) 2576 2577 #line 1074 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2578 , Tuple.Create(Tuple.Create("", 38763), Tuple.Create<System.Object, System.Int32>(settings.Id 2579 2580 #line default 2581 #line hidden 2582 , 38763), false) 2583 ); 2584 2585 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 38776), Tuple.Create("\"", 38821) 2586 2587 #line 1074 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2588 , Tuple.Create(Tuple.Create("", 38784), Tuple.Create<System.Object, System.Int32>(imageStyle 2589 2590 #line default 2591 #line hidden 2592 , 38784), false) 2593 2594 #line 1074 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2595 , Tuple.Create(Tuple.Create(" ", 38795), Tuple.Create<System.Object, System.Int32>(settings.CssClass 2596 2597 #line default 2598 #line hidden 2599 , 38796), false) 2600 , Tuple.Create(Tuple.Create(" ", 38814), Tuple.Create("dw-mod", 38815), true) 2601 ); 2602 2603 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 38822), Tuple.Create("\"", 38841) 2604 2605 #line 1074 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2606 , Tuple.Create(Tuple.Create("", 38828), Tuple.Create<System.Object, System.Int32>(defaultImage 2607 2608 #line default 2609 #line hidden 2610 , 38828), false) 2611 ); 2612 2613 WriteLiteralTo(__razor_helper_writer, " "); 2614 2615 2616 #line 1074 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2617 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 2618 2619 2620 #line default 2621 #line hidden 2622 WriteLiteralTo(__razor_helper_writer, " "); 2623 2624 2625 #line 1074 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2626 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 2627 2628 2629 #line default 2630 #line hidden 2631 WriteLiteralTo(__razor_helper_writer, " />\r\n"); 2632 2633 2634 #line 1075 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2635 } 2636 else 2637 { 2638 2639 2640 #line default 2641 #line hidden 2642 WriteLiteralTo(__razor_helper_writer, " <img"); 2643 2644 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 39011), Tuple.Create("\"", 39028) 2645 2646 #line 1078 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2647 , Tuple.Create(Tuple.Create("", 39016), Tuple.Create<System.Object, System.Int32>(settings.Id 2648 2649 #line default 2650 #line hidden 2651 , 39016), false) 2652 ); 2653 2654 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 39029), Tuple.Create("\"", 39081) 2655 , Tuple.Create(Tuple.Create("", 39037), Tuple.Create("b-lazy", 39037), true) 2656 2657 #line 1078 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2658 , Tuple.Create(Tuple.Create(" ", 39043), Tuple.Create<System.Object, System.Int32>(imageStyle 2659 2660 #line default 2661 #line hidden 2662 , 39044), false) 2663 2664 #line 1078 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2665 , Tuple.Create(Tuple.Create(" ", 39055), Tuple.Create<System.Object, System.Int32>(settings.CssClass 2666 2667 #line default 2668 #line hidden 2669 , 39056), false) 2670 , Tuple.Create(Tuple.Create(" ", 39074), Tuple.Create("dw-mod", 39075), true) 2671 ); 2672 2673 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 39082), Tuple.Create("\"", 39105) 2674 2675 #line 1078 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2676 , Tuple.Create(Tuple.Create("", 39088), Tuple.Create<System.Object, System.Int32>(placeholderImage 2677 2678 #line default 2679 #line hidden 2680 , 39088), false) 2681 ); 2682 2683 WriteLiteralTo(__razor_helper_writer, " data-src=\""); 2684 2685 2686 #line 1078 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2687 WriteTo(__razor_helper_writer, defaultImage); 2688 2689 2690 #line default 2691 #line hidden 2692 WriteLiteralTo(__razor_helper_writer, "\""); 2693 2694 WriteLiteralTo(__razor_helper_writer, " "); 2695 2696 2697 #line 1078 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2698 WriteTo(__razor_helper_writer, imageSmall); 2699 2700 2701 #line default 2702 #line hidden 2703 WriteLiteralTo(__razor_helper_writer, " "); 2704 2705 2706 #line 1078 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2707 WriteTo(__razor_helper_writer, imageMedium); 2708 2709 2710 #line default 2711 #line hidden 2712 WriteLiteralTo(__razor_helper_writer, " "); 2713 2714 2715 #line 1078 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2716 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 2717 2718 2719 #line default 2720 #line hidden 2721 WriteLiteralTo(__razor_helper_writer, " "); 2722 2723 2724 #line 1078 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2725 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 2726 2727 2728 #line default 2729 #line hidden 2730 WriteLiteralTo(__razor_helper_writer, " />\r\n"); 2731 2732 2733 #line 1079 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2734 } 2735 } 2736 2737 2738 #line default 2739 #line hidden 2740 }); 2741 2742 #line 1081 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2743 } 2744 #line default 2745 #line hidden 2746 2747 2748 #line 1088 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2749 public RazorEngine.Templating.TemplateWriter RenderFileField(FileField settings) 2750 { 2751 #line default 2752 #line hidden 2753 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2754 2755 #line 1089 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2756 2757 var attributes = new Dictionary<string, string>(); 2758 if (string.IsNullOrEmpty(settings.Id)) 2759 { 2760 settings.Id = Guid.NewGuid().ToString("N"); 2761 } 2762 2763 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 2764 if (settings.Disabled) { attributes.Add("disabled", "true"); } 2765 if (settings.Required) { attributes.Add("required", "true"); } 2766 if (settings.Multiple) { attributes.Add("multiple", "true"); } 2767 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 2768 if (string.IsNullOrEmpty(settings.ChooseFileText)) 2769 { 2770 settings.ChooseFileText = Translate("Choose file"); 2771 } 2772 if (string.IsNullOrEmpty(settings.NoFilesChosenText)) 2773 { 2774 settings.NoFilesChosenText = Translate("No files chosen..."); 2775 } 2776 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 2777 2778 string setValueToFakeInput = "FileUpload.setValueToFakeInput(this)"; 2779 attributes.Add("onchange", setValueToFakeInput + (!string.IsNullOrEmpty(settings.OnChange) ? settings.OnChange : "")); 2780 2781 attributes.Add("type", "file"); 2782 if (!string.IsNullOrEmpty(settings.Value)) { attributes.Add("value", settings.Value); } 2783 settings.CssClass = "u-full-width " + settings.CssClass; 2784 2785 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 2786 2787 2788 2789 #line default 2790 #line hidden 2791 WriteLiteralTo(__razor_helper_writer, " <div"); 2792 2793 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 40959), Tuple.Create("\"", 41030) 2794 , Tuple.Create(Tuple.Create("", 40967), Tuple.Create("form__field-group", 40967), true) 2795 , Tuple.Create(Tuple.Create(" ", 40984), Tuple.Create("u-full-width", 40985), true) 2796 2797 #line 1120 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2798 , Tuple.Create(Tuple.Create(" ", 40997), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 2799 2800 #line default 2801 #line hidden 2802 , 40998), false) 2803 , Tuple.Create(Tuple.Create(" ", 41023), Tuple.Create("dw-mod", 41024), true) 2804 ); 2805 2806 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2807 2808 2809 #line 1121 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2810 2811 2812 #line default 2813 #line hidden 2814 2815 #line 1121 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2816 if (!string.IsNullOrEmpty(settings.Label)) 2817 { 2818 2819 2820 #line default 2821 #line hidden 2822 WriteLiteralTo(__razor_helper_writer, " <label"); 2823 2824 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 41116), Tuple.Create("\"", 41134) 2825 2826 #line 1123 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2827 , Tuple.Create(Tuple.Create("", 41122), Tuple.Create<System.Object, System.Int32>(settings.Id 2828 2829 #line default 2830 #line hidden 2831 , 41122), false) 2832 ); 2833 2834 WriteLiteralTo(__razor_helper_writer, ">"); 2835 2836 2837 #line 1123 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2838 WriteTo(__razor_helper_writer, settings.Label); 2839 2840 2841 #line default 2842 #line hidden 2843 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 2844 2845 2846 #line 1124 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2847 } 2848 2849 2850 #line default 2851 #line hidden 2852 WriteLiteralTo(__razor_helper_writer, " "); 2853 2854 2855 #line 1125 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2856 if (!string.IsNullOrEmpty(settings.HelpText)) 2857 { 2858 2859 2860 #line default 2861 #line hidden 2862 WriteLiteralTo(__razor_helper_writer, " <small"); 2863 2864 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 2865 2866 WriteLiteralTo(__razor_helper_writer, ">"); 2867 2868 2869 #line 1127 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2870 WriteTo(__razor_helper_writer, settings.HelpText); 2871 2872 2873 #line default 2874 #line hidden 2875 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 2876 2877 2878 #line 1128 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2879 } 2880 2881 2882 #line default 2883 #line hidden 2884 WriteLiteralTo(__razor_helper_writer, "\r\n <div"); 2885 2886 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-combi file-input u-no-margin dw-mod\""); 2887 2888 WriteLiteralTo(__razor_helper_writer, ">\r\n <input "); 2889 2890 2891 #line 1131 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2892 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 2893 2894 2895 #line default 2896 #line hidden 2897 WriteLiteralTo(__razor_helper_writer, " class=\"file-input__real-input\" data-no-files-text=\""); 2898 2899 2900 #line 1131 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2901 WriteTo(__razor_helper_writer, settings.NoFilesChosenText); 2902 2903 2904 #line default 2905 #line hidden 2906 WriteLiteralTo(__razor_helper_writer, "\" data-many-files-text=\""); 2907 2908 2909 #line 1131 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2910 WriteTo(__razor_helper_writer, Translate("files")); 2911 2912 2913 #line default 2914 #line hidden 2915 WriteLiteralTo(__razor_helper_writer, "\" />\r\n <label"); 2916 2917 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 41608), Tuple.Create("\"", 41626) 2918 2919 #line 1132 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2920 , Tuple.Create(Tuple.Create("", 41614), Tuple.Create<System.Object, System.Int32>(settings.Id 2921 2922 #line default 2923 #line hidden 2924 , 41614), false) 2925 ); 2926 2927 WriteLiteralTo(__razor_helper_writer, " class=\"file-input__btn btn--secondary btn dw-mod\""); 2928 2929 WriteLiteralTo(__razor_helper_writer, ">"); 2930 2931 2932 #line 1132 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2933 WriteTo(__razor_helper_writer, settings.ChooseFileText); 2934 2935 2936 #line default 2937 #line hidden 2938 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <label"); 2939 2940 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 41730), Tuple.Create("\"", 41748) 2941 2942 #line 1133 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2943 , Tuple.Create(Tuple.Create("", 41736), Tuple.Create<System.Object, System.Int32>(settings.Id 2944 2945 #line default 2946 #line hidden 2947 , 41736), false) 2948 ); 2949 2950 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 41749), Tuple.Create("\"", 41819) 2951 2952 #line 1133 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2953 , Tuple.Create(Tuple.Create("", 41757), Tuple.Create<System.Object, System.Int32>(settings.CssClass 2954 2955 #line default 2956 #line hidden 2957 , 41757), false) 2958 , Tuple.Create(Tuple.Create(" ", 41775), Tuple.Create("file-input__fake-input", 41776), true) 2959 , Tuple.Create(Tuple.Create(" ", 41798), Tuple.Create("js-fake-input", 41799), true) 2960 , Tuple.Create(Tuple.Create(" ", 41812), Tuple.Create("dw-mod", 41813), true) 2961 ); 2962 2963 WriteLiteralTo(__razor_helper_writer, ">"); 2964 2965 2966 #line 1133 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2967 WriteTo(__razor_helper_writer, settings.NoFilesChosenText); 2968 2969 2970 #line default 2971 #line hidden 2972 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 2973 2974 2975 #line 1134 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2976 2977 2978 #line default 2979 #line hidden 2980 2981 #line 1134 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2982 if (settings.UploadButton != null) 2983 { 2984 settings.UploadButton.CssClass += " btn--condensed u-no-margin"; 2985 2986 2987 #line default 2988 #line hidden 2989 2990 #line 1137 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2991 WriteTo(__razor_helper_writer, Render(settings.UploadButton)); 2992 2993 2994 #line default 2995 #line hidden 2996 2997 #line 1137 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 2998 2999 } 3000 3001 3002 #line default 3003 #line hidden 3004 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 3005 3006 WriteLiteralTo(__razor_helper_writer, " "); 3007 3008 3009 #line 1140 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3010 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 3011 3012 3013 #line default 3014 #line hidden 3015 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3016 3017 3018 #line 1142 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3019 3020 3021 #line default 3022 #line hidden 3023 }); 3024 3025 #line 1142 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3026 } 3027 #line default 3028 #line hidden 3029 3030 3031 #line 1151 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3032 public RazorEngine.Templating.TemplateWriter RenderDateTimeField(DateTimeField settings) 3033 { 3034 #line default 3035 #line hidden 3036 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3037 3038 #line 1152 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3039 3040 if (string.IsNullOrEmpty(settings.Id)) 3041 { 3042 settings.Id = Guid.NewGuid().ToString("N"); 3043 } 3044 3045 var textField = new TextField { 3046 Name = settings.Name, 3047 Id = settings.Id, 3048 Label = settings.Label, 3049 HelpText = settings.HelpText, 3050 Value = settings.Value, 3051 Disabled = settings.Disabled, 3052 Required = settings.Required, 3053 ErrorMessage = settings.ErrorMessage, 3054 CssClass = settings.CssClass, 3055 WrapperCssClass = settings.WrapperCssClass, 3056 OnChange = settings.OnChange, 3057 OnClick = settings.OnClick, 3058 ExtraAttributes = settings.ExtraAttributes, 3059 // 3060 Placeholder = settings.Placeholder 3061 }; 3062 3063 3064 3065 #line default 3066 #line hidden 3067 3068 #line 1176 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3069 WriteTo(__razor_helper_writer, Render(textField)); 3070 3071 3072 #line default 3073 #line hidden 3074 3075 #line 1176 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3076 3077 3078 List<string> jsAttributes = new List<string>(); 3079 3080 jsAttributes.Add("mode: '" + Enum.GetName(typeof(DateTimeFieldMode), settings.Mode).ToLower() + "'"); 3081 3082 if (!string.IsNullOrEmpty(settings.DateFormat)) 3083 { 3084 jsAttributes.Add("dateFormat: '" + settings.DateFormat + "'"); 3085 } 3086 if (!string.IsNullOrEmpty(settings.MinDate)) 3087 { 3088 jsAttributes.Add("minDate: '" + settings.MinDate + "'"); 3089 } 3090 if (!string.IsNullOrEmpty(settings.MaxDate)) 3091 { 3092 jsAttributes.Add("maxDate: '" + settings.MaxDate + "'"); 3093 } 3094 if (settings.IsInline) 3095 { 3096 jsAttributes.Add("inline: " + Converter.ToString(settings.IsInline).ToLower()); 3097 } 3098 if (settings.EnableTime) 3099 { 3100 jsAttributes.Add("enableTime: " + Converter.ToString(settings.EnableTime).ToLower()); 3101 } 3102 if (settings.EnableWeekNumbers) 3103 { 3104 jsAttributes.Add("weekNumbers: " + Converter.ToString(settings.EnableWeekNumbers).ToLower()); 3105 } 3106 3107 jsAttributes.AddRange(settings.GetFlatPickrOptions().Select(x => x.Key + ": " + x.Value)); 3108 3109 3110 3111 #line default 3112 #line hidden 3113 WriteLiteralTo(__razor_helper_writer, " <script>\r\n document.addEventListener(\"DOMContentLoaded\", function () {" + 3114 "\r\n flatpickr(\"#"); 3115 3116 3117 #line 1211 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3118 WriteTo(__razor_helper_writer, textField.Id); 3119 3120 3121 #line default 3122 #line hidden 3123 WriteLiteralTo(__razor_helper_writer, "\", {\r\n"); 3124 3125 WriteLiteralTo(__razor_helper_writer, " "); 3126 3127 3128 #line 1212 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3129 WriteTo(__razor_helper_writer, string.Join(",", jsAttributes)); 3130 3131 3132 #line default 3133 #line hidden 3134 WriteLiteralTo(__razor_helper_writer, "\r\n });\r\n });\r\n </script>\r\n"); 3135 3136 3137 #line 1216 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3138 3139 3140 #line default 3141 #line hidden 3142 }); 3143 3144 #line 1216 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3145 } 3146 #line default 3147 #line hidden 3148 3149 3150 #line 1223 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3151 public RazorEngine.Templating.TemplateWriter RenderTextField(TextField settings) 3152 { 3153 #line default 3154 #line hidden 3155 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3156 3157 #line 1224 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3158 3159 var attributes = new Dictionary<string, string>(); 3160 if (!string.IsNullOrEmpty(settings.Label) && string.IsNullOrEmpty(settings.Id)) 3161 { 3162 settings.Id = Guid.NewGuid().ToString("N"); 3163 } 3164 3165 /*base settings*/ 3166 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 3167 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 3168 if (!string.IsNullOrEmpty(settings.OnChange)) { attributes.Add("onchange", settings.OnChange); } 3169 if (settings.Disabled) { attributes.Add("disabled", "true"); } 3170 if (settings.Required) { attributes.Add("required", "true"); } 3171 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 3172 /*end*/ 3173 3174 if (!string.IsNullOrEmpty(settings.OnKeyUp)) { attributes.Add("onkeyup", settings.OnKeyUp); } 3175 if (!string.IsNullOrEmpty(settings.OnInput)) { attributes.Add("oninput", settings.OnInput); } 3176 if (!string.IsNullOrEmpty(settings.OnFocus)) { attributes.Add("onfocus", settings.OnFocus); } 3177 if (settings.ReadOnly) { attributes.Add("readonly", "true"); } 3178 if (settings.MaxLength != 0) { attributes.Add("maxlength", settings.MaxLength.ToString()); } 3179 if (!string.IsNullOrEmpty(settings.Placeholder)) { attributes.Add("placeholder", settings.Placeholder); } 3180 attributes.Add("type", Enum.GetName(typeof(TextFieldType), settings.Type).ToLower()); 3181 if (settings.Type == TextFieldType.Password) { attributes.Add("autocomplete", "off"); }; 3182 if (!string.IsNullOrEmpty(settings.Value)) { attributes.Add("value", settings.Value); } 3183 settings.CssClass = "u-full-width " + settings.CssClass; 3184 3185 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 3186 3187 string noMargin = "u-no-margin"; 3188 if (!settings.ReadOnly) { 3189 noMargin = ""; 3190 } 3191 3192 3193 3194 #line default 3195 #line hidden 3196 WriteLiteralTo(__razor_helper_writer, " <div"); 3197 3198 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 46608), Tuple.Create("\"", 46689) 3199 , Tuple.Create(Tuple.Create("", 46616), Tuple.Create("form__field-group", 46616), true) 3200 , Tuple.Create(Tuple.Create(" ", 46633), Tuple.Create("u-full-width", 46634), true) 3201 3202 #line 1258 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3203 , Tuple.Create(Tuple.Create(" ", 46646), Tuple.Create<System.Object, System.Int32>(noMargin 3204 3205 #line default 3206 #line hidden 3207 , 46647), false) 3208 3209 #line 1258 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3210 , Tuple.Create(Tuple.Create(" ", 46656), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 3211 3212 #line default 3213 #line hidden 3214 , 46657), false) 3215 , Tuple.Create(Tuple.Create(" ", 46682), Tuple.Create("dw-mod", 46683), true) 3216 ); 3217 3218 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3219 3220 3221 #line 1259 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3222 3223 3224 #line default 3225 #line hidden 3226 3227 #line 1259 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3228 if (!string.IsNullOrEmpty(settings.Label)) 3229 { 3230 3231 3232 #line default 3233 #line hidden 3234 WriteLiteralTo(__razor_helper_writer, " <label"); 3235 3236 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 46775), Tuple.Create("\"", 46793) 3237 3238 #line 1261 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3239 , Tuple.Create(Tuple.Create("", 46781), Tuple.Create<System.Object, System.Int32>(settings.Id 3240 3241 #line default 3242 #line hidden 3243 , 46781), false) 3244 ); 3245 3246 WriteLiteralTo(__razor_helper_writer, ">"); 3247 3248 3249 #line 1261 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3250 WriteTo(__razor_helper_writer, settings.Label); 3251 3252 3253 #line default 3254 #line hidden 3255 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 3256 3257 3258 #line 1262 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3259 } 3260 3261 3262 #line default 3263 #line hidden 3264 WriteLiteralTo(__razor_helper_writer, " "); 3265 3266 3267 #line 1263 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3268 if (!string.IsNullOrEmpty(settings.HelpText)) 3269 { 3270 3271 3272 #line default 3273 #line hidden 3274 WriteLiteralTo(__razor_helper_writer, " <small"); 3275 3276 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 3277 3278 WriteLiteralTo(__razor_helper_writer, ">"); 3279 3280 3281 #line 1265 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3282 WriteTo(__razor_helper_writer, settings.HelpText); 3283 3284 3285 #line default 3286 #line hidden 3287 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 3288 3289 3290 #line 1266 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3291 } 3292 3293 3294 #line default 3295 #line hidden 3296 WriteLiteralTo(__razor_helper_writer, "\r\n"); 3297 3298 3299 #line 1268 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3300 3301 3302 #line default 3303 #line hidden 3304 3305 #line 1268 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3306 if (settings.ActionButton != null) 3307 { 3308 settings.ActionButton.CssClass += " btn--condensed u-no-margin"; 3309 3310 3311 #line default 3312 #line hidden 3313 WriteLiteralTo(__razor_helper_writer, " <div"); 3314 3315 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-combi u-no-margin dw-mod\""); 3316 3317 WriteLiteralTo(__razor_helper_writer, ">\r\n <input "); 3318 3319 3320 #line 1272 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3321 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 3322 3323 3324 #line default 3325 #line hidden 3326 WriteLiteralTo(__razor_helper_writer, " class=\""); 3327 3328 3329 #line 1272 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3330 WriteTo(__razor_helper_writer, settings.CssClass); 3331 3332 3333 #line default 3334 #line hidden 3335 WriteLiteralTo(__razor_helper_writer, " dw-mod\" />\r\n"); 3336 3337 WriteLiteralTo(__razor_helper_writer, " "); 3338 3339 3340 #line 1273 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3341 WriteTo(__razor_helper_writer, Render(settings.ActionButton)); 3342 3343 3344 #line default 3345 #line hidden 3346 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3347 3348 3349 #line 1275 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3350 } 3351 else 3352 { 3353 3354 3355 #line default 3356 #line hidden 3357 WriteLiteralTo(__razor_helper_writer, " <input "); 3358 3359 3360 #line 1278 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3361 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 3362 3363 3364 #line default 3365 #line hidden 3366 WriteLiteralTo(__razor_helper_writer, " class=\""); 3367 3368 3369 #line 1278 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3370 WriteTo(__razor_helper_writer, settings.CssClass); 3371 3372 3373 #line default 3374 #line hidden 3375 WriteLiteralTo(__razor_helper_writer, " dw-mod\" />\r\n"); 3376 3377 3378 #line 1279 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3379 } 3380 3381 3382 #line default 3383 #line hidden 3384 WriteLiteralTo(__razor_helper_writer, "\r\n"); 3385 3386 WriteLiteralTo(__razor_helper_writer, " "); 3387 3388 3389 #line 1281 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3390 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 3391 3392 3393 #line default 3394 #line hidden 3395 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3396 3397 3398 #line 1283 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3399 3400 3401 #line default 3402 #line hidden 3403 }); 3404 3405 #line 1283 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3406 } 3407 #line default 3408 #line hidden 3409 3410 3411 #line 1290 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3412 public RazorEngine.Templating.TemplateWriter RenderNumberField(NumberField settings) 3413 { 3414 #line default 3415 #line hidden 3416 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3417 3418 #line 1291 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3419 3420 var attributes = new Dictionary<string, string>(); 3421 if (!string.IsNullOrEmpty(settings.Label) && string.IsNullOrEmpty(settings.Id)) 3422 { 3423 settings.Id = Guid.NewGuid().ToString("N"); 3424 } 3425 3426 /*base settings*/ 3427 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 3428 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 3429 if (!string.IsNullOrEmpty(settings.OnChange)) { attributes.Add("onchange", settings.OnChange); } 3430 if (settings.Disabled) { attributes.Add("disabled", "true"); } 3431 if (settings.Required) { attributes.Add("required", "true"); } 3432 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 3433 /*end*/ 3434 3435 if (!string.IsNullOrEmpty(settings.OnKeyUp)) { attributes.Add("onkeyup", settings.OnKeyUp); } 3436 if (!string.IsNullOrEmpty(settings.OnInput)) { attributes.Add("oninput", settings.OnInput); } 3437 if (!string.IsNullOrEmpty(settings.OnFocus)) { attributes.Add("onfocus", settings.OnFocus); } 3438 if (settings.ReadOnly) { attributes.Add("readonly", "true"); } 3439 if (settings.Max != null) { attributes.Add("max", settings.Max.ToString()); } 3440 if (settings.Min != null) { attributes.Add("min", settings.Min.ToString()); } 3441 if (settings.Step != 0) { attributes.Add("step", settings.Step.ToString()); } 3442 if (settings.Value != null && !string.IsNullOrEmpty(settings.Value.ToString())) { attributes.Add("value", settings.Value.ToString()); } 3443 attributes.Add("type", "number"); 3444 3445 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 3446 3447 3448 3449 #line default 3450 #line hidden 3451 WriteLiteralTo(__razor_helper_writer, " <div"); 3452 3453 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 49509), Tuple.Create("\"", 49580) 3454 , Tuple.Create(Tuple.Create("", 49517), Tuple.Create("form__field-group", 49517), true) 3455 , Tuple.Create(Tuple.Create(" ", 49534), Tuple.Create("u-full-width", 49535), true) 3456 3457 #line 1319 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3458 , Tuple.Create(Tuple.Create(" ", 49547), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 3459 3460 #line default 3461 #line hidden 3462 , 49548), false) 3463 , Tuple.Create(Tuple.Create(" ", 49573), Tuple.Create("dw-mod", 49574), true) 3464 ); 3465 3466 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3467 3468 3469 #line 1320 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3470 3471 3472 #line default 3473 #line hidden 3474 3475 #line 1320 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3476 if (!string.IsNullOrEmpty(settings.Label)) 3477 { 3478 3479 3480 #line default 3481 #line hidden 3482 WriteLiteralTo(__razor_helper_writer, " <label"); 3483 3484 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 49666), Tuple.Create("\"", 49684) 3485 3486 #line 1322 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3487 , Tuple.Create(Tuple.Create("", 49672), Tuple.Create<System.Object, System.Int32>(settings.Id 3488 3489 #line default 3490 #line hidden 3491 , 49672), false) 3492 ); 3493 3494 WriteLiteralTo(__razor_helper_writer, ">"); 3495 3496 3497 #line 1322 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3498 WriteTo(__razor_helper_writer, settings.Label); 3499 3500 3501 #line default 3502 #line hidden 3503 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 3504 3505 3506 #line 1323 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3507 } 3508 3509 3510 #line default 3511 #line hidden 3512 WriteLiteralTo(__razor_helper_writer, " "); 3513 3514 3515 #line 1324 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3516 if (!string.IsNullOrEmpty(settings.HelpText)) 3517 { 3518 3519 3520 #line default 3521 #line hidden 3522 WriteLiteralTo(__razor_helper_writer, " <small"); 3523 3524 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 3525 3526 WriteLiteralTo(__razor_helper_writer, ">"); 3527 3528 3529 #line 1326 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3530 WriteTo(__razor_helper_writer, settings.HelpText); 3531 3532 3533 #line default 3534 #line hidden 3535 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 3536 3537 3538 #line 1327 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3539 } 3540 3541 3542 #line default 3543 #line hidden 3544 WriteLiteralTo(__razor_helper_writer, "\r\n"); 3545 3546 3547 #line 1329 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3548 3549 3550 #line default 3551 #line hidden 3552 3553 #line 1329 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3554 if (settings.ActionButton != null) 3555 { 3556 settings.ActionButton.CssClass += " btn--condensed u-no-margin"; 3557 3558 3559 #line default 3560 #line hidden 3561 WriteLiteralTo(__razor_helper_writer, " <div"); 3562 3563 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-combi u-no-margin dw-mod\""); 3564 3565 WriteLiteralTo(__razor_helper_writer, ">\r\n <input "); 3566 3567 3568 #line 1333 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3569 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 3570 3571 3572 #line default 3573 #line hidden 3574 WriteLiteralTo(__razor_helper_writer, " class=\""); 3575 3576 3577 #line 1333 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3578 WriteTo(__razor_helper_writer, settings.CssClass); 3579 3580 3581 #line default 3582 #line hidden 3583 WriteLiteralTo(__razor_helper_writer, " dw-mod\" />\r\n"); 3584 3585 WriteLiteralTo(__razor_helper_writer, " "); 3586 3587 3588 #line 1334 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3589 WriteTo(__razor_helper_writer, Render(settings.ActionButton)); 3590 3591 3592 #line default 3593 #line hidden 3594 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3595 3596 3597 #line 1336 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3598 } 3599 else 3600 { 3601 3602 3603 #line default 3604 #line hidden 3605 WriteLiteralTo(__razor_helper_writer, " <input "); 3606 3607 3608 #line 1339 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3609 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 3610 3611 3612 #line default 3613 #line hidden 3614 WriteLiteralTo(__razor_helper_writer, " class=\""); 3615 3616 3617 #line 1339 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3618 WriteTo(__razor_helper_writer, settings.CssClass); 3619 3620 3621 #line default 3622 #line hidden 3623 WriteLiteralTo(__razor_helper_writer, " dw-mod\" />\r\n"); 3624 3625 3626 #line 1340 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3627 } 3628 3629 3630 #line default 3631 #line hidden 3632 WriteLiteralTo(__razor_helper_writer, "\r\n"); 3633 3634 WriteLiteralTo(__razor_helper_writer, " "); 3635 3636 3637 #line 1342 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3638 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 3639 3640 3641 #line default 3642 #line hidden 3643 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3644 3645 3646 #line 1344 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3647 3648 3649 #line default 3650 #line hidden 3651 }); 3652 3653 #line 1344 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3654 } 3655 #line default 3656 #line hidden 3657 3658 3659 #line 1352 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3660 public RazorEngine.Templating.TemplateWriter RenderTextareaField(TextareaField settings) 3661 { 3662 #line default 3663 #line hidden 3664 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3665 3666 #line 1353 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3667 3668 Dictionary<string, string> attributes = new Dictionary<string, string>(); 3669 string id = settings.Id; 3670 if (!string.IsNullOrEmpty(settings.Label) && string.IsNullOrEmpty(id)) 3671 { 3672 id = Guid.NewGuid().ToString("N"); 3673 } 3674 3675 if (!string.IsNullOrEmpty(id)) { attributes.Add("id", id); } 3676 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 3677 if (!string.IsNullOrEmpty(settings.OnKeyUp)) { attributes.Add("onkeyup", settings.OnKeyUp); } 3678 if (!string.IsNullOrEmpty(settings.OnInput)) { attributes.Add("oninput", settings.OnInput); } 3679 if (!string.IsNullOrEmpty(settings.OnFocus)) { attributes.Add("onfocus", settings.OnFocus); } 3680 if (!string.IsNullOrEmpty(settings.OnChange)) { attributes.Add("onchange", settings.OnChange); } 3681 if (!string.IsNullOrEmpty(settings.Placeholder)) { attributes.Add("placeholder", settings.Placeholder); } 3682 if (settings.Disabled) { attributes.Add("disabled", "true"); } 3683 if (settings.Required) { attributes.Add("required", "true"); } 3684 if (settings.ReadOnly) { attributes.Add("readonly", "true"); } 3685 if (settings.MaxLength != 0) { attributes.Add("maxlength", settings.MaxLength.ToString()); } 3686 if (settings.Rows != 0) { attributes.Add("rows", settings.Rows.ToString()); } 3687 attributes.Add("name", settings.Name); 3688 3689 3690 3691 #line default 3692 #line hidden 3693 WriteLiteralTo(__razor_helper_writer, " <div"); 3694 3695 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 52068), Tuple.Create("\"", 52126) 3696 , Tuple.Create(Tuple.Create("", 52076), Tuple.Create("form__field-group", 52076), true) 3697 3698 #line 1375 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3699 , Tuple.Create(Tuple.Create(" ", 52093), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 3700 3701 #line default 3702 #line hidden 3703 , 52094), false) 3704 , Tuple.Create(Tuple.Create(" ", 52119), Tuple.Create("dw-mod", 52120), true) 3705 ); 3706 3707 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3708 3709 3710 #line 1376 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3711 3712 3713 #line default 3714 #line hidden 3715 3716 #line 1376 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3717 if (!string.IsNullOrEmpty(settings.Label)) 3718 { 3719 3720 3721 #line default 3722 #line hidden 3723 WriteLiteralTo(__razor_helper_writer, " <label"); 3724 3725 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 52212), Tuple.Create("\"", 52221) 3726 3727 #line 1378 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3728 , Tuple.Create(Tuple.Create("", 52218), Tuple.Create<System.Object, System.Int32>(id 3729 3730 #line default 3731 #line hidden 3732 , 52218), false) 3733 ); 3734 3735 WriteLiteralTo(__razor_helper_writer, ">"); 3736 3737 3738 #line 1378 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3739 WriteTo(__razor_helper_writer, settings.Label); 3740 3741 3742 #line default 3743 #line hidden 3744 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 3745 3746 3747 #line 1379 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3748 } 3749 3750 3751 #line default 3752 #line hidden 3753 WriteLiteralTo(__razor_helper_writer, " "); 3754 3755 3756 #line 1380 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3757 if (!string.IsNullOrEmpty(settings.HelpText)) 3758 { 3759 3760 3761 #line default 3762 #line hidden 3763 WriteLiteralTo(__razor_helper_writer, " <small"); 3764 3765 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 3766 3767 WriteLiteralTo(__razor_helper_writer, ">"); 3768 3769 3770 #line 1382 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3771 WriteTo(__razor_helper_writer, settings.HelpText); 3772 3773 3774 #line default 3775 #line hidden 3776 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 3777 3778 3779 #line 1383 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3780 } 3781 3782 3783 #line default 3784 #line hidden 3785 WriteLiteralTo(__razor_helper_writer, "\r\n <textarea"); 3786 3787 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 52427), Tuple.Create("\"", 52473) 3788 , Tuple.Create(Tuple.Create("", 52435), Tuple.Create("u-full-width", 52435), true) 3789 3790 #line 1385 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3791 , Tuple.Create(Tuple.Create(" ", 52447), Tuple.Create<System.Object, System.Int32>(settings.CssClass 3792 3793 #line default 3794 #line hidden 3795 , 52448), false) 3796 , Tuple.Create(Tuple.Create(" ", 52466), Tuple.Create("dw-mod", 52467), true) 3797 ); 3798 3799 WriteLiteralTo(__razor_helper_writer, " "); 3800 3801 3802 #line 1385 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3803 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(attributes)); 3804 3805 3806 #line default 3807 #line hidden 3808 WriteLiteralTo(__razor_helper_writer, " "); 3809 3810 3811 #line 1385 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3812 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 3813 3814 3815 #line default 3816 #line hidden 3817 WriteLiteralTo(__razor_helper_writer, ">"); 3818 3819 3820 #line 1385 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3821 WriteTo(__razor_helper_writer, settings.Value); 3822 3823 3824 #line default 3825 #line hidden 3826 WriteLiteralTo(__razor_helper_writer, "</textarea>\r\n\r\n"); 3827 3828 WriteLiteralTo(__razor_helper_writer, " "); 3829 3830 3831 #line 1387 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3832 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 3833 3834 3835 #line default 3836 #line hidden 3837 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3838 3839 3840 #line 1389 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3841 3842 3843 #line default 3844 #line hidden 3845 }); 3846 3847 #line 1389 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3848 } 3849 #line default 3850 #line hidden 3851 3852 3853 #line 1397 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3854 public RazorEngine.Templating.TemplateWriter RenderHiddenField(HiddenField settings) { 3855 #line default 3856 #line hidden 3857 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3858 3859 #line 1397 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3860 3861 var attributes = new Dictionary<string, string>(); 3862 attributes.Add("type", "hidden"); 3863 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 3864 if (!string.IsNullOrEmpty(settings.Value)) { attributes.Add("value", settings.Value); } 3865 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 3866 3867 3868 3869 #line default 3870 #line hidden 3871 WriteLiteralTo(__razor_helper_writer, " <input "); 3872 3873 3874 #line 1404 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3875 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(attributes)); 3876 3877 3878 #line default 3879 #line hidden 3880 WriteLiteralTo(__razor_helper_writer, " "); 3881 3882 3883 #line 1404 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3884 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 3885 3886 3887 #line default 3888 #line hidden 3889 WriteLiteralTo(__razor_helper_writer, "/>\r\n"); 3890 3891 3892 #line 1405 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3893 3894 3895 #line default 3896 #line hidden 3897 }); 3898 3899 #line 1405 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3900 } 3901 #line default 3902 #line hidden 3903 3904 3905 #line 1412 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3906 public RazorEngine.Templating.TemplateWriter RenderCheckboxField(CheckboxField settings) 3907 { 3908 #line default 3909 #line hidden 3910 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3911 3912 #line 1413 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3913 3914 var attributes = new Dictionary<string, string>(); 3915 if (!string.IsNullOrEmpty(settings.Label) && string.IsNullOrEmpty(settings.Id)) 3916 { 3917 settings.Id = Guid.NewGuid().ToString("N"); 3918 } 3919 3920 /*base settings*/ 3921 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 3922 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 3923 if (!string.IsNullOrEmpty(settings.OnChange)) { attributes.Add("onchange", settings.OnChange); } 3924 if (settings.Disabled) { attributes.Add("disabled", "true"); } 3925 if (settings.Required) { attributes.Add("required", "true"); } 3926 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 3927 /*end*/ 3928 3929 attributes.Add("type", "checkbox"); 3930 if (settings.Checked) { attributes.Add("checked", "true"); } 3931 settings.CssClass = "form__control " + settings.CssClass; 3932 if (!string.IsNullOrEmpty(settings.Value)) { attributes.Add("value", settings.Value); } 3933 3934 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 3935 3936 3937 3938 #line default 3939 #line hidden 3940 WriteLiteralTo(__razor_helper_writer, " <div"); 3941 3942 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 54761), Tuple.Create("\"", 54819) 3943 , Tuple.Create(Tuple.Create("", 54769), Tuple.Create("form__field-group", 54769), true) 3944 3945 #line 1436 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3946 , Tuple.Create(Tuple.Create(" ", 54786), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 3947 3948 #line default 3949 #line hidden 3950 , 54787), false) 3951 , Tuple.Create(Tuple.Create(" ", 54812), Tuple.Create("dw-mod", 54813), true) 3952 ); 3953 3954 WriteLiteralTo(__razor_helper_writer, ">\r\n <input "); 3955 3956 3957 #line 1437 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3958 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 3959 3960 3961 #line default 3962 #line hidden 3963 WriteLiteralTo(__razor_helper_writer, " class=\""); 3964 3965 3966 #line 1437 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3967 WriteTo(__razor_helper_writer, settings.CssClass); 3968 3969 3970 #line default 3971 #line hidden 3972 WriteLiteralTo(__razor_helper_writer, " dw-mod\" />\r\n"); 3973 3974 3975 #line 1438 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3976 3977 3978 #line default 3979 #line hidden 3980 3981 #line 1438 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3982 if (!string.IsNullOrEmpty(settings.Label)) 3983 { 3984 3985 3986 #line default 3987 #line hidden 3988 WriteLiteralTo(__razor_helper_writer, " <label"); 3989 3990 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 55008), Tuple.Create("\"", 55026) 3991 3992 #line 1440 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 3993 , Tuple.Create(Tuple.Create("", 55014), Tuple.Create<System.Object, System.Int32>(settings.Id 3994 3995 #line default 3996 #line hidden 3997 , 55014), false) 3998 ); 3999 4000 WriteLiteralTo(__razor_helper_writer, " class=\"dw-mod\""); 4001 4002 WriteLiteralTo(__razor_helper_writer, ">"); 4003 4004 4005 #line 1440 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4006 WriteTo(__razor_helper_writer, settings.Label); 4007 4008 4009 #line default 4010 #line hidden 4011 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 4012 4013 4014 #line 1441 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4015 } 4016 4017 4018 #line default 4019 #line hidden 4020 WriteLiteralTo(__razor_helper_writer, " "); 4021 4022 4023 #line 1442 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4024 if (!string.IsNullOrEmpty(settings.HelpText)) 4025 { 4026 4027 4028 #line default 4029 #line hidden 4030 WriteLiteralTo(__razor_helper_writer, " <small"); 4031 4032 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 4033 4034 WriteLiteralTo(__razor_helper_writer, ">"); 4035 4036 4037 #line 1444 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4038 WriteTo(__razor_helper_writer, settings.HelpText); 4039 4040 4041 #line default 4042 #line hidden 4043 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 4044 4045 4046 #line 1445 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4047 } 4048 4049 4050 #line default 4051 #line hidden 4052 WriteLiteralTo(__razor_helper_writer, " "); 4053 4054 4055 #line 1446 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4056 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 4057 4058 4059 #line default 4060 #line hidden 4061 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4062 4063 4064 #line 1448 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4065 4066 4067 #line default 4068 #line hidden 4069 }); 4070 4071 #line 1448 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4072 } 4073 #line default 4074 #line hidden 4075 4076 4077 #line 1456 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4078 public RazorEngine.Templating.TemplateWriter RenderCheckboxListField(CheckboxListField settings) 4079 { 4080 #line default 4081 #line hidden 4082 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4083 4084 #line 1457 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4085 4086 4087 4088 #line default 4089 #line hidden 4090 WriteLiteralTo(__razor_helper_writer, " <div"); 4091 4092 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 55538), Tuple.Create("\"", 55612) 4093 , Tuple.Create(Tuple.Create("", 55546), Tuple.Create("form__field-group", 55546), true) 4094 4095 #line 1458 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4096 , Tuple.Create(Tuple.Create(" ", 55563), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 4097 4098 #line default 4099 #line hidden 4100 , 55564), false) 4101 , Tuple.Create(Tuple.Create(" ", 55589), Tuple.Create("u-margin-bottom", 55590), true) 4102 , Tuple.Create(Tuple.Create(" ", 55605), Tuple.Create("dw-mod", 55606), true) 4103 ); 4104 4105 WriteLiteralTo(__razor_helper_writer, " "); 4106 4107 4108 #line 1458 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4109 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 4110 4111 4112 #line default 4113 #line hidden 4114 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4115 4116 4117 #line 1459 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4118 4119 4120 #line default 4121 #line hidden 4122 4123 #line 1459 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4124 if (!string.IsNullOrEmpty(settings.Label)) 4125 { 4126 4127 4128 #line default 4129 #line hidden 4130 WriteLiteralTo(__razor_helper_writer, " <label>"); 4131 4132 4133 #line 1461 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4134 WriteTo(__razor_helper_writer, settings.Label); 4135 4136 4137 #line default 4138 #line hidden 4139 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 4140 4141 4142 #line 1462 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4143 } 4144 4145 4146 #line default 4147 #line hidden 4148 WriteLiteralTo(__razor_helper_writer, " "); 4149 4150 4151 #line 1463 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4152 if (!string.IsNullOrEmpty(settings.HelpText)) 4153 { 4154 4155 4156 #line default 4157 #line hidden 4158 WriteLiteralTo(__razor_helper_writer, " <small"); 4159 4160 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 4161 4162 WriteLiteralTo(__razor_helper_writer, ">"); 4163 4164 4165 #line 1465 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4166 WriteTo(__razor_helper_writer, settings.HelpText); 4167 4168 4169 #line default 4170 #line hidden 4171 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 4172 4173 4174 #line 1466 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4175 } 4176 4177 4178 #line default 4179 #line hidden 4180 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4181 4182 4183 #line 1468 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4184 4185 4186 #line default 4187 #line hidden 4188 4189 #line 1468 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4190 foreach (var item in settings.Options) 4191 { 4192 if (settings.Required) 4193 { 4194 item.Required = true; 4195 } 4196 if (settings.Disabled) 4197 { 4198 item.Disabled = true; 4199 } 4200 if (!string.IsNullOrEmpty(settings.Name)) 4201 { 4202 item.Name = settings.Name; 4203 } 4204 if (!string.IsNullOrEmpty(settings.CssClass)) 4205 { 4206 item.CssClass += settings.CssClass; 4207 } 4208 4209 /* value is not supported */ 4210 4211 if (!string.IsNullOrEmpty(settings.OnClick)) 4212 { 4213 item.OnClick += settings.OnClick; 4214 } 4215 if (!string.IsNullOrEmpty(settings.OnChange)) 4216 { 4217 item.OnChange += settings.OnChange; 4218 } 4219 4220 4221 #line default 4222 #line hidden 4223 4224 #line 1497 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4225 WriteTo(__razor_helper_writer, Render(item)); 4226 4227 4228 #line default 4229 #line hidden 4230 4231 #line 1497 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4232 4233 } 4234 4235 4236 #line default 4237 #line hidden 4238 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4239 4240 WriteLiteralTo(__razor_helper_writer, " "); 4241 4242 4243 #line 1500 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4244 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 4245 4246 4247 #line default 4248 #line hidden 4249 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4250 4251 4252 #line 1502 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4253 4254 4255 #line default 4256 #line hidden 4257 }); 4258 4259 #line 1502 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4260 } 4261 #line default 4262 #line hidden 4263 4264 4265 #line 1510 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4266 public RazorEngine.Templating.TemplateWriter RenderSelectField(SelectField settings) 4267 { 4268 #line default 4269 #line hidden 4270 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4271 4272 #line 1511 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4273 4274 if (!string.IsNullOrEmpty(settings.Label) && string.IsNullOrEmpty(settings.Id)) 4275 { 4276 settings.Id = Guid.NewGuid().ToString("N"); 4277 } 4278 4279 4280 4281 #line default 4282 #line hidden 4283 WriteLiteralTo(__razor_helper_writer, " <div"); 4284 4285 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 57304), Tuple.Create("\"", 57375) 4286 , Tuple.Create(Tuple.Create("", 57312), Tuple.Create("form__field-group", 57312), true) 4287 , Tuple.Create(Tuple.Create(" ", 57329), Tuple.Create("u-full-width", 57330), true) 4288 4289 #line 1517 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4290 , Tuple.Create(Tuple.Create(" ", 57342), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 4291 4292 #line default 4293 #line hidden 4294 , 57343), false) 4295 , Tuple.Create(Tuple.Create(" ", 57368), Tuple.Create("dw-mod", 57369), true) 4296 ); 4297 4298 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4299 4300 4301 #line 1518 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4302 4303 4304 #line default 4305 #line hidden 4306 4307 #line 1518 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4308 if (!string.IsNullOrEmpty(settings.Label)) 4309 { 4310 4311 4312 #line default 4313 #line hidden 4314 WriteLiteralTo(__razor_helper_writer, " <label"); 4315 4316 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 57461), Tuple.Create("\"", 57479) 4317 4318 #line 1520 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4319 , Tuple.Create(Tuple.Create("", 57467), Tuple.Create<System.Object, System.Int32>(settings.Id 4320 4321 #line default 4322 #line hidden 4323 , 57467), false) 4324 ); 4325 4326 WriteLiteralTo(__razor_helper_writer, ">"); 4327 4328 4329 #line 1520 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4330 WriteTo(__razor_helper_writer, settings.Label); 4331 4332 4333 #line default 4334 #line hidden 4335 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 4336 4337 4338 #line 1521 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4339 } 4340 4341 4342 #line default 4343 #line hidden 4344 WriteLiteralTo(__razor_helper_writer, " "); 4345 4346 4347 #line 1522 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4348 if (!string.IsNullOrEmpty(settings.HelpText)) 4349 { 4350 4351 4352 #line default 4353 #line hidden 4354 WriteLiteralTo(__razor_helper_writer, " <small"); 4355 4356 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 4357 4358 WriteLiteralTo(__razor_helper_writer, ">"); 4359 4360 4361 #line 1524 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4362 WriteTo(__razor_helper_writer, settings.HelpText); 4363 4364 4365 #line default 4366 #line hidden 4367 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 4368 4369 4370 #line 1525 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4371 } 4372 4373 4374 #line default 4375 #line hidden 4376 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4377 4378 4379 #line 1527 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4380 4381 4382 #line default 4383 #line hidden 4384 4385 #line 1527 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4386 if (settings.ActionButton != null) 4387 { 4388 settings.ActionButton.CssClass += " btn--condensed u-no-margin"; 4389 4390 4391 #line default 4392 #line hidden 4393 WriteLiteralTo(__razor_helper_writer, " <div"); 4394 4395 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-combi u-no-margin dw-mod\""); 4396 4397 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4398 4399 WriteLiteralTo(__razor_helper_writer, " "); 4400 4401 4402 #line 1531 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4403 WriteTo(__razor_helper_writer, RenderSelectBase(settings)); 4404 4405 4406 #line default 4407 #line hidden 4408 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4409 4410 WriteLiteralTo(__razor_helper_writer, " "); 4411 4412 4413 #line 1532 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4414 WriteTo(__razor_helper_writer, Render(settings.ActionButton)); 4415 4416 4417 #line default 4418 #line hidden 4419 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4420 4421 4422 #line 1534 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4423 } 4424 else 4425 { 4426 4427 4428 #line default 4429 #line hidden 4430 4431 #line 1537 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4432 WriteTo(__razor_helper_writer, RenderSelectBase(settings)); 4433 4434 4435 #line default 4436 #line hidden 4437 4438 #line 1537 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4439 4440 } 4441 4442 4443 #line default 4444 #line hidden 4445 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4446 4447 WriteLiteralTo(__razor_helper_writer, " "); 4448 4449 4450 #line 1540 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4451 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 4452 4453 4454 #line default 4455 #line hidden 4456 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4457 4458 4459 #line 1542 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4460 4461 4462 #line default 4463 #line hidden 4464 }); 4465 4466 #line 1542 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4467 } 4468 #line default 4469 #line hidden 4470 4471 4472 #line 1544 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4473 public RazorEngine.Templating.TemplateWriter RenderSelectBase(SelectField settings) 4474 { 4475 #line default 4476 #line hidden 4477 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4478 4479 #line 1545 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4480 4481 var attributes = new Dictionary<string, string>(); 4482 4483 /*base settings*/ 4484 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 4485 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 4486 if (!string.IsNullOrEmpty(settings.OnChange)) { attributes.Add("onchange", settings.OnChange); } 4487 if (settings.Disabled) { attributes.Add("disabled", "true"); } 4488 if (settings.Required) { attributes.Add("required", "true"); } 4489 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 4490 /*end*/ 4491 4492 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 4493 4494 4495 4496 #line default 4497 #line hidden 4498 WriteLiteralTo(__razor_helper_writer, " <select "); 4499 4500 4501 #line 1559 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4502 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 4503 4504 4505 #line default 4506 #line hidden 4507 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width "); 4508 4509 4510 #line 1559 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4511 WriteTo(__razor_helper_writer, settings.CssClass); 4512 4513 4514 #line default 4515 #line hidden 4516 WriteLiteralTo(__razor_helper_writer, " dw-mod\">\r\n"); 4517 4518 4519 #line 1560 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4520 4521 4522 #line default 4523 #line hidden 4524 4525 #line 1560 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4526 if (settings.Default != null) 4527 { 4528 4529 4530 #line default 4531 #line hidden 4532 4533 #line 1562 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4534 WriteTo(__razor_helper_writer, Render(settings.Default)); 4535 4536 4537 #line default 4538 #line hidden 4539 4540 #line 1562 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4541 4542 } 4543 4544 4545 #line default 4546 #line hidden 4547 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4548 4549 4550 #line 1565 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4551 4552 4553 #line default 4554 #line hidden 4555 4556 #line 1565 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4557 foreach (var item in settings.Options) 4558 { 4559 if (!string.IsNullOrEmpty(settings.Value)) { 4560 item.Checked = item.Value == settings.Value; 4561 } 4562 4563 4564 #line default 4565 #line hidden 4566 4567 #line 1570 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4568 WriteTo(__razor_helper_writer, Render(item)); 4569 4570 4571 #line default 4572 #line hidden 4573 4574 #line 1570 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4575 4576 } 4577 4578 4579 #line default 4580 #line hidden 4581 WriteLiteralTo(__razor_helper_writer, " </select>\r\n"); 4582 4583 4584 #line 1573 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4585 4586 4587 #line default 4588 #line hidden 4589 }); 4590 4591 #line 1573 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4592 } 4593 #line default 4594 #line hidden 4595 4596 4597 #line 1580 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4598 public RazorEngine.Templating.TemplateWriter RenderRadioButtonField(RadioButtonField settings) 4599 { 4600 #line default 4601 #line hidden 4602 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4603 4604 #line 1581 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4605 4606 var attributes = new Dictionary<string, string>(); 4607 if (!string.IsNullOrEmpty(settings.Label) && string.IsNullOrEmpty(settings.Id)) 4608 { 4609 settings.Id = Guid.NewGuid().ToString("N"); 4610 } 4611 4612 /*base settings*/ 4613 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 4614 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 4615 if (!string.IsNullOrEmpty(settings.OnChange)) { attributes.Add("onchange", settings.OnChange); } 4616 if (settings.Disabled) { attributes.Add("disabled", "true"); } 4617 if (settings.Required) { attributes.Add("required", "true"); } 4618 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 4619 /*end*/ 4620 4621 attributes.Add("type", "radio"); 4622 if (settings.Checked) { attributes.Add("checked", "true"); } 4623 settings.CssClass = "form__control " + settings.CssClass; 4624 if (!string.IsNullOrEmpty(settings.Value)) { attributes.Add("value", settings.Value); } 4625 4626 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 4627 4628 4629 4630 #line default 4631 #line hidden 4632 WriteLiteralTo(__razor_helper_writer, " <div"); 4633 4634 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 60810), Tuple.Create("\"", 60868) 4635 , Tuple.Create(Tuple.Create("", 60818), Tuple.Create("form__field-group", 60818), true) 4636 4637 #line 1604 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4638 , Tuple.Create(Tuple.Create(" ", 60835), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 4639 4640 #line default 4641 #line hidden 4642 , 60836), false) 4643 , Tuple.Create(Tuple.Create(" ", 60861), Tuple.Create("dw-mod", 60862), true) 4644 ); 4645 4646 WriteLiteralTo(__razor_helper_writer, ">\r\n <input "); 4647 4648 4649 #line 1605 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4650 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 4651 4652 4653 #line default 4654 #line hidden 4655 WriteLiteralTo(__razor_helper_writer, " class=\""); 4656 4657 4658 #line 1605 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4659 WriteTo(__razor_helper_writer, settings.CssClass); 4660 4661 4662 #line default 4663 #line hidden 4664 WriteLiteralTo(__razor_helper_writer, " dw-mod\" />\r\n"); 4665 4666 4667 #line 1606 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4668 4669 4670 #line default 4671 #line hidden 4672 4673 #line 1606 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4674 if (!string.IsNullOrEmpty(settings.Label)) 4675 { 4676 4677 4678 #line default 4679 #line hidden 4680 WriteLiteralTo(__razor_helper_writer, " <label"); 4681 4682 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 61057), Tuple.Create("\"", 61075) 4683 4684 #line 1608 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4685 , Tuple.Create(Tuple.Create("", 61063), Tuple.Create<System.Object, System.Int32>(settings.Id 4686 4687 #line default 4688 #line hidden 4689 , 61063), false) 4690 ); 4691 4692 WriteLiteralTo(__razor_helper_writer, " class=\"dw-mod\""); 4693 4694 WriteLiteralTo(__razor_helper_writer, ">"); 4695 4696 4697 #line 1608 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4698 WriteTo(__razor_helper_writer, settings.Label); 4699 4700 4701 #line default 4702 #line hidden 4703 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 4704 4705 4706 #line 1609 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4707 } 4708 4709 4710 #line default 4711 #line hidden 4712 WriteLiteralTo(__razor_helper_writer, " "); 4713 4714 4715 #line 1610 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4716 if (!string.IsNullOrEmpty(settings.HelpText)) 4717 { 4718 4719 4720 #line default 4721 #line hidden 4722 WriteLiteralTo(__razor_helper_writer, " <small"); 4723 4724 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 4725 4726 WriteLiteralTo(__razor_helper_writer, ">"); 4727 4728 4729 #line 1612 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4730 WriteTo(__razor_helper_writer, settings.HelpText); 4731 4732 4733 #line default 4734 #line hidden 4735 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 4736 4737 4738 #line 1613 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4739 } 4740 4741 4742 #line default 4743 #line hidden 4744 WriteLiteralTo(__razor_helper_writer, " "); 4745 4746 4747 #line 1614 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4748 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 4749 4750 4751 #line default 4752 #line hidden 4753 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4754 4755 4756 #line 1616 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4757 4758 4759 #line default 4760 #line hidden 4761 }); 4762 4763 #line 1616 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4764 } 4765 #line default 4766 #line hidden 4767 4768 4769 #line 1624 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4770 public RazorEngine.Templating.TemplateWriter RenderRadioButtonListField(RadioButtonListField settings) 4771 { 4772 #line default 4773 #line hidden 4774 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4775 4776 #line 1625 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4777 4778 4779 4780 #line default 4781 #line hidden 4782 WriteLiteralTo(__razor_helper_writer, " <div"); 4783 4784 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 61593), Tuple.Create("\"", 61667) 4785 , Tuple.Create(Tuple.Create("", 61601), Tuple.Create("form__field-group", 61601), true) 4786 4787 #line 1626 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4788 , Tuple.Create(Tuple.Create(" ", 61618), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 4789 4790 #line default 4791 #line hidden 4792 , 61619), false) 4793 , Tuple.Create(Tuple.Create(" ", 61644), Tuple.Create("u-margin-bottom", 61645), true) 4794 , Tuple.Create(Tuple.Create(" ", 61660), Tuple.Create("dw-mod", 61661), true) 4795 ); 4796 4797 WriteLiteralTo(__razor_helper_writer, " "); 4798 4799 4800 #line 1626 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4801 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 4802 4803 4804 #line default 4805 #line hidden 4806 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4807 4808 4809 #line 1627 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4810 4811 4812 #line default 4813 #line hidden 4814 4815 #line 1627 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4816 if (!string.IsNullOrEmpty(settings.Label)) 4817 { 4818 4819 4820 #line default 4821 #line hidden 4822 WriteLiteralTo(__razor_helper_writer, " <label>"); 4823 4824 4825 #line 1629 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4826 WriteTo(__razor_helper_writer, settings.Label); 4827 4828 4829 #line default 4830 #line hidden 4831 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 4832 4833 4834 #line 1630 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4835 } 4836 4837 4838 #line default 4839 #line hidden 4840 WriteLiteralTo(__razor_helper_writer, " "); 4841 4842 4843 #line 1631 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4844 if (!string.IsNullOrEmpty(settings.HelpText)) 4845 { 4846 4847 4848 #line default 4849 #line hidden 4850 WriteLiteralTo(__razor_helper_writer, " <small"); 4851 4852 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 4853 4854 WriteLiteralTo(__razor_helper_writer, ">"); 4855 4856 4857 #line 1633 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4858 WriteTo(__razor_helper_writer, settings.HelpText); 4859 4860 4861 #line default 4862 #line hidden 4863 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 4864 4865 4866 #line 1634 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4867 } 4868 4869 4870 #line default 4871 #line hidden 4872 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4873 4874 4875 #line 1636 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4876 4877 4878 #line default 4879 #line hidden 4880 4881 #line 1636 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4882 foreach (var item in settings.Options) 4883 { 4884 if (settings.Required) 4885 { 4886 item.Required = true; 4887 } 4888 if (settings.Disabled) 4889 { 4890 item.Disabled = true; 4891 } 4892 if (!string.IsNullOrEmpty(settings.Name)) 4893 { 4894 item.Name = settings.Name; 4895 } 4896 if (!string.IsNullOrEmpty(settings.Value) && settings.Value == item.Value) 4897 { 4898 item.Checked = true; 4899 } 4900 if (!string.IsNullOrEmpty(settings.OnClick)) 4901 { 4902 item.OnClick += settings.OnClick; 4903 } 4904 if (!string.IsNullOrEmpty(settings.OnChange)) 4905 { 4906 item.OnChange += settings.OnChange; 4907 } 4908 if (!string.IsNullOrEmpty(settings.CssClass)) 4909 { 4910 item.CssClass += settings.CssClass; 4911 } 4912 4913 4914 #line default 4915 #line hidden 4916 4917 #line 1666 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4918 WriteTo(__razor_helper_writer, Render(item)); 4919 4920 4921 #line default 4922 #line hidden 4923 4924 #line 1666 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4925 4926 } 4927 4928 4929 #line default 4930 #line hidden 4931 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4932 4933 WriteLiteralTo(__razor_helper_writer, " "); 4934 4935 4936 #line 1669 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4937 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 4938 4939 4940 #line default 4941 #line hidden 4942 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4943 4944 4945 #line 1671 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4946 4947 4948 #line default 4949 #line hidden 4950 }); 4951 4952 #line 1671 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4953 } 4954 #line default 4955 #line hidden 4956 4957 4958 #line 1679 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4959 public RazorEngine.Templating.TemplateWriter RenderNotificationMessage(NotificationMessage settings) 4960 { 4961 #line default 4962 #line hidden 4963 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4964 4965 #line 1680 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4966 4967 if (!string.IsNullOrEmpty(settings.Message)) 4968 { 4969 var attributes = new Dictionary<string, string>(); 4970 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 4971 4972 string messageTypeClass = Enum.GetName(typeof(NotificationMessageType), settings.MessageType).ToLower(); 4973 4974 4975 #line default 4976 #line hidden 4977 WriteLiteralTo(__razor_helper_writer, " <div"); 4978 4979 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 63656), Tuple.Create("\"", 63726) 4980 , Tuple.Create(Tuple.Create("", 63664), Tuple.Create("field-", 63664), true) 4981 4982 #line 1687 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4983 , Tuple.Create(Tuple.Create("", 63670), Tuple.Create<System.Object, System.Int32>(messageTypeClass 4984 4985 #line default 4986 #line hidden 4987 , 63670), false) 4988 4989 #line 1687 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 4990 , Tuple.Create(Tuple.Create(" ", 63687), Tuple.Create<System.Object, System.Int32>(settings.CssClass 4991 4992 #line default 4993 #line hidden 4994 , 63688), false) 4995 , Tuple.Create(Tuple.Create(" ", 63706), Tuple.Create("u-full-width", 63707), true) 4996 , Tuple.Create(Tuple.Create(" ", 63719), Tuple.Create("dw-mod", 63720), true) 4997 ); 4998 4999 WriteLiteralTo(__razor_helper_writer, " "); 5000 5001 5002 #line 1687 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5003 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(attributes)); 5004 5005 5006 #line default 5007 #line hidden 5008 WriteLiteralTo(__razor_helper_writer, ">"); 5009 5010 5011 #line 1687 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5012 WriteTo(__razor_helper_writer, settings.Message); 5013 5014 5015 #line default 5016 #line hidden 5017 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 5018 5019 5020 #line 1688 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5021 } 5022 5023 5024 #line default 5025 #line hidden 5026 }); 5027 5028 #line 1689 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5029 } 5030 #line default 5031 #line hidden 5032 5033 5034 #line 1695 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5035 public RazorEngine.Templating.TemplateWriter RenderHandlebarsRoot(HandlebarsRoot settings) { 5036 #line default 5037 #line hidden 5038 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5039 5040 #line 1695 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5041 5042 string preRender = !String.IsNullOrEmpty(settings.PreRenderScriptTemplate) ? "data-pre-render-template=\"" + settings.PreRenderScriptTemplate + "\"" : ""; 5043 5044 5045 5046 #line default 5047 #line hidden 5048 WriteLiteralTo(__razor_helper_writer, " <div"); 5049 5050 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 64109), Tuple.Create("\"", 64161) 5051 5052 #line 1698 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5053 , Tuple.Create(Tuple.Create("", 64117), Tuple.Create<System.Object, System.Int32>(settings.CssClass 5054 5055 #line default 5056 #line hidden 5057 , 64117), false) 5058 , Tuple.Create(Tuple.Create(" ", 64135), Tuple.Create("dw-mod", 64136), true) 5059 , Tuple.Create(Tuple.Create(" ", 64142), Tuple.Create("js-handlebars-root", 64143), true) 5060 ); 5061 5062 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 64162), Tuple.Create("\"", 64179) 5063 5064 #line 1698 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5065 , Tuple.Create(Tuple.Create("", 64167), Tuple.Create<System.Object, System.Int32>(settings.Id 5066 5067 #line default 5068 #line hidden 5069 , 64167), false) 5070 ); 5071 5072 WriteLiteralTo(__razor_helper_writer, " data-template=\""); 5073 5074 5075 #line 1698 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5076 WriteTo(__razor_helper_writer, settings.ScriptTemplate); 5077 5078 5079 #line default 5080 #line hidden 5081 WriteLiteralTo(__razor_helper_writer, "\""); 5082 5083 WriteLiteralTo(__razor_helper_writer, " data-json-feed=\""); 5084 5085 5086 #line 1698 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5087 WriteTo(__razor_helper_writer, settings.FeedUrl); 5088 5089 5090 #line default 5091 #line hidden 5092 WriteLiteralTo(__razor_helper_writer, "\""); 5093 5094 WriteLiteralTo(__razor_helper_writer, " data-init-onload=\""); 5095 5096 5097 #line 1698 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5098 WriteTo(__razor_helper_writer, settings.InitOnLoad.ToString()); 5099 5100 5101 #line default 5102 #line hidden 5103 WriteLiteralTo(__razor_helper_writer, "\""); 5104 5105 WriteLiteralTo(__razor_helper_writer, " data-preloader=\""); 5106 5107 5108 #line 1698 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5109 WriteTo(__razor_helper_writer, settings.Preloader); 5110 5111 5112 #line default 5113 #line hidden 5114 WriteLiteralTo(__razor_helper_writer, "\""); 5115 5116 WriteLiteralTo(__razor_helper_writer, " "); 5117 5118 5119 #line 1698 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5120 WriteTo(__razor_helper_writer, preRender); 5121 5122 5123 #line default 5124 #line hidden 5125 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5126 5127 5128 #line 1699 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5129 5130 5131 #line default 5132 #line hidden 5133 5134 #line 1699 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5135 if (settings.SubBlocks != null) { 5136 5137 5138 #line default 5139 #line hidden 5140 5141 #line 1700 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5142 WriteTo(__razor_helper_writer, RenderBlockList(settings.SubBlocks)); 5143 5144 5145 #line default 5146 #line hidden 5147 5148 #line 1700 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5149 5150 } 5151 5152 5153 #line default 5154 #line hidden 5155 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 5156 5157 5158 #line 1703 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5159 5160 5161 #line default 5162 #line hidden 5163 }); 5164 5165 #line 1703 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5166 } 5167 #line default 5168 #line hidden 5169 5170 5171 #line 1712 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5172 public RazorEngine.Templating.TemplateWriter RenderSticker(Sticker settings) { 5173 #line default 5174 #line hidden 5175 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5176 5177 #line 1712 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5178 5179 if (!String.IsNullOrEmpty(settings.Title)) { 5180 string size = settings.Size.ToString() != "None" ? "" + "stickers-container__tag--" + settings.Size.ToString().ToLower() : ""; 5181 string style = settings.Style.ToString() != "None" ? "" + "stickers-container__tag--" + settings.Style.ToString().ToLower() : ""; 5182 5183 Dictionary<String, String> optionalAttributes = new Dictionary<string, string>(); 5184 if (!String.IsNullOrEmpty(settings.Color) || !String.IsNullOrEmpty(settings.BackgroundColor)) { 5185 string styleTag = !String.IsNullOrEmpty(settings.Color) ? "color: " + settings.Color + "; " : ""; 5186 styleTag += !String.IsNullOrEmpty(settings.BackgroundColor) ? "background-color: " + settings.BackgroundColor + "; " : ""; 5187 optionalAttributes.Add("style", styleTag); 5188 } 5189 5190 5191 5192 #line default 5193 #line hidden 5194 WriteLiteralTo(__razor_helper_writer, " <div"); 5195 5196 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 65556), Tuple.Create("\"", 65626) 5197 , Tuple.Create(Tuple.Create("", 65564), Tuple.Create("stickers-container__tag", 65564), true) 5198 5199 #line 1724 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5200 , Tuple.Create(Tuple.Create(" ", 65587), Tuple.Create<System.Object, System.Int32>(size 5201 5202 #line default 5203 #line hidden 5204 , 65588), false) 5205 5206 #line 1724 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5207 , Tuple.Create(Tuple.Create(" ", 65593), Tuple.Create<System.Object, System.Int32>(style 5208 5209 #line default 5210 #line hidden 5211 , 65594), false) 5212 5213 #line 1724 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5214 , Tuple.Create(Tuple.Create(" ", 65600), Tuple.Create<System.Object, System.Int32>(settings.CssClass 5215 5216 #line default 5217 #line hidden 5218 , 65601), false) 5219 , Tuple.Create(Tuple.Create(" ", 65619), Tuple.Create("dw-mod", 65620), true) 5220 ); 5221 5222 WriteLiteralTo(__razor_helper_writer, " "); 5223 5224 5225 #line 1724 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5226 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 5227 5228 5229 #line default 5230 #line hidden 5231 WriteLiteralTo(__razor_helper_writer, " "); 5232 5233 5234 #line 1724 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5235 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 5236 5237 5238 #line default 5239 #line hidden 5240 WriteLiteralTo(__razor_helper_writer, ">"); 5241 5242 5243 #line 1724 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5244 WriteTo(__razor_helper_writer, settings.Title); 5245 5246 5247 #line default 5248 #line hidden 5249 WriteLiteralTo(__razor_helper_writer, "</div> \r\n"); 5250 5251 5252 #line 1725 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5253 } 5254 5255 5256 #line default 5257 #line hidden 5258 }); 5259 5260 #line 1726 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5261 } 5262 #line default 5263 #line hidden 5264 5265 5266 #line 1735 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5267 public RazorEngine.Templating.TemplateWriter RenderStickersCollection(StickersCollection settings) 5268 { 5269 #line default 5270 #line hidden 5271 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5272 5273 #line 1736 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5274 5275 if (settings.Stickers.Count > 0) 5276 { 5277 string position = "stickers-container--" + Regex.Replace(settings.Position.ToString(), "([a-z])([A-Z])", "$1-$2").ToLower(); 5278 5279 5280 5281 #line default 5282 #line hidden 5283 WriteLiteralTo(__razor_helper_writer, " <div"); 5284 5285 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 66181), Tuple.Create("\"", 66243) 5286 , Tuple.Create(Tuple.Create("", 66189), Tuple.Create("stickers-container", 66189), true) 5287 5288 #line 1741 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5289 , Tuple.Create(Tuple.Create(" ", 66207), Tuple.Create<System.Object, System.Int32>(position 5290 5291 #line default 5292 #line hidden 5293 , 66208), false) 5294 5295 #line 1741 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5296 , Tuple.Create(Tuple.Create(" ", 66217), Tuple.Create<System.Object, System.Int32>(settings.CssClass 5297 5298 #line default 5299 #line hidden 5300 , 66218), false) 5301 , Tuple.Create(Tuple.Create(" ", 66236), Tuple.Create("dw-mod", 66237), true) 5302 ); 5303 5304 WriteLiteralTo(__razor_helper_writer, " "); 5305 5306 5307 #line 1741 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5308 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 5309 5310 5311 #line default 5312 #line hidden 5313 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5314 5315 5316 #line 1742 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5317 5318 5319 #line default 5320 #line hidden 5321 5322 #line 1742 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5323 foreach (Sticker sticker in settings.Stickers) 5324 { 5325 5326 5327 #line default 5328 #line hidden 5329 5330 #line 1744 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5331 WriteTo(__razor_helper_writer, Render(sticker)); 5332 5333 5334 #line default 5335 #line hidden 5336 5337 #line 1744 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5338 5339 } 5340 5341 5342 #line default 5343 #line hidden 5344 WriteLiteralTo(__razor_helper_writer, " </div> \r\n"); 5345 5346 5347 #line 1747 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5348 } 5349 5350 5351 #line default 5352 #line hidden 5353 }); 5354 5355 #line 1748 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5356 } 5357 #line default 5358 #line hidden 5359 5360 5361 #line 1755 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5362 public RazorEngine.Templating.TemplateWriter RenderForm(Form settings) { 5363 #line default 5364 #line hidden 5365 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5366 5367 #line 1755 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5368 5369 if (settings != null) 5370 { 5371 Dictionary<string, string> optionalAttributes = new Dictionary<string, string>(); 5372 if (!string.IsNullOrEmpty(settings.Action)) { optionalAttributes.Add("action", settings.Action); }; 5373 if (!string.IsNullOrEmpty(settings.Name)) { optionalAttributes.Add("name", settings.Name); }; 5374 if (!string.IsNullOrEmpty(settings.OnSubmit)) { optionalAttributes.Add("onsubmit", settings.OnSubmit); }; 5375 var enctypes = new Dictionary<string, string> 5376 { 5377 { "multipart", "multipart/form-data" }, 5378 { "text", "text/plain" }, 5379 { "application", "application/x-www-form-urlencoded" } 5380 }; 5381 if (settings.Enctype != FormEnctype.none) { optionalAttributes.Add("enctype", enctypes[Enum.GetName(typeof(FormEnctype), settings.Enctype).ToLower()]); }; 5382 optionalAttributes.Add("method", settings.Method.ToString()); 5383 5384 if (!string.IsNullOrEmpty(settings.FormStartMarkup)) 5385 { 5386 5387 5388 #line default 5389 #line hidden 5390 5391 #line 1773 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5392 WriteTo(__razor_helper_writer, settings.FormStartMarkup); 5393 5394 5395 #line default 5396 #line hidden 5397 5398 #line 1773 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5399 5400 } 5401 else 5402 { 5403 5404 5405 #line default 5406 #line hidden 5407 WriteLiteralTo(__razor_helper_writer, " "); 5408 5409 WriteLiteralTo(__razor_helper_writer, "<form class=\""); 5410 5411 5412 #line 1777 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5413 WriteTo(__razor_helper_writer, settings.CssClass); 5414 5415 5416 #line default 5417 #line hidden 5418 WriteLiteralTo(__razor_helper_writer, " u-no-margin dw-mod\" "); 5419 5420 5421 #line 1777 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5422 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 5423 5424 5425 #line default 5426 #line hidden 5427 WriteLiteralTo(__razor_helper_writer, " "); 5428 5429 5430 #line 1777 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5431 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 5432 5433 5434 #line default 5435 #line hidden 5436 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5437 5438 5439 #line 1778 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5440 } 5441 5442 foreach (var field in settings.GetFields()) 5443 { 5444 5445 5446 #line default 5447 #line hidden 5448 5449 #line 1782 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5450 WriteTo(__razor_helper_writer, Render(field)); 5451 5452 5453 #line default 5454 #line hidden 5455 5456 #line 1782 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5457 5458 } 5459 5460 5461 5462 #line default 5463 #line hidden 5464 WriteLiteralTo(__razor_helper_writer, " "); 5465 5466 WriteLiteralTo(__razor_helper_writer, "</form>\r\n"); 5467 5468 5469 #line 1786 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5470 } 5471 5472 5473 #line default 5474 #line hidden 5475 }); 5476 5477 #line 1787 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5478 } 5479 #line default 5480 #line hidden 5481 5482 5483 #line 1795 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5484 public RazorEngine.Templating.TemplateWriter RenderText(Text settings) 5485 { 5486 #line default 5487 #line hidden 5488 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5489 5490 #line 1796 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5491 5492 5493 5494 #line default 5495 #line hidden 5496 5497 #line 1797 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5498 WriteTo(__razor_helper_writer, settings.Content); 5499 5500 5501 #line default 5502 #line hidden 5503 5504 #line 1797 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5505 5506 5507 5508 #line default 5509 #line hidden 5510 }); 5511 5512 #line 1798 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5513 } 5514 #line default 5515 #line hidden 5516 5517 5518 #line 1806 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5519 public RazorEngine.Templating.TemplateWriter RenderContentModule(ContentModule settings) { 5520 #line default 5521 #line hidden 5522 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5523 5524 #line 1806 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5525 5526 if (!string.IsNullOrEmpty(settings.Content)) 5527 { 5528 5529 5530 #line default 5531 #line hidden 5532 5533 #line 1809 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5534 WriteTo(__razor_helper_writer, settings.Content); 5535 5536 5537 #line default 5538 #line hidden 5539 5540 #line 1809 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5541 5542 } 5543 5544 5545 #line default 5546 #line hidden 5547 }); 5548 5549 #line 1811 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5550 } 5551 #line default 5552 #line hidden 5553 5554 5555 #line 1819 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5556 public RazorEngine.Templating.TemplateWriter RenderModal(Modal settings) { 5557 #line default 5558 #line hidden 5559 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5560 5561 #line 1819 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5562 5563 if (settings != null) 5564 { 5565 string modalId = !string.IsNullOrEmpty(settings.Id) ? settings.Id : Guid.NewGuid().ToString("N"); 5566 5567 string onchange = !string.IsNullOrEmpty(settings.OnClose) ? "onchange=\"if(!this.checked){" + settings.OnClose + "}\"" : ""; 5568 5569 5570 5571 #line default 5572 #line hidden 5573 WriteLiteralTo(__razor_helper_writer, " <input"); 5574 5575 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 5576 5577 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 68970), Tuple.Create("\"", 68997) 5578 5579 #line 1826 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5580 , Tuple.Create(Tuple.Create("", 68975), Tuple.Create<System.Object, System.Int32>(modalId 5581 5582 #line default 5583 #line hidden 5584 , 68975), false) 5585 , Tuple.Create(Tuple.Create("", 68985), Tuple.Create("ModalTrigger", 68985), true) 5586 ); 5587 5588 WriteLiteralTo(__razor_helper_writer, " class=\"modal-trigger\""); 5589 5590 WriteLiteralTo(__razor_helper_writer, " "); 5591 5592 5593 #line 1826 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5594 WriteTo(__razor_helper_writer, onchange); 5595 5596 5597 #line default 5598 #line hidden 5599 WriteLiteralTo(__razor_helper_writer, " />\r\n"); 5600 5601 5602 #line 1827 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5603 5604 5605 5606 #line default 5607 #line hidden 5608 WriteLiteralTo(__razor_helper_writer, " <div"); 5609 5610 WriteLiteralTo(__razor_helper_writer, " class=\"modal-container\""); 5611 5612 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5613 5614 5615 #line 1829 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5616 5617 5618 #line default 5619 #line hidden 5620 5621 #line 1829 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5622 if (!settings.DisableDarkOverlay) 5623 { 5624 5625 5626 #line default 5627 #line hidden 5628 WriteLiteralTo(__razor_helper_writer, " <label"); 5629 5630 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 69161), Tuple.Create("\"", 69189) 5631 5632 #line 1831 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5633 , Tuple.Create(Tuple.Create("", 69167), Tuple.Create<System.Object, System.Int32>(modalId 5634 5635 #line default 5636 #line hidden 5637 , 69167), false) 5638 , Tuple.Create(Tuple.Create("", 69177), Tuple.Create("ModalTrigger", 69177), true) 5639 ); 5640 5641 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 69190), Tuple.Create("\"", 69217) 5642 5643 #line 1831 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5644 , Tuple.Create(Tuple.Create("", 69195), Tuple.Create<System.Object, System.Int32>(modalId 5645 5646 #line default 5647 #line hidden 5648 , 69195), false) 5649 , Tuple.Create(Tuple.Create("", 69205), Tuple.Create("ModalOverlay", 69205), true) 5650 ); 5651 5652 WriteLiteralTo(__razor_helper_writer, " class=\"modal-overlay\""); 5653 5654 WriteLiteralTo(__razor_helper_writer, "></label>\r\n"); 5655 5656 5657 #line 1832 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5658 } 5659 5660 5661 #line default 5662 #line hidden 5663 WriteLiteralTo(__razor_helper_writer, " <div"); 5664 5665 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 69282), Tuple.Create("\"", 69391) 5666 , Tuple.Create(Tuple.Create("", 69290), Tuple.Create("modal", 69290), true) 5667 , Tuple.Create(Tuple.Create(" ", 69295), Tuple.Create("modal--", 69296), true) 5668 5669 #line 1833 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5670 , Tuple.Create(Tuple.Create("", 69303), Tuple.Create<System.Object, System.Int32>(settings.Width.ToString().ToLower() 5671 5672 #line default 5673 #line hidden 5674 , 69303), false) 5675 , Tuple.Create(Tuple.Create(" ", 69339), Tuple.Create("modal-height--", 69340), true) 5676 5677 #line 1833 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5678 , Tuple.Create(Tuple.Create("", 69354), Tuple.Create<System.Object, System.Int32>(settings.Height.ToString().ToLower() 5679 5680 #line default 5681 #line hidden 5682 , 69354), false) 5683 ); 5684 5685 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 69392), Tuple.Create("\"", 69412) 5686 5687 #line 1833 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5688 , Tuple.Create(Tuple.Create("", 69397), Tuple.Create<System.Object, System.Int32>(modalId 5689 5690 #line default 5691 #line hidden 5692 , 69397), false) 5693 , Tuple.Create(Tuple.Create("", 69407), Tuple.Create("Modal", 69407), true) 5694 ); 5695 5696 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5697 5698 5699 #line 1834 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5700 5701 5702 #line default 5703 #line hidden 5704 5705 #line 1834 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5706 if (settings.Heading != null) 5707 { 5708 if (!string.IsNullOrEmpty(settings.Heading.Title)) 5709 { 5710 5711 5712 #line default 5713 #line hidden 5714 WriteLiteralTo(__razor_helper_writer, " <div"); 5715 5716 WriteLiteralTo(__razor_helper_writer, " class=\"modal__header\""); 5717 5718 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5719 5720 WriteLiteralTo(__razor_helper_writer, " "); 5721 5722 5723 #line 1839 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5724 WriteTo(__razor_helper_writer, Render(settings.Heading)); 5725 5726 5727 #line default 5728 #line hidden 5729 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 5730 5731 5732 #line 1841 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5733 } 5734 } 5735 5736 5737 #line default 5738 #line hidden 5739 WriteLiteralTo(__razor_helper_writer, " <div"); 5740 5741 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 69780), Tuple.Create("\"", 69875) 5742 , Tuple.Create(Tuple.Create("", 69788), Tuple.Create("modal__body", 69788), true) 5743 5744 #line 1843 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5745 , Tuple.Create(Tuple.Create(" ", 69799), Tuple.Create<System.Object, System.Int32>(settings.Width.ToString().ToLower() == "full" ? "modal__body--full" : "" 5746 5747 #line default 5748 #line hidden 5749 , 69800), false) 5750 ); 5751 5752 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5753 5754 5755 #line 1844 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5756 5757 5758 #line default 5759 #line hidden 5760 5761 #line 1844 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5762 if (!string.IsNullOrEmpty(settings.BodyText)) 5763 { 5764 5765 5766 #line default 5767 #line hidden 5768 5769 #line 1846 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5770 WriteTo(__razor_helper_writer, settings.BodyText); 5771 5772 5773 #line default 5774 #line hidden 5775 5776 #line 1846 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5777 5778 } 5779 5780 5781 #line default 5782 #line hidden 5783 WriteLiteralTo(__razor_helper_writer, " "); 5784 5785 5786 #line 1848 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5787 if (settings.BodyTemplate != null) 5788 { 5789 5790 5791 #line default 5792 #line hidden 5793 5794 #line 1850 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5795 WriteTo(__razor_helper_writer, settings.BodyTemplate); 5796 5797 5798 #line default 5799 #line hidden 5800 5801 #line 1850 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5802 5803 } 5804 5805 5806 #line default 5807 #line hidden 5808 WriteLiteralTo(__razor_helper_writer, " "); 5809 5810 5811 #line 1852 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5812 5813 var actions = settings.GetActions(); 5814 5815 5816 #line default 5817 #line hidden 5818 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 5819 5820 5821 #line 1856 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5822 5823 5824 #line default 5825 #line hidden 5826 5827 #line 1856 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5828 if (actions.Length > 0) 5829 { 5830 5831 5832 #line default 5833 #line hidden 5834 WriteLiteralTo(__razor_helper_writer, " <div"); 5835 5836 WriteLiteralTo(__razor_helper_writer, " class=\"modal__footer\""); 5837 5838 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5839 5840 5841 #line 1859 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5842 5843 5844 #line default 5845 #line hidden 5846 5847 #line 1859 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5848 foreach (var action in actions) 5849 { 5850 action.CssClass += " u-no-margin"; 5851 5852 5853 #line default 5854 #line hidden 5855 5856 #line 1862 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5857 WriteTo(__razor_helper_writer, Render(action)); 5858 5859 5860 #line default 5861 #line hidden 5862 5863 #line 1862 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5864 5865 } 5866 5867 5868 #line default 5869 #line hidden 5870 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 5871 5872 5873 #line 1865 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5874 } 5875 5876 5877 #line default 5878 #line hidden 5879 WriteLiteralTo(__razor_helper_writer, " <label"); 5880 5881 WriteLiteralTo(__razor_helper_writer, " class=\"modal__close-btn\""); 5882 5883 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 70746), Tuple.Create("\"", 70774) 5884 5885 #line 1866 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5886 , Tuple.Create(Tuple.Create("", 70752), Tuple.Create<System.Object, System.Int32>(modalId 5887 5888 #line default 5889 #line hidden 5890 , 70752), false) 5891 , Tuple.Create(Tuple.Create("", 70762), Tuple.Create("ModalTrigger", 70762), true) 5892 ); 5893 5894 WriteLiteralTo(__razor_helper_writer, "></label>\r\n </div>\r\n </div>\r\n"); 5895 5896 5897 #line 1869 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5898 } 5899 5900 5901 #line default 5902 #line hidden 5903 }); 5904 5905 #line 1870 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5906 } 5907 #line default 5908 #line hidden 5909 5910 5911 #line 1875 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5912 public RazorEngine.Templating.TemplateWriter RenderMediaListItem(MediaListItem settings) 5913 { 5914 #line default 5915 #line hidden 5916 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5917 5918 #line 1876 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5919 5920 5921 5922 #line default 5923 #line hidden 5924 WriteLiteralTo(__razor_helper_writer, " <div"); 5925 5926 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 70970), Tuple.Create("\"", 71019) 5927 , Tuple.Create(Tuple.Create("", 70978), Tuple.Create("media-list-item", 70978), true) 5928 5929 #line 1877 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5930 , Tuple.Create(Tuple.Create(" ", 70993), Tuple.Create<System.Object, System.Int32>(settings.CssClass 5931 5932 #line default 5933 #line hidden 5934 , 70994), false) 5935 , Tuple.Create(Tuple.Create(" ", 71012), Tuple.Create("dw-mod", 71013), true) 5936 ); 5937 5938 WriteLiteralTo(__razor_helper_writer, " "); 5939 5940 5941 #line 1877 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5942 WriteTo(__razor_helper_writer, !string.IsNullOrEmpty(settings.Id) ? "id=\"" + settings.Id + "\"" : ""); 5943 5944 5945 #line default 5946 #line hidden 5947 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5948 5949 5950 #line 1878 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5951 5952 5953 #line default 5954 #line hidden 5955 5956 #line 1878 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5957 if (!string.IsNullOrEmpty(settings.Label)) 5958 { 5959 if (!string.IsNullOrEmpty(settings.Link)) 5960 { 5961 5962 5963 #line default 5964 #line hidden 5965 5966 #line 1882 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5967 WriteTo(__razor_helper_writer, Render(new Link 5968 { 5969 Href = settings.Link, 5970 CssClass = "media-list-item__sticker dw-mod", 5971 ButtonLayout = ButtonLayout.None, 5972 Title = settings.Label, 5973 OnClick = !string.IsNullOrEmpty(settings.OnClick) ? settings.OnClick : "" 5974 })); 5975 5976 5977 #line default 5978 #line hidden 5979 5980 #line 1889 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5981 5982 } 5983 else if (!string.IsNullOrEmpty(settings.OnClick)) 5984 { 5985 5986 5987 #line default 5988 #line hidden 5989 WriteLiteralTo(__razor_helper_writer, " <span"); 5990 5991 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__sticker dw-mod\""); 5992 5993 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 71763), Tuple.Create("\"", 71792) 5994 5995 #line 1893 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 5996 , Tuple.Create(Tuple.Create("", 71773), Tuple.Create<System.Object, System.Int32>(settings.OnClick 5997 5998 #line default 5999 #line hidden 6000 , 71773), false) 6001 ); 6002 6003 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 6004 6005 WriteLiteralTo(__razor_helper_writer, " class=\"u-uppercase\""); 6006 6007 WriteLiteralTo(__razor_helper_writer, ">"); 6008 6009 6010 #line 1894 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6011 WriteTo(__razor_helper_writer, settings.Label); 6012 6013 6014 #line default 6015 #line hidden 6016 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </span>\r\n"); 6017 6018 6019 #line 1896 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6020 } 6021 else 6022 { 6023 6024 6025 #line default 6026 #line hidden 6027 WriteLiteralTo(__razor_helper_writer, " <span"); 6028 6029 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__sticker media-list-item__sticker--no-link dw-mod\""); 6030 6031 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 6032 6033 WriteLiteralTo(__razor_helper_writer, " class=\"u-uppercase\""); 6034 6035 WriteLiteralTo(__razor_helper_writer, ">"); 6036 6037 6038 #line 1900 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6039 WriteTo(__razor_helper_writer, settings.Label); 6040 6041 6042 #line default 6043 #line hidden 6044 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </span>\r\n"); 6045 6046 6047 #line 1902 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6048 } 6049 } 6050 6051 6052 #line default 6053 #line hidden 6054 WriteLiteralTo(__razor_helper_writer, " <div"); 6055 6056 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__wrap\""); 6057 6058 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 6059 6060 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__info dw-mod\""); 6061 6062 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 6063 6064 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__header dw-mod\""); 6065 6066 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6067 6068 6069 #line 1907 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6070 6071 6072 #line default 6073 #line hidden 6074 6075 #line 1907 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6076 if (!string.IsNullOrEmpty(settings.Title)) 6077 { 6078 if (!string.IsNullOrEmpty(settings.Link)) 6079 { 6080 6081 6082 #line default 6083 #line hidden 6084 6085 #line 1911 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6086 WriteTo(__razor_helper_writer, Render(new Link 6087 { 6088 Href = settings.Link, 6089 CssClass = "media-list-item__name dw-mod", 6090 ButtonLayout = ButtonLayout.None, 6091 Title = settings.Title, 6092 OnClick = !string.IsNullOrEmpty(settings.OnClick) ? settings.OnClick : "" 6093 })); 6094 6095 6096 #line default 6097 #line hidden 6098 6099 #line 1918 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6100 6101 } 6102 else if (!string.IsNullOrEmpty(settings.OnClick)) 6103 { 6104 6105 6106 #line default 6107 #line hidden 6108 WriteLiteralTo(__razor_helper_writer, " <span"); 6109 6110 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__name dw-mod\""); 6111 6112 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 73173), Tuple.Create("\"", 73202) 6113 6114 #line 1922 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6115 , Tuple.Create(Tuple.Create("", 73183), Tuple.Create<System.Object, System.Int32>(settings.OnClick 6116 6117 #line default 6118 #line hidden 6119 , 73183), false) 6120 ); 6121 6122 WriteLiteralTo(__razor_helper_writer, ">"); 6123 6124 6125 #line 1922 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6126 WriteTo(__razor_helper_writer, settings.Title); 6127 6128 6129 #line default 6130 #line hidden 6131 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 6132 6133 6134 #line 1923 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6135 } 6136 else 6137 { 6138 6139 6140 #line default 6141 #line hidden 6142 WriteLiteralTo(__razor_helper_writer, " <span"); 6143 6144 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__name media-list-item__name--no-link dw-mod\""); 6145 6146 WriteLiteralTo(__razor_helper_writer, ">"); 6147 6148 6149 #line 1926 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6150 WriteTo(__razor_helper_writer, settings.Title); 6151 6152 6153 #line default 6154 #line hidden 6155 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 6156 6157 6158 #line 1927 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6159 } 6160 } 6161 6162 6163 #line default 6164 #line hidden 6165 WriteLiteralTo(__razor_helper_writer, "\r\n"); 6166 6167 6168 #line 1930 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6169 6170 6171 #line default 6172 #line hidden 6173 6174 #line 1930 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6175 if (!string.IsNullOrEmpty(settings.Status)) 6176 { 6177 6178 6179 #line default 6180 #line hidden 6181 WriteLiteralTo(__razor_helper_writer, " <div"); 6182 6183 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__state dw-mod\""); 6184 6185 WriteLiteralTo(__razor_helper_writer, ">"); 6186 6187 6188 #line 1932 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6189 WriteTo(__razor_helper_writer, settings.Status); 6190 6191 6192 #line default 6193 #line hidden 6194 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 6195 6196 6197 #line 1933 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6198 } 6199 6200 6201 #line default 6202 #line hidden 6203 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 6204 6205 6206 #line 1935 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6207 6208 6209 #line default 6210 #line hidden 6211 6212 #line 1935 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6213 6214 settings.InfoTable.CssClass += " media-list-item__parameters-table"; 6215 6216 6217 #line default 6218 #line hidden 6219 WriteLiteralTo(__razor_helper_writer, "\r\n \r\n"); 6220 6221 WriteLiteralTo(__razor_helper_writer, " "); 6222 6223 6224 #line 1939 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6225 WriteTo(__razor_helper_writer, Render(settings.InfoTable)); 6226 6227 6228 #line default 6229 #line hidden 6230 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n <div"); 6231 6232 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__actions dw-mod\""); 6233 6234 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 6235 6236 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__actions-list dw-mod\""); 6237 6238 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6239 6240 6241 #line 1943 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6242 6243 6244 #line default 6245 #line hidden 6246 6247 #line 1943 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6248 6249 var actions = settings.GetActions(); 6250 6251 foreach (ButtonBase action in actions) 6252 { 6253 action.ButtonLayout = ButtonLayout.None; 6254 action.CssClass += " media-list-item__action link"; 6255 6256 6257 6258 #line default 6259 #line hidden 6260 6261 #line 1951 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6262 WriteTo(__razor_helper_writer, Render(action)); 6263 6264 6265 #line default 6266 #line hidden 6267 6268 #line 1951 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6269 6270 } 6271 6272 6273 #line default 6274 #line hidden 6275 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n\r\n"); 6276 6277 6278 #line 1956 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6279 6280 6281 #line default 6282 #line hidden 6283 6284 #line 1956 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6285 if (settings.SelectButton != null && !string.IsNullOrEmpty(settings.SelectButton.Title)) 6286 { 6287 settings.SelectButton.CssClass += " u-no-margin"; 6288 6289 6290 6291 #line default 6292 #line hidden 6293 WriteLiteralTo(__razor_helper_writer, " <div"); 6294 6295 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__action-button\""); 6296 6297 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6298 6299 WriteLiteralTo(__razor_helper_writer, " "); 6300 6301 6302 #line 1961 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6303 WriteTo(__razor_helper_writer, Render(settings.SelectButton)); 6304 6305 6306 #line default 6307 #line hidden 6308 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 6309 6310 6311 #line 1963 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6312 } 6313 6314 6315 #line default 6316 #line hidden 6317 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n </div>\r\n"); 6318 6319 6320 #line 1967 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6321 6322 6323 #line default 6324 #line hidden 6325 }); 6326 6327 #line 1967 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6328 } 6329 #line default 6330 #line hidden 6331 6332 6333 #line 1971 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6334 public RazorEngine.Templating.TemplateWriter RenderTable(Table settings) 6335 { 6336 #line default 6337 #line hidden 6338 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6339 6340 #line 1972 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6341 6342 Dictionary<string, string> attributes = new Dictionary<string, string>(); 6343 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 6344 6345 var enumToClasses = new Dictionary<TableDesign, string> 6346 { 6347 { TableDesign.Clean, "table--clean" }, 6348 { TableDesign.Bordered, "table--bordered" }, 6349 { TableDesign.Striped, "table--striped" }, 6350 { TableDesign.Hover, "table--hover" }, 6351 { TableDesign.Compact, "table--compact" }, 6352 { TableDesign.Condensed, "table--condensed" }, 6353 { TableDesign.NoTopBorder, "table--no-top-border" } 6354 }; 6355 string tableDesignClass = ""; 6356 if (settings.Design != TableDesign.None) 6357 { 6358 tableDesignClass = enumToClasses[settings.Design]; 6359 } 6360 6361 if (!string.IsNullOrEmpty(settings.CssClass) || settings.Design != TableDesign.None) { attributes.Add("class", "table " + tableDesignClass + " " + settings.CssClass + " dw-mod"); } 6362 6363 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary(d => d.Key, d => d.Last().Value); 6364 6365 6366 6367 #line default 6368 #line hidden 6369 WriteLiteralTo(__razor_helper_writer, " <table "); 6370 6371 6372 #line 1996 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6373 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 6374 6375 6376 #line default 6377 #line hidden 6378 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6379 6380 6381 #line 1997 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6382 6383 6384 #line default 6385 #line hidden 6386 6387 #line 1997 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6388 if (settings.Header != null) 6389 { 6390 6391 6392 #line default 6393 #line hidden 6394 WriteLiteralTo(__razor_helper_writer, " <thead>\r\n"); 6395 6396 WriteLiteralTo(__razor_helper_writer, " "); 6397 6398 6399 #line 2000 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6400 WriteTo(__razor_helper_writer, Render(settings.Header)); 6401 6402 6403 #line default 6404 #line hidden 6405 WriteLiteralTo(__razor_helper_writer, "\r\n </thead>\r\n"); 6406 6407 6408 #line 2002 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6409 } 6410 6411 6412 #line default 6413 #line hidden 6414 WriteLiteralTo(__razor_helper_writer, " <tbody>\r\n"); 6415 6416 6417 #line 2004 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6418 6419 6420 #line default 6421 #line hidden 6422 6423 #line 2004 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6424 foreach (var row in settings.Rows) 6425 { 6426 6427 6428 #line default 6429 #line hidden 6430 6431 #line 2006 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6432 WriteTo(__razor_helper_writer, Render(row)); 6433 6434 6435 #line default 6436 #line hidden 6437 6438 #line 2006 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6439 6440 } 6441 6442 6443 #line default 6444 #line hidden 6445 WriteLiteralTo(__razor_helper_writer, " </tbody>\r\n"); 6446 6447 6448 #line 2009 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6449 6450 6451 #line default 6452 #line hidden 6453 6454 #line 2009 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6455 if (settings.Footer != null) 6456 { 6457 6458 6459 #line default 6460 #line hidden 6461 WriteLiteralTo(__razor_helper_writer, " <tfoot>\r\n"); 6462 6463 WriteLiteralTo(__razor_helper_writer, " "); 6464 6465 6466 #line 2012 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6467 WriteTo(__razor_helper_writer, Render(settings.Footer)); 6468 6469 6470 #line default 6471 #line hidden 6472 WriteLiteralTo(__razor_helper_writer, "\r\n </tfoot>\r\n"); 6473 6474 6475 #line 2014 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6476 } 6477 6478 6479 #line default 6480 #line hidden 6481 WriteLiteralTo(__razor_helper_writer, " </table>\r\n"); 6482 6483 6484 #line 2016 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6485 6486 6487 #line default 6488 #line hidden 6489 }); 6490 6491 #line 2016 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6492 } 6493 #line default 6494 #line hidden 6495 6496 6497 #line 2020 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6498 public RazorEngine.Templating.TemplateWriter RenderTableRow(TableRow settings) 6499 { 6500 #line default 6501 #line hidden 6502 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6503 6504 #line 2021 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6505 6506 Dictionary<string, string> attributes = new Dictionary<string, string>(); 6507 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 6508 6509 var enumToClasses = new Dictionary<TableRowDesign, string> 6510 { 6511 { TableRowDesign.NoBorder, "table__row--no-border" }, 6512 { TableRowDesign.Border, "table__row--border" }, 6513 { TableRowDesign.TopBorder, "table__row--top-line" }, 6514 { TableRowDesign.BottomBorder, "table__row--bottom-line" }, 6515 { TableRowDesign.Solid, "table__row--solid" } 6516 }; 6517 6518 string tableRowDesignClass = ""; 6519 if (settings.Design != TableRowDesign.None) 6520 { 6521 tableRowDesignClass = enumToClasses[settings.Design]; 6522 } 6523 6524 if (!string.IsNullOrEmpty(settings.CssClass) || settings.Design != TableRowDesign.None) { attributes.Add("class", "table__row " + tableRowDesignClass + " " + settings.CssClass + " dw-mod"); } 6525 6526 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary(d => d.Key, d => d.Last().Value); 6527 6528 6529 6530 #line default 6531 #line hidden 6532 WriteLiteralTo(__razor_helper_writer, " <tr "); 6533 6534 6535 #line 2044 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6536 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 6537 6538 6539 #line default 6540 #line hidden 6541 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6542 6543 6544 #line 2045 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6545 6546 6547 #line default 6548 #line hidden 6549 6550 #line 2045 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6551 foreach (var cell in settings.Cells) 6552 { 6553 if (settings.IsHeaderRow) 6554 { 6555 cell.IsHeader = true; 6556 } 6557 6558 6559 #line default 6560 #line hidden 6561 6562 #line 2051 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6563 WriteTo(__razor_helper_writer, Render(cell)); 6564 6565 6566 #line default 6567 #line hidden 6568 6569 #line 2051 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6570 6571 } 6572 6573 6574 #line default 6575 #line hidden 6576 WriteLiteralTo(__razor_helper_writer, " </tr>\r\n"); 6577 6578 6579 #line 2054 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6580 6581 6582 #line default 6583 #line hidden 6584 }); 6585 6586 #line 2054 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6587 } 6588 #line default 6589 #line hidden 6590 6591 6592 #line 2059 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6593 public RazorEngine.Templating.TemplateWriter RenderTableCell(TableCell settings) 6594 { 6595 #line default 6596 #line hidden 6597 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6598 6599 #line 2060 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6600 6601 Dictionary<string, string> attributes = new Dictionary<string, string>(); 6602 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 6603 if (settings.Colspan != 0) { attributes.Add("colspan", Converter.ToString(settings.Colspan)); } 6604 if (settings.Rowspan != 0) { attributes.Add("rowspan", Converter.ToString(settings.Rowspan)); } 6605 if (!string.IsNullOrEmpty(settings.CssClass)) { attributes.Add("class", settings.CssClass + " dw-mod"); } 6606 6607 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary(d => d.Key, d => d.Last().Value); 6608 6609 string tagName = settings.IsHeader ? "th" : "td"; 6610 6611 6612 6613 #line default 6614 #line hidden 6615 6616 #line 2071 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6617 WriteTo(__razor_helper_writer, "<" + tagName + " " + ComponentMethods.AddAttributes(resultAttributes) + ">"); 6618 6619 6620 #line default 6621 #line hidden 6622 6623 #line 2071 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6624 6625 6626 6627 #line default 6628 #line hidden 6629 6630 #line 2072 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6631 WriteTo(__razor_helper_writer, settings.Content); 6632 6633 6634 #line default 6635 #line hidden 6636 6637 #line 2072 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6638 6639 6640 6641 #line default 6642 #line hidden 6643 6644 #line 2073 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6645 WriteTo(__razor_helper_writer, "</" + tagName + ">"); 6646 6647 6648 #line default 6649 #line hidden 6650 6651 #line 2073 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6652 ; 6653 6654 6655 #line default 6656 #line hidden 6657 }); 6658 6659 #line 2074 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6660 } 6661 #line default 6662 #line hidden 6663 6664 6665 #line 2080 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6666 public RazorEngine.Templating.TemplateWriter RenderPagination(Dynamicweb.Rapido.Blocks.Components.General.Pagination settings) 6667 { 6668 #line default 6669 #line hidden 6670 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6671 6672 #line 2081 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6673 6674 var pageNumberQueryStringName = Dynamicweb.Rapido.Services.Pagination.GetPageNumberQueryStringName(settings); // Get the proper 'page number' query string parameter 6675 var queryParameters = Dynamicweb.Rapido.Services.Url.GetQueryParameters(pageNumberQueryStringName); // Get the NameValueCollection from the querystring 6676 6677 if (settings.NumberOfPages > 1) 6678 { 6679 string url = HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority) + "/Default.aspx"; 6680 string ariaLabel = !string.IsNullOrWhiteSpace(settings.AriaLabel) ? settings.AriaLabel : Translate("Page navigation"); 6681 Dictionary<string, int> startAndEndPageNumber = Dynamicweb.Rapido.Services.Pagination.GetStartAndEndPageNumber(settings); 6682 6683 6684 6685 #line default 6686 #line hidden 6687 WriteLiteralTo(__razor_helper_writer, " <div"); 6688 6689 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 80121), Tuple.Create("\"", 80173) 6690 , Tuple.Create(Tuple.Create("", 80129), Tuple.Create("pager", 80129), true) 6691 , Tuple.Create(Tuple.Create(" ", 80134), Tuple.Create("u-margin-top", 80135), true) 6692 , Tuple.Create(Tuple.Create(" ", 80147), Tuple.Create("dw-mod", 80148), true) 6693 6694 #line 2091 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6695 , Tuple.Create(Tuple.Create(" ", 80154), Tuple.Create<System.Object, System.Int32>(settings.CssClass 6696 6697 #line default 6698 #line hidden 6699 , 80155), false) 6700 ); 6701 6702 WriteAttributeTo(__razor_helper_writer, "aria-label", Tuple.Create(" aria-label=\"", 80174), Tuple.Create("\"", 80197) 6703 6704 #line 2091 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6705 , Tuple.Create(Tuple.Create("", 80187), Tuple.Create<System.Object, System.Int32>(ariaLabel 6706 6707 #line default 6708 #line hidden 6709 , 80187), false) 6710 ); 6711 6712 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6713 6714 6715 #line 2092 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6716 6717 6718 #line default 6719 #line hidden 6720 6721 #line 2092 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6722 if (settings.ShowPagingInfo) 6723 { 6724 6725 6726 #line default 6727 #line hidden 6728 WriteLiteralTo(__razor_helper_writer, " <div"); 6729 6730 WriteLiteralTo(__razor_helper_writer, " class=\"pager__info dw-mod\""); 6731 6732 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6733 6734 WriteLiteralTo(__razor_helper_writer, " "); 6735 6736 6737 #line 2095 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6738 WriteTo(__razor_helper_writer, Translate("Page")); 6739 6740 6741 #line default 6742 #line hidden 6743 WriteLiteralTo(__razor_helper_writer, " "); 6744 6745 6746 #line 2095 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6747 WriteTo(__razor_helper_writer, settings.CurrentPageNumber); 6748 6749 6750 #line default 6751 #line hidden 6752 WriteLiteralTo(__razor_helper_writer, " "); 6753 6754 6755 #line 2095 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6756 WriteTo(__razor_helper_writer, Translate("of")); 6757 6758 6759 #line default 6760 #line hidden 6761 WriteLiteralTo(__razor_helper_writer, " "); 6762 6763 6764 #line 2095 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6765 WriteTo(__razor_helper_writer, settings.NumberOfPages); 6766 6767 6768 #line default 6769 #line hidden 6770 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 6771 6772 6773 #line 2097 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6774 } 6775 6776 6777 #line default 6778 #line hidden 6779 WriteLiteralTo(__razor_helper_writer, " <ul"); 6780 6781 WriteLiteralTo(__razor_helper_writer, " class=\"pager__list dw-mod\""); 6782 6783 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6784 6785 6786 #line 2099 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6787 6788 6789 #line default 6790 #line hidden 6791 6792 #line 2099 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6793 if (!string.IsNullOrWhiteSpace(settings.FirstPageUrl) && settings.ShowFirstAndLastControls) 6794 { 6795 6796 6797 #line default 6798 #line hidden 6799 6800 #line 2101 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6801 WriteTo(__razor_helper_writer, Render(new PaginationItem { Link = settings.FirstPageUrl, Icon = settings.FirstIcon })); 6802 6803 6804 #line default 6805 #line hidden 6806 6807 #line 2101 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6808 6809 } 6810 6811 6812 #line default 6813 #line hidden 6814 WriteLiteralTo(__razor_helper_writer, " "); 6815 6816 6817 #line 2103 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6818 if (!string.IsNullOrWhiteSpace(settings.PreviousPageUrl) && settings.ShowNextAndPrevControls) 6819 { 6820 6821 6822 #line default 6823 #line hidden 6824 6825 #line 2105 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6826 WriteTo(__razor_helper_writer, Render(new PaginationItem { Link = settings.PreviousPageUrl, Icon = settings.PrevIcon })); 6827 6828 6829 #line default 6830 #line hidden 6831 6832 #line 2105 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6833 6834 } 6835 6836 6837 #line default 6838 #line hidden 6839 WriteLiteralTo(__razor_helper_writer, " "); 6840 6841 6842 #line 2107 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6843 if (settings.GetPages().Any()) 6844 { 6845 foreach (var page in settings.GetPages()) 6846 { 6847 6848 6849 #line default 6850 #line hidden 6851 6852 #line 2111 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6853 WriteTo(__razor_helper_writer, Render(page)); 6854 6855 6856 #line default 6857 #line hidden 6858 6859 #line 2111 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6860 6861 } 6862 } 6863 else 6864 { 6865 for (var page = startAndEndPageNumber["StartPage"]; page <= startAndEndPageNumber["EndPage"]; page++) 6866 { 6867 queryParameters = Dynamicweb.Rapido.Services.Url.UpdateQueryStringParameter(queryParameters, pageNumberQueryStringName, page.ToString()); 6868 6869 6870 #line default 6871 #line hidden 6872 6873 #line 2119 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6874 WriteTo(__razor_helper_writer, Render(new PaginationItem { Label = page.ToString(), Link = Dynamicweb.Rapido.Services.Url.BuildUri(url, queryParameters).PathAndQuery, IsActive = (settings.CurrentPageNumber == page) })); 6875 6876 6877 #line default 6878 #line hidden 6879 6880 #line 2119 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6881 ; 6882 } 6883 } 6884 6885 6886 #line default 6887 #line hidden 6888 WriteLiteralTo(__razor_helper_writer, " "); 6889 6890 6891 #line 2122 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6892 if (!string.IsNullOrWhiteSpace(settings.NextPageUrl) && settings.ShowNextAndPrevControls) 6893 { 6894 6895 6896 #line default 6897 #line hidden 6898 6899 #line 2124 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6900 WriteTo(__razor_helper_writer, Render(new PaginationItem { Link = settings.NextPageUrl, Icon = settings.NextIcon })); 6901 6902 6903 #line default 6904 #line hidden 6905 6906 #line 2124 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6907 6908 } 6909 6910 6911 #line default 6912 #line hidden 6913 WriteLiteralTo(__razor_helper_writer, " "); 6914 6915 6916 #line 2126 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6917 if (!string.IsNullOrWhiteSpace(settings.LastPageUrl) && settings.ShowFirstAndLastControls) 6918 { 6919 6920 6921 #line default 6922 #line hidden 6923 6924 #line 2128 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6925 WriteTo(__razor_helper_writer, Render(new PaginationItem { Link = settings.LastPageUrl, Icon = settings.LastIcon })); 6926 6927 6928 #line default 6929 #line hidden 6930 6931 #line 2128 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6932 6933 } 6934 6935 6936 #line default 6937 #line hidden 6938 WriteLiteralTo(__razor_helper_writer, " </ul>\r\n </div>\r\n"); 6939 6940 6941 #line 2132 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6942 } 6943 6944 6945 #line default 6946 #line hidden 6947 }); 6948 6949 #line 2133 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6950 } 6951 #line default 6952 #line hidden 6953 6954 6955 #line 2135 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6956 public RazorEngine.Templating.TemplateWriter RenderPaginationItem(PaginationItem settings) 6957 { 6958 #line default 6959 #line hidden 6960 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6961 6962 #line 2136 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6963 6964 if (settings.Icon == null) 6965 { 6966 settings.Icon = new Icon(); 6967 } 6968 6969 settings.Icon.Label = settings.Label; 6970 6971 6972 #line default 6973 #line hidden 6974 WriteLiteralTo(__razor_helper_writer, " <li"); 6975 6976 WriteLiteralTo(__razor_helper_writer, " class=\"pager__btn dw-mod\""); 6977 6978 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6979 6980 6981 #line 2144 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6982 6983 6984 #line default 6985 #line hidden 6986 6987 #line 2144 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 6988 if (settings.IsActive) 6989 { 6990 6991 6992 #line default 6993 #line hidden 6994 WriteLiteralTo(__razor_helper_writer, " <span"); 6995 6996 WriteLiteralTo(__razor_helper_writer, " class=\"pager__num pager__num--current dw-mod\""); 6997 6998 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6999 7000 WriteLiteralTo(__razor_helper_writer, " "); 7001 7002 7003 #line 2147 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7004 WriteTo(__razor_helper_writer, Render(settings.Icon)); 7005 7006 7007 #line default 7008 #line hidden 7009 WriteLiteralTo(__razor_helper_writer, "\r\n </span>\r\n"); 7010 7011 7012 #line 2149 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7013 } 7014 else 7015 { 7016 7017 7018 #line default 7019 #line hidden 7020 WriteLiteralTo(__razor_helper_writer, " <a"); 7021 7022 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 82858), Tuple.Create("\"", 82879) 7023 7024 #line 2152 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7025 , Tuple.Create(Tuple.Create("", 82865), Tuple.Create<System.Object, System.Int32>(settings.Link 7026 7027 #line default 7028 #line hidden 7029 , 82865), false) 7030 ); 7031 7032 WriteLiteralTo(__razor_helper_writer, " class=\"pager__num dw-mod\""); 7033 7034 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7035 7036 WriteLiteralTo(__razor_helper_writer, " "); 7037 7038 7039 #line 2153 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7040 WriteTo(__razor_helper_writer, Render(settings.Icon)); 7041 7042 7043 #line default 7044 #line hidden 7045 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n"); 7046 7047 7048 #line 2155 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7049 } 7050 7051 7052 #line default 7053 #line hidden 7054 WriteLiteralTo(__razor_helper_writer, " </li>\r\n"); 7055 7056 7057 #line 2157 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7058 7059 7060 #line default 7061 #line hidden 7062 }); 7063 7064 #line 2157 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7065 } 7066 #line default 7067 #line hidden 7068 7069 7070 #line 2166 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7071 public RazorEngine.Templating.TemplateWriter RenderArticleBannerCustom(ArticleHeader settings) { 7072 #line default 7073 #line hidden 7074 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7075 7076 #line 2166 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7077 7078 string filterClasses = "image-filter image-filter--darken"; 7079 settings.Layout = ArticleHeaderLayout.Banner; 7080 7081 if (settings.Image != null) 7082 { 7083 if (settings.Image.Path != null) 7084 { 7085 7086 7087 #line default 7088 #line hidden 7089 WriteLiteralTo(__razor_helper_writer, " <section"); 7090 7091 WriteLiteralTo(__razor_helper_writer, " class=\"multiple-paragraphs-container u-color-light paragraph-container--full-wid" + 7092 "th\""); 7093 7094 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7095 7096 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 83522), Tuple.Create("\"", 83568) 7097 , Tuple.Create(Tuple.Create("", 83530), Tuple.Create("background-image", 83530), true) 7098 7099 #line 2175 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7100 , Tuple.Create(Tuple.Create(" ", 83546), Tuple.Create<System.Object, System.Int32>(filterClasses 7101 7102 #line default 7103 #line hidden 7104 , 83547), false) 7105 , Tuple.Create(Tuple.Create(" ", 83561), Tuple.Create("dw-mod", 83562), true) 7106 ); 7107 7108 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7109 7110 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 83596), Tuple.Create("\"", 83651) 7111 , Tuple.Create(Tuple.Create("", 83604), Tuple.Create("background-image__wrapper", 83604), true) 7112 7113 #line 2176 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7114 , Tuple.Create(Tuple.Create(" ", 83629), Tuple.Create<System.Object, System.Int32>(filterClasses 7115 7116 #line default 7117 #line hidden 7118 , 83630), false) 7119 , Tuple.Create(Tuple.Create(" ", 83644), Tuple.Create("dw-mod", 83645), true) 7120 ); 7121 7122 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7123 7124 7125 #line 2177 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7126 7127 7128 #line default 7129 #line hidden 7130 7131 #line 2177 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7132 7133 settings.Image.CssClass += "background-image__cover dw-mod"; 7134 7135 7136 #line default 7137 #line hidden 7138 WriteLiteralTo(__razor_helper_writer, "\r\n"); 7139 7140 WriteLiteralTo(__razor_helper_writer, " "); 7141 7142 7143 #line 2180 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7144 WriteTo(__razor_helper_writer, Render(settings.Image)); 7145 7146 7147 #line default 7148 #line hidden 7149 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n <div"); 7150 7151 WriteLiteralTo(__razor_helper_writer, " class=\"center-container dw-mod\""); 7152 7153 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7154 7155 WriteLiteralTo(__razor_helper_writer, " class=\"grid\""); 7156 7157 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7158 7159 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-8 grid__col-xs-12 paragraph-container paragraph-container--h" + 7160 "eight-lg\""); 7161 7162 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7163 7164 WriteLiteralTo(__razor_helper_writer, " class=\"u-left-middle\""); 7165 7166 WriteLiteralTo(__razor_helper_writer, ">\r\n <div>\r\n <di" + 7167 "v"); 7168 7169 WriteLiteralTo(__razor_helper_writer, " class=\"article--date--and--category u-flex grid--align-center grid--justify-cent" + 7170 "er\""); 7171 7172 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7173 7174 7175 #line 2189 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7176 7177 7178 #line default 7179 #line hidden 7180 7181 #line 2189 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7182 if (!String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date)) 7183 { 7184 7185 7186 #line default 7187 #line hidden 7188 WriteLiteralTo(__razor_helper_writer, " <div"); 7189 7190 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info dw-mod item\""); 7191 7192 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 84597), Tuple.Create("\"", 84631) 7193 , Tuple.Create(Tuple.Create("", 84605), Tuple.Create("color:", 84605), true) 7194 7195 #line 2191 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7196 , Tuple.Create(Tuple.Create(" ", 84611), Tuple.Create<System.Object, System.Int32>(settings.TextColor 7197 7198 #line default 7199 #line hidden 7200 , 84612), false) 7201 ); 7202 7203 WriteLiteralTo(__razor_helper_writer, ">"); 7204 7205 7206 #line 2191 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7207 WriteTo(__razor_helper_writer, settings.Author); 7208 7209 7210 #line default 7211 #line hidden 7212 WriteLiteralTo(__razor_helper_writer, " "); 7213 7214 7215 #line 2191 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7216 WriteTo(__razor_helper_writer, settings.Date); 7217 7218 7219 #line default 7220 #line hidden 7221 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 7222 7223 7224 #line 2192 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7225 } 7226 7227 7228 #line default 7229 #line hidden 7230 WriteLiteralTo(__razor_helper_writer, " "); 7231 7232 7233 #line 2193 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7234 if (!String.IsNullOrEmpty(settings.Category)) 7235 { 7236 7237 7238 #line default 7239 #line hidden 7240 WriteLiteralTo(__razor_helper_writer, " <div"); 7241 7242 WriteLiteralTo(__razor_helper_writer, " class=\"item\""); 7243 7244 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7245 7246 WriteLiteralTo(__razor_helper_writer, " class=\"article__category dw-mod\""); 7247 7248 WriteLiteralTo(__razor_helper_writer, ">"); 7249 7250 7251 #line 2196 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7252 WriteTo(__razor_helper_writer, settings.Category); 7253 7254 7255 #line default 7256 #line hidden 7257 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </div>\r\n"); 7258 7259 7260 #line 2198 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7261 } 7262 7263 7264 #line default 7265 #line hidden 7266 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 7267 7268 7269 #line 2200 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7270 7271 7272 #line default 7273 #line hidden 7274 7275 #line 2200 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7276 if (!String.IsNullOrEmpty(settings.Heading)) 7277 { 7278 7279 7280 #line default 7281 #line hidden 7282 WriteLiteralTo(__razor_helper_writer, " <h1"); 7283 7284 WriteLiteralTo(__razor_helper_writer, " class=\"article__header article__header--giant dw-mod\""); 7285 7286 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 85380), Tuple.Create("\"", 85414) 7287 , Tuple.Create(Tuple.Create("", 85388), Tuple.Create("color:", 85388), true) 7288 7289 #line 2202 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7290 , Tuple.Create(Tuple.Create(" ", 85394), Tuple.Create<System.Object, System.Int32>(settings.TextColor 7291 7292 #line default 7293 #line hidden 7294 , 85395), false) 7295 ); 7296 7297 WriteLiteralTo(__razor_helper_writer, ">"); 7298 7299 7300 #line 2202 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7301 WriteTo(__razor_helper_writer, settings.Heading); 7302 7303 7304 #line default 7305 #line hidden 7306 WriteLiteralTo(__razor_helper_writer, "</h1>\r\n"); 7307 7308 7309 #line 2203 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7310 } 7311 7312 7313 #line default 7314 #line hidden 7315 WriteLiteralTo(__razor_helper_writer, " "); 7316 7317 7318 #line 2204 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7319 if (!String.IsNullOrEmpty(settings.Subheading)) 7320 { 7321 7322 7323 #line default 7324 #line hidden 7325 WriteLiteralTo(__razor_helper_writer, " <div"); 7326 7327 WriteLiteralTo(__razor_helper_writer, " class=\"article__leadtext dw-mod\""); 7328 7329 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 85681), Tuple.Create("\"", 85715) 7330 , Tuple.Create(Tuple.Create("", 85689), Tuple.Create("color:", 85689), true) 7331 7332 #line 2206 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7333 , Tuple.Create(Tuple.Create(" ", 85695), Tuple.Create<System.Object, System.Int32>(settings.TextColor 7334 7335 #line default 7336 #line hidden 7337 , 85696), false) 7338 ); 7339 7340 WriteLiteralTo(__razor_helper_writer, ">"); 7341 7342 7343 #line 2206 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7344 WriteTo(__razor_helper_writer, settings.Subheading); 7345 7346 7347 #line default 7348 #line hidden 7349 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 7350 7351 7352 #line 2207 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7353 } 7354 7355 7356 #line default 7357 #line hidden 7358 WriteLiteralTo(__razor_helper_writer, " "); 7359 7360 7361 #line 2208 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7362 if (!String.IsNullOrEmpty(settings.Link)) 7363 { 7364 7365 7366 #line default 7367 #line hidden 7368 WriteLiteralTo(__razor_helper_writer, " <small"); 7369 7370 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info u-margin-bottom--lg dw-mod\""); 7371 7372 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 86003), Tuple.Create("\"", 86037) 7373 , Tuple.Create(Tuple.Create("", 86011), Tuple.Create("color:", 86011), true) 7374 7375 #line 2210 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7376 , Tuple.Create(Tuple.Create(" ", 86017), Tuple.Create<System.Object, System.Int32>(settings.TextColor 7377 7378 #line default 7379 #line hidden 7380 , 86018), false) 7381 ); 7382 7383 WriteLiteralTo(__razor_helper_writer, ">"); 7384 7385 7386 #line 2210 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7387 WriteTo(__razor_helper_writer, settings.Author); 7388 7389 7390 #line default 7391 #line hidden 7392 WriteLiteralTo(__razor_helper_writer, " "); 7393 7394 7395 #line 2210 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7396 WriteTo(__razor_helper_writer, settings.Date); 7397 7398 7399 #line default 7400 #line hidden 7401 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 7402 7403 7404 #line 2211 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7405 } 7406 7407 7408 #line default 7409 #line hidden 7410 WriteLiteralTo(__razor_helper_writer, " "); 7411 7412 7413 #line 2212 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7414 if (!String.IsNullOrEmpty(settings.Link)) { 7415 7416 7417 #line default 7418 #line hidden 7419 WriteLiteralTo(__razor_helper_writer, " <div"); 7420 7421 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 7422 7423 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7424 7425 WriteLiteralTo(__razor_helper_writer, " "); 7426 7427 7428 #line 2214 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7429 WriteTo(__razor_helper_writer, Render(new Link {Href = settings.Link, Title = settings.LinkText, ButtonLayout = settings.ButtonLayout})); 7430 7431 7432 #line default 7433 #line hidden 7434 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 7435 7436 7437 #line 2216 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7438 } 7439 7440 7441 #line default 7442 #line hidden 7443 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n " + 7444 " </div>\r\n"); 7445 7446 7447 #line 2220 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7448 7449 7450 #line default 7451 #line hidden 7452 7453 #line 2220 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7454 if (settings.ExternalParagraphId != 0) 7455 { 7456 7457 7458 #line default 7459 #line hidden 7460 WriteLiteralTo(__razor_helper_writer, " <div"); 7461 7462 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-4 grid__col-sm-12 grid__col-xs-12 paragraph-container paragr" + 7463 "aph-container--height-auto dw-mod\""); 7464 7465 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7466 7467 WriteLiteralTo(__razor_helper_writer, " class=\"u-color-light-gray--bg u-color-dark dw-mod\""); 7468 7469 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7470 7471 WriteLiteralTo(__razor_helper_writer, " "); 7472 7473 7474 #line 2224 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7475 WriteTo(__razor_helper_writer, RenderParagraphContent(settings.ExternalParagraphId)); 7476 7477 7478 #line default 7479 #line hidden 7480 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div> \r\n"); 7481 7482 7483 #line 2227 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7484 } 7485 7486 7487 #line default 7488 #line hidden 7489 WriteLiteralTo(__razor_helper_writer, " \r\n </div>\r\n </div>\r\n " + 7490 " </section>\r\n"); 7491 7492 7493 #line 2232 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7494 if (!String.IsNullOrEmpty(settings.Image.Caption)) { 7495 7496 7497 #line default 7498 #line hidden 7499 WriteLiteralTo(__razor_helper_writer, " <div"); 7500 7501 WriteLiteralTo(__razor_helper_writer, " class=\"image-caption dw-mod\""); 7502 7503 WriteLiteralTo(__razor_helper_writer, ">"); 7504 7505 7506 #line 2233 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7507 WriteTo(__razor_helper_writer, settings.Image.Caption); 7508 7509 7510 #line default 7511 #line hidden 7512 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 7513 7514 7515 #line 2234 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7516 } 7517 } 7518 else 7519 { 7520 settings.Layout = ArticleHeaderLayout.Clean; 7521 7522 7523 #line default 7524 #line hidden 7525 7526 #line 2239 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7527 WriteTo(__razor_helper_writer, RenderArticleCleanHeaderCustom(settings)); 7528 7529 7530 #line default 7531 #line hidden 7532 7533 #line 2239 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7534 ; 7535 } 7536 } 7537 else 7538 { 7539 settings.Layout = ArticleHeaderLayout.Clean; 7540 7541 7542 #line default 7543 #line hidden 7544 7545 #line 2245 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7546 WriteTo(__razor_helper_writer, RenderArticleCleanHeaderCustom(settings)); 7547 7548 7549 #line default 7550 #line hidden 7551 7552 #line 2245 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7553 ; 7554 } 7555 7556 7557 #line default 7558 #line hidden 7559 }); 7560 7561 #line 2247 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7562 } 7563 #line default 7564 #line hidden 7565 7566 7567 #line 2249 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7568 public RazorEngine.Templating.TemplateWriter RenderArticleCleanHeaderCustom(ArticleHeader settings) { 7569 #line default 7570 #line hidden 7571 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7572 7573 #line 2249 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7574 7575 string contentColumns = settings.TextLayout != ArticleHeaderTextLayout.Full ? "8" : "12"; 7576 7577 7578 7579 #line default 7580 #line hidden 7581 WriteLiteralTo(__razor_helper_writer, " <div"); 7582 7583 WriteLiteralTo(__razor_helper_writer, " class=\"grid grid--align-content-start grid--justify-start\""); 7584 7585 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7586 7587 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 87953), Tuple.Create("\"", 88026) 7588 , Tuple.Create(Tuple.Create("", 87961), Tuple.Create("grid__col-md-", 87961), true) 7589 7590 #line 2253 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7591 , Tuple.Create(Tuple.Create("", 87974), Tuple.Create<System.Object, System.Int32>(contentColumns 7592 7593 #line default 7594 #line hidden 7595 , 87974), false) 7596 , Tuple.Create(Tuple.Create(" ", 87989), Tuple.Create("grid__col-sm-12", 87990), true) 7597 , Tuple.Create(Tuple.Create(" ", 88005), Tuple.Create("u-padding--lg", 88006), true) 7598 , Tuple.Create(Tuple.Create(" ", 88019), Tuple.Create("dw-mod", 88020), true) 7599 ); 7600 7601 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7602 7603 7604 #line 2254 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7605 7606 7607 #line default 7608 #line hidden 7609 7610 #line 2254 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7611 if (!String.IsNullOrEmpty(settings.Category) || !String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date) || settings.RatingOutOf != 0) 7612 { 7613 7614 7615 #line default 7616 #line hidden 7617 WriteLiteralTo(__razor_helper_writer, " <div"); 7618 7619 WriteLiteralTo(__razor_helper_writer, " class=\"article--date--and--category u-flex grid--align-center grid--justify-cent" + 7620 "er\""); 7621 7622 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7623 7624 7625 #line 2257 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7626 7627 7628 #line default 7629 #line hidden 7630 7631 #line 2257 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7632 if (!String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date)) 7633 { 7634 7635 7636 #line default 7637 #line hidden 7638 WriteLiteralTo(__razor_helper_writer, " <div"); 7639 7640 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info dw-mod item\""); 7641 7642 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 88519), Tuple.Create("\"", 88553) 7643 , Tuple.Create(Tuple.Create("", 88527), Tuple.Create("color:", 88527), true) 7644 7645 #line 2259 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7646 , Tuple.Create(Tuple.Create(" ", 88533), Tuple.Create<System.Object, System.Int32>(settings.TextColor 7647 7648 #line default 7649 #line hidden 7650 , 88534), false) 7651 ); 7652 7653 WriteLiteralTo(__razor_helper_writer, ">"); 7654 7655 7656 #line 2259 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7657 WriteTo(__razor_helper_writer, settings.Author); 7658 7659 7660 #line default 7661 #line hidden 7662 WriteLiteralTo(__razor_helper_writer, " "); 7663 7664 7665 #line 2259 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7666 WriteTo(__razor_helper_writer, settings.Date); 7667 7668 7669 #line default 7670 #line hidden 7671 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 7672 7673 7674 #line 2260 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7675 } 7676 7677 7678 #line default 7679 #line hidden 7680 WriteLiteralTo(__razor_helper_writer, " "); 7681 7682 7683 #line 2261 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7684 if (!String.IsNullOrEmpty(settings.Category)) 7685 { 7686 7687 7688 #line default 7689 #line hidden 7690 WriteLiteralTo(__razor_helper_writer, " <div"); 7691 7692 WriteLiteralTo(__razor_helper_writer, " class=\"item\""); 7693 7694 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7695 7696 WriteLiteralTo(__razor_helper_writer, " class=\"article__category dw-mod\""); 7697 7698 WriteLiteralTo(__razor_helper_writer, ">"); 7699 7700 7701 #line 2264 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7702 WriteTo(__razor_helper_writer, settings.Category); 7703 7704 7705 #line default 7706 #line hidden 7707 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </div>\r\n"); 7708 7709 7710 #line 2266 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7711 } 7712 7713 7714 #line default 7715 #line hidden 7716 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 7717 7718 7719 #line 2268 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7720 } 7721 7722 7723 #line default 7724 #line hidden 7725 WriteLiteralTo(__razor_helper_writer, "\r\n <div"); 7726 7727 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 7728 7729 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7730 7731 7732 #line 2271 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7733 7734 7735 #line default 7736 #line hidden 7737 7738 #line 2271 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7739 if (!String.IsNullOrEmpty(settings.Heading)) 7740 { 7741 7742 7743 #line default 7744 #line hidden 7745 WriteLiteralTo(__razor_helper_writer, " <h1"); 7746 7747 WriteLiteralTo(__razor_helper_writer, " class=\"article__header article__header--giant dw-mod\""); 7748 7749 WriteLiteralTo(__razor_helper_writer, ">"); 7750 7751 7752 #line 2273 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7753 WriteTo(__razor_helper_writer, settings.Heading); 7754 7755 7756 #line default 7757 #line hidden 7758 WriteLiteralTo(__razor_helper_writer, "</h1>\r\n"); 7759 7760 7761 #line 2274 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7762 } 7763 7764 7765 #line default 7766 #line hidden 7767 WriteLiteralTo(__razor_helper_writer, " "); 7768 7769 7770 #line 2275 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7771 if (settings.Image != null) 7772 { 7773 if (settings.Image.Path != null) 7774 { 7775 7776 7777 #line default 7778 #line hidden 7779 WriteLiteralTo(__razor_helper_writer, " <div"); 7780 7781 WriteLiteralTo(__razor_helper_writer, " class=\"u-padding-bottom--lg\""); 7782 7783 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7784 7785 WriteLiteralTo(__razor_helper_writer, " "); 7786 7787 7788 #line 2280 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7789 WriteTo(__razor_helper_writer, Render(settings.Image)); 7790 7791 7792 #line default 7793 #line hidden 7794 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 7795 7796 7797 #line 2282 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7798 } 7799 } 7800 7801 7802 #line default 7803 #line hidden 7804 WriteLiteralTo(__razor_helper_writer, " "); 7805 7806 7807 #line 2284 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7808 if (!String.IsNullOrEmpty(settings.Subheading)) 7809 { 7810 7811 7812 #line default 7813 #line hidden 7814 WriteLiteralTo(__razor_helper_writer, " <div"); 7815 7816 WriteLiteralTo(__razor_helper_writer, " class=\"article__leadtext dw-mod\""); 7817 7818 WriteLiteralTo(__razor_helper_writer, ">"); 7819 7820 7821 #line 2286 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7822 WriteTo(__razor_helper_writer, settings.Subheading); 7823 7824 7825 #line default 7826 #line hidden 7827 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 7828 7829 7830 #line 2287 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7831 } 7832 7833 7834 #line default 7835 #line hidden 7836 WriteLiteralTo(__razor_helper_writer, " "); 7837 7838 7839 #line 2288 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7840 if (!String.IsNullOrEmpty(settings.Link)) 7841 { 7842 7843 7844 #line default 7845 #line hidden 7846 WriteLiteralTo(__razor_helper_writer, " <div"); 7847 7848 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 7849 7850 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7851 7852 WriteLiteralTo(__razor_helper_writer, " "); 7853 7854 7855 #line 2291 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7856 WriteTo(__razor_helper_writer, Render(new Link { Href = settings.Link, Title = settings.LinkText, ButtonLayout = settings.ButtonLayout })); 7857 7858 7859 #line default 7860 #line hidden 7861 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 7862 7863 7864 #line 2293 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7865 } 7866 7867 7868 #line default 7869 #line hidden 7870 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 7871 7872 7873 #line 2296 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7874 7875 7876 #line default 7877 #line hidden 7878 7879 #line 2296 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7880 if (settings.ExternalParagraphId != 0) 7881 { 7882 7883 7884 #line default 7885 #line hidden 7886 WriteLiteralTo(__razor_helper_writer, " <div"); 7887 7888 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-4 grid__col-sm-12 u-padding--lg u-color-light-gray--bg dw-mo" + 7889 "d\""); 7890 7891 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7892 7893 WriteLiteralTo(__razor_helper_writer, " "); 7894 7895 7896 #line 2299 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7897 WriteTo(__razor_helper_writer, RenderParagraphContent(settings.ExternalParagraphId)); 7898 7899 7900 #line default 7901 #line hidden 7902 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 7903 7904 7905 #line 2301 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7906 } 7907 7908 7909 #line default 7910 #line hidden 7911 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 7912 7913 7914 #line 2303 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7915 7916 7917 #line default 7918 #line hidden 7919 }); 7920 7921 #line 2303 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7922 } 7923 #line default 7924 #line hidden 7925 7926 7927 #line 2319 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7928 public RazorEngine.Templating.TemplateWriter RenderArticleBanner(ArticleHeader settings) { 7929 #line default 7930 #line hidden 7931 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7932 7933 #line 2319 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7934 7935 dynamic[] methodParameters = new dynamic[1]; 7936 methodParameters[0] = settings; 7937 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleBannerCustom"); 7938 7939 if (customMethod != null) 7940 { 7941 7942 7943 #line default 7944 #line hidden 7945 7946 #line 2326 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7947 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 7948 7949 7950 #line default 7951 #line hidden 7952 7953 #line 2326 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7954 ; 7955 } 7956 else 7957 { 7958 7959 string filterClasses = "image-filter image-filter--darken"; 7960 settings.Layout = ArticleHeaderLayout.Banner; 7961 7962 if (settings.Image != null) 7963 { 7964 if (settings.Image.Path != null) 7965 { 7966 7967 7968 #line default 7969 #line hidden 7970 WriteLiteralTo(__razor_helper_writer, " <section"); 7971 7972 WriteLiteralTo(__razor_helper_writer, " class=\"multiple-paragraphs-container u-color-light paragraph-container--full-wid" + 7973 "th\""); 7974 7975 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7976 7977 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 91481), Tuple.Create("\"", 91527) 7978 , Tuple.Create(Tuple.Create("", 91489), Tuple.Create("background-image", 91489), true) 7979 7980 #line 2339 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7981 , Tuple.Create(Tuple.Create(" ", 91505), Tuple.Create<System.Object, System.Int32>(filterClasses 7982 7983 #line default 7984 #line hidden 7985 , 91506), false) 7986 , Tuple.Create(Tuple.Create(" ", 91520), Tuple.Create("dw-mod", 91521), true) 7987 ); 7988 7989 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7990 7991 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 91559), Tuple.Create("\"", 91614) 7992 , Tuple.Create(Tuple.Create("", 91567), Tuple.Create("background-image__wrapper", 91567), true) 7993 7994 #line 2340 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 7995 , Tuple.Create(Tuple.Create(" ", 91592), Tuple.Create<System.Object, System.Int32>(filterClasses 7996 7997 #line default 7998 #line hidden 7999 , 91593), false) 8000 , Tuple.Create(Tuple.Create(" ", 91607), Tuple.Create("dw-mod", 91608), true) 8001 ); 8002 8003 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8004 8005 8006 #line 2341 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8007 8008 8009 #line default 8010 #line hidden 8011 8012 #line 2341 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8013 8014 settings.Image.CssClass += "background-image__cover dw-mod"; 8015 8016 8017 #line default 8018 #line hidden 8019 WriteLiteralTo(__razor_helper_writer, "\r\n"); 8020 8021 WriteLiteralTo(__razor_helper_writer, " "); 8022 8023 8024 #line 2344 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8025 WriteTo(__razor_helper_writer, Render(settings.Image)); 8026 8027 8028 #line default 8029 #line hidden 8030 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n " + 8031 " <div"); 8032 8033 WriteLiteralTo(__razor_helper_writer, " class=\"center-container dw-mod\""); 8034 8035 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8036 8037 WriteLiteralTo(__razor_helper_writer, " class=\"grid\""); 8038 8039 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8040 8041 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-8 grid__col-xs-12 paragraph-container paragraph-container--h" + 8042 "eight-lg\""); 8043 8044 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8045 8046 WriteLiteralTo(__razor_helper_writer, " class=\"u-left-middle\""); 8047 8048 WriteLiteralTo(__razor_helper_writer, ">\r\n <div>\r\n"); 8049 8050 8051 #line 2352 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8052 8053 8054 #line default 8055 #line hidden 8056 8057 #line 2352 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8058 if (!String.IsNullOrEmpty(settings.Heading)) 8059 { 8060 8061 8062 #line default 8063 #line hidden 8064 WriteLiteralTo(__razor_helper_writer, " <h1"); 8065 8066 WriteLiteralTo(__razor_helper_writer, " class=\"article__header article__header--giant dw-mod\""); 8067 8068 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 92451), Tuple.Create("\"", 92485) 8069 , Tuple.Create(Tuple.Create("", 92459), Tuple.Create("color:", 92459), true) 8070 8071 #line 2354 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8072 , Tuple.Create(Tuple.Create(" ", 92465), Tuple.Create<System.Object, System.Int32>(settings.TextColor 8073 8074 #line default 8075 #line hidden 8076 , 92466), false) 8077 ); 8078 8079 WriteLiteralTo(__razor_helper_writer, ">"); 8080 8081 8082 #line 2354 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8083 WriteTo(__razor_helper_writer, settings.Heading); 8084 8085 8086 #line default 8087 #line hidden 8088 WriteLiteralTo(__razor_helper_writer, "</h1>\r\n"); 8089 8090 8091 #line 2355 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8092 } 8093 8094 8095 #line default 8096 #line hidden 8097 WriteLiteralTo(__razor_helper_writer, " "); 8098 8099 8100 #line 2356 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8101 if (!String.IsNullOrEmpty(settings.Subheading)) 8102 { 8103 8104 8105 #line default 8106 #line hidden 8107 WriteLiteralTo(__razor_helper_writer, " <div"); 8108 8109 WriteLiteralTo(__razor_helper_writer, " class=\"article__leadtext dw-mod\""); 8110 8111 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 92768), Tuple.Create("\"", 92802) 8112 , Tuple.Create(Tuple.Create("", 92776), Tuple.Create("color:", 92776), true) 8113 8114 #line 2358 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8115 , Tuple.Create(Tuple.Create(" ", 92782), Tuple.Create<System.Object, System.Int32>(settings.TextColor 8116 8117 #line default 8118 #line hidden 8119 , 92783), false) 8120 ); 8121 8122 WriteLiteralTo(__razor_helper_writer, ">"); 8123 8124 8125 #line 2358 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8126 WriteTo(__razor_helper_writer, settings.Subheading); 8127 8128 8129 #line default 8130 #line hidden 8131 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 8132 8133 8134 #line 2359 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8135 } 8136 8137 8138 #line default 8139 #line hidden 8140 WriteLiteralTo(__razor_helper_writer, " "); 8141 8142 8143 #line 2360 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8144 if (!String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date)) 8145 { 8146 8147 8148 #line default 8149 #line hidden 8150 WriteLiteralTo(__razor_helper_writer, " <small"); 8151 8152 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info u-margin-bottom--lg dw-mod\""); 8153 8154 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 93148), Tuple.Create("\"", 93182) 8155 , Tuple.Create(Tuple.Create("", 93156), Tuple.Create("color:", 93156), true) 8156 8157 #line 2362 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8158 , Tuple.Create(Tuple.Create(" ", 93162), Tuple.Create<System.Object, System.Int32>(settings.TextColor 8159 8160 #line default 8161 #line hidden 8162 , 93163), false) 8163 ); 8164 8165 WriteLiteralTo(__razor_helper_writer, ">"); 8166 8167 8168 #line 2362 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8169 WriteTo(__razor_helper_writer, settings.Author); 8170 8171 8172 #line default 8173 #line hidden 8174 WriteLiteralTo(__razor_helper_writer, " "); 8175 8176 8177 #line 2362 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8178 WriteTo(__razor_helper_writer, settings.Date); 8179 8180 8181 #line default 8182 #line hidden 8183 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 8184 8185 8186 #line 2363 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8187 } 8188 8189 8190 #line default 8191 #line hidden 8192 WriteLiteralTo(__razor_helper_writer, " "); 8193 8194 8195 #line 2364 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8196 if (!String.IsNullOrEmpty(settings.Link)) { 8197 8198 8199 #line default 8200 #line hidden 8201 WriteLiteralTo(__razor_helper_writer, " <div"); 8202 8203 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 8204 8205 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8206 8207 WriteLiteralTo(__razor_helper_writer, " "); 8208 8209 8210 #line 2366 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8211 WriteTo(__razor_helper_writer, Render(new Link { Href = settings.Link, Title = settings.LinkText, ButtonLayout = settings.ButtonLayout })); 8212 8213 8214 #line default 8215 #line hidden 8216 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 8217 8218 8219 #line 2368 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8220 } 8221 8222 8223 #line default 8224 #line hidden 8225 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div" + 8226 ">\r\n </div>\r\n"); 8227 8228 8229 #line 2372 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8230 8231 8232 #line default 8233 #line hidden 8234 8235 #line 2372 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8236 if (settings.ExternalParagraphId != 0) 8237 { 8238 8239 8240 #line default 8241 #line hidden 8242 WriteLiteralTo(__razor_helper_writer, " <div"); 8243 8244 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-4 grid__col-sm-12 grid__col-xs-12 paragraph-container paragr" + 8245 "aph-container--height-auto dw-mod\""); 8246 8247 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8248 8249 WriteLiteralTo(__razor_helper_writer, " class=\"u-color-light-gray--bg u-color-dark dw-mod\""); 8250 8251 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8252 8253 WriteLiteralTo(__razor_helper_writer, " "); 8254 8255 8256 #line 2376 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8257 WriteTo(__razor_helper_writer, RenderParagraphContent(settings.ExternalParagraphId)); 8258 8259 8260 #line default 8261 #line hidden 8262 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </d" + 8263 "iv>\r\n"); 8264 8265 8266 #line 2379 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8267 } 8268 8269 8270 #line default 8271 #line hidden 8272 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n </s" + 8273 "ection>\r\n"); 8274 8275 8276 #line 2384 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8277 if (!String.IsNullOrEmpty(settings.Image.Caption)) 8278 { 8279 8280 8281 #line default 8282 #line hidden 8283 WriteLiteralTo(__razor_helper_writer, " <div"); 8284 8285 WriteLiteralTo(__razor_helper_writer, " class=\"image-caption dw-mod\""); 8286 8287 WriteLiteralTo(__razor_helper_writer, ">"); 8288 8289 8290 #line 2386 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8291 WriteTo(__razor_helper_writer, settings.Image.Caption); 8292 8293 8294 #line default 8295 #line hidden 8296 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 8297 8298 8299 #line 2387 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8300 } 8301 } 8302 else 8303 { 8304 settings.Layout = ArticleHeaderLayout.Clean; 8305 8306 8307 #line default 8308 #line hidden 8309 8310 #line 2392 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8311 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 8312 8313 8314 #line default 8315 #line hidden 8316 8317 #line 2392 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8318 8319 ; 8320 } 8321 } 8322 else 8323 { 8324 settings.Layout = ArticleHeaderLayout.Clean; 8325 8326 8327 #line default 8328 #line hidden 8329 8330 #line 2399 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8331 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 8332 8333 8334 #line default 8335 #line hidden 8336 8337 #line 2399 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8338 8339 ; 8340 } 8341 } 8342 8343 8344 #line default 8345 #line hidden 8346 }); 8347 8348 #line 2403 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8349 } 8350 #line default 8351 #line hidden 8352 8353 8354 #line 2413 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8355 public RazorEngine.Templating.TemplateWriter RenderArticleHeader(ArticleHeader settings) { 8356 #line default 8357 #line hidden 8358 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 8359 8360 #line 2413 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8361 8362 dynamic[] methodParameters = new dynamic[1]; 8363 methodParameters[0] = settings; 8364 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleHeaderCustom"); 8365 8366 if (customMethod != null) 8367 { 8368 8369 8370 #line default 8371 #line hidden 8372 8373 #line 2420 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8374 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 8375 8376 8377 #line default 8378 #line hidden 8379 8380 #line 2420 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8381 ; 8382 } else { 8383 switch (settings.Layout) 8384 { 8385 case ArticleHeaderLayout.Clean: 8386 8387 8388 #line default 8389 #line hidden 8390 8391 #line 2425 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8392 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 8393 8394 8395 #line default 8396 #line hidden 8397 8398 #line 2425 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8399 ; 8400 break; 8401 case ArticleHeaderLayout.Split: 8402 8403 8404 #line default 8405 #line hidden 8406 8407 #line 2428 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8408 WriteTo(__razor_helper_writer, RenderArticleSplitHeader(settings)); 8409 8410 8411 #line default 8412 #line hidden 8413 8414 #line 2428 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8415 ; 8416 break; 8417 case ArticleHeaderLayout.Banner: 8418 8419 8420 #line default 8421 #line hidden 8422 8423 #line 2431 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8424 WriteTo(__razor_helper_writer, RenderArticleBannerHeader(settings)); 8425 8426 8427 #line default 8428 #line hidden 8429 8430 #line 2431 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8431 ; 8432 break; 8433 case ArticleHeaderLayout.Overlay: 8434 8435 8436 #line default 8437 #line hidden 8438 8439 #line 2434 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8440 WriteTo(__razor_helper_writer, RenderArticleOverlayHeader(settings)); 8441 8442 8443 #line default 8444 #line hidden 8445 8446 #line 2434 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8447 ; 8448 break; 8449 default: 8450 8451 8452 #line default 8453 #line hidden 8454 8455 #line 2437 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8456 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 8457 8458 8459 #line default 8460 #line hidden 8461 8462 #line 2437 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8463 ; 8464 break; 8465 } 8466 } 8467 8468 8469 #line default 8470 #line hidden 8471 }); 8472 8473 #line 2441 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8474 } 8475 #line default 8476 #line hidden 8477 8478 8479 #line 2443 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8480 public RazorEngine.Templating.TemplateWriter RenderArticleCleanHeader(ArticleHeader settings) { 8481 #line default 8482 #line hidden 8483 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 8484 8485 #line 2443 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8486 8487 dynamic[] methodParameters = new dynamic[1]; 8488 methodParameters[0] = settings; 8489 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleCleanHeaderCustom"); 8490 8491 if (customMethod != null) 8492 { 8493 8494 8495 #line default 8496 #line hidden 8497 8498 #line 2450 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8499 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 8500 8501 8502 #line default 8503 #line hidden 8504 8505 #line 2450 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8506 ; 8507 } 8508 else 8509 { 8510 string contentColumns = settings.TextLayout != ArticleHeaderTextLayout.Full ? "8" : "12"; 8511 8512 8513 8514 #line default 8515 #line hidden 8516 WriteLiteralTo(__razor_helper_writer, " <div"); 8517 8518 WriteLiteralTo(__razor_helper_writer, " class=\"grid grid--align-content-start grid--justify-start\""); 8519 8520 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8521 8522 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 96865), Tuple.Create("\"", 96938) 8523 , Tuple.Create(Tuple.Create("", 96873), Tuple.Create("grid__col-md-", 96873), true) 8524 8525 #line 2457 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8526 , Tuple.Create(Tuple.Create("", 96886), Tuple.Create<System.Object, System.Int32>(contentColumns 8527 8528 #line default 8529 #line hidden 8530 , 96886), false) 8531 , Tuple.Create(Tuple.Create(" ", 96901), Tuple.Create("grid__col-sm-12", 96902), true) 8532 , Tuple.Create(Tuple.Create(" ", 96917), Tuple.Create("u-padding--lg", 96918), true) 8533 , Tuple.Create(Tuple.Create(" ", 96931), Tuple.Create("dw-mod", 96932), true) 8534 ); 8535 8536 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8537 8538 8539 #line 2458 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8540 8541 8542 #line default 8543 #line hidden 8544 8545 #line 2458 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8546 if (!String.IsNullOrEmpty(settings.Category) || !String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date) || settings.RatingOutOf != 0) 8547 { 8548 8549 8550 #line default 8551 #line hidden 8552 WriteLiteralTo(__razor_helper_writer, " <div"); 8553 8554 WriteLiteralTo(__razor_helper_writer, " class=\"u-border-bottom u-padding-bottom\""); 8555 8556 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8557 8558 8559 #line 2461 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8560 8561 8562 #line default 8563 #line hidden 8564 8565 #line 2461 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8566 if (!String.IsNullOrEmpty(settings.Category)) 8567 { 8568 8569 8570 #line default 8571 #line hidden 8572 WriteLiteralTo(__razor_helper_writer, " <div"); 8573 8574 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--left\""); 8575 8576 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8577 8578 WriteLiteralTo(__razor_helper_writer, " class=\"article__category dw-mod\""); 8579 8580 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 97428), Tuple.Create("\"", 97466) 8581 , Tuple.Create(Tuple.Create("", 97436), Tuple.Create("color:", 97436), true) 8582 8583 #line 2464 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8584 , Tuple.Create(Tuple.Create(" ", 97442), Tuple.Create<System.Object, System.Int32>(settings.CategoryColor 8585 8586 #line default 8587 #line hidden 8588 , 97443), false) 8589 ); 8590 8591 WriteLiteralTo(__razor_helper_writer, ">"); 8592 8593 8594 #line 2464 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8595 WriteTo(__razor_helper_writer, settings.Category); 8596 8597 8598 #line default 8599 #line hidden 8600 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </div>\r\n"); 8601 8602 8603 #line 2466 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8604 } 8605 8606 8607 #line default 8608 #line hidden 8609 WriteLiteralTo(__razor_helper_writer, " <div"); 8610 8611 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right\""); 8612 8613 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8614 8615 8616 #line 2468 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8617 8618 8619 #line default 8620 #line hidden 8621 8622 #line 2468 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8623 if (!String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date)) 8624 { 8625 8626 8627 #line default 8628 #line hidden 8629 WriteLiteralTo(__razor_helper_writer, " <small"); 8630 8631 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info dw-mod\""); 8632 8633 WriteLiteralTo(__razor_helper_writer, ">"); 8634 8635 8636 #line 2470 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8637 WriteTo(__razor_helper_writer, settings.Author); 8638 8639 8640 #line default 8641 #line hidden 8642 WriteLiteralTo(__razor_helper_writer, " "); 8643 8644 8645 #line 2470 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8646 WriteTo(__razor_helper_writer, settings.Date); 8647 8648 8649 #line default 8650 #line hidden 8651 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 8652 8653 8654 #line 2471 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8655 } 8656 8657 8658 #line default 8659 #line hidden 8660 WriteLiteralTo(__razor_helper_writer, " "); 8661 8662 8663 #line 2472 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8664 if (settings.RatingOutOf != 0) 8665 { 8666 8667 8668 #line default 8669 #line hidden 8670 8671 #line 2474 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8672 WriteTo(__razor_helper_writer, Render(new Rating { Score = settings.RatingScore, OutOf = settings.RatingOutOf })); 8673 8674 8675 #line default 8676 #line hidden 8677 8678 #line 2474 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8679 8680 } 8681 8682 8683 #line default 8684 #line hidden 8685 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 8686 8687 8688 #line 2478 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8689 } 8690 8691 8692 #line default 8693 #line hidden 8694 WriteLiteralTo(__razor_helper_writer, "\r\n <div"); 8695 8696 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 8697 8698 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8699 8700 8701 #line 2481 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8702 8703 8704 #line default 8705 #line hidden 8706 8707 #line 2481 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8708 if (!String.IsNullOrEmpty(settings.Heading)) 8709 { 8710 8711 8712 #line default 8713 #line hidden 8714 WriteLiteralTo(__razor_helper_writer, " <h1"); 8715 8716 WriteLiteralTo(__razor_helper_writer, " class=\"article__header article__header--giant dw-mod\""); 8717 8718 WriteLiteralTo(__razor_helper_writer, ">"); 8719 8720 8721 #line 2483 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8722 WriteTo(__razor_helper_writer, settings.Heading); 8723 8724 8725 #line default 8726 #line hidden 8727 WriteLiteralTo(__razor_helper_writer, "</h1>\r\n"); 8728 8729 8730 #line 2484 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8731 } 8732 8733 8734 #line default 8735 #line hidden 8736 WriteLiteralTo(__razor_helper_writer, " "); 8737 8738 8739 #line 2485 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8740 if (settings.Image != null) 8741 { 8742 if (settings.Image.Path != null) 8743 { 8744 8745 8746 #line default 8747 #line hidden 8748 WriteLiteralTo(__razor_helper_writer, " <div"); 8749 8750 WriteLiteralTo(__razor_helper_writer, " class=\"u-padding-bottom--lg\""); 8751 8752 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8753 8754 WriteLiteralTo(__razor_helper_writer, " "); 8755 8756 8757 #line 2490 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8758 WriteTo(__razor_helper_writer, Render(settings.Image)); 8759 8760 8761 #line default 8762 #line hidden 8763 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 8764 8765 8766 #line 2492 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8767 } 8768 } 8769 8770 8771 #line default 8772 #line hidden 8773 WriteLiteralTo(__razor_helper_writer, " "); 8774 8775 8776 #line 2494 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8777 if (!String.IsNullOrEmpty(settings.Subheading)) 8778 { 8779 8780 8781 #line default 8782 #line hidden 8783 WriteLiteralTo(__razor_helper_writer, " <div"); 8784 8785 WriteLiteralTo(__razor_helper_writer, " class=\"article__leadtext dw-mod\""); 8786 8787 WriteLiteralTo(__razor_helper_writer, ">"); 8788 8789 8790 #line 2496 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8791 WriteTo(__razor_helper_writer, settings.Subheading); 8792 8793 8794 #line default 8795 #line hidden 8796 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 8797 8798 8799 #line 2497 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8800 } 8801 8802 8803 #line default 8804 #line hidden 8805 WriteLiteralTo(__razor_helper_writer, " "); 8806 8807 8808 #line 2498 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8809 if (!String.IsNullOrEmpty(settings.Link)) 8810 { 8811 8812 8813 #line default 8814 #line hidden 8815 WriteLiteralTo(__razor_helper_writer, " <div"); 8816 8817 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 8818 8819 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8820 8821 WriteLiteralTo(__razor_helper_writer, " "); 8822 8823 8824 #line 2501 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8825 WriteTo(__razor_helper_writer, Render(new Link { Href = settings.Link, Title = settings.LinkText, ButtonLayout = settings.ButtonLayout })); 8826 8827 8828 #line default 8829 #line hidden 8830 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 8831 8832 8833 #line 2503 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8834 } 8835 8836 8837 #line default 8838 #line hidden 8839 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 8840 8841 8842 #line 2506 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8843 8844 8845 #line default 8846 #line hidden 8847 8848 #line 2506 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8849 if (settings.ExternalParagraphId != 0) 8850 { 8851 8852 8853 #line default 8854 #line hidden 8855 WriteLiteralTo(__razor_helper_writer, " <div"); 8856 8857 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-4 grid__col-sm-12 u-padding--lg u-color-light-gray--bg dw-mo" + 8858 "d\""); 8859 8860 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8861 8862 WriteLiteralTo(__razor_helper_writer, " "); 8863 8864 8865 #line 2509 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8866 WriteTo(__razor_helper_writer, RenderParagraphContent(settings.ExternalParagraphId)); 8867 8868 8869 #line default 8870 #line hidden 8871 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 8872 8873 8874 #line 2511 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8875 } 8876 8877 8878 #line default 8879 #line hidden 8880 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 8881 8882 8883 #line 2513 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8884 } 8885 8886 8887 #line default 8888 #line hidden 8889 }); 8890 8891 #line 2514 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8892 } 8893 #line default 8894 #line hidden 8895 8896 8897 #line 2516 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8898 public RazorEngine.Templating.TemplateWriter RenderArticleSplitHeader(ArticleHeader settings) { 8899 #line default 8900 #line hidden 8901 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 8902 8903 #line 2516 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8904 8905 dynamic[] methodParameters = new dynamic[1]; 8906 methodParameters[0] = settings; 8907 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleSplitHeaderCustom"); 8908 8909 if (customMethod != null) 8910 { 8911 8912 8913 #line default 8914 #line hidden 8915 8916 #line 2523 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8917 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 8918 8919 8920 #line default 8921 #line hidden 8922 8923 #line 2523 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8924 ; 8925 } 8926 else 8927 { 8928 string headerColumnWidth = settings.ExternalParagraphId != 0 ? "4" : "6"; 8929 8930 if (settings.Image != null) 8931 { 8932 if (settings.Image.Path != null) 8933 { 8934 8935 8936 #line default 8937 #line hidden 8938 WriteLiteralTo(__razor_helper_writer, " <section"); 8939 8940 WriteLiteralTo(__razor_helper_writer, " class=\"multiple-paragraphs-container paragraph-container--full-width\""); 8941 8942 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8943 8944 WriteLiteralTo(__razor_helper_writer, " class=\"grid\""); 8945 8946 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8947 8948 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 100470), Tuple.Create("\"", 100599) 8949 , Tuple.Create(Tuple.Create("", 100478), Tuple.Create("grid__col-md-", 100478), true) 8950 8951 #line 2535 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8952 , Tuple.Create(Tuple.Create("", 100491), Tuple.Create<System.Object, System.Int32>(headerColumnWidth 8953 8954 #line default 8955 #line hidden 8956 , 100491), false) 8957 , Tuple.Create(Tuple.Create(" ", 100509), Tuple.Create("grid__col-sm-12", 100510), true) 8958 , Tuple.Create(Tuple.Create(" ", 100525), Tuple.Create("grid__col-xs-12", 100526), true) 8959 , Tuple.Create(Tuple.Create(" ", 100541), Tuple.Create("paragraph-container", 100542), true) 8960 , Tuple.Create(Tuple.Create(" ", 100561), Tuple.Create("paragraph-container--height-xl", 100562), true) 8961 , Tuple.Create(Tuple.Create(" ", 100592), Tuple.Create("dw-mod", 100593), true) 8962 ); 8963 8964 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8965 8966 WriteLiteralTo(__razor_helper_writer, " class=\"u-left-middle u-padding--lg\""); 8967 8968 WriteLiteralTo(__razor_helper_writer, ">\r\n <div>\r\n"); 8969 8970 8971 #line 2538 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8972 8973 8974 #line default 8975 #line hidden 8976 8977 #line 2538 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8978 if (!String.IsNullOrEmpty(settings.Category)) 8979 { 8980 8981 8982 #line default 8983 #line hidden 8984 WriteLiteralTo(__razor_helper_writer, " <div"); 8985 8986 WriteLiteralTo(__razor_helper_writer, " class=\"article__category dw-mod\""); 8987 8988 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 100913), Tuple.Create("\"", 100951) 8989 , Tuple.Create(Tuple.Create("", 100921), Tuple.Create("color:", 100921), true) 8990 8991 #line 2540 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 8992 , Tuple.Create(Tuple.Create(" ", 100927), Tuple.Create<System.Object, System.Int32>(settings.CategoryColor 8993 8994 #line default 8995 #line hidden 8996 , 100928), false) 8997 ); 8998 8999 WriteLiteralTo(__razor_helper_writer, ">"); 9000 9001 9002 #line 2540 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9003 WriteTo(__razor_helper_writer, settings.Category); 9004 9005 9006 #line default 9007 #line hidden 9008 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 9009 9010 9011 #line 2541 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9012 } 9013 9014 9015 #line default 9016 #line hidden 9017 WriteLiteralTo(__razor_helper_writer, " "); 9018 9019 9020 #line 2542 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9021 if (!String.IsNullOrEmpty(settings.Heading)) 9022 { 9023 9024 9025 #line default 9026 #line hidden 9027 WriteLiteralTo(__razor_helper_writer, " <h1"); 9028 9029 WriteLiteralTo(__razor_helper_writer, " class=\"article__header article__header--giant dw-mod\""); 9030 9031 WriteLiteralTo(__razor_helper_writer, ">"); 9032 9033 9034 #line 2544 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9035 WriteTo(__razor_helper_writer, settings.Heading); 9036 9037 9038 #line default 9039 #line hidden 9040 WriteLiteralTo(__razor_helper_writer, "</h1>\r\n"); 9041 9042 9043 #line 2545 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9044 } 9045 9046 9047 #line default 9048 #line hidden 9049 WriteLiteralTo(__razor_helper_writer, " "); 9050 9051 9052 #line 2546 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9053 if (!String.IsNullOrEmpty(settings.Subheading)) 9054 { 9055 9056 9057 #line default 9058 #line hidden 9059 WriteLiteralTo(__razor_helper_writer, " <div"); 9060 9061 WriteLiteralTo(__razor_helper_writer, " class=\"article__leadtext dw-mod\""); 9062 9063 WriteLiteralTo(__razor_helper_writer, ">"); 9064 9065 9066 #line 2548 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9067 WriteTo(__razor_helper_writer, settings.Subheading); 9068 9069 9070 #line default 9071 #line hidden 9072 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 9073 9074 9075 #line 2549 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9076 } 9077 9078 9079 #line default 9080 #line hidden 9081 WriteLiteralTo(__razor_helper_writer, " "); 9082 9083 9084 #line 2550 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9085 if (!String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date)) 9086 { 9087 9088 9089 #line default 9090 #line hidden 9091 WriteLiteralTo(__razor_helper_writer, " <small"); 9092 9093 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info u-pull--left dw-mod\""); 9094 9095 WriteLiteralTo(__razor_helper_writer, ">"); 9096 9097 9098 #line 2552 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9099 WriteTo(__razor_helper_writer, settings.Author); 9100 9101 9102 #line default 9103 #line hidden 9104 WriteLiteralTo(__razor_helper_writer, " "); 9105 9106 9107 #line 2552 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9108 WriteTo(__razor_helper_writer, settings.Date); 9109 9110 9111 #line default 9112 #line hidden 9113 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 9114 9115 9116 #line 2553 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9117 } 9118 9119 9120 #line default 9121 #line hidden 9122 WriteLiteralTo(__razor_helper_writer, " "); 9123 9124 9125 #line 2554 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9126 if (settings.RatingOutOf != 0) 9127 { 9128 9129 9130 #line default 9131 #line hidden 9132 WriteLiteralTo(__razor_helper_writer, " <div"); 9133 9134 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right\""); 9135 9136 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9137 9138 WriteLiteralTo(__razor_helper_writer, " "); 9139 9140 9141 #line 2557 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9142 WriteTo(__razor_helper_writer, Render(new Rating { Score = settings.RatingScore, OutOf = settings.RatingOutOf })); 9143 9144 9145 #line default 9146 #line hidden 9147 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9148 9149 9150 #line 2559 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9151 } 9152 9153 9154 #line default 9155 #line hidden 9156 WriteLiteralTo(__razor_helper_writer, " "); 9157 9158 9159 #line 2560 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9160 if (!String.IsNullOrEmpty(settings.Link)) { 9161 9162 9163 #line default 9164 #line hidden 9165 WriteLiteralTo(__razor_helper_writer, " <div"); 9166 9167 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width u-pull--left u-margin-top\""); 9168 9169 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9170 9171 WriteLiteralTo(__razor_helper_writer, " "); 9172 9173 9174 #line 2562 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9175 WriteTo(__razor_helper_writer, Render(new Link { Href = settings.Link, Title = settings.LinkText, ButtonLayout = settings.ButtonLayout })); 9176 9177 9178 #line default 9179 #line hidden 9180 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9181 9182 9183 #line 2564 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9184 } 9185 9186 9187 #line default 9188 #line hidden 9189 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n " + 9190 " </div>\r\n <div"); 9191 9192 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 102850), Tuple.Create("\"", 102981) 9193 , Tuple.Create(Tuple.Create("", 102858), Tuple.Create("grid__col-md-", 102858), true) 9194 9195 #line 2568 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9196 , Tuple.Create(Tuple.Create("", 102871), Tuple.Create<System.Object, System.Int32>(headerColumnWidth 9197 9198 #line default 9199 #line hidden 9200 , 102871), false) 9201 , Tuple.Create(Tuple.Create(" ", 102889), Tuple.Create("grid__col-sm-12", 102890), true) 9202 , Tuple.Create(Tuple.Create(" ", 102905), Tuple.Create("grid__col-xs-12", 102906), true) 9203 , Tuple.Create(Tuple.Create(" ", 102921), Tuple.Create("paragraph-container", 102922), true) 9204 , Tuple.Create(Tuple.Create(" ", 102941), Tuple.Create("paragraph-container--height-auto", 102942), true) 9205 , Tuple.Create(Tuple.Create(" ", 102974), Tuple.Create("dw-mod", 102975), true) 9206 ); 9207 9208 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 102982), Tuple.Create("\"", 103210) 9209 , Tuple.Create(Tuple.Create("", 102990), Tuple.Create("background-image:url(/Admin/Public/GetImage.ashx?width=1800&amp;height=1100&amp;c" + 9210 "rop=0&amp;Compression=85&amp;DoNotUpscale=true&amp;image=", 102990), true) 9211 9212 #line 2568 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9213 , Tuple.Create(Tuple.Create("", 103128), Tuple.Create<System.Object, System.Int32>(settings.Image.Path 9214 9215 #line default 9216 #line hidden 9217 , 103128), false) 9218 , Tuple.Create(Tuple.Create("", 103148), Tuple.Create(");", 103148), true) 9219 , Tuple.Create(Tuple.Create(" ", 103150), Tuple.Create("background-position:", 103151), true) 9220 , Tuple.Create(Tuple.Create(" ", 103171), Tuple.Create("center", 103172), true) 9221 , Tuple.Create(Tuple.Create(" ", 103178), Tuple.Create("center;", 103179), true) 9222 , Tuple.Create(Tuple.Create(" ", 103186), Tuple.Create("background-size:", 103187), true) 9223 , Tuple.Create(Tuple.Create(" ", 103203), Tuple.Create("cover;", 103204), true) 9224 ); 9225 9226 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 9227 9228 9229 #line 2569 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9230 9231 9232 #line default 9233 #line hidden 9234 9235 #line 2569 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9236 if (settings.ExternalParagraphId != 0) 9237 { 9238 9239 9240 #line default 9241 #line hidden 9242 WriteLiteralTo(__razor_helper_writer, " <div"); 9243 9244 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-4 grid__col-sm-12 grid__col-xs-12 paragraph-container paragr" + 9245 "aph-container--height-auto u-color-light-gray--bg dw-mod\""); 9246 9247 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9248 9249 WriteLiteralTo(__razor_helper_writer, " "); 9250 9251 9252 #line 2572 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9253 WriteTo(__razor_helper_writer, RenderParagraphContent(settings.ExternalParagraphId)); 9254 9255 9256 #line default 9257 #line hidden 9258 WriteLiteralTo(__razor_helper_writer, "\r\n </div> \r\n"); 9259 9260 9261 #line 2574 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9262 } 9263 9264 9265 #line default 9266 #line hidden 9267 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </section>\r\n"); 9268 9269 9270 #line 2577 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9271 } 9272 } 9273 else 9274 { 9275 9276 9277 #line default 9278 #line hidden 9279 9280 #line 2581 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9281 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 9282 9283 9284 #line default 9285 #line hidden 9286 9287 #line 2581 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9288 ; 9289 } 9290 } 9291 9292 9293 #line default 9294 #line hidden 9295 }); 9296 9297 #line 2584 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9298 } 9299 #line default 9300 #line hidden 9301 9302 9303 #line 2586 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9304 public RazorEngine.Templating.TemplateWriter RenderArticleOverlayHeader(ArticleHeader settings) { 9305 #line default 9306 #line hidden 9307 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9308 9309 #line 2586 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9310 9311 dynamic[] methodParameters = new dynamic[1]; 9312 methodParameters[0] = settings; 9313 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleOverlayHeaderCustom"); 9314 9315 if (customMethod != null) 9316 { 9317 9318 9319 #line default 9320 #line hidden 9321 9322 #line 2593 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9323 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 9324 9325 9326 #line default 9327 #line hidden 9328 9329 #line 2593 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9330 ; 9331 } 9332 else 9333 { 9334 string contentColumns = settings.TextLayout != ArticleHeaderTextLayout.Full ? "8" : "12"; 9335 string contentAlignment = settings.TextLayout == ArticleHeaderTextLayout.Center ? "grid--justify-center" : ""; 9336 9337 if (settings.Image != null) 9338 { 9339 if (settings.Image.Path != null) 9340 { 9341 if (settings.ExternalParagraphId == 0) 9342 { 9343 9344 9345 #line default 9346 #line hidden 9347 WriteLiteralTo(__razor_helper_writer, " <section"); 9348 9349 WriteLiteralTo(__razor_helper_writer, " class=\"multiple-paragraphs-container u-color-light paragraph-container--full-wid" + 9350 "th\""); 9351 9352 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9353 9354 WriteLiteralTo(__razor_helper_writer, " class=\"background-image image-filter image-filter--darken dw-mod\""); 9355 9356 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9357 9358 WriteLiteralTo(__razor_helper_writer, " class=\"background-image__wrapper image-filter image-filter--darken dw-mod\""); 9359 9360 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9361 9362 9363 #line 2609 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9364 9365 9366 #line default 9367 #line hidden 9368 9369 #line 2609 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9370 9371 settings.Image.CssClass += "background-image__cover dw-mod"; 9372 9373 9374 #line default 9375 #line hidden 9376 WriteLiteralTo(__razor_helper_writer, "\r\n"); 9377 9378 WriteLiteralTo(__razor_helper_writer, " "); 9379 9380 9381 #line 2612 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9382 WriteTo(__razor_helper_writer, Render(settings.Image)); 9383 9384 9385 #line default 9386 #line hidden 9387 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n " + 9388 " <div"); 9389 9390 WriteLiteralTo(__razor_helper_writer, " class=\"center-container dw-mod\""); 9391 9392 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9393 9394 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 105309), Tuple.Create("\"", 105339) 9395 , Tuple.Create(Tuple.Create("", 105317), Tuple.Create("grid", 105317), true) 9396 9397 #line 2616 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9398 , Tuple.Create(Tuple.Create(" ", 105321), Tuple.Create<System.Object, System.Int32>(contentAlignment 9399 9400 #line default 9401 #line hidden 9402 , 105322), false) 9403 ); 9404 9405 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9406 9407 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 105379), Tuple.Create("\"", 105502) 9408 , Tuple.Create(Tuple.Create("", 105387), Tuple.Create("grid__col-md-", 105387), true) 9409 9410 #line 2617 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9411 , Tuple.Create(Tuple.Create("", 105400), Tuple.Create<System.Object, System.Int32>(contentColumns 9412 9413 #line default 9414 #line hidden 9415 , 105400), false) 9416 , Tuple.Create(Tuple.Create(" ", 105415), Tuple.Create("grid__col-xs-12", 105416), true) 9417 , Tuple.Create(Tuple.Create(" ", 105431), Tuple.Create("paragraph-container", 105432), true) 9418 , Tuple.Create(Tuple.Create(" ", 105451), Tuple.Create("paragraph-container--height-xl", 105452), true) 9419 , Tuple.Create(Tuple.Create(" ", 105482), Tuple.Create("u-no-padding", 105483), true) 9420 , Tuple.Create(Tuple.Create(" ", 105495), Tuple.Create("dw-mod", 105496), true) 9421 ); 9422 9423 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9424 9425 9426 #line 2618 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9427 9428 9429 #line default 9430 #line hidden 9431 9432 #line 2618 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9433 if (!String.IsNullOrEmpty(settings.Heading)) 9434 { 9435 9436 9437 #line default 9438 #line hidden 9439 WriteLiteralTo(__razor_helper_writer, " <h1"); 9440 9441 WriteLiteralTo(__razor_helper_writer, " class=\"article__header article__header--giant u-padding-top--lg dw-mod\""); 9442 9443 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 105743), Tuple.Create("\"", 105777) 9444 , Tuple.Create(Tuple.Create("", 105751), Tuple.Create("color:", 105751), true) 9445 9446 #line 2620 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9447 , Tuple.Create(Tuple.Create(" ", 105757), Tuple.Create<System.Object, System.Int32>(settings.TextColor 9448 9449 #line default 9450 #line hidden 9451 , 105758), false) 9452 ); 9453 9454 WriteLiteralTo(__razor_helper_writer, ">"); 9455 9456 9457 #line 2620 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9458 WriteTo(__razor_helper_writer, settings.Heading); 9459 9460 9461 #line default 9462 #line hidden 9463 WriteLiteralTo(__razor_helper_writer, "</h1>\r\n"); 9464 9465 9466 #line 2621 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9467 } 9468 9469 9470 #line default 9471 #line hidden 9472 WriteLiteralTo(__razor_helper_writer, " "); 9473 9474 9475 #line 2622 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9476 if (!String.IsNullOrEmpty(settings.Subheading)) 9477 { 9478 9479 9480 #line default 9481 #line hidden 9482 WriteLiteralTo(__razor_helper_writer, " <div"); 9483 9484 WriteLiteralTo(__razor_helper_writer, " class=\"article__leadtext dw-mod\""); 9485 9486 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 106044), Tuple.Create("\"", 106078) 9487 , Tuple.Create(Tuple.Create("", 106052), Tuple.Create("color:", 106052), true) 9488 9489 #line 2624 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9490 , Tuple.Create(Tuple.Create(" ", 106058), Tuple.Create<System.Object, System.Int32>(settings.TextColor 9491 9492 #line default 9493 #line hidden 9494 , 106059), false) 9495 ); 9496 9497 WriteLiteralTo(__razor_helper_writer, ">"); 9498 9499 9500 #line 2624 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9501 WriteTo(__razor_helper_writer, settings.Subheading); 9502 9503 9504 #line default 9505 #line hidden 9506 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 9507 9508 9509 #line 2625 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9510 } 9511 9512 9513 #line default 9514 #line hidden 9515 WriteLiteralTo(__razor_helper_writer, " <div"); 9516 9517 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-top\""); 9518 9519 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9520 9521 9522 #line 2627 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9523 9524 9525 #line default 9526 #line hidden 9527 9528 #line 2627 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9529 if (!String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date)) 9530 { 9531 9532 9533 #line default 9534 #line hidden 9535 WriteLiteralTo(__razor_helper_writer, " <small"); 9536 9537 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info u-pull--left dw-mod\""); 9538 9539 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 106477), Tuple.Create("\"", 106511) 9540 , Tuple.Create(Tuple.Create("", 106485), Tuple.Create("color:", 106485), true) 9541 9542 #line 2629 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9543 , Tuple.Create(Tuple.Create(" ", 106491), Tuple.Create<System.Object, System.Int32>(settings.TextColor 9544 9545 #line default 9546 #line hidden 9547 , 106492), false) 9548 ); 9549 9550 WriteLiteralTo(__razor_helper_writer, ">"); 9551 9552 9553 #line 2629 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9554 WriteTo(__razor_helper_writer, settings.Author); 9555 9556 9557 #line default 9558 #line hidden 9559 WriteLiteralTo(__razor_helper_writer, " "); 9560 9561 9562 #line 2629 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9563 WriteTo(__razor_helper_writer, settings.Date); 9564 9565 9566 #line default 9567 #line hidden 9568 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 9569 9570 9571 #line 2630 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9572 } 9573 9574 9575 #line default 9576 #line hidden 9577 WriteLiteralTo(__razor_helper_writer, " "); 9578 9579 9580 #line 2631 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9581 if (settings.RatingOutOf != 0) 9582 { 9583 9584 9585 #line default 9586 #line hidden 9587 WriteLiteralTo(__razor_helper_writer, " <div"); 9588 9589 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right\""); 9590 9591 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9592 9593 WriteLiteralTo(__razor_helper_writer, " "); 9594 9595 9596 #line 2634 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9597 WriteTo(__razor_helper_writer, Render(new Rating { Score = settings.RatingScore, OutOf = settings.RatingOutOf })); 9598 9599 9600 #line default 9601 #line hidden 9602 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9603 9604 9605 #line 2636 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9606 } 9607 9608 9609 #line default 9610 #line hidden 9611 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 9612 9613 9614 #line 2638 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9615 9616 9617 #line default 9618 #line hidden 9619 9620 #line 2638 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9621 if (!String.IsNullOrEmpty(settings.Link)) 9622 { 9623 9624 9625 #line default 9626 #line hidden 9627 WriteLiteralTo(__razor_helper_writer, " <div"); 9628 9629 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 9630 9631 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9632 9633 WriteLiteralTo(__razor_helper_writer, " "); 9634 9635 9636 #line 2641 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9637 WriteTo(__razor_helper_writer, Render(new Link { Href = settings.Link, Title = settings.LinkText, ButtonLayout = settings.ButtonLayout })); 9638 9639 9640 #line default 9641 #line hidden 9642 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9643 9644 9645 #line 2643 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9646 } 9647 9648 9649 #line default 9650 #line hidden 9651 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n " + 9652 " </div>\r\n </section>\r\n"); 9653 9654 9655 #line 2648 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9656 } 9657 else 9658 { 9659 9660 9661 #line default 9662 #line hidden 9663 9664 #line 2651 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9665 WriteTo(__razor_helper_writer, RenderArticleBanner(settings)); 9666 9667 9668 #line default 9669 #line hidden 9670 9671 #line 2651 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9672 ; 9673 } 9674 } 9675 } 9676 else 9677 { 9678 9679 9680 #line default 9681 #line hidden 9682 9683 #line 2657 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9684 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 9685 9686 9687 #line default 9688 #line hidden 9689 9690 #line 2657 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9691 ; 9692 } 9693 } 9694 9695 9696 #line default 9697 #line hidden 9698 }); 9699 9700 #line 2660 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9701 } 9702 #line default 9703 #line hidden 9704 9705 9706 #line 2662 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9707 public RazorEngine.Templating.TemplateWriter RenderArticleBannerHeader(dynamic settings) { 9708 #line default 9709 #line hidden 9710 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9711 9712 #line 2662 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9713 9714 dynamic[] methodParameters = new dynamic[1]; 9715 methodParameters[0] = settings; 9716 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleBannerHeaderCustom"); 9717 9718 if (customMethod != null) 9719 { 9720 9721 9722 #line default 9723 #line hidden 9724 9725 #line 2669 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9726 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 9727 9728 9729 #line default 9730 #line hidden 9731 9732 #line 2669 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9733 ; 9734 } 9735 else 9736 { 9737 9738 9739 #line default 9740 #line hidden 9741 9742 #line 2673 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9743 WriteTo(__razor_helper_writer, RenderArticleBanner(settings)); 9744 9745 9746 #line default 9747 #line hidden 9748 9749 #line 2673 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9750 ; 9751 } 9752 9753 9754 #line default 9755 #line hidden 9756 }); 9757 9758 #line 2675 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9759 } 9760 #line default 9761 #line hidden 9762 9763 9764 #line 2686 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9765 public RazorEngine.Templating.TemplateWriter RenderArticleBodyRow(ArticleBodyRow settings) 9766 { 9767 #line default 9768 #line hidden 9769 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9770 9771 #line 2687 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9772 9773 string position = settings.TopLayout == "overlay" ? "article__overlay-offset" : ""; 9774 string contentAlignment = settings.TextLayout == "center" ? "grid--justify-center" : ""; 9775 9776 9777 9778 #line default 9779 #line hidden 9780 WriteLiteralTo(__razor_helper_writer, " <div"); 9781 9782 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 108840), Tuple.Create("\"", 108913) 9783 , Tuple.Create(Tuple.Create("", 108848), Tuple.Create("grid", 108848), true) 9784 , Tuple.Create(Tuple.Create(" ", 108852), Tuple.Create("grid--align-content-start", 108853), true) 9785 9786 #line 2691 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9787 , Tuple.Create(Tuple.Create(" ", 108878), Tuple.Create<System.Object, System.Int32>(contentAlignment 9788 9789 #line default 9790 #line hidden 9791 , 108879), false) 9792 9793 #line 2691 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9794 , Tuple.Create(Tuple.Create(" ", 108896), Tuple.Create<System.Object, System.Int32>(position 9795 9796 #line default 9797 #line hidden 9798 , 108897), false) 9799 , Tuple.Create(Tuple.Create(" ", 108906), Tuple.Create("dw-mod", 108907), true) 9800 ); 9801 9802 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9803 9804 WriteLiteralTo(__razor_helper_writer, " "); 9805 9806 9807 #line 2692 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9808 WriteTo(__razor_helper_writer, RenderBlockList(settings.SubBlocks)); 9809 9810 9811 #line default 9812 #line hidden 9813 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9814 9815 9816 #line 2694 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9817 9818 9819 #line default 9820 #line hidden 9821 }); 9822 9823 #line 2694 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9824 } 9825 #line default 9826 #line hidden 9827 9828 9829 #line 2703 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9830 public RazorEngine.Templating.TemplateWriter RenderArticleImage(ArticleImage settings) 9831 { 9832 #line default 9833 #line hidden 9834 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9835 9836 #line 2704 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9837 9838 if (settings.Image != null) 9839 { 9840 if (settings.Image.Path != null) 9841 { 9842 9843 9844 #line default 9845 #line hidden 9846 WriteLiteralTo(__razor_helper_writer, " <div"); 9847 9848 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-bottom--lg\""); 9849 9850 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9851 9852 WriteLiteralTo(__razor_helper_writer, " "); 9853 9854 9855 #line 2710 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9856 WriteTo(__razor_helper_writer, Render(settings.Image)); 9857 9858 9859 #line default 9860 #line hidden 9861 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9862 9863 9864 #line 2712 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9865 } 9866 } 9867 9868 9869 #line default 9870 #line hidden 9871 }); 9872 9873 #line 2714 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9874 } 9875 #line default 9876 #line hidden 9877 9878 9879 #line 2722 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9880 public RazorEngine.Templating.TemplateWriter RenderArticleSubHeader(ArticleSubHeader settings) 9881 { 9882 #line default 9883 #line hidden 9884 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9885 9886 #line 2723 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9887 9888 if (!String.IsNullOrEmpty(settings.Title)) 9889 { 9890 9891 9892 #line default 9893 #line hidden 9894 WriteLiteralTo(__razor_helper_writer, " <h2"); 9895 9896 WriteLiteralTo(__razor_helper_writer, " class=\"article__header\""); 9897 9898 WriteLiteralTo(__razor_helper_writer, ">"); 9899 9900 9901 #line 2726 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9902 WriteTo(__razor_helper_writer, settings.Title); 9903 9904 9905 #line default 9906 #line hidden 9907 WriteLiteralTo(__razor_helper_writer, "</h2>\r\n"); 9908 9909 9910 #line 2727 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9911 } 9912 9913 9914 #line default 9915 #line hidden 9916 }); 9917 9918 #line 2728 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9919 } 9920 #line default 9921 #line hidden 9922 9923 9924 #line 2737 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9925 public RazorEngine.Templating.TemplateWriter RenderArticleText(ArticleText settings) 9926 { 9927 #line default 9928 #line hidden 9929 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9930 9931 #line 2738 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9932 9933 if (!String.IsNullOrEmpty(settings.Text)) 9934 { 9935 string greatTextClass = settings.EnableLargeText == true ? "article__paragraph--great-text" : ""; 9936 9937 9938 9939 #line default 9940 #line hidden 9941 WriteLiteralTo(__razor_helper_writer, " <div"); 9942 9943 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 110271), Tuple.Create("\"", 110313) 9944 , Tuple.Create(Tuple.Create("", 110279), Tuple.Create("article__paragraph", 110279), true) 9945 9946 #line 2743 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9947 , Tuple.Create(Tuple.Create(" ", 110297), Tuple.Create<System.Object, System.Int32>(greatTextClass 9948 9949 #line default 9950 #line hidden 9951 , 110298), false) 9952 ); 9953 9954 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9955 9956 WriteLiteralTo(__razor_helper_writer, " "); 9957 9958 9959 #line 2744 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9960 WriteTo(__razor_helper_writer, settings.Text); 9961 9962 9963 #line default 9964 #line hidden 9965 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9966 9967 9968 #line 2746 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9969 } 9970 9971 9972 #line default 9973 #line hidden 9974 }); 9975 9976 #line 2747 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9977 } 9978 #line default 9979 #line hidden 9980 9981 9982 #line 2756 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9983 public RazorEngine.Templating.TemplateWriter RenderArticleQuote(ArticleQuote settings) 9984 { 9985 #line default 9986 #line hidden 9987 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9988 9989 #line 2757 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 9990 9991 string text = Regex.Replace(settings.Text, "<.*?>", String.Empty); 9992 9993 9994 9995 #line default 9996 #line hidden 9997 WriteLiteralTo(__razor_helper_writer, " <div"); 9998 9999 WriteLiteralTo(__razor_helper_writer, " class=\"grid u-padding-bottom--lg\""); 10000 10001 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10002 10003 10004 #line 2761 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10005 10006 10007 #line default 10008 #line hidden 10009 10010 #line 2761 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10011 if (settings.Image != null) 10012 { 10013 if (settings.Image.Path != null) { 10014 10015 10016 #line default 10017 #line hidden 10018 WriteLiteralTo(__razor_helper_writer, " <div"); 10019 10020 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-3\""); 10021 10022 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10023 10024 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell-img\""); 10025 10026 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10027 10028 10029 #line 2766 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10030 10031 10032 #line default 10033 #line hidden 10034 10035 #line 2766 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10036 10037 settings.Image.Title = !String.IsNullOrEmpty(settings.Image.Title) ? settings.Image.Title : settings.Author; 10038 settings.Image.CssClass += " article__image article__image--ball"; 10039 settings.Image.ImageDefault.Width = 200; 10040 settings.Image.ImageDefault.Height = 200; 10041 10042 10043 #line default 10044 #line hidden 10045 WriteLiteralTo(__razor_helper_writer, "\r\n"); 10046 10047 WriteLiteralTo(__razor_helper_writer, " "); 10048 10049 10050 #line 2772 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10051 WriteTo(__razor_helper_writer, Render(settings.Image)); 10052 10053 10054 #line default 10055 #line hidden 10056 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n"); 10057 10058 10059 #line 2775 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10060 } 10061 } 10062 10063 10064 #line default 10065 #line hidden 10066 WriteLiteralTo(__razor_helper_writer, " <div"); 10067 10068 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-auto\""); 10069 10070 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10071 10072 10073 #line 2778 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10074 10075 10076 #line default 10077 #line hidden 10078 10079 #line 2778 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10080 if (!String.IsNullOrEmpty(settings.Text)) 10081 { 10082 10083 10084 #line default 10085 #line hidden 10086 WriteLiteralTo(__razor_helper_writer, " <div"); 10087 10088 WriteLiteralTo(__razor_helper_writer, " class=\"article__quote dw-mod\""); 10089 10090 WriteLiteralTo(__razor_helper_writer, ">\r\n <i"); 10091 10092 WriteLiteralTo(__razor_helper_writer, " class=\"fas fa-quote-right u-margin-bottom--lg\""); 10093 10094 WriteLiteralTo(__razor_helper_writer, "></i>\r\n"); 10095 10096 WriteLiteralTo(__razor_helper_writer, " "); 10097 10098 10099 #line 2782 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10100 WriteTo(__razor_helper_writer, settings.Text); 10101 10102 10103 #line default 10104 #line hidden 10105 WriteLiteralTo(__razor_helper_writer, "\r\n <i"); 10106 10107 WriteLiteralTo(__razor_helper_writer, " class=\"fas fa-quote-right\""); 10108 10109 WriteLiteralTo(__razor_helper_writer, "></i>\r\n </div>\r\n"); 10110 10111 10112 #line 2785 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10113 } 10114 10115 10116 #line default 10117 #line hidden 10118 WriteLiteralTo(__razor_helper_writer, " "); 10119 10120 10121 #line 2786 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10122 if (!String.IsNullOrEmpty(settings.Author)) 10123 { 10124 10125 10126 #line default 10127 #line hidden 10128 WriteLiteralTo(__razor_helper_writer, " <div"); 10129 10130 WriteLiteralTo(__razor_helper_writer, " class=\"article__quote-author dw-mod\""); 10131 10132 WriteLiteralTo(__razor_helper_writer, ">\r\n - "); 10133 10134 10135 #line 2789 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10136 WriteTo(__razor_helper_writer, settings.Author); 10137 10138 10139 #line default 10140 #line hidden 10141 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 10142 10143 10144 #line 2791 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10145 } 10146 10147 10148 #line default 10149 #line hidden 10150 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 10151 10152 10153 #line 2794 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10154 10155 10156 #line default 10157 #line hidden 10158 }); 10159 10160 #line 2794 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10161 } 10162 #line default 10163 #line hidden 10164 10165 10166 #line 2802 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10167 public RazorEngine.Templating.TemplateWriter RenderArticleInfoTable(ArticleInfoTable settings) 10168 { 10169 #line default 10170 #line hidden 10171 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10172 10173 #line 2803 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10174 10175 10176 10177 #line default 10178 #line hidden 10179 WriteLiteralTo(__razor_helper_writer, " <table"); 10180 10181 WriteLiteralTo(__razor_helper_writer, " class=\"table table--clean\""); 10182 10183 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10184 10185 10186 #line 2805 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10187 10188 10189 #line default 10190 #line hidden 10191 10192 #line 2805 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10193 foreach (var row in settings.Rows) 10194 { 10195 string iconColor = row.IconColor != null ? row.IconColor : "u-brand-color-two"; 10196 10197 10198 10199 #line default 10200 #line hidden 10201 WriteLiteralTo(__razor_helper_writer, " <tr>\r\n"); 10202 10203 10204 #line 2810 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10205 10206 10207 #line default 10208 #line hidden 10209 10210 #line 2810 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10211 if (!String.IsNullOrEmpty(row.Icon)) 10212 { 10213 10214 10215 #line default 10216 #line hidden 10217 WriteLiteralTo(__razor_helper_writer, " <td"); 10218 10219 WriteLiteralTo(__razor_helper_writer, " class=\"u-w32px\""); 10220 10221 WriteLiteralTo(__razor_helper_writer, "><i"); 10222 10223 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 112650), Tuple.Create("\"", 112688) 10224 10225 #line 2812 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10226 , Tuple.Create(Tuple.Create("", 112658), Tuple.Create<System.Object, System.Int32>(row.Icon 10227 10228 #line default 10229 #line hidden 10230 , 112658), false) 10231 , Tuple.Create(Tuple.Create(" ", 112667), Tuple.Create("fa-2x", 112668), true) 10232 10233 #line 2812 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10234 , Tuple.Create(Tuple.Create(" ", 112673), Tuple.Create<System.Object, System.Int32>(row.IconColor 10235 10236 #line default 10237 #line hidden 10238 , 112674), false) 10239 ); 10240 10241 WriteLiteralTo(__razor_helper_writer, "></i></td>\r\n"); 10242 10243 10244 #line 2813 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10245 } 10246 10247 10248 #line default 10249 #line hidden 10250 WriteLiteralTo(__razor_helper_writer, " <td"); 10251 10252 WriteLiteralTo(__razor_helper_writer, " class=\"u-no-margin-on-p-elements\""); 10253 10254 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10255 10256 WriteLiteralTo(__razor_helper_writer, " class=\"u-bold\""); 10257 10258 WriteLiteralTo(__razor_helper_writer, ">"); 10259 10260 10261 #line 2815 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10262 WriteTo(__razor_helper_writer, row.Title); 10263 10264 10265 #line default 10266 #line hidden 10267 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 10268 10269 10270 #line 2816 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10271 10272 10273 #line default 10274 #line hidden 10275 10276 #line 2816 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10277 if (!String.IsNullOrEmpty(row.SubTitle)) 10278 { 10279 if (row.Link == null) 10280 { 10281 10282 10283 #line default 10284 #line hidden 10285 WriteLiteralTo(__razor_helper_writer, " <div>"); 10286 10287 10288 #line 2820 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10289 WriteTo(__razor_helper_writer, row.SubTitle); 10290 10291 10292 #line default 10293 #line hidden 10294 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 10295 10296 10297 #line 2821 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10298 } 10299 else 10300 { 10301 10302 10303 #line default 10304 #line hidden 10305 WriteLiteralTo(__razor_helper_writer, " <a"); 10306 10307 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 113154), Tuple.Create("\"", 113170) 10308 10309 #line 2824 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10310 , Tuple.Create(Tuple.Create("", 113161), Tuple.Create<System.Object, System.Int32>(row.Link 10311 10312 #line default 10313 #line hidden 10314 , 113161), false) 10315 ); 10316 10317 WriteLiteralTo(__razor_helper_writer, " class=\"u-color-inherit\""); 10318 10319 WriteLiteralTo(__razor_helper_writer, ">"); 10320 10321 10322 #line 2824 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10323 WriteTo(__razor_helper_writer, row.SubTitle); 10324 10325 10326 #line default 10327 #line hidden 10328 WriteLiteralTo(__razor_helper_writer, "</a>\r\n"); 10329 10330 10331 #line 2825 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10332 } 10333 } 10334 10335 10336 #line default 10337 #line hidden 10338 WriteLiteralTo(__razor_helper_writer, " </td>\r\n </tr>\r\n"); 10339 10340 10341 #line 2829 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10342 } 10343 10344 10345 #line default 10346 #line hidden 10347 WriteLiteralTo(__razor_helper_writer, " </table>\r\n"); 10348 10349 10350 #line 2831 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10351 10352 10353 #line default 10354 #line hidden 10355 }); 10356 10357 #line 2831 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10358 } 10359 #line default 10360 #line hidden 10361 10362 10363 #line 2840 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10364 public RazorEngine.Templating.TemplateWriter RenderArticleGalleryModal(ArticleGalleryModal settings) 10365 { 10366 #line default 10367 #line hidden 10368 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10369 10370 #line 2841 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10371 10372 Modal galleryModal = new Modal 10373 { 10374 Id = "ParagraphGallery", 10375 Width = ModalWidth.Full, 10376 BodyTemplate = RenderArticleGalleryModalContent() 10377 }; 10378 10379 10380 10381 #line default 10382 #line hidden 10383 10384 #line 2849 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10385 WriteTo(__razor_helper_writer, Render(galleryModal)); 10386 10387 10388 #line default 10389 #line hidden 10390 10391 #line 2849 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10392 10393 10394 10395 #line default 10396 #line hidden 10397 }); 10398 10399 #line 2850 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10400 } 10401 #line default 10402 #line hidden 10403 10404 10405 #line 2852 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10406 public RazorEngine.Templating.TemplateWriter RenderArticleGalleryModalContent() { 10407 #line default 10408 #line hidden 10409 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10410 10411 #line 2852 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10412 10413 10414 10415 #line default 10416 #line hidden 10417 WriteLiteralTo(__razor_helper_writer, " <div"); 10418 10419 WriteLiteralTo(__razor_helper_writer, " class=\"modal__image-min-size-wrapper\""); 10420 10421 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10422 10423 WriteLiteralTo(__razor_helper_writer, " "); 10424 10425 10426 #line 2854 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10427 WriteTo(__razor_helper_writer, Render(new Image { 10428 Id = "ParagraphGallery", 10429 Path = "#", 10430 CssClass = "modal--full__img", 10431 DisableLazyLoad = true, 10432 DisableImageEngine = true 10433 })); 10434 10435 10436 #line default 10437 #line hidden 10438 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 10439 10440 10441 #line 2862 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10442 10443 10444 10445 #line default 10446 #line hidden 10447 WriteLiteralTo(__razor_helper_writer, " <div"); 10448 10449 WriteLiteralTo(__razor_helper_writer, " class=\"modal__images-counter\""); 10450 10451 WriteLiteralTo(__razor_helper_writer, " id=\"ParagraphGallery_counter\""); 10452 10453 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 10454 10455 10456 #line 2864 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10457 10458 10459 10460 #line default 10461 #line hidden 10462 10463 #line 2865 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10464 WriteTo(__razor_helper_writer, Render(new Button { 10465 Id = "ParagraphGallery_prev", 10466 ButtonType = ButtonType.Button, 10467 ButtonLayout = ButtonLayout.None, 10468 CssClass = "modal__prev-btn", 10469 Icon = new Icon { Prefix = "far", Name = "fa-angle-left", LabelPosition = IconLabelPosition.After }, 10470 OnClick = "Gallery.prevImage('ParagraphGallery')" 10471 })); 10472 10473 10474 #line default 10475 #line hidden 10476 10477 #line 2872 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10478 10479 10480 10481 10482 #line default 10483 #line hidden 10484 10485 #line 2874 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10486 WriteTo(__razor_helper_writer, Render(new Button { 10487 Id = "ParagraphGallery_next", 10488 ButtonType = ButtonType.Button, 10489 ButtonLayout = ButtonLayout.None, 10490 CssClass = "modal__next-btn", 10491 Icon = new Icon { Prefix = "far", Name = "fa-angle-right", LabelPosition = IconLabelPosition.After }, 10492 OnClick = "Gallery.nextImage('ParagraphGallery')" 10493 })); 10494 10495 10496 #line default 10497 #line hidden 10498 10499 #line 2881 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10500 10501 10502 10503 #line default 10504 #line hidden 10505 }); 10506 10507 #line 2882 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10508 } 10509 #line default 10510 #line hidden 10511 10512 10513 #line 2891 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10514 public RazorEngine.Templating.TemplateWriter RenderArticleRelated(ArticleRelated settings) 10515 { 10516 #line default 10517 #line hidden 10518 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10519 10520 #line 2892 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10521 10522 string cardClass = Pageview.Device.ToString() != "Tablet" ? "card u-color-light--bg u-full-height" : ""; 10523 string cardFooterClass = Pageview.Device.ToString() != "Tablet" ? "card-footer u-color-light--bg" : ""; 10524 10525 10526 10527 #line default 10528 #line hidden 10529 WriteLiteralTo(__razor_helper_writer, " <section"); 10530 10531 WriteLiteralTo(__razor_helper_writer, " class=\"multiple-paragraphs-container u-color-light-gray--bg paragraph-container-" + 10532 "-full-width\""); 10533 10534 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10535 10536 WriteLiteralTo(__razor_helper_writer, " class=\"center-container dw-mod\""); 10537 10538 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10539 10540 WriteLiteralTo(__razor_helper_writer, " class=\"grid u-padding\""); 10541 10542 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10543 10544 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-12 grid__col-xs-12\""); 10545 10546 WriteLiteralTo(__razor_helper_writer, ">\r\n <h2"); 10547 10548 WriteLiteralTo(__razor_helper_writer, " class=\"article__header u-no-margin u-margin-top\""); 10549 10550 WriteLiteralTo(__razor_helper_writer, ">"); 10551 10552 10553 #line 2900 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10554 WriteTo(__razor_helper_writer, settings.Title); 10555 10556 10557 #line default 10558 #line hidden 10559 WriteLiteralTo(__razor_helper_writer, "</h2>\r\n </div>\r\n </div>\r\n\r\n <div"); 10560 10561 WriteLiteralTo(__razor_helper_writer, " class=\"js-handlebars-root u-padding\""); 10562 10563 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 115938), Tuple.Create("\"", 115986) 10564 10565 #line 2904 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10566 , Tuple.Create(Tuple.Create("", 115943), Tuple.Create<System.Object, System.Int32>(settings.Title.Replace(" ", String.Empty) 10567 10568 #line default 10569 #line hidden 10570 , 115943), false) 10571 ); 10572 10573 WriteLiteralTo(__razor_helper_writer, " data-template=\"RelatedSimpleTemplate\""); 10574 10575 WriteLiteralTo(__razor_helper_writer, " data-json-feed=\"/Default.aspx?ID="); 10576 10577 10578 #line 2904 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10579 WriteTo(__razor_helper_writer, settings.FeedPageId); 10580 10581 10582 #line default 10583 #line hidden 10584 WriteLiteralTo(__razor_helper_writer, "&"); 10585 10586 10587 #line 2904 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10588 WriteTo(__razor_helper_writer, settings.Query); 10589 10590 10591 #line default 10592 #line hidden 10593 WriteLiteralTo(__razor_helper_writer, "&ExcludeItemID="); 10594 10595 10596 #line 2904 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10597 WriteTo(__razor_helper_writer, settings.CurrentPageId); 10598 10599 10600 #line default 10601 #line hidden 10602 WriteLiteralTo(__razor_helper_writer, "&PageSize="); 10603 10604 10605 #line 2904 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10606 WriteTo(__razor_helper_writer, settings.PageSize); 10607 10608 10609 #line default 10610 #line hidden 10611 WriteLiteralTo(__razor_helper_writer, "\""); 10612 10613 WriteLiteralTo(__razor_helper_writer, "></div>\r\n\r\n <script"); 10614 10615 WriteLiteralTo(__razor_helper_writer, " id=\"RelatedSimpleTemplate\""); 10616 10617 WriteLiteralTo(__razor_helper_writer, " type=\"text/x-template\""); 10618 10619 WriteLiteralTo(__razor_helper_writer, @"> 10620 {{#.}} 10621 <div class=""grid u-padding-bottom--lg""> 10622 {{#Cases}} 10623 <div class=""grid__col-3 image-hover--zoom dw-mod""> 10624 <a href=""{{link}}"" class=""u-full-height u-color-light--bg""> 10625 {{#if image}} 10626 <div class=""u-color-light--bg u-no-padding dw-mod""> 10627 <div class=""flex-img image-hover__wrapper""> 10628 <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}}"" /> 10629 </div> 10630 </div> 10631 {{/if}} 10632 10633 <div class=""card u-color-light--bg dw-mod""> 10634 <h3 class=""article-list__item-header u-truncate-text dw-mod"">{{title}}</h3> 10635 <p class=""article__short-summary dw-mod"">{{summary}}</p> 10636 </div> 10637 </a> 10638 </div> 10639 {{/Cases}} 10640 </div> 10641 {{/.}} 10642 </script> 10643 </div> 10644 </section> 10645 "); 10646 10647 10648 #line 2932 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10649 10650 10651 #line default 10652 #line hidden 10653 }); 10654 10655 #line 2932 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10656 } 10657 #line default 10658 #line hidden 10659 10660 10661 #line 2941 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10662 public RazorEngine.Templating.TemplateWriter RenderArticleMenu(ArticleMenu settings) 10663 { 10664 #line default 10665 #line hidden 10666 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10667 10668 #line 2942 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10669 10670 if (!String.IsNullOrEmpty(settings.Title)) { 10671 10672 10673 #line default 10674 #line hidden 10675 WriteLiteralTo(__razor_helper_writer, " <div"); 10676 10677 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin u-border-bottom\""); 10678 10679 WriteLiteralTo(__razor_helper_writer, ">\r\n <h3"); 10680 10681 WriteLiteralTo(__razor_helper_writer, " class=\"u-no-margin\""); 10682 10683 WriteLiteralTo(__razor_helper_writer, ">"); 10684 10685 10686 #line 2945 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10687 WriteTo(__razor_helper_writer, settings.Title); 10688 10689 10690 #line default 10691 #line hidden 10692 WriteLiteralTo(__razor_helper_writer, "</h3>\r\n </div>\r\n"); 10693 10694 10695 #line 2947 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10696 } 10697 10698 10699 10700 #line default 10701 #line hidden 10702 WriteLiteralTo(__razor_helper_writer, " <ul"); 10703 10704 WriteLiteralTo(__razor_helper_writer, " class=\"menu-left u-margin-bottom dw-mod\""); 10705 10706 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10707 10708 10709 #line 2950 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10710 10711 10712 #line default 10713 #line hidden 10714 10715 #line 2950 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10716 foreach (var item in settings.Items) 10717 { 10718 10719 10720 #line default 10721 #line hidden 10722 10723 #line 2952 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10724 WriteTo(__razor_helper_writer, Render(item)); 10725 10726 10727 #line default 10728 #line hidden 10729 10730 #line 2952 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10731 10732 } 10733 10734 10735 #line default 10736 #line hidden 10737 WriteLiteralTo(__razor_helper_writer, " </ul>\r\n"); 10738 10739 10740 #line 2955 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10741 10742 10743 #line default 10744 #line hidden 10745 }); 10746 10747 #line 2955 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10748 } 10749 #line default 10750 #line hidden 10751 10752 10753 #line 2957 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10754 public RazorEngine.Templating.TemplateWriter RenderArticleMenuItem(ArticleMenuItem settings) 10755 { 10756 #line default 10757 #line hidden 10758 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10759 10760 #line 2958 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10761 10762 string link = !String.IsNullOrEmpty(settings.Link) ? settings.Link : "#"; 10763 10764 if (!String.IsNullOrEmpty(settings.Title)) { 10765 10766 10767 #line default 10768 #line hidden 10769 WriteLiteralTo(__razor_helper_writer, " <li"); 10770 10771 WriteLiteralTo(__razor_helper_writer, " class=\"menu-left__item dw-mod\""); 10772 10773 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 10774 10775 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 118421), Tuple.Create("\"", 118433) 10776 10777 #line 2963 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10778 , Tuple.Create(Tuple.Create("", 118428), Tuple.Create<System.Object, System.Int32>(link 10779 10780 #line default 10781 #line hidden 10782 , 118428), false) 10783 ); 10784 10785 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 118434), Tuple.Create("\"", 118461) 10786 10787 #line 2963 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10788 , Tuple.Create(Tuple.Create("", 118444), Tuple.Create<System.Object, System.Int32>(settings.OnClick 10789 10790 #line default 10791 #line hidden 10792 , 118444), false) 10793 ); 10794 10795 WriteLiteralTo(__razor_helper_writer, " class=\"menu-left__link dw-mod\""); 10796 10797 WriteLiteralTo(__razor_helper_writer, ">"); 10798 10799 10800 #line 2963 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10801 WriteTo(__razor_helper_writer, settings.Title); 10802 10803 10804 #line default 10805 #line hidden 10806 WriteLiteralTo(__razor_helper_writer, "</a>\r\n </li>\r\n"); 10807 10808 10809 #line 2965 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10810 } 10811 10812 10813 #line default 10814 #line hidden 10815 }); 10816 10817 #line 2966 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10818 } 10819 #line default 10820 #line hidden 10821 10822 10823 #line 2974 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10824 public RazorEngine.Templating.TemplateWriter RenderArticleList(ArticleList settings) 10825 { 10826 #line default 10827 #line hidden 10828 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10829 10830 #line 2975 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10831 10832 if (Pageview != null) 10833 { 10834 bool isParagraph = Pageview.CurrentParagraph != null ? true : false; 10835 string[] sortArticlesListBy = new string[2]; 10836 10837 if (isParagraph) { 10838 sortArticlesListBy = Pageview.CurrentParagraph.Item["SortArticlesListBy"] != null && !string.IsNullOrEmpty(Pageview.CurrentParagraph.Item["SortArticlesListBy"].ToString()) ? Pageview.CurrentParagraph.Item["SortArticlesListBy"].ToString().Split('+') : new string[] { "Date", "ASC" }; 10839 } 10840 else { 10841 sortArticlesListBy = Pageview.Item["SortArticlesListBy"] != null && !string.IsNullOrEmpty(Pageview.Item["SortArticlesListBy"].ToString()) ? Pageview.Item["SortArticlesListBy"].ToString().Split('+') : new string[] { "Date", "ASC" }; 10842 } 10843 10844 string sourcePage = settings.SourcePage != null ? settings.SourcePage : Pageview.ID.ToString(); 10845 10846 if (!settings.DisablePagination) { 10847 10848 10849 #line default 10850 #line hidden 10851 10852 #line 2991 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10853 WriteTo(__razor_helper_writer, RenderItemList(new 10854 { 10855 ItemType = !String.IsNullOrEmpty(settings.ItemType) ? settings.ItemType : "DynamicArticle", 10856 ListSourceType = settings.SourceType, 10857 ListSourcePage = sourcePage, 10858 ItemFieldsList = "*", 10859 Filter = settings.Filter, 10860 ListOrderBy = sortArticlesListBy[0], 10861 ListOrderByDirection = sortArticlesListBy[1], 10862 ListSecondOrderBy = sortArticlesListBy[0] == "Date" ? "InFocusSortId" : "Date", 10863 ListSecondOrderByDirection = "ASC", 10864 IncludeAllChildItems = true, 10865 ListTemplate = settings.Template, 10866 ListPageSize = settings.PageSize.ToString() 10867 })); 10868 10869 10870 #line default 10871 #line hidden 10872 10873 #line 3005 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10874 ; 10875 } else { 10876 10877 10878 #line default 10879 #line hidden 10880 10881 #line 3007 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10882 WriteTo(__razor_helper_writer, RenderItemList(new 10883 { 10884 ItemType = !String.IsNullOrEmpty(settings.ItemType) ? settings.ItemType : "DynamicArticle", 10885 ListSourceType = settings.SourceType, 10886 ListSourcePage = sourcePage, 10887 ItemFieldsList = "*", 10888 Filter = settings.Filter, 10889 ListOrderBy = sortArticlesListBy[0], 10890 ListOrderByDirection = sortArticlesListBy[1], 10891 ListSecondOrderBy = sortArticlesListBy[0] == "Date" ? "InFocusSortId" : "Date", 10892 ListSecondOrderByDirection = "ASC", 10893 IncludeAllChildItems = true, 10894 ListTemplate = settings.Template, 10895 ListPageSize = settings.PageSize.ToString(), 10896 ListViewMode = "Partial", 10897 ListShowTo = settings.PageSize + 1 10898 })); 10899 10900 10901 #line default 10902 #line hidden 10903 10904 #line 3023 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10905 ; 10906 } 10907 } 10908 10909 10910 #line default 10911 #line hidden 10912 }); 10913 10914 #line 3026 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10915 } 10916 #line default 10917 #line hidden 10918 10919 10920 #line 3033 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10921 public RazorEngine.Templating.TemplateWriter RenderArticleSummary(ArticleSummary settings) 10922 { 10923 #line default 10924 #line hidden 10925 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10926 10927 #line 3034 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10928 10929 if (!String.IsNullOrEmpty(settings.Text)) 10930 { 10931 10932 10933 #line default 10934 #line hidden 10935 WriteLiteralTo(__razor_helper_writer, " <div"); 10936 10937 WriteLiteralTo(__razor_helper_writer, " class=\"article__summary dw-mod\""); 10938 10939 WriteLiteralTo(__razor_helper_writer, ">"); 10940 10941 10942 #line 3037 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10943 WriteTo(__razor_helper_writer, settings.Text); 10944 10945 10946 #line default 10947 #line hidden 10948 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 10949 10950 10951 #line 3038 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10952 } 10953 10954 10955 #line default 10956 #line hidden 10957 }); 10958 10959 #line 3039 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10960 } 10961 #line default 10962 #line hidden 10963 10964 10965 #line 3047 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10966 public RazorEngine.Templating.TemplateWriter RenderArticleListCategoryFilter(ArticleListCategoryFilter settings) 10967 { 10968 #line default 10969 #line hidden 10970 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10971 10972 #line 3048 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 10973 10974 string pageId = Pageview.ID.ToString(); 10975 string selectedFilter = !String.IsNullOrEmpty(HttpContext.Current.Request.QueryString.Get("sourcePage")) ? HttpContext.Current.Request.QueryString.Get("sourcePage") : Translate("All"); 10976 var query = HttpUtility.ParseQueryString(HttpContext.Current.Request.QueryString.ToString()); 10977 10978 foreach (var option in settings.Categories) 10979 { 10980 selectedFilter = selectedFilter == option.Value ? option.Key : selectedFilter; 10981 } 10982 10983 if (selectedFilter == pageId) 10984 { 10985 selectedFilter = Translate("All"); 10986 } 10987 10988 if (Pageview.Device.ToString() != "Mobile" && Pageview.Device.ToString() != "Tablet") 10989 { 10990 10991 10992 #line default 10993 #line hidden 10994 WriteLiteralTo(__razor_helper_writer, " <div"); 10995 10996 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right u-margin-left\""); 10997 10998 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10999 11000 WriteLiteralTo(__razor_helper_writer, " class=\"collection u-no-margin\""); 11001 11002 WriteLiteralTo(__razor_helper_writer, ">\r\n <h5>"); 11003 11004 11005 #line 3067 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11006 WriteTo(__razor_helper_writer, Translate("Category")); 11007 11008 11009 #line default 11010 #line hidden 11011 WriteLiteralTo(__razor_helper_writer, "</h5>\r\n <input"); 11012 11013 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 11014 11015 WriteLiteralTo(__razor_helper_writer, " id=\"CategorySelector\""); 11016 11017 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger\""); 11018 11019 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 11020 11021 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown u-w180px dw-mod\""); 11022 11023 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 11024 11025 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__header dropdown__btn dw-mod\""); 11026 11027 WriteLiteralTo(__razor_helper_writer, " for=\"CategorySelector\""); 11028 11029 WriteLiteralTo(__razor_helper_writer, ">"); 11030 11031 11032 #line 3070 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11033 WriteTo(__razor_helper_writer, Translate(selectedFilter)); 11034 11035 11036 #line default 11037 #line hidden 11038 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <div"); 11039 11040 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__content dw-mod\""); 11041 11042 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11043 11044 11045 #line 3072 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11046 11047 11048 #line default 11049 #line hidden 11050 11051 #line 3072 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11052 foreach (var option in settings.Categories) 11053 { 11054 11055 11056 #line default 11057 #line hidden 11058 WriteLiteralTo(__razor_helper_writer, " <div"); 11059 11060 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 11061 11062 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 123315), Tuple.Create("\"", 123457) 11063 , Tuple.Create(Tuple.Create("", 123325), Tuple.Create("QueryArray.setParametersInCurrentURL({", 123325), true) 11064 , Tuple.Create(Tuple.Create(" ", 123363), Tuple.Create("sourceType:", 123364), true) 11065 , Tuple.Create(Tuple.Create(" ", 123375), Tuple.Create("\'Page\',", 123376), true) 11066 , Tuple.Create(Tuple.Create(" ", 123383), Tuple.Create("sourcePage:", 123384), true) 11067 , Tuple.Create(Tuple.Create(" ", 123395), Tuple.Create("\'", 123396), true) 11068 11069 #line 3074 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11070 , Tuple.Create(Tuple.Create("", 123397), Tuple.Create<System.Object, System.Int32>(option.Key.ToLower() == "all" ? pageId : option.Value 11071 11072 #line default 11073 #line hidden 11074 , 123397), false) 11075 , Tuple.Create(Tuple.Create("", 123453), Tuple.Create("\'", 123453), true) 11076 , Tuple.Create(Tuple.Create(" ", 123454), Tuple.Create("})", 123455), true) 11077 ); 11078 11079 WriteLiteralTo(__razor_helper_writer, ">"); 11080 11081 11082 #line 3074 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11083 WriteTo(__razor_helper_writer, Translate(option.Key)); 11084 11085 11086 #line default 11087 #line hidden 11088 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11089 11090 11091 #line 3075 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11092 } 11093 11094 11095 #line default 11096 #line hidden 11097 WriteLiteralTo(__razor_helper_writer, " </div>\r\n <label"); 11098 11099 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger-off\""); 11100 11101 WriteLiteralTo(__razor_helper_writer, " for=\"CategorySelector\""); 11102 11103 WriteLiteralTo(__razor_helper_writer, "></label>\r\n </div>\r\n </div>\r\n </div>\r\n"); 11104 11105 11106 #line 3081 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11107 } 11108 else 11109 { 11110 11111 11112 #line default 11113 #line hidden 11114 WriteLiteralTo(__razor_helper_writer, " <div"); 11115 11116 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width u-margin-bottom\""); 11117 11118 WriteLiteralTo(__razor_helper_writer, ">\r\n <h5"); 11119 11120 WriteLiteralTo(__razor_helper_writer, " class=\"u-no-margin\""); 11121 11122 WriteLiteralTo(__razor_helper_writer, ">"); 11123 11124 11125 #line 3085 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11126 WriteTo(__razor_helper_writer, Translate("Category")); 11127 11128 11129 #line default 11130 #line hidden 11131 WriteLiteralTo(__razor_helper_writer, "</h5>\r\n <input"); 11132 11133 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 11134 11135 WriteLiteralTo(__razor_helper_writer, " id=\"CategorySelector\""); 11136 11137 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger\""); 11138 11139 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 11140 11141 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown u-full-width dw-mod\""); 11142 11143 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 11144 11145 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__header dropdown__btn dw-mod\""); 11146 11147 WriteLiteralTo(__razor_helper_writer, " for=\"CategorySelector\""); 11148 11149 WriteLiteralTo(__razor_helper_writer, ">"); 11150 11151 11152 #line 3088 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11153 WriteTo(__razor_helper_writer, Translate(selectedFilter)); 11154 11155 11156 #line default 11157 #line hidden 11158 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <div"); 11159 11160 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__content dw-mod\""); 11161 11162 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11163 11164 11165 #line 3090 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11166 11167 11168 #line default 11169 #line hidden 11170 11171 #line 3090 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11172 foreach (var option in settings.Categories) 11173 { 11174 11175 11176 #line default 11177 #line hidden 11178 WriteLiteralTo(__razor_helper_writer, " <div"); 11179 11180 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 11181 11182 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 124296), Tuple.Create("\"", 124438) 11183 , Tuple.Create(Tuple.Create("", 124306), Tuple.Create("QueryArray.setParametersInCurrentURL({", 124306), true) 11184 , Tuple.Create(Tuple.Create(" ", 124344), Tuple.Create("sourceType:", 124345), true) 11185 , Tuple.Create(Tuple.Create(" ", 124356), Tuple.Create("\'Page\',", 124357), true) 11186 , Tuple.Create(Tuple.Create(" ", 124364), Tuple.Create("sourcePage:", 124365), true) 11187 , Tuple.Create(Tuple.Create(" ", 124376), Tuple.Create("\'", 124377), true) 11188 11189 #line 3092 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11190 , Tuple.Create(Tuple.Create("", 124378), Tuple.Create<System.Object, System.Int32>(option.Key.ToLower() == "all" ? pageId : option.Value 11191 11192 #line default 11193 #line hidden 11194 , 124378), false) 11195 , Tuple.Create(Tuple.Create("", 124434), Tuple.Create("\'", 124434), true) 11196 , Tuple.Create(Tuple.Create(" ", 124435), Tuple.Create("})", 124436), true) 11197 ); 11198 11199 WriteLiteralTo(__razor_helper_writer, ">"); 11200 11201 11202 #line 3092 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11203 WriteTo(__razor_helper_writer, Translate(option.Key)); 11204 11205 11206 #line default 11207 #line hidden 11208 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11209 11210 11211 #line 3093 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11212 } 11213 11214 11215 #line default 11216 #line hidden 11217 WriteLiteralTo(__razor_helper_writer, " </div>\r\n <label"); 11218 11219 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger-off\""); 11220 11221 WriteLiteralTo(__razor_helper_writer, " for=\"CategorySelector\""); 11222 11223 WriteLiteralTo(__razor_helper_writer, "></label>\r\n </div>\r\n </div>\r\n"); 11224 11225 11226 #line 3098 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11227 } 11228 11229 11230 #line default 11231 #line hidden 11232 }); 11233 11234 #line 3099 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11235 } 11236 #line default 11237 #line hidden 11238 11239 11240 #line 3108 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11241 public RazorEngine.Templating.TemplateWriter RenderArticleListFilter(ArticleListFilter settings) 11242 { 11243 #line default 11244 #line hidden 11245 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11246 11247 #line 3109 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11248 11249 string selectedFilter = !String.IsNullOrEmpty(HttpContext.Current.Request.QueryString.Get(settings.SystemName)) ? HttpContext.Current.Request.QueryString.Get(settings.SystemName) : Translate("All"); 11250 var query = HttpUtility.ParseQueryString(HttpContext.Current.Request.QueryString.ToString()); 11251 11252 if (settings.Options != null) 11253 { 11254 if (settings.Options is IEnumerable<dynamic>) 11255 { 11256 var options = (IEnumerable<dynamic>) settings.Options; 11257 settings.Options = options.OrderBy(item => item.Name); 11258 } 11259 11260 foreach (var option in settings.Options) 11261 { 11262 selectedFilter = selectedFilter == option.Value ? option.Name : selectedFilter; 11263 } 11264 11265 if (Pageview.Device.ToString() != "Mobile" && Pageview.Device.ToString() != "Tablet") 11266 { 11267 11268 11269 #line default 11270 #line hidden 11271 WriteLiteralTo(__razor_helper_writer, " <div"); 11272 11273 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right u-margin-left\""); 11274 11275 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11276 11277 WriteLiteralTo(__razor_helper_writer, " class=\"collection u-no-margin\""); 11278 11279 WriteLiteralTo(__razor_helper_writer, ">\r\n <h5>"); 11280 11281 11282 #line 3130 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11283 WriteTo(__razor_helper_writer, settings.Label); 11284 11285 11286 #line default 11287 #line hidden 11288 WriteLiteralTo(__razor_helper_writer, "</h5>\r\n <input"); 11289 11290 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 11291 11292 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 125973), Tuple.Create("\"", 126008) 11293 11294 #line 3131 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11295 , Tuple.Create(Tuple.Create("", 125978), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11296 11297 #line default 11298 #line hidden 11299 , 125978), false) 11300 , Tuple.Create(Tuple.Create("", 126000), Tuple.Create("Selector", 126000), true) 11301 ); 11302 11303 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger\""); 11304 11305 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 11306 11307 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown u-w180px dw-mod\""); 11308 11309 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 11310 11311 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__header dropdown__btn dw-mod\""); 11312 11313 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 126175), Tuple.Create("\"", 126211) 11314 11315 #line 3133 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11316 , Tuple.Create(Tuple.Create("", 126181), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11317 11318 #line default 11319 #line hidden 11320 , 126181), false) 11321 , Tuple.Create(Tuple.Create("", 126203), Tuple.Create("Selector", 126203), true) 11322 ); 11323 11324 WriteLiteralTo(__razor_helper_writer, ">"); 11325 11326 11327 #line 3133 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11328 WriteTo(__razor_helper_writer, Translate(selectedFilter)); 11329 11330 11331 #line default 11332 #line hidden 11333 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <div"); 11334 11335 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__content dw-mod\""); 11336 11337 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11338 11339 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 11340 11341 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 126368), Tuple.Create("\"", 126441) 11342 , Tuple.Create(Tuple.Create("", 126378), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 126378), true) 11343 11344 #line 3135 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11345 , Tuple.Create(Tuple.Create("", 126415), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11346 11347 #line default 11348 #line hidden 11349 , 126415), false) 11350 , Tuple.Create(Tuple.Create("", 126435), Tuple.Create("\',", 126435), true) 11351 , Tuple.Create(Tuple.Create(" ", 126437), Tuple.Create("\'\')", 126438), true) 11352 ); 11353 11354 WriteLiteralTo(__razor_helper_writer, ">"); 11355 11356 11357 #line 3135 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11358 WriteTo(__razor_helper_writer, Translate("All")); 11359 11360 11361 #line default 11362 #line hidden 11363 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11364 11365 11366 #line 3136 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11367 11368 11369 #line default 11370 #line hidden 11371 11372 #line 3136 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11373 foreach (var option in settings.Options) 11374 { 11375 11376 11377 #line default 11378 #line hidden 11379 WriteLiteralTo(__razor_helper_writer, " <div"); 11380 11381 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 11382 11383 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 126609), Tuple.Create("\"", 126695) 11384 , Tuple.Create(Tuple.Create("", 126619), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 126619), true) 11385 11386 #line 3138 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11387 , Tuple.Create(Tuple.Create("", 126656), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11388 11389 #line default 11390 #line hidden 11391 , 126656), false) 11392 , Tuple.Create(Tuple.Create("", 126676), Tuple.Create("\',", 126676), true) 11393 , Tuple.Create(Tuple.Create(" ", 126678), Tuple.Create("\'", 126679), true) 11394 11395 #line 3138 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11396 , Tuple.Create(Tuple.Create("", 126680), Tuple.Create<System.Object, System.Int32>(option.Value 11397 11398 #line default 11399 #line hidden 11400 , 126680), false) 11401 , Tuple.Create(Tuple.Create("", 126693), Tuple.Create("\')", 126693), true) 11402 ); 11403 11404 WriteLiteralTo(__razor_helper_writer, ">"); 11405 11406 11407 #line 3138 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11408 WriteTo(__razor_helper_writer, Translate(option.Name)); 11409 11410 11411 #line default 11412 #line hidden 11413 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11414 11415 11416 #line 3139 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11417 } 11418 11419 11420 #line default 11421 #line hidden 11422 WriteLiteralTo(__razor_helper_writer, " </div>\r\n <label"); 11423 11424 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger-off\""); 11425 11426 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 126850), Tuple.Create("\"", 126886) 11427 11428 #line 3141 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11429 , Tuple.Create(Tuple.Create("", 126856), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11430 11431 #line default 11432 #line hidden 11433 , 126856), false) 11434 , Tuple.Create(Tuple.Create("", 126878), Tuple.Create("Selector", 126878), true) 11435 ); 11436 11437 WriteLiteralTo(__razor_helper_writer, "></label>\r\n </div>\r\n </div>\r\n </div>" + 11438 "\r\n"); 11439 11440 11441 #line 3145 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11442 } 11443 else 11444 { 11445 11446 11447 #line default 11448 #line hidden 11449 WriteLiteralTo(__razor_helper_writer, " <div"); 11450 11451 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width u-margin-bottom\""); 11452 11453 WriteLiteralTo(__razor_helper_writer, ">\r\n <h5"); 11454 11455 WriteLiteralTo(__razor_helper_writer, " class=\"u-no-margin\""); 11456 11457 WriteLiteralTo(__razor_helper_writer, ">"); 11458 11459 11460 #line 3149 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11461 WriteTo(__razor_helper_writer, settings.Label); 11462 11463 11464 #line default 11465 #line hidden 11466 WriteLiteralTo(__razor_helper_writer, "</h5>\r\n <input"); 11467 11468 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 11469 11470 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 127162), Tuple.Create("\"", 127197) 11471 11472 #line 3150 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11473 , Tuple.Create(Tuple.Create("", 127167), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11474 11475 #line default 11476 #line hidden 11477 , 127167), false) 11478 , Tuple.Create(Tuple.Create("", 127189), Tuple.Create("Selector", 127189), true) 11479 ); 11480 11481 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger\""); 11482 11483 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 11484 11485 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown u-full-width w-mod\""); 11486 11487 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 11488 11489 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__header dropdown__btn dw-mod\""); 11490 11491 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 127359), Tuple.Create("\"", 127395) 11492 11493 #line 3152 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11494 , Tuple.Create(Tuple.Create("", 127365), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11495 11496 #line default 11497 #line hidden 11498 , 127365), false) 11499 , Tuple.Create(Tuple.Create("", 127387), Tuple.Create("Selector", 127387), true) 11500 ); 11501 11502 WriteLiteralTo(__razor_helper_writer, ">"); 11503 11504 11505 #line 3152 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11506 WriteTo(__razor_helper_writer, Translate(selectedFilter)); 11507 11508 11509 #line default 11510 #line hidden 11511 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <div"); 11512 11513 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__content dw-mod\""); 11514 11515 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11516 11517 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 11518 11519 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 127544), Tuple.Create("\"", 127617) 11520 , Tuple.Create(Tuple.Create("", 127554), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 127554), true) 11521 11522 #line 3154 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11523 , Tuple.Create(Tuple.Create("", 127591), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11524 11525 #line default 11526 #line hidden 11527 , 127591), false) 11528 , Tuple.Create(Tuple.Create("", 127611), Tuple.Create("\',", 127611), true) 11529 , Tuple.Create(Tuple.Create(" ", 127613), Tuple.Create("\'\')", 127614), true) 11530 ); 11531 11532 WriteLiteralTo(__razor_helper_writer, ">"); 11533 11534 11535 #line 3154 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11536 WriteTo(__razor_helper_writer, Translate("All")); 11537 11538 11539 #line default 11540 #line hidden 11541 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11542 11543 11544 #line 3155 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11545 11546 11547 #line default 11548 #line hidden 11549 11550 #line 3155 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11551 foreach (var option in settings.Options) 11552 { 11553 11554 11555 #line default 11556 #line hidden 11557 WriteLiteralTo(__razor_helper_writer, " <div"); 11558 11559 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 11560 11561 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 127769), Tuple.Create("\"", 127855) 11562 , Tuple.Create(Tuple.Create("", 127779), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 127779), true) 11563 11564 #line 3157 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11565 , Tuple.Create(Tuple.Create("", 127816), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11566 11567 #line default 11568 #line hidden 11569 , 127816), false) 11570 , Tuple.Create(Tuple.Create("", 127836), Tuple.Create("\',", 127836), true) 11571 , Tuple.Create(Tuple.Create(" ", 127838), Tuple.Create("\'", 127839), true) 11572 11573 #line 3157 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11574 , Tuple.Create(Tuple.Create("", 127840), Tuple.Create<System.Object, System.Int32>(option.Value 11575 11576 #line default 11577 #line hidden 11578 , 127840), false) 11579 , Tuple.Create(Tuple.Create("", 127853), Tuple.Create("\')", 127853), true) 11580 ); 11581 11582 WriteLiteralTo(__razor_helper_writer, ">"); 11583 11584 11585 #line 3157 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11586 WriteTo(__razor_helper_writer, Translate(option.Name)); 11587 11588 11589 #line default 11590 #line hidden 11591 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11592 11593 11594 #line 3158 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11595 } 11596 11597 11598 #line default 11599 #line hidden 11600 WriteLiteralTo(__razor_helper_writer, " </div>\r\n <label"); 11601 11602 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger-off\""); 11603 11604 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 127998), Tuple.Create("\"", 128034) 11605 11606 #line 3160 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11607 , Tuple.Create(Tuple.Create("", 128004), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11608 11609 #line default 11610 #line hidden 11611 , 128004), false) 11612 , Tuple.Create(Tuple.Create("", 128026), Tuple.Create("Selector", 128026), true) 11613 ); 11614 11615 WriteLiteralTo(__razor_helper_writer, "></label>\r\n </div>\r\n </div>\r\n"); 11616 11617 11618 #line 3163 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11619 } 11620 } 11621 11622 11623 #line default 11624 #line hidden 11625 }); 11626 11627 #line 3165 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11628 } 11629 #line default 11630 #line hidden 11631 11632 11633 #line 3173 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11634 public RazorEngine.Templating.TemplateWriter RenderArticleListSearch(ArticleListSearch settings) 11635 { 11636 #line default 11637 #line hidden 11638 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11639 11640 #line 3174 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11641 11642 string searchParameter = !string.IsNullOrEmpty(settings.SearchParameter) ? settings.SearchParameter : "Title"; 11643 string searchWord = HttpContext.Current.Request.QueryString.Get(searchParameter); 11644 string searchString = !string.IsNullOrEmpty(searchWord) ? searchWord.Trim('*') : ""; 11645 string className = "u-w340px u-pull--right u-margin-left"; 11646 11647 if (Pageview.Device.ToString() == "Mobile" || Pageview.Device.ToString() == "Tablet") 11648 { 11649 className = "u-full-width"; 11650 } 11651 11652 11653 11654 #line default 11655 #line hidden 11656 WriteLiteralTo(__razor_helper_writer, " <div"); 11657 11658 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 128884), Tuple.Create("\"", 128951) 11659 , Tuple.Create(Tuple.Create("", 128892), Tuple.Create("typeahead", 128892), true) 11660 , Tuple.Create(Tuple.Create(" ", 128901), Tuple.Create("u-color-inherit", 128902), true) 11661 , Tuple.Create(Tuple.Create(" ", 128917), Tuple.Create("u-margin-bottom", 128918), true) 11662 , Tuple.Create(Tuple.Create(" ", 128933), Tuple.Create("dw-mod", 128934), true) 11663 11664 #line 3185 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11665 , Tuple.Create(Tuple.Create(" ", 128940), Tuple.Create<System.Object, System.Int32>(className 11666 11667 #line default 11668 #line hidden 11669 , 128941), false) 11670 ); 11671 11672 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 11673 11674 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 11675 11676 WriteLiteralTo(__razor_helper_writer, " class=\"typeahead-search-field u-no-margin dw-mod\""); 11677 11678 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 129031), Tuple.Create("\"", 129073) 11679 11680 #line 3186 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11681 , Tuple.Create(Tuple.Create("", 129045), Tuple.Create<System.Object, System.Int32>(Translate("Search in list") 11682 11683 #line default 11684 #line hidden 11685 , 129045), false) 11686 ); 11687 11688 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 129074), Tuple.Create("\"", 129095) 11689 11690 #line 3186 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11691 , Tuple.Create(Tuple.Create("", 129082), Tuple.Create<System.Object, System.Int32>(searchString 11692 11693 #line default 11694 #line hidden 11695 , 129082), false) 11696 ); 11697 11698 WriteLiteralTo(__razor_helper_writer, " id=\"ArticleListSearchInput\""); 11699 11700 WriteAttributeTo(__razor_helper_writer, "onchange", Tuple.Create(" onchange=\"", 129124), Tuple.Create("\"", 129259) 11701 , Tuple.Create(Tuple.Create("", 129135), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 129135), true) 11702 11703 #line 3186 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11704 , Tuple.Create(Tuple.Create("", 129172), Tuple.Create<System.Object, System.Int32>(searchParameter 11705 11706 #line default 11707 #line hidden 11708 , 129172), false) 11709 , Tuple.Create(Tuple.Create("", 129188), Tuple.Create("\',", 129188), true) 11710 , Tuple.Create(Tuple.Create(" ", 129190), Tuple.Create("\'*\'", 129191), true) 11711 , Tuple.Create(Tuple.Create(" ", 129194), Tuple.Create("+", 129195), true) 11712 , Tuple.Create(Tuple.Create(" ", 129196), Tuple.Create("document.getElementById(\'ArticleListSearchInput\').value", 129197), true) 11713 , Tuple.Create(Tuple.Create(" ", 129252), Tuple.Create("+", 129253), true) 11714 , Tuple.Create(Tuple.Create(" ", 129254), Tuple.Create("\'*\')", 129255), true) 11715 ); 11716 11717 WriteLiteralTo(__razor_helper_writer, ">\r\n <button"); 11718 11719 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 11720 11721 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn--condensed btn--primary u-no-margin dw-mod\""); 11722 11723 WriteLiteralTo(__razor_helper_writer, "><i"); 11724 11725 WriteLiteralTo(__razor_helper_writer, " class=\"fas fa-search\""); 11726 11727 WriteLiteralTo(__razor_helper_writer, "></i></button>\r\n </div>\r\n"); 11728 11729 11730 #line 3189 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11731 11732 11733 #line default 11734 #line hidden 11735 }); 11736 11737 #line 3189 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11738 } 11739 #line default 11740 #line hidden 11741 11742 11743 #line 3197 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11744 public RazorEngine.Templating.TemplateWriter RenderArticleListNoResultsInfo(ArticleListNoResultsInfo settings) 11745 { 11746 #line default 11747 #line hidden 11748 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11749 11750 #line 3198 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11751 11752 11753 11754 #line default 11755 #line hidden 11756 WriteLiteralTo(__razor_helper_writer, " <div"); 11757 11758 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-top--lg u-bold u-ta-center u-bold\""); 11759 11760 WriteLiteralTo(__razor_helper_writer, ">"); 11761 11762 11763 #line 3199 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11764 WriteTo(__razor_helper_writer, Translate(settings.Message)); 11765 11766 11767 #line default 11768 #line hidden 11769 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11770 11771 11772 #line 3200 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11773 11774 11775 #line default 11776 #line hidden 11777 }); 11778 11779 #line 3200 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11780 } 11781 #line default 11782 #line hidden 11783 11784 11785 #line 3210 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11786 public RazorEngine.Templating.TemplateWriter RenderArticleListItem(ArticleListItem settings) 11787 { 11788 #line default 11789 #line hidden 11790 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11791 11792 #line 3211 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11793 11794 switch (settings.Type) { 11795 case ArticleListItemType.Card: 11796 11797 11798 #line default 11799 #line hidden 11800 11801 #line 3214 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11802 WriteTo(__razor_helper_writer, RenderArticleListItemCard(settings)); 11803 11804 11805 #line default 11806 #line hidden 11807 11808 #line 3214 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11809 ; 11810 break; 11811 case ArticleListItemType.List: 11812 11813 11814 #line default 11815 #line hidden 11816 11817 #line 3217 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11818 WriteTo(__razor_helper_writer, RenderArticleListItemList(settings)); 11819 11820 11821 #line default 11822 #line hidden 11823 11824 #line 3217 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11825 ; 11826 break; 11827 case ArticleListItemType.Simple: 11828 11829 11830 #line default 11831 #line hidden 11832 11833 #line 3220 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11834 WriteTo(__razor_helper_writer, RenderArticleListItemSimple(settings)); 11835 11836 11837 #line default 11838 #line hidden 11839 11840 #line 3220 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11841 ; 11842 break; 11843 default: 11844 11845 11846 #line default 11847 #line hidden 11848 11849 #line 3223 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11850 WriteTo(__razor_helper_writer, RenderArticleListItemCard(settings)); 11851 11852 11853 #line default 11854 #line hidden 11855 11856 #line 3223 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11857 ; 11858 break; 11859 } 11860 11861 11862 #line default 11863 #line hidden 11864 }); 11865 11866 #line 3226 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11867 } 11868 #line default 11869 #line hidden 11870 11871 11872 #line 3228 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11873 public RazorEngine.Templating.TemplateWriter RenderArticleListItemCard(ArticleListItem settings) { 11874 #line default 11875 #line hidden 11876 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11877 11878 #line 3228 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11879 11880 11881 11882 #line default 11883 #line hidden 11884 WriteLiteralTo(__razor_helper_writer, " <a"); 11885 11886 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 130656), Tuple.Create("\"", 130677) 11887 11888 #line 3229 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11889 , Tuple.Create(Tuple.Create("", 130663), Tuple.Create<System.Object, System.Int32>(settings.Link 11890 11891 #line default 11892 #line hidden 11893 , 130663), false) 11894 ); 11895 11896 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-height u-color-light--bg\""); 11897 11898 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11899 11900 WriteLiteralTo(__razor_helper_writer, " class=\"u-color-light--bg u-no-padding dw-mod\""); 11901 11902 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11903 11904 11905 #line 3231 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11906 11907 11908 #line default 11909 #line hidden 11910 11911 #line 3231 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11912 if (settings.Logo != null) 11913 { 11914 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;" : ""; 11915 settings.Logo.ImageDefault.Crop = 5; 11916 settings.Logo.ImageDefault.Width = settings.Logo.ImageDefault.Width == 1920 ? 240 : settings.Logo.ImageDefault.Width; 11917 settings.Logo.ImageDefault.Height = settings.Logo.ImageDefault.Height == 1080 ? 200 : settings.Logo.ImageDefault.Height; 11918 11919 11920 #line default 11921 #line hidden 11922 WriteLiteralTo(__razor_helper_writer, " <div"); 11923 11924 WriteLiteralTo(__razor_helper_writer, " class=\"image-hover__wrapper layered-image layered-image--tinted dw-mod\""); 11925 11926 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 131522), Tuple.Create("\"", 131546) 11927 11928 #line 3237 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11929 , Tuple.Create(Tuple.Create("", 131530), Tuple.Create<System.Object, System.Int32>(backgroundImage 11930 11931 #line default 11932 #line hidden 11933 , 131530), false) 11934 ); 11935 11936 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11937 11938 11939 #line 3238 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11940 11941 11942 #line default 11943 #line hidden 11944 11945 #line 3238 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11946 if (settings.Stickers != null) 11947 { 11948 if (settings.Stickers.Position != StickersListPosition.Custom) 11949 { 11950 11951 11952 #line default 11953 #line hidden 11954 11955 #line 3242 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11956 WriteTo(__razor_helper_writer, Render(settings.Stickers)); 11957 11958 11959 #line default 11960 #line hidden 11961 11962 #line 3242 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11963 ; 11964 } 11965 } 11966 11967 11968 #line default 11969 #line hidden 11970 WriteLiteralTo(__razor_helper_writer, " "); 11971 11972 11973 #line 3245 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11974 WriteTo(__razor_helper_writer, RenderImage(settings.Logo)); 11975 11976 11977 #line default 11978 #line hidden 11979 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 11980 11981 11982 #line 3247 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11983 } else if (settings.Image != null) 11984 { 11985 11986 11987 #line default 11988 #line hidden 11989 WriteLiteralTo(__razor_helper_writer, " <div"); 11990 11991 WriteLiteralTo(__razor_helper_writer, " class=\"flex-img image-hover__wrapper u-position-relative dw-mod\""); 11992 11993 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11994 11995 11996 #line 3250 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 11997 11998 11999 #line default 12000 #line hidden 12001 12002 #line 3250 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12003 if (settings.Stickers != null) 12004 { 12005 if (settings.Stickers.Position != StickersListPosition.Custom) 12006 { 12007 12008 12009 #line default 12010 #line hidden 12011 12012 #line 3254 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12013 WriteTo(__razor_helper_writer, Render(settings.Stickers)); 12014 12015 12016 #line default 12017 #line hidden 12018 12019 #line 3254 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12020 ; 12021 } 12022 } 12023 12024 12025 #line default 12026 #line hidden 12027 WriteLiteralTo(__razor_helper_writer, " "); 12028 12029 12030 #line 3257 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12031 WriteTo(__razor_helper_writer, Render(settings.Image)); 12032 12033 12034 #line default 12035 #line hidden 12036 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 12037 12038 12039 #line 3259 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12040 } 12041 12042 12043 #line default 12044 #line hidden 12045 WriteLiteralTo(__razor_helper_writer, " </div>\r\n\r\n"); 12046 12047 12048 #line 3262 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12049 12050 12051 #line default 12052 #line hidden 12053 12054 #line 3262 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12055 if (!String.IsNullOrEmpty(settings.Title) || !String.IsNullOrEmpty(settings.Summary)) 12056 { 12057 12058 12059 #line default 12060 #line hidden 12061 WriteLiteralTo(__razor_helper_writer, " <div"); 12062 12063 WriteLiteralTo(__razor_helper_writer, " class=\"card u-color-light--bg dw-mod\""); 12064 12065 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12066 12067 12068 #line 3265 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12069 12070 12071 #line default 12072 #line hidden 12073 12074 #line 3265 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12075 if (settings.Stickers != null) 12076 { 12077 if (settings.Stickers.Position == StickersListPosition.Custom) 12078 { 12079 12080 12081 #line default 12082 #line hidden 12083 12084 #line 3269 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12085 WriteTo(__razor_helper_writer, Render(settings.Stickers)); 12086 12087 12088 #line default 12089 #line hidden 12090 12091 #line 3269 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12092 ; 12093 } 12094 } 12095 12096 12097 #line default 12098 #line hidden 12099 WriteLiteralTo(__razor_helper_writer, " "); 12100 12101 12102 #line 3272 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12103 if (!String.IsNullOrEmpty(settings.Title)) 12104 { 12105 12106 12107 #line default 12108 #line hidden 12109 WriteLiteralTo(__razor_helper_writer, " <h3"); 12110 12111 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-header u-truncate-text dw-mod\""); 12112 12113 WriteLiteralTo(__razor_helper_writer, ">"); 12114 12115 12116 #line 3274 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12117 WriteTo(__razor_helper_writer, settings.Title); 12118 12119 12120 #line default 12121 #line hidden 12122 WriteLiteralTo(__razor_helper_writer, "</h3>\r\n"); 12123 12124 12125 #line 3275 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12126 } 12127 12128 12129 #line default 12130 #line hidden 12131 WriteLiteralTo(__razor_helper_writer, " "); 12132 12133 12134 #line 3276 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12135 if (!String.IsNullOrEmpty(settings.SubTitle)) 12136 { 12137 12138 12139 #line default 12140 #line hidden 12141 WriteLiteralTo(__razor_helper_writer, " <div"); 12142 12143 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-micro-info u-truncate-text dw-mod\""); 12144 12145 WriteLiteralTo(__razor_helper_writer, ">"); 12146 12147 12148 #line 3278 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12149 WriteTo(__razor_helper_writer, settings.SubTitle); 12150 12151 12152 #line default 12153 #line hidden 12154 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 12155 12156 12157 #line 3279 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12158 } 12159 12160 12161 #line default 12162 #line hidden 12163 WriteLiteralTo(__razor_helper_writer, " "); 12164 12165 12166 #line 3280 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12167 if (!String.IsNullOrEmpty(settings.Summary)) 12168 { 12169 12170 12171 #line default 12172 #line hidden 12173 WriteLiteralTo(__razor_helper_writer, " <p"); 12174 12175 WriteLiteralTo(__razor_helper_writer, " class=\"article__short-summary dw-mod\""); 12176 12177 WriteLiteralTo(__razor_helper_writer, ">"); 12178 12179 12180 #line 3282 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12181 WriteTo(__razor_helper_writer, settings.Summary); 12182 12183 12184 #line default 12185 #line hidden 12186 WriteLiteralTo(__razor_helper_writer, "</p>\r\n"); 12187 12188 12189 #line 3283 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12190 } 12191 12192 12193 #line default 12194 #line hidden 12195 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 12196 12197 12198 #line 3285 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12199 } 12200 12201 12202 #line default 12203 #line hidden 12204 WriteLiteralTo(__razor_helper_writer, " </a>\r\n"); 12205 12206 12207 #line 3287 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12208 12209 12210 #line default 12211 #line hidden 12212 }); 12213 12214 #line 3287 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12215 } 12216 #line default 12217 #line hidden 12218 12219 12220 #line 3289 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12221 public RazorEngine.Templating.TemplateWriter RenderArticleListItemList(ArticleListItem settings) { 12222 #line default 12223 #line hidden 12224 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 12225 12226 #line 3289 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12227 12228 12229 12230 #line default 12231 #line hidden 12232 WriteLiteralTo(__razor_helper_writer, " <a"); 12233 12234 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 133735), Tuple.Create("\"", 133756) 12235 12236 #line 3290 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12237 , Tuple.Create(Tuple.Create("", 133742), Tuple.Create<System.Object, System.Int32>(settings.Link 12238 12239 #line default 12240 #line hidden 12241 , 133742), false) 12242 ); 12243 12244 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12245 12246 WriteLiteralTo(__razor_helper_writer, " class=\"grid u-color-light--bg u-no-padding dw-mod\""); 12247 12248 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12249 12250 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-3\""); 12251 12252 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12253 12254 WriteLiteralTo(__razor_helper_writer, " class=\"u-color-light--bg u-no-padding dw-mod\""); 12255 12256 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12257 12258 12259 #line 3294 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12260 12261 12262 #line default 12263 #line hidden 12264 12265 #line 3294 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12266 if (settings.Logo != null) 12267 { 12268 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;" : ""; 12269 settings.Logo.ImageDefault.Crop = 5; 12270 settings.Logo.ImageDefault.Width = settings.Logo.ImageDefault.Width == 1920 ? 240 : settings.Logo.ImageDefault.Width; 12271 settings.Logo.ImageDefault.Height = settings.Logo.ImageDefault.Height == 1080 ? 200 : settings.Logo.ImageDefault.Height; 12272 12273 12274 #line default 12275 #line hidden 12276 WriteLiteralTo(__razor_helper_writer, " <div"); 12277 12278 WriteLiteralTo(__razor_helper_writer, " class=\"image-hover__wrapper layered-image layered-image--tinted dw-mod\""); 12279 12280 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 134733), Tuple.Create("\"", 134757) 12281 12282 #line 3300 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12283 , Tuple.Create(Tuple.Create("", 134741), Tuple.Create<System.Object, System.Int32>(backgroundImage 12284 12285 #line default 12286 #line hidden 12287 , 134741), false) 12288 ); 12289 12290 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12291 12292 12293 #line 3301 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12294 12295 12296 #line default 12297 #line hidden 12298 12299 #line 3301 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12300 if (settings.Stickers != null) 12301 { 12302 if (settings.Stickers.Position != StickersListPosition.Custom) 12303 { 12304 12305 12306 #line default 12307 #line hidden 12308 12309 #line 3305 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12310 WriteTo(__razor_helper_writer, Render(settings.Stickers)); 12311 12312 12313 #line default 12314 #line hidden 12315 12316 #line 3305 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12317 ; 12318 } 12319 } 12320 12321 12322 #line default 12323 #line hidden 12324 WriteLiteralTo(__razor_helper_writer, " "); 12325 12326 12327 #line 3308 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12328 WriteTo(__razor_helper_writer, RenderImage(settings.Logo)); 12329 12330 12331 #line default 12332 #line hidden 12333 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 12334 12335 12336 #line 3310 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12337 } else if (settings.Image != null) 12338 { 12339 12340 12341 #line default 12342 #line hidden 12343 WriteLiteralTo(__razor_helper_writer, " <div"); 12344 12345 WriteLiteralTo(__razor_helper_writer, " class=\"flex-img image-hover__wrapper dw-mod\""); 12346 12347 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12348 12349 12350 #line 3313 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12351 12352 12353 #line default 12354 #line hidden 12355 12356 #line 3313 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12357 if (settings.Stickers != null) 12358 { 12359 if (settings.Stickers.Position != StickersListPosition.Custom) 12360 { 12361 12362 12363 #line default 12364 #line hidden 12365 12366 #line 3317 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12367 WriteTo(__razor_helper_writer, Render(settings.Stickers)); 12368 12369 12370 #line default 12371 #line hidden 12372 12373 #line 3317 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12374 ; 12375 } 12376 } 12377 12378 12379 #line default 12380 #line hidden 12381 WriteLiteralTo(__razor_helper_writer, " "); 12382 12383 12384 #line 3320 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12385 WriteTo(__razor_helper_writer, Render(settings.Image)); 12386 12387 12388 #line default 12389 #line hidden 12390 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 12391 12392 12393 #line 3322 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12394 } 12395 12396 12397 #line default 12398 #line hidden 12399 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n\r\n"); 12400 12401 12402 #line 3326 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12403 12404 12405 #line default 12406 #line hidden 12407 12408 #line 3326 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12409 if (!String.IsNullOrEmpty(settings.Title) || !String.IsNullOrEmpty(settings.Summary)) 12410 { 12411 12412 12413 #line default 12414 #line hidden 12415 WriteLiteralTo(__razor_helper_writer, " <div"); 12416 12417 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-9\""); 12418 12419 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12420 12421 12422 #line 3329 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12423 12424 12425 #line default 12426 #line hidden 12427 12428 #line 3329 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12429 if (!String.IsNullOrEmpty(settings.Title)) 12430 { 12431 12432 12433 #line default 12434 #line hidden 12435 WriteLiteralTo(__razor_helper_writer, " <h3"); 12436 12437 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-header u-truncate-text dw-mod\""); 12438 12439 WriteLiteralTo(__razor_helper_writer, ">"); 12440 12441 12442 #line 3331 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12443 WriteTo(__razor_helper_writer, settings.Title); 12444 12445 12446 #line default 12447 #line hidden 12448 WriteLiteralTo(__razor_helper_writer, "</h3>\r\n"); 12449 12450 12451 #line 3332 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12452 } 12453 12454 12455 #line default 12456 #line hidden 12457 WriteLiteralTo(__razor_helper_writer, " "); 12458 12459 12460 #line 3333 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12461 if (settings.Stickers != null) 12462 { 12463 if (settings.Stickers.Position == StickersListPosition.Custom) 12464 { 12465 12466 12467 #line default 12468 #line hidden 12469 12470 #line 3337 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12471 WriteTo(__razor_helper_writer, Render(settings.Stickers)); 12472 12473 12474 #line default 12475 #line hidden 12476 12477 #line 3337 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12478 ; 12479 } 12480 } 12481 12482 12483 #line default 12484 #line hidden 12485 WriteLiteralTo(__razor_helper_writer, " "); 12486 12487 12488 #line 3340 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12489 if (!String.IsNullOrEmpty(settings.SubTitle)) 12490 { 12491 12492 12493 #line default 12494 #line hidden 12495 WriteLiteralTo(__razor_helper_writer, " <div"); 12496 12497 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-micro-info u-truncate-text dw-mod\""); 12498 12499 WriteLiteralTo(__razor_helper_writer, ">"); 12500 12501 12502 #line 3342 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12503 WriteTo(__razor_helper_writer, settings.SubTitle); 12504 12505 12506 #line default 12507 #line hidden 12508 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 12509 12510 12511 #line 3343 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12512 } 12513 12514 12515 #line default 12516 #line hidden 12517 WriteLiteralTo(__razor_helper_writer, " "); 12518 12519 12520 #line 3344 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12521 if (!String.IsNullOrEmpty(settings.Summary)) 12522 { 12523 12524 12525 #line default 12526 #line hidden 12527 WriteLiteralTo(__razor_helper_writer, " <p"); 12528 12529 WriteLiteralTo(__razor_helper_writer, " class=\"article__short-summary dw-mod\""); 12530 12531 WriteLiteralTo(__razor_helper_writer, ">"); 12532 12533 12534 #line 3346 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12535 WriteTo(__razor_helper_writer, settings.Summary); 12536 12537 12538 #line default 12539 #line hidden 12540 WriteLiteralTo(__razor_helper_writer, "</p>\r\n"); 12541 12542 12543 #line 3347 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12544 } 12545 12546 12547 #line default 12548 #line hidden 12549 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 12550 12551 12552 #line 3349 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12553 } 12554 12555 12556 #line default 12557 #line hidden 12558 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </a>\r\n"); 12559 12560 12561 #line 3352 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12562 12563 12564 #line default 12565 #line hidden 12566 }); 12567 12568 #line 3352 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12569 } 12570 #line default 12571 #line hidden 12572 12573 12574 #line 3354 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12575 public RazorEngine.Templating.TemplateWriter RenderArticleListItemSimple(ArticleListItem settings) { 12576 #line default 12577 #line hidden 12578 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 12579 12580 #line 3354 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12581 12582 12583 12584 #line default 12585 #line hidden 12586 WriteLiteralTo(__razor_helper_writer, " <a"); 12587 12588 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 137224), Tuple.Create("\"", 137245) 12589 12590 #line 3355 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12591 , Tuple.Create(Tuple.Create("", 137231), Tuple.Create<System.Object, System.Int32>(settings.Link 12592 12593 #line default 12594 #line hidden 12595 , 137231), false) 12596 ); 12597 12598 WriteLiteralTo(__razor_helper_writer, " class=\"u-color-inherit\""); 12599 12600 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12601 12602 WriteLiteralTo(__razor_helper_writer, " class=\"grid u-color-light--bg u-no-padding dw-mod\""); 12603 12604 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12605 12606 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-12\""); 12607 12608 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12609 12610 12611 #line 3358 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12612 12613 12614 #line default 12615 #line hidden 12616 12617 #line 3358 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12618 if (!String.IsNullOrEmpty(settings.Title)) 12619 { 12620 12621 12622 #line default 12623 #line hidden 12624 WriteLiteralTo(__razor_helper_writer, " <div"); 12625 12626 WriteLiteralTo(__razor_helper_writer, " class=\"article-list-item__header u-truncate-text u-no-margin dw-mod\""); 12627 12628 WriteLiteralTo(__razor_helper_writer, ">"); 12629 12630 12631 #line 3360 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12632 WriteTo(__razor_helper_writer, settings.Title); 12633 12634 12635 #line default 12636 #line hidden 12637 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 12638 12639 12640 #line 3361 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12641 } 12642 12643 12644 #line default 12645 #line hidden 12646 WriteLiteralTo(__razor_helper_writer, " "); 12647 12648 12649 #line 3362 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12650 if (!String.IsNullOrEmpty(settings.SubTitle)) 12651 { 12652 12653 12654 #line default 12655 #line hidden 12656 WriteLiteralTo(__razor_helper_writer, " <div"); 12657 12658 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-micro-info u-truncate-text dw-mod\""); 12659 12660 WriteLiteralTo(__razor_helper_writer, ">"); 12661 12662 12663 #line 3364 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12664 WriteTo(__razor_helper_writer, settings.SubTitle); 12665 12666 12667 #line default 12668 #line hidden 12669 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 12670 12671 12672 #line 3365 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12673 } 12674 12675 12676 #line default 12677 #line hidden 12678 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n </a>\r\n"); 12679 12680 12681 #line 3369 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12682 12683 12684 #line default 12685 #line hidden 12686 }); 12687 12688 #line 3369 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12689 } 12690 #line default 12691 #line hidden 12692 12693 12694 #line 3376 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12695 public RazorEngine.Templating.TemplateWriter RenderArticleAuthorAndDate(ArticleAuthorAndDate settings) 12696 { 12697 #line default 12698 #line hidden 12699 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 12700 12701 #line 3377 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12702 12703 12704 12705 #line default 12706 #line hidden 12707 WriteLiteralTo(__razor_helper_writer, " <small"); 12708 12709 WriteLiteralTo(__razor_helper_writer, " class=\"article__subscription\""); 12710 12711 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12712 12713 12714 #line 3379 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12715 12716 12717 #line default 12718 #line hidden 12719 12720 #line 3379 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12721 if (!(string.IsNullOrWhiteSpace(settings.Author) && string.IsNullOrWhiteSpace(settings.Date))) 12722 { 12723 12724 12725 #line default 12726 #line hidden 12727 WriteLiteralTo(__razor_helper_writer, " "); 12728 12729 12730 #line 3381 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12731 WriteTo(__razor_helper_writer, Translate("Written")); 12732 12733 12734 #line default 12735 #line hidden 12736 WriteLiteralTo(__razor_helper_writer, "\r\n"); 12737 12738 12739 #line 3382 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12740 } 12741 12742 12743 #line default 12744 #line hidden 12745 WriteLiteralTo(__razor_helper_writer, " "); 12746 12747 12748 #line 3383 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12749 if (!string.IsNullOrWhiteSpace(settings.Author)) 12750 { 12751 12752 12753 #line default 12754 #line hidden 12755 WriteLiteralTo(__razor_helper_writer, " "); 12756 12757 12758 #line 3385 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12759 WriteTo(__razor_helper_writer, Translate("by")); 12760 12761 12762 #line default 12763 #line hidden 12764 WriteLiteralTo(__razor_helper_writer, " "); 12765 12766 12767 #line 3385 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12768 WriteTo(__razor_helper_writer, settings.Author); 12769 12770 12771 #line default 12772 #line hidden 12773 WriteLiteralTo(__razor_helper_writer, "\r\n"); 12774 12775 12776 #line 3386 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12777 } 12778 12779 12780 #line default 12781 #line hidden 12782 WriteLiteralTo(__razor_helper_writer, " "); 12783 12784 12785 #line 3387 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12786 if (!string.IsNullOrWhiteSpace(settings.Date)) 12787 { 12788 12789 12790 #line default 12791 #line hidden 12792 WriteLiteralTo(__razor_helper_writer, " "); 12793 12794 12795 #line 3389 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12796 WriteTo(__razor_helper_writer, Translate("on")); 12797 12798 12799 #line default 12800 #line hidden 12801 WriteLiteralTo(__razor_helper_writer, " "); 12802 12803 12804 #line 3389 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12805 WriteTo(__razor_helper_writer, settings.Date); 12806 12807 12808 #line default 12809 #line hidden 12810 WriteLiteralTo(__razor_helper_writer, "\r\n"); 12811 12812 12813 #line 3390 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12814 } 12815 12816 12817 #line default 12818 #line hidden 12819 WriteLiteralTo(__razor_helper_writer, " </small>\r\n"); 12820 12821 12822 #line 3392 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12823 12824 12825 #line default 12826 #line hidden 12827 }); 12828 12829 #line 3392 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12830 } 12831 #line default 12832 #line hidden 12833 12834 12835 #line 3400 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12836 public RazorEngine.Templating.TemplateWriter RenderArticleLink(ArticleLink settings) 12837 { 12838 #line default 12839 #line hidden 12840 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 12841 12842 #line 3401 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12843 12844 if (!string.IsNullOrEmpty(settings.Title)) 12845 { 12846 Button link = new Button { 12847 ConfirmText = settings.ConfirmText, 12848 ConfirmTitle = settings.ConfirmTitle, 12849 ButtonType = settings.ButtonType, 12850 Id = settings.Id, 12851 Title = settings.Title, 12852 AltText = settings.AltText, 12853 OnClick = settings.OnClick, 12854 CssClass = settings.CssClass, 12855 Disabled = settings.Disabled, 12856 Icon = settings.Icon, 12857 Name = settings.Name, 12858 Href = settings.Href, 12859 ButtonLayout = settings.ButtonLayout, 12860 ExtraAttributes = settings.ExtraAttributes 12861 }; 12862 12863 12864 #line default 12865 #line hidden 12866 WriteLiteralTo(__razor_helper_writer, " <div"); 12867 12868 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 12869 12870 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12871 12872 WriteLiteralTo(__razor_helper_writer, " "); 12873 12874 12875 #line 3421 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12876 WriteTo(__razor_helper_writer, Render(link)); 12877 12878 12879 #line default 12880 #line hidden 12881 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 12882 12883 12884 #line 3423 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12885 } 12886 12887 12888 #line default 12889 #line hidden 12890 }); 12891 12892 #line 3424 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12893 } 12894 #line default 12895 #line hidden 12896 12897 12898 #line 3433 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12899 public RazorEngine.Templating.TemplateWriter RenderArticleCarousel(ArticleCarousel settings) 12900 { 12901 #line default 12902 #line hidden 12903 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 12904 12905 #line 3434 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12906 12907 12908 12909 #line default 12910 #line hidden 12911 WriteLiteralTo(__razor_helper_writer, " <div"); 12912 12913 WriteLiteralTo(__razor_helper_writer, " class=\"grid\""); 12914 12915 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12916 12917 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-12\""); 12918 12919 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12920 12921 WriteLiteralTo(__razor_helper_writer, " class=\"carousel\""); 12922 12923 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 139928), Tuple.Create("\"", 139954) 12924 , Tuple.Create(Tuple.Create("", 139933), Tuple.Create("carousel_", 139933), true) 12925 12926 #line 3437 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12927 , Tuple.Create(Tuple.Create("", 139942), Tuple.Create<System.Object, System.Int32>(settings.Id 12928 12929 #line default 12930 #line hidden 12931 , 139942), false) 12932 ); 12933 12934 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12935 12936 WriteLiteralTo(__razor_helper_writer, " class=\"carousel__container js-carousel-slides dw-mod\""); 12937 12938 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12939 12940 WriteLiteralTo(__razor_helper_writer, " "); 12941 12942 12943 #line 3439 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12944 WriteTo(__razor_helper_writer, RenderBlockList(settings.SubBlocks)); 12945 12946 12947 #line default 12948 #line hidden 12949 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n"); 12950 12951 12952 #line 3444 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12953 12954 12955 12956 #line default 12957 #line hidden 12958 WriteLiteralTo(__razor_helper_writer, " <script>\r\n document.addEventListener(\"DOMContentLoaded\", function () {" + 12959 "\r\n new CarouselModule(\"#carousel_"); 12960 12961 12962 #line 3447 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12963 WriteTo(__razor_helper_writer, settings.Id); 12964 12965 12966 #line default 12967 #line hidden 12968 WriteLiteralTo(__razor_helper_writer, "\", {\r\n slideTime: 0,\r\n dots: true\r\n });\r" + 12969 "\n });\r\n </script>\r\n"); 12970 12971 12972 #line 3453 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12973 12974 12975 #line default 12976 #line hidden 12977 }); 12978 12979 #line 3453 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12980 } 12981 #line default 12982 #line hidden 12983 12984 12985 #line 3455 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12986 public RazorEngine.Templating.TemplateWriter RenderArticleCarouselSlide(ArticleCarouselSlide settings) 12987 { 12988 #line default 12989 #line hidden 12990 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 12991 12992 #line 3456 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 12993 12994 string imageEngine = "/Admin/Public/GetImage.ashx?"; 12995 12996 string defaultImage = settings.ImageSettings != null ? imageEngine : settings.Image; 12997 if (settings.ImageSettings != null) 12998 { 12999 defaultImage += settings.ImageSettings.Width != 0 ? "Width=" + settings.ImageSettings.Width + "&" : ""; 13000 defaultImage += settings.ImageSettings.Height != 0 ? "Height=" + settings.ImageSettings.Height + "&" : ""; 13001 defaultImage += "Crop=" + settings.ImageSettings.Crop + "&"; 13002 defaultImage += "Compression=" + settings.ImageSettings.Compression + "&"; 13003 defaultImage += "DoNotUpscale=" + settings.ImageSettings.DoNotUpscale.ToString() + "&"; 13004 defaultImage += "FillCanvas=" + settings.ImageSettings.FillCanvas.ToString() + "&"; 13005 } 13006 defaultImage += "&Image=" + settings.Image; 13007 13008 13009 13010 #line default 13011 #line hidden 13012 WriteLiteralTo(__razor_helper_writer, " <div"); 13013 13014 WriteLiteralTo(__razor_helper_writer, " class=\"carousel__slide u-min-h300px u-flex dw-mod\""); 13015 13016 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 141377), Tuple.Create("\"", 141445) 13017 , Tuple.Create(Tuple.Create("", 141385), Tuple.Create("background-size:cover;", 141385), true) 13018 , Tuple.Create(Tuple.Create(" ", 141407), Tuple.Create("background-image:url(\'", 141408), true) 13019 13020 #line 3471 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13021 , Tuple.Create(Tuple.Create("", 141430), Tuple.Create<System.Object, System.Int32>(defaultImage 13022 13023 #line default 13024 #line hidden 13025 , 141430), false) 13026 , Tuple.Create(Tuple.Create("", 141443), Tuple.Create("\')", 141443), true) 13027 ); 13028 13029 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 13030 13031 WriteLiteralTo(__razor_helper_writer, " class=\"article-carousel-item__wrap\""); 13032 13033 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 141495), Tuple.Create("\"", 141516) 13034 13035 #line 3472 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13036 , Tuple.Create(Tuple.Create("", 141502), Tuple.Create<System.Object, System.Int32>(settings.Link 13037 13038 #line default 13039 #line hidden 13040 , 141502), false) 13041 ); 13042 13043 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 141517), Tuple.Create("\"", 141540) 13044 13045 #line 3472 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13046 , Tuple.Create(Tuple.Create("", 141525), Tuple.Create<System.Object, System.Int32>(settings.Title 13047 13048 #line default 13049 #line hidden 13050 , 141525), false) 13051 ); 13052 13053 WriteLiteralTo(__razor_helper_writer, ">\r\n <h2"); 13054 13055 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-header u-truncate-text u-color-light dw-mod\""); 13056 13057 WriteLiteralTo(__razor_helper_writer, ">"); 13058 13059 13060 #line 3473 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13061 WriteTo(__razor_helper_writer, settings.Title); 13062 13063 13064 #line default 13065 #line hidden 13066 WriteLiteralTo(__razor_helper_writer, "</h2>\r\n <div"); 13067 13068 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-info\""); 13069 13070 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 13071 13072 13073 #line 3475 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13074 13075 13076 #line default 13077 #line hidden 13078 13079 #line 3475 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13080 if (settings.Stickers != null) 13081 { 13082 settings.Stickers.Position = StickersListPosition.Custom; 13083 13084 13085 #line default 13086 #line hidden 13087 13088 #line 3478 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13089 WriteTo(__razor_helper_writer, Render(settings.Stickers)); 13090 13091 13092 #line default 13093 #line hidden 13094 13095 #line 3478 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13096 ; 13097 } 13098 13099 13100 #line default 13101 #line hidden 13102 WriteLiteralTo(__razor_helper_writer, "\r\n <small"); 13103 13104 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-top--lg u-color-light\""); 13105 13106 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 13107 13108 13109 #line 3482 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13110 13111 13112 #line default 13113 #line hidden 13114 13115 #line 3482 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13116 if (!(string.IsNullOrWhiteSpace(settings.Author) && string.IsNullOrWhiteSpace(settings.Date))) 13117 { 13118 13119 13120 #line default 13121 #line hidden 13122 WriteLiteralTo(__razor_helper_writer, " "); 13123 13124 13125 #line 3484 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13126 WriteTo(__razor_helper_writer, Translate("Written")); 13127 13128 13129 #line default 13130 #line hidden 13131 WriteLiteralTo(__razor_helper_writer, "\r\n"); 13132 13133 13134 #line 3485 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13135 } 13136 13137 13138 #line default 13139 #line hidden 13140 WriteLiteralTo(__razor_helper_writer, " "); 13141 13142 13143 #line 3486 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13144 if (!string.IsNullOrWhiteSpace(settings.Author)) 13145 { 13146 13147 13148 #line default 13149 #line hidden 13150 WriteLiteralTo(__razor_helper_writer, " "); 13151 13152 13153 #line 3488 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13154 WriteTo(__razor_helper_writer, Translate("by")); 13155 13156 13157 #line default 13158 #line hidden 13159 WriteLiteralTo(__razor_helper_writer, " "); 13160 13161 13162 #line 3488 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13163 WriteTo(__razor_helper_writer, settings.Author); 13164 13165 13166 #line default 13167 #line hidden 13168 WriteLiteralTo(__razor_helper_writer, "\r\n"); 13169 13170 13171 #line 3489 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13172 } 13173 13174 13175 #line default 13176 #line hidden 13177 WriteLiteralTo(__razor_helper_writer, " "); 13178 13179 13180 #line 3490 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13181 if (!string.IsNullOrWhiteSpace(settings.Date)) 13182 { 13183 13184 13185 #line default 13186 #line hidden 13187 WriteLiteralTo(__razor_helper_writer, " "); 13188 13189 13190 #line 3492 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13191 WriteTo(__razor_helper_writer, Translate("on")); 13192 13193 13194 #line default 13195 #line hidden 13196 WriteLiteralTo(__razor_helper_writer, " "); 13197 13198 13199 #line 3492 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13200 WriteTo(__razor_helper_writer, settings.Date); 13201 13202 13203 #line default 13204 #line hidden 13205 WriteLiteralTo(__razor_helper_writer, "\r\n"); 13206 13207 13208 #line 3493 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13209 } 13210 13211 13212 #line default 13213 #line hidden 13214 WriteLiteralTo(__razor_helper_writer, " </small>\r\n </div>\r\n\r\n <h3"); 13215 13216 WriteLiteralTo(__razor_helper_writer, " class=\"article__short-summary u-color-light\""); 13217 13218 WriteLiteralTo(__razor_helper_writer, ">"); 13219 13220 13221 #line 3497 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13222 WriteTo(__razor_helper_writer, settings.Summary); 13223 13224 13225 #line default 13226 #line hidden 13227 WriteLiteralTo(__razor_helper_writer, "</h3>\r\n </a>\r\n"); 13228 13229 13230 #line 3499 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13231 13232 13233 #line default 13234 #line hidden 13235 13236 #line 3499 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13237 if (settings.UseFilters == true) 13238 { 13239 13240 13241 #line default 13242 #line hidden 13243 WriteLiteralTo(__razor_helper_writer, " <div"); 13244 13245 WriteLiteralTo(__razor_helper_writer, " class=\"background-image image-filter image-filter--darken dw-mod\""); 13246 13247 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 13248 13249 13250 #line 3502 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13251 } 13252 13253 13254 #line default 13255 #line hidden 13256 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 13257 13258 13259 #line 3504 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13260 13261 13262 #line default 13263 #line hidden 13264 }); 13265 13266 #line 3504 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13267 } 13268 #line default 13269 #line hidden 13270 13271 13272 #line 3513 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13273 public RazorEngine.Templating.TemplateWriter RenderArticleVideo(ArticleVideo settings) 13274 { 13275 #line default 13276 #line hidden 13277 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 13278 13279 #line 3514 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13280 13281 if (settings.Url != null) 13282 { 13283 //getting video ID from youtube URL 13284 string videoCode = settings.Url; 13285 Regex regex = new Regex(@".be\/(.[^?]*)"); 13286 Match match = regex.Match(videoCode); 13287 string videoId = ""; 13288 if (match.Success) 13289 { 13290 videoId = match.Groups[1].Value; 13291 } 13292 else 13293 { 13294 regex = new Regex(@"v=([^&]+)"); 13295 match = regex.Match(videoCode); 13296 if (match.Success) 13297 { 13298 videoId = match.Groups[1].Value; 13299 } 13300 } 13301 13302 int autoPlay = settings.AutoPlay == "true" ? 1 : 0; 13303 13304 13305 13306 #line default 13307 #line hidden 13308 WriteLiteralTo(__razor_helper_writer, " <div"); 13309 13310 WriteLiteralTo(__razor_helper_writer, " class=\"video-wrapper\""); 13311 13312 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 13313 13314 WriteLiteralTo(__razor_helper_writer, " class=\"js-youtube-video\""); 13315 13316 WriteLiteralTo(__razor_helper_writer, " data-video=\""); 13317 13318 13319 #line 3539 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13320 WriteTo(__razor_helper_writer, videoId); 13321 13322 13323 #line default 13324 #line hidden 13325 WriteLiteralTo(__razor_helper_writer, "\""); 13326 13327 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 143955), Tuple.Create("\"", 143999) 13328 , Tuple.Create(Tuple.Create("", 143960), Tuple.Create("ytPlayer", 143960), true) 13329 13330 #line 3539 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13331 , Tuple.Create(Tuple.Create("", 143968), Tuple.Create<System.Object, System.Int32>(Guid.NewGuid().ToString("N") 13332 13333 #line default 13334 #line hidden 13335 , 143968), false) 13336 ); 13337 13338 WriteLiteralTo(__razor_helper_writer, " data-auto-play=\""); 13339 13340 13341 #line 3539 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13342 WriteTo(__razor_helper_writer, autoPlay); 13343 13344 13345 #line default 13346 #line hidden 13347 WriteLiteralTo(__razor_helper_writer, "\""); 13348 13349 WriteLiteralTo(__razor_helper_writer, " data-enable-controls=\"1\""); 13350 13351 WriteLiteralTo(__razor_helper_writer, "></div>\r\n </div> \r\n"); 13352 13353 13354 #line 3541 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13355 } 13356 13357 13358 #line default 13359 #line hidden 13360 }); 13361 13362 #line 3542 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13363 } 13364 #line default 13365 #line hidden 13366 13367 13368 #line 3549 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13369 public RazorEngine.Templating.TemplateWriter RenderArticleItemGallery(IList<ItemViewModel> gallery) { 13370 #line default 13371 #line hidden 13372 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 13373 13374 #line 3549 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13375 13376 if (gallery != null && gallery.Count > 0) 13377 { 13378 int count = 1; 13379 13380 foreach (var item in gallery) 13381 { 13382 if (item.GetFile("ImagePath") != null) 13383 { 13384 string image = item.GetFile("ImagePath").PathUrlEncoded; 13385 string imagePrefix = "/Admin/Public/GetImage.ashx?width=1200&amp;height=820&amp;crop=5&amp;Compression=75&amp;DoNotUpscale=1&amp;image="; 13386 int imagesCount = gallery.Count; 13387 13388 if (count == 1) 13389 { 13390 13391 13392 #line default 13393 #line hidden 13394 WriteLiteralTo(__razor_helper_writer, " <label"); 13395 13396 WriteLiteralTo(__razor_helper_writer, " class=\"gallery\""); 13397 13398 WriteLiteralTo(__razor_helper_writer, " for=\"ParagraphGalleryModalTrigger\""); 13399 13400 WriteLiteralTo(__razor_helper_writer, " onclick=\"Gallery.openImage(this.querySelector(\'.js-gallery\'))\""); 13401 13402 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 13403 13404 WriteLiteralTo(__razor_helper_writer, " class=\"gallery__main-image\""); 13405 13406 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 13407 13408 WriteLiteralTo(__razor_helper_writer, " src=\"/Files/Images/placeholder.gif\""); 13409 13410 WriteLiteralTo(__razor_helper_writer, " data-src=\"/Admin/Public/GetImage.ashx?width=992&amp;height=760&amp;crop=0&amp;Co" + 13411 "mpression=75&amp;DoNotUpscale=1&amp;image="); 13412 13413 13414 #line 3566 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13415 WriteTo(__razor_helper_writer, image); 13416 13417 13418 #line default 13419 #line hidden 13420 WriteLiteralTo(__razor_helper_writer, "\""); 13421 13422 WriteLiteralTo(__razor_helper_writer, " class=\"b-lazy flex-img js-gallery\""); 13423 13424 WriteLiteralTo(__razor_helper_writer, " alt=\"\""); 13425 13426 WriteLiteralTo(__razor_helper_writer, " data-for=\"ParagraphGallery\""); 13427 13428 WriteLiteralTo(__razor_helper_writer, " data-image=\""); 13429 13430 13431 #line 3566 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13432 WriteTo(__razor_helper_writer, imagePrefix); 13433 13434 13435 #line default 13436 #line hidden 13437 13438 #line 3566 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13439 WriteTo(__razor_helper_writer, image); 13440 13441 13442 #line default 13443 #line hidden 13444 WriteLiteralTo(__razor_helper_writer, "\""); 13445 13446 WriteLiteralTo(__razor_helper_writer, " />\r\n </span>\r\n <span"); 13447 13448 WriteLiteralTo(__razor_helper_writer, " class=\"gallery__image-counter\""); 13449 13450 WriteLiteralTo(__razor_helper_writer, ">\r\n <i"); 13451 13452 WriteLiteralTo(__razor_helper_writer, " class=\"fas fa-camera fa-2x\""); 13453 13454 WriteLiteralTo(__razor_helper_writer, "></i> <span"); 13455 13456 WriteLiteralTo(__razor_helper_writer, " class=\"gallery__image-counter__number\""); 13457 13458 WriteLiteralTo(__razor_helper_writer, ">"); 13459 13460 13461 #line 3569 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13462 WriteTo(__razor_helper_writer, imagesCount); 13463 13464 13465 #line default 13466 #line hidden 13467 WriteLiteralTo(__razor_helper_writer, "</span>\r\n <span"); 13468 13469 WriteLiteralTo(__razor_helper_writer, " class=\"gallery__image-counter__text\""); 13470 13471 WriteLiteralTo(__razor_helper_writer, ">"); 13472 13473 13474 #line 3570 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13475 WriteTo(__razor_helper_writer, Translate("See all")); 13476 13477 13478 #line default 13479 #line hidden 13480 WriteLiteralTo(__razor_helper_writer, " <i"); 13481 13482 WriteLiteralTo(__razor_helper_writer, " class=\"fas fa-angle-right\""); 13483 13484 WriteLiteralTo(__razor_helper_writer, "></i></span>\r\n </span>\r\n </label>\r\n"); 13485 13486 13487 #line 3573 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13488 } 13489 else 13490 { 13491 13492 13493 #line default 13494 #line hidden 13495 WriteLiteralTo(__razor_helper_writer, " <div"); 13496 13497 WriteLiteralTo(__razor_helper_writer, " class=\"u-hidden js-gallery\""); 13498 13499 WriteLiteralTo(__razor_helper_writer, " data-for=\"ParagraphGallery\""); 13500 13501 WriteLiteralTo(__razor_helper_writer, " data-image=\""); 13502 13503 13504 #line 3576 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13505 WriteTo(__razor_helper_writer, imagePrefix); 13506 13507 13508 #line default 13509 #line hidden 13510 13511 #line 3576 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13512 WriteTo(__razor_helper_writer, image); 13513 13514 13515 #line default 13516 #line hidden 13517 WriteLiteralTo(__razor_helper_writer, "\""); 13518 13519 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 13520 13521 13522 #line 3577 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13523 } 13524 13525 count++; 13526 } 13527 } 13528 13529 13530 13531 #line default 13532 #line hidden 13533 13534 #line 3583 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13535 WriteTo(__razor_helper_writer, Render(new ArticleGalleryModal())); 13536 13537 13538 #line default 13539 #line hidden 13540 13541 #line 3583 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13542 13543 } 13544 13545 13546 #line default 13547 #line hidden 13548 }); 13549 13550 #line 3585 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13551 } 13552 #line default 13553 #line hidden 13554 13555 13556 #line 3587 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13557 public RazorEngine.Templating.TemplateWriter RenderMobileFilters(List<Block> subBlocks) 13558 { 13559 #line default 13560 #line hidden 13561 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 13562 13563 #line 3588 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13564 13565 if (subBlocks.Count > 0) 13566 { 13567 13568 13569 #line default 13570 #line hidden 13571 WriteLiteralTo(__razor_helper_writer, " <div"); 13572 13573 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-12\""); 13574 13575 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 13576 13577 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 13578 13579 WriteLiteralTo(__razor_helper_writer, " id=\"CheckFilters\""); 13580 13581 WriteLiteralTo(__razor_helper_writer, " class=\"js-remember-state u-hidden\""); 13582 13583 WriteLiteralTo(__razor_helper_writer, " data-expand=\"CheckFilters\""); 13584 13585 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 13586 13587 WriteLiteralTo(__razor_helper_writer, " class=\"grid u-margin-bottom dw-mod\""); 13588 13589 WriteLiteralTo(__razor_helper_writer, " data-trigger=\"CheckFilters\""); 13590 13591 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 13592 13593 WriteLiteralTo(__razor_helper_writer, " "); 13594 13595 13596 #line 3594 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13597 WriteTo(__razor_helper_writer, RenderBlockList(subBlocks)); 13598 13599 13600 #line default 13601 #line hidden 13602 WriteLiteralTo(__razor_helper_writer, " \r\n </div>\r\n <label"); 13603 13604 WriteLiteralTo(__razor_helper_writer, " for=\"CheckFilters\""); 13605 13606 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn--secondary btn--full dw-mod js-expand-hide\""); 13607 13608 WriteLiteralTo(__razor_helper_writer, " data-trigger=\"CheckFilters\""); 13609 13610 WriteLiteralTo(__razor_helper_writer, ">"); 13611 13612 13613 #line 3596 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13614 WriteTo(__razor_helper_writer, Translate("Select filters")); 13615 13616 13617 #line default 13618 #line hidden 13619 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <label"); 13620 13621 WriteLiteralTo(__razor_helper_writer, " for=\"CheckFilters\""); 13622 13623 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn--secondary btn--full dw-mod expandable--collapsed\""); 13624 13625 WriteLiteralTo(__razor_helper_writer, " data-trigger=\"CheckFilters\""); 13626 13627 WriteLiteralTo(__razor_helper_writer, ">"); 13628 13629 13630 #line 3597 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13631 WriteTo(__razor_helper_writer, Translate("Close filters")); 13632 13633 13634 #line default 13635 #line hidden 13636 WriteLiteralTo(__razor_helper_writer, "</label>\r\n </div>\r\n"); 13637 13638 13639 #line 3599 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13640 } 13641 13642 13643 #line default 13644 #line hidden 13645 }); 13646 13647 #line 3600 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13648 } 13649 #line default 13650 #line hidden 13651 13652 13653 #line 3615 "e:\WGOIISShare\WGO_Prod\Files\Templates\Designs\Rapido\ItemPublisher\List\FocusList.cshtml" 13654 public RazorEngine.Templating.TemplateWriter RenderPaginationCustom(string pagingTag) 13655 { 13656 #line default 13657 #line hidden 136