LATEST NEWS

 

Error compiling template "Designs/Rapido/ItemPublisher/List/NewsList.cshtml"
Line 14104: Type 'RazorEngine_2bc65dd0d71844969519ff9d83ef3da9' already defines a member called 'RenderPaginationItem' with the same parameter types
Line 13857: 'Pagination.PagingTag' is obsolete
Line 14390: 'Pagination.PagingTag' is obsolete

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 3606 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 14 using System; 15 16 #line default 17 #line hidden 18 19 #line 3608 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 20 using System.Collections.Generic; 21 22 #line default 23 #line hidden 24 25 #line 2141 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 26 using System.Linq; 27 28 #line default 29 #line hidden 30 31 #line 3607 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 32 using System.Web; 33 34 #line default 35 #line hidden 36 37 #line 293 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 38 using System.IO; 39 40 #line default 41 #line hidden 42 43 #line 3609 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 44 using Dynamicweb.Rapido.Blocks; 45 46 #line default 47 #line hidden 48 49 #line 3419 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 50 using Dynamicweb.Rapido.Blocks.Components.Articles; 51 52 #line default 53 #line hidden 54 55 #line 3595 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 56 using Dynamicweb.Rapido.Blocks.Components.General; 57 58 #line default 59 #line hidden 60 61 #line 3416 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 62 using System.Text.RegularExpressions; 63 64 #line default 65 #line hidden 66 67 #line 3513 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 68 using System.Reflection; 69 70 #line default 71 #line hidden 72 73 #line 2233 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 74 using System.Web.UI.HtmlControls; 75 76 #line default 77 #line hidden 78 79 #line 3514 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 80 using Dynamicweb.Rapido.Blocks.Components; 81 82 #line default 83 #line hidden 84 85 #line 142 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 86 using Dynamicweb.Rapido.Blocks.Components.Documentation; 87 88 #line default 89 #line hidden 90 91 #line 3605 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 92 using Dynamicweb.Core; 93 94 #line default 95 #line hidden 96 97 #line 3596 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 98 using Dynamicweb.Rapido.Blocks.Components.Ecommerce; 99 100 #line default 101 #line hidden 102 103 #line 2589 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 104 using Dynamicweb.Frontend; 105 106 #line default 107 #line hidden 108 109 #line 2590 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 110 using Dynamicweb.Content.Items; 111 112 #line default 113 #line hidden 114 115 116 public class RazorEngine_2bc65dd0d71844969519ff9d83ef3da9 : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> { 117 118 #line hidden 119 120 #line 8 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 121 122 BlocksPage newsListPage = BlocksPage.GetBlockPage("NewsList"); 123 124 string Truncate(string value, int maxChars) 125 { 126 return value.Length <= maxChars ? value : value.Substring(0, maxChars) + "..."; 127 } 128 129 #line default 130 #line hidden 131 132 133 #line 148 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 134 public RazorEngine.Templating.TemplateWriter RenderBlockList(List<Block> blocks) 135 { 136 #line default 137 #line hidden 138 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 139 140 #line 149 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 141 142 bool debug = !String.IsNullOrEmpty(HttpContext.Current.Request.QueryString.Get("debug")) ? Convert.ToBoolean(HttpContext.Current.Request.QueryString.Get("debug")) : false; 143 blocks = blocks.OrderBy(item => item.SortId).ToList(); 144 145 foreach (Block item in blocks) 146 { 147 if (debug) { 148 149 150 #line default 151 #line hidden 152 WriteLiteralTo(__razor_helper_writer, " <!-- Block START: "); 153 154 155 #line 156 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 156 WriteTo(__razor_helper_writer, item.Id); 157 158 159 #line default 160 #line hidden 161 WriteLiteralTo(__razor_helper_writer, " -->\n"); 162 163 164 #line 157 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 165 } 166 167 if (item.Design == null) 168 { 169 170 171 #line default 172 #line hidden 173 174 #line 161 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 175 WriteTo(__razor_helper_writer, RenderBlock(item)); 176 177 178 #line default 179 #line hidden 180 181 #line 161 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 182 183 } 184 else if (item.Design.RenderType == RenderType.None) { 185 string cssClass = item.Design.CssClass != null ? item.Design.CssClass : ""; 186 187 188 189 #line default 190 #line hidden 191 WriteLiteralTo(__razor_helper_writer, " <div"); 192 193 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 5464), Tuple.Create("\"", 5488) 194 195 #line 166 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 196 , Tuple.Create(Tuple.Create("", 5472), Tuple.Create<System.Object, System.Int32>(cssClass 197 198 #line default 199 #line hidden 200 , 5472), false) 201 , Tuple.Create(Tuple.Create(" ", 5481), Tuple.Create("dw-mod", 5482), true) 202 ); 203 204 WriteLiteralTo(__razor_helper_writer, ">\n"); 205 206 WriteLiteralTo(__razor_helper_writer, " "); 207 208 209 #line 167 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 210 WriteTo(__razor_helper_writer, RenderBlock(item)); 211 212 213 #line default 214 #line hidden 215 WriteLiteralTo(__razor_helper_writer, "\n </div>\n"); 216 217 218 #line 169 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 219 } 220 else if (item.Design.RenderType != RenderType.Hide) 221 { 222 string cssClass = item.Design.CssClass != null ? item.Design.CssClass : ""; 223 224 if (!item.SkipRenderBlocksList) { 225 if (item.Design.RenderType == RenderType.Row) 226 { 227 228 229 #line default 230 #line hidden 231 WriteLiteralTo(__razor_helper_writer, " <div"); 232 233 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 5863), Tuple.Create("\"", 5918) 234 , Tuple.Create(Tuple.Create("", 5871), Tuple.Create("grid", 5871), true) 235 , Tuple.Create(Tuple.Create(" ", 5875), Tuple.Create("grid--align-content-start", 5876), true) 236 237 #line 177 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 238 , Tuple.Create(Tuple.Create(" ", 5901), Tuple.Create<System.Object, System.Int32>(cssClass 239 240 #line default 241 #line hidden 242 , 5902), false) 243 , Tuple.Create(Tuple.Create(" ", 5911), Tuple.Create("dw-mod", 5912), true) 244 ); 245 246 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 5919), Tuple.Create("\"", 5939) 247 , Tuple.Create(Tuple.Create("", 5924), Tuple.Create("Block__", 5924), true) 248 249 #line 177 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 250 , Tuple.Create(Tuple.Create("", 5931), Tuple.Create<System.Object, System.Int32>(item.Id 251 252 #line default 253 #line hidden 254 , 5931), false) 255 ); 256 257 WriteLiteralTo(__razor_helper_writer, ">\n"); 258 259 WriteLiteralTo(__razor_helper_writer, " "); 260 261 262 #line 178 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 263 WriteTo(__razor_helper_writer, RenderBlock(item)); 264 265 266 #line default 267 #line hidden 268 WriteLiteralTo(__razor_helper_writer, "\n </div>\n"); 269 270 271 #line 180 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 272 } 273 274 if (item.Design.RenderType == RenderType.Column) 275 { 276 string hidePadding = item.Design.HidePadding ? "u-no-padding" : ""; 277 string size = item.Design.Size ?? "12"; 278 size = Regex.IsMatch(size, @"\d") ? "md-" + item.Design.Size : item.Design.Size; 279 280 281 282 #line default 283 #line hidden 284 WriteLiteralTo(__razor_helper_writer, " <div"); 285 286 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 6388), Tuple.Create("\"", 6519) 287 , Tuple.Create(Tuple.Create("", 6396), Tuple.Create("grid__col-lg-", 6396), true) 288 289 #line 188 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 290 , Tuple.Create(Tuple.Create("", 6409), Tuple.Create<System.Object, System.Int32>(item.Design.Size 291 292 #line default 293 #line hidden 294 , 6409), false) 295 , Tuple.Create(Tuple.Create(" ", 6426), Tuple.Create("grid__col-md-", 6427), true) 296 297 #line 188 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 298 , Tuple.Create(Tuple.Create("", 6440), Tuple.Create<System.Object, System.Int32>(item.Design.Size 299 300 #line default 301 #line hidden 302 , 6440), false) 303 , Tuple.Create(Tuple.Create(" ", 6457), Tuple.Create("grid__col-sm-12", 6458), true) 304 , Tuple.Create(Tuple.Create(" ", 6473), Tuple.Create("grid__col-xs-12", 6474), true) 305 306 #line 188 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 307 , Tuple.Create(Tuple.Create(" ", 6489), Tuple.Create<System.Object, System.Int32>(hidePadding 308 309 #line default 310 #line hidden 311 , 6490), false) 312 313 #line 188 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 314 , Tuple.Create(Tuple.Create(" ", 6502), Tuple.Create<System.Object, System.Int32>(cssClass 315 316 #line default 317 #line hidden 318 , 6503), false) 319 , Tuple.Create(Tuple.Create(" ", 6512), Tuple.Create("dw-mod", 6513), true) 320 ); 321 322 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 6520), Tuple.Create("\"", 6540) 323 , Tuple.Create(Tuple.Create("", 6525), Tuple.Create("Block__", 6525), true) 324 325 #line 188 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 326 , Tuple.Create(Tuple.Create("", 6532), Tuple.Create<System.Object, System.Int32>(item.Id 327 328 #line default 329 #line hidden 330 , 6532), false) 331 ); 332 333 WriteLiteralTo(__razor_helper_writer, ">\n"); 334 335 WriteLiteralTo(__razor_helper_writer, " "); 336 337 338 #line 189 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 339 WriteTo(__razor_helper_writer, RenderBlock(item)); 340 341 342 #line default 343 #line hidden 344 WriteLiteralTo(__razor_helper_writer, "\n </div>\n"); 345 346 347 #line 191 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 348 } 349 350 if (item.Design.RenderType == RenderType.Table) 351 { 352 353 354 #line default 355 #line hidden 356 WriteLiteralTo(__razor_helper_writer, " <table"); 357 358 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 6740), Tuple.Create("\"", 6770) 359 , Tuple.Create(Tuple.Create("", 6748), Tuple.Create("table", 6748), true) 360 361 #line 195 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 362 , Tuple.Create(Tuple.Create(" ", 6753), Tuple.Create<System.Object, System.Int32>(cssClass 363 364 #line default 365 #line hidden 366 , 6754), false) 367 , Tuple.Create(Tuple.Create(" ", 6763), Tuple.Create("dw-mod", 6764), true) 368 ); 369 370 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 6771), Tuple.Create("\"", 6791) 371 , Tuple.Create(Tuple.Create("", 6776), Tuple.Create("Block__", 6776), true) 372 373 #line 195 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 374 , Tuple.Create(Tuple.Create("", 6783), Tuple.Create<System.Object, System.Int32>(item.Id 375 376 #line default 377 #line hidden 378 , 6783), false) 379 ); 380 381 WriteLiteralTo(__razor_helper_writer, ">\n"); 382 383 WriteLiteralTo(__razor_helper_writer, " "); 384 385 386 #line 196 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 387 WriteTo(__razor_helper_writer, RenderBlock(item)); 388 389 390 #line default 391 #line hidden 392 WriteLiteralTo(__razor_helper_writer, "\n </table>\n"); 393 394 395 #line 198 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 396 } 397 398 if (item.Design.RenderType == RenderType.TableRow) 399 { 400 401 402 #line default 403 #line hidden 404 WriteLiteralTo(__razor_helper_writer, " <tr"); 405 406 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 6993), Tuple.Create("\"", 7017) 407 408 #line 202 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 409 , Tuple.Create(Tuple.Create("", 7001), Tuple.Create<System.Object, System.Int32>(cssClass 410 411 #line default 412 #line hidden 413 , 7001), false) 414 , Tuple.Create(Tuple.Create(" ", 7010), Tuple.Create("dw-mod", 7011), true) 415 ); 416 417 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 7018), Tuple.Create("\"", 7038) 418 , Tuple.Create(Tuple.Create("", 7023), Tuple.Create("Block__", 7023), true) 419 420 #line 202 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 421 , Tuple.Create(Tuple.Create("", 7030), Tuple.Create<System.Object, System.Int32>(item.Id 422 423 #line default 424 #line hidden 425 , 7030), false) 426 ); 427 428 WriteLiteralTo(__razor_helper_writer, ">\n"); 429 430 WriteLiteralTo(__razor_helper_writer, " "); 431 432 433 #line 203 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 434 WriteTo(__razor_helper_writer, RenderBlock(item)); 435 436 437 #line default 438 #line hidden 439 WriteLiteralTo(__razor_helper_writer, "\n </tr>\n"); 440 441 442 #line 205 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 443 } 444 445 if (item.Design.RenderType == RenderType.TableColumn) 446 { 447 448 449 #line default 450 #line hidden 451 WriteLiteralTo(__razor_helper_writer, " <td"); 452 453 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 7240), Tuple.Create("\"", 7264) 454 455 #line 209 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 456 , Tuple.Create(Tuple.Create("", 7248), Tuple.Create<System.Object, System.Int32>(cssClass 457 458 #line default 459 #line hidden 460 , 7248), false) 461 , Tuple.Create(Tuple.Create(" ", 7257), Tuple.Create("dw-mod", 7258), true) 462 ); 463 464 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 7265), Tuple.Create("\"", 7285) 465 , Tuple.Create(Tuple.Create("", 7270), Tuple.Create("Block__", 7270), true) 466 467 #line 209 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 468 , Tuple.Create(Tuple.Create("", 7277), Tuple.Create<System.Object, System.Int32>(item.Id 469 470 #line default 471 #line hidden 472 , 7277), false) 473 ); 474 475 WriteLiteralTo(__razor_helper_writer, ">\n"); 476 477 WriteLiteralTo(__razor_helper_writer, " "); 478 479 480 #line 210 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 481 WriteTo(__razor_helper_writer, RenderBlock(item)); 482 483 484 #line default 485 #line hidden 486 WriteLiteralTo(__razor_helper_writer, "\n </td>\n"); 487 488 489 #line 212 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 490 } 491 492 if (item.Design.RenderType == RenderType.CardHeader) 493 { 494 495 496 #line default 497 #line hidden 498 WriteLiteralTo(__razor_helper_writer, " <div"); 499 500 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 7487), Tuple.Create("\"", 7523) 501 , Tuple.Create(Tuple.Create("", 7495), Tuple.Create("card-header", 7495), true) 502 503 #line 216 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 504 , Tuple.Create(Tuple.Create(" ", 7506), Tuple.Create<System.Object, System.Int32>(cssClass 505 506 #line default 507 #line hidden 508 , 7507), false) 509 , Tuple.Create(Tuple.Create(" ", 7516), Tuple.Create("dw-mod", 7517), true) 510 ); 511 512 WriteLiteralTo(__razor_helper_writer, ">\n"); 513 514 WriteLiteralTo(__razor_helper_writer, " "); 515 516 517 #line 217 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 518 WriteTo(__razor_helper_writer, RenderBlock(item)); 519 520 521 #line default 522 #line hidden 523 WriteLiteralTo(__razor_helper_writer, "\n </div>\n"); 524 525 526 #line 219 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 527 } 528 529 if (item.Design.RenderType == RenderType.CardBody) 530 { 531 532 533 #line default 534 #line hidden 535 WriteLiteralTo(__razor_helper_writer, " <div"); 536 537 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 7724), Tuple.Create("\"", 7753) 538 , Tuple.Create(Tuple.Create("", 7732), Tuple.Create("card", 7732), true) 539 540 #line 223 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 541 , Tuple.Create(Tuple.Create(" ", 7736), Tuple.Create<System.Object, System.Int32>(cssClass 542 543 #line default 544 #line hidden 545 , 7737), false) 546 , Tuple.Create(Tuple.Create(" ", 7746), Tuple.Create("dw-mod", 7747), true) 547 ); 548 549 WriteLiteralTo(__razor_helper_writer, ">\n"); 550 551 WriteLiteralTo(__razor_helper_writer, " "); 552 553 554 #line 224 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 555 WriteTo(__razor_helper_writer, RenderBlock(item)); 556 557 558 #line default 559 #line hidden 560 WriteLiteralTo(__razor_helper_writer, "\n </div>\n"); 561 562 563 #line 226 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 564 } 565 566 if (item.Design.RenderType == RenderType.CardFooter) 567 { 568 569 570 #line default 571 #line hidden 572 WriteLiteralTo(__razor_helper_writer, " <div"); 573 574 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 7956), Tuple.Create("\"", 7992) 575 , Tuple.Create(Tuple.Create("", 7964), Tuple.Create("card-footer", 7964), true) 576 577 #line 230 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 578 , Tuple.Create(Tuple.Create(" ", 7975), Tuple.Create<System.Object, System.Int32>(cssClass 579 580 #line default 581 #line hidden 582 , 7976), false) 583 , Tuple.Create(Tuple.Create(" ", 7985), Tuple.Create("dw-mod", 7986), true) 584 ); 585 586 WriteLiteralTo(__razor_helper_writer, ">\n"); 587 588 WriteLiteralTo(__razor_helper_writer, " "); 589 590 591 #line 231 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 592 WriteTo(__razor_helper_writer, RenderBlock(item)); 593 594 595 #line default 596 #line hidden 597 WriteLiteralTo(__razor_helper_writer, "\n </div>\n"); 598 599 600 #line 233 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 601 } 602 } 603 else 604 { 605 606 607 #line default 608 #line hidden 609 610 #line 237 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 611 WriteTo(__razor_helper_writer, RenderBlock(item)); 612 613 614 #line default 615 #line hidden 616 617 #line 237 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 618 619 } 620 } 621 622 if (debug) { 623 624 625 #line default 626 #line hidden 627 WriteLiteralTo(__razor_helper_writer, " <!-- Block END: "); 628 629 630 #line 242 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 631 WriteTo(__razor_helper_writer, item.Id); 632 633 634 #line default 635 #line hidden 636 WriteLiteralTo(__razor_helper_writer, " -->\n"); 637 638 639 #line 243 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 640 } 641 } 642 643 644 #line default 645 #line hidden 646 }); 647 648 #line 245 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 649 } 650 #line default 651 #line hidden 652 653 654 #line 247 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 655 public RazorEngine.Templating.TemplateWriter RenderBlock(Block item) 656 { 657 #line default 658 #line hidden 659 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 660 661 #line 248 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 662 663 bool debug = !String.IsNullOrEmpty(HttpContext.Current.Request.QueryString.Get("debug")) ? Convert.ToBoolean(HttpContext.Current.Request.QueryString.Get("debug")) : false; 664 665 if (item.Template != null) 666 { 667 668 669 #line default 670 #line hidden 671 672 #line 253 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 673 WriteTo(__razor_helper_writer, BlocksPage.RenderTemplate(item.Template)); 674 675 676 #line default 677 #line hidden 678 679 #line 253 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 680 681 } 682 683 if (item.Component != null) 684 { 685 string customSufix = "Custom"; 686 string methodName = item.Component.HelperName; 687 688 ComponentBase[] methodParameters = new ComponentBase[1]; 689 methodParameters[0] = item.Component; 690 Type methodType = this.GetType(); 691 692 MethodInfo customMethod = methodType.GetMethod(methodName + customSufix); 693 MethodInfo generalMethod = methodType.GetMethod(methodName); 694 695 try { 696 if (debug) { 697 698 699 #line default 700 #line hidden 701 WriteLiteralTo(__razor_helper_writer, " <!-- Component: "); 702 703 704 #line 270 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 705 WriteTo(__razor_helper_writer, methodName); 706 707 708 #line default 709 #line hidden 710 WriteLiteralTo(__razor_helper_writer, " -->\n"); 711 712 713 #line 271 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 714 } 715 716 717 #line default 718 #line hidden 719 720 #line 272 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 721 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 722 723 724 #line default 725 #line hidden 726 727 #line 272 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 728 ; 729 } catch { 730 try { 731 732 733 #line default 734 #line hidden 735 736 #line 275 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 737 WriteTo(__razor_helper_writer, generalMethod.Invoke(this, methodParameters).ToString()); 738 739 740 #line default 741 #line hidden 742 743 #line 275 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 744 ; 745 } catch(Exception ex) { 746 throw new Exception(item.Component.GetType().Name + " method '" + methodName +"' could not be invoked", ex); 747 } 748 } 749 } 750 751 if (item.BlocksList.Count > 0 && !item.SkipRenderBlocksList) 752 { 753 754 755 #line default 756 #line hidden 757 758 #line 284 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 759 WriteTo(__razor_helper_writer, RenderBlockList(item.BlocksList)); 760 761 762 #line default 763 #line hidden 764 765 #line 284 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 766 767 } 768 769 770 #line default 771 #line hidden 772 }); 773 774 #line 286 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 775 } 776 #line default 777 #line hidden 778 779 780 #line 301 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 781 public RazorEngine.Templating.TemplateWriter Render(ComponentBase component) 782 { 783 #line default 784 #line hidden 785 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 786 787 #line 302 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 788 789 if (component != null) 790 { 791 792 793 #line default 794 #line hidden 795 796 #line 305 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 797 WriteTo(__razor_helper_writer, component.Render(this)); 798 799 800 #line default 801 #line hidden 802 803 #line 305 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 804 805 } 806 807 808 #line default 809 #line hidden 810 }); 811 812 #line 307 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 813 } 814 #line default 815 #line hidden 816 817 818 #line 316 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 819 public RazorEngine.Templating.TemplateWriter RenderIcon(Icon settings) 820 { 821 #line default 822 #line hidden 823 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 824 825 #line 317 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 826 827 if (settings != null) 828 { 829 string color = settings.Color != null ? "style=\"color: " + settings.Color + "\"" : ""; 830 831 if (settings.Name != null) 832 { 833 if (string.IsNullOrEmpty(settings.Label)) 834 { 835 836 837 #line default 838 #line hidden 839 WriteLiteralTo(__razor_helper_writer, " <i"); 840 841 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 10490), Tuple.Create("\"", 10548) 842 843 #line 326 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 844 , Tuple.Create(Tuple.Create("", 10498), Tuple.Create<System.Object, System.Int32>(settings.Prefix 845 846 #line default 847 #line hidden 848 , 10498), false) 849 850 #line 326 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 851 , Tuple.Create(Tuple.Create(" ", 10514), Tuple.Create<System.Object, System.Int32>(settings.Name 852 853 #line default 854 #line hidden 855 , 10515), false) 856 857 #line 326 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 858 , Tuple.Create(Tuple.Create(" ", 10529), Tuple.Create<System.Object, System.Int32>(settings.CssClass 859 860 #line default 861 #line hidden 862 , 10530), false) 863 ); 864 865 WriteLiteralTo(__razor_helper_writer, " "); 866 867 868 #line 326 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 869 WriteTo(__razor_helper_writer, color); 870 871 872 #line default 873 #line hidden 874 WriteLiteralTo(__razor_helper_writer, "></i>\r\n"); 875 876 877 #line 327 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 878 } 879 else 880 { 881 if (settings.LabelPosition == IconLabelPosition.Before) 882 { 883 884 885 #line default 886 #line hidden 887 WriteLiteralTo(__razor_helper_writer, " <div"); 888 889 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 10727), Tuple.Create("\"", 10787) 890 , Tuple.Create(Tuple.Create("", 10735), Tuple.Create("u-flex", 10735), true) 891 , Tuple.Create(Tuple.Create(" ", 10741), Tuple.Create("u-flex--align-items-center", 10742), true) 892 893 #line 332 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 894 , Tuple.Create(Tuple.Create(" ", 10768), Tuple.Create<System.Object, System.Int32>(settings.CssClass 895 896 #line default 897 #line hidden 898 , 10769), false) 899 ); 900 901 WriteLiteralTo(__razor_helper_writer, ">"); 902 903 904 #line 332 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 905 WriteTo(__razor_helper_writer, settings.Label); 906 907 908 #line default 909 #line hidden 910 WriteLiteralTo(__razor_helper_writer, " <i"); 911 912 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 10807), Tuple.Create("\"", 10860) 913 914 #line 332 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 915 , Tuple.Create(Tuple.Create("", 10815), Tuple.Create<System.Object, System.Int32>(settings.Prefix 916 917 #line default 918 #line hidden 919 , 10815), false) 920 921 #line 332 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 922 , Tuple.Create(Tuple.Create(" ", 10831), Tuple.Create<System.Object, System.Int32>(settings.Name 923 924 #line default 925 #line hidden 926 , 10832), false) 927 , Tuple.Create(Tuple.Create(" ", 10846), Tuple.Create("u-margin-left", 10847), true) 928 ); 929 930 WriteLiteralTo(__razor_helper_writer, " "); 931 932 933 #line 332 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 934 WriteTo(__razor_helper_writer, color); 935 936 937 #line default 938 #line hidden 939 WriteLiteralTo(__razor_helper_writer, "></i></div>\r\n"); 940 941 942 #line 333 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 943 } 944 else 945 { 946 947 948 #line default 949 #line hidden 950 WriteLiteralTo(__razor_helper_writer, " <div"); 951 952 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 10965), Tuple.Create("\"", 11025) 953 , Tuple.Create(Tuple.Create("", 10973), Tuple.Create("u-flex", 10973), true) 954 , Tuple.Create(Tuple.Create(" ", 10979), Tuple.Create("u-flex--align-items-center", 10980), true) 955 956 #line 336 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 957 , Tuple.Create(Tuple.Create(" ", 11006), Tuple.Create<System.Object, System.Int32>(settings.CssClass 958 959 #line default 960 #line hidden 961 , 11007), false) 962 ); 963 964 WriteLiteralTo(__razor_helper_writer, "><i"); 965 966 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 11029), Tuple.Create("\"", 11095) 967 968 #line 336 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 969 , Tuple.Create(Tuple.Create("", 11037), Tuple.Create<System.Object, System.Int32>(settings.Prefix 970 971 #line default 972 #line hidden 973 , 11037), false) 974 975 #line 336 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 976 , Tuple.Create(Tuple.Create(" ", 11053), Tuple.Create<System.Object, System.Int32>(settings.Name 977 978 #line default 979 #line hidden 980 , 11054), false) 981 , Tuple.Create(Tuple.Create(" ", 11068), Tuple.Create("u-margin-right--lg", 11069), true) 982 , Tuple.Create(Tuple.Create(" ", 11087), Tuple.Create("u-w20px", 11088), true) 983 ); 984 985 WriteLiteralTo(__razor_helper_writer, " "); 986 987 988 #line 336 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 989 WriteTo(__razor_helper_writer, color); 990 991 992 #line default 993 #line hidden 994 WriteLiteralTo(__razor_helper_writer, "></i>"); 995 996 997 #line 336 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 998 WriteTo(__razor_helper_writer, settings.Label); 999 1000 1001 #line default 1002 #line hidden 1003 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 1004 1005 1006 #line 337 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1007 } 1008 } 1009 } 1010 else if (!string.IsNullOrEmpty(settings.Label)) 1011 { 1012 1013 1014 #line default 1015 #line hidden 1016 1017 #line 342 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1018 WriteTo(__razor_helper_writer, settings.Label); 1019 1020 1021 #line default 1022 #line hidden 1023 1024 #line 342 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1025 1026 } 1027 } 1028 1029 1030 #line default 1031 #line hidden 1032 }); 1033 1034 #line 345 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1035 } 1036 #line default 1037 #line hidden 1038 1039 1040 #line 353 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1041 public RazorEngine.Templating.TemplateWriter RenderButton(Button settings) 1042 { 1043 #line default 1044 #line hidden 1045 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1046 1047 #line 354 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1048 1049 if (settings != null && (!string.IsNullOrEmpty(settings.Title) || settings.Icon != null)) 1050 { 1051 Dictionary<string, string> attributes = new Dictionary<string, string>(); 1052 List<string> classList = settings.CssClass != null ? settings.CssClass.Split(' ').ToList() : new List<string>(); 1053 if (settings.Disabled) { 1054 attributes.Add("disabled", "true"); 1055 classList.Add("disabled"); 1056 } 1057 1058 if (!string.IsNullOrEmpty(settings.ConfirmText) || !string.IsNullOrEmpty(settings.ConfirmTitle)) 1059 { 1060 settings.Id = !string.IsNullOrEmpty(settings.Id) ? settings.Id : Guid.NewGuid().ToString("N"); 1061 1062 1063 #line default 1064 #line hidden 1065 1066 #line 367 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1067 WriteTo(__razor_helper_writer, RenderConfirmDialog(settings)); 1068 1069 1070 #line default 1071 #line hidden 1072 1073 #line 367 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1074 ; 1075 settings.OnClick = "document.getElementById('" + settings.Id + "ModalTrigger').checked = true"; 1076 } 1077 1078 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 1079 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 1080 if (!string.IsNullOrEmpty(settings.AltText)) 1081 { 1082 attributes.Add("title", settings.AltText); 1083 } 1084 else if (!string.IsNullOrEmpty(settings.Title)) 1085 { 1086 attributes.Add("title", settings.Title); 1087 } 1088 1089 var onClickEvents = new List<string>(); 1090 if (!string.IsNullOrEmpty(settings.OnClick)) 1091 { 1092 onClickEvents.Add(settings.OnClick); 1093 } 1094 if (!string.IsNullOrEmpty(settings.Href)) 1095 { 1096 onClickEvents.Add("location.href='" + settings.Href + "'"); 1097 } 1098 if (onClickEvents.Count > 0) 1099 { 1100 attributes.Add("onClick", string.Join(";", onClickEvents)); 1101 } 1102 1103 if (settings.ButtonLayout != ButtonLayout.None) 1104 { 1105 classList.Add("btn"); 1106 string btnLayout = Enum.GetName(typeof(ButtonLayout), settings.ButtonLayout).ToLower(); 1107 if (btnLayout == "linkclean") 1108 { 1109 btnLayout = "link-clean"; //fix 1110 } 1111 classList.Add("btn--" + btnLayout); 1112 } 1113 1114 if (settings.Icon == null) 1115 { 1116 settings.Icon = new Icon(); 1117 } 1118 1119 settings.Icon.CssClass += Enum.GetName(typeof(ButtonLayout), settings.ButtonLayout).ToLower() != "linkclean" ? " u-flex--align-center" : ""; 1120 settings.Icon.Label = settings.Title; 1121 1122 attributes.Add("type", Enum.GetName(typeof(ButtonType), settings.ButtonType).ToLower()); 1123 1124 1125 1126 #line default 1127 #line hidden 1128 WriteLiteralTo(__razor_helper_writer, " <button"); 1129 1130 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 13910), Tuple.Create("\"", 13953) 1131 1132 #line 417 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1133 , Tuple.Create(Tuple.Create("", 13918), Tuple.Create<System.Object, System.Int32>(string.Join(" ", classList) 1134 1135 #line default 1136 #line hidden 1137 , 13918), false) 1138 , Tuple.Create(Tuple.Create(" ", 13946), Tuple.Create("dw-mod", 13947), true) 1139 ); 1140 1141 WriteLiteralTo(__razor_helper_writer, " "); 1142 1143 1144 #line 417 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1145 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(attributes)); 1146 1147 1148 #line default 1149 #line hidden 1150 WriteLiteralTo(__razor_helper_writer, " "); 1151 1152 1153 #line 417 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1154 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1155 1156 1157 #line default 1158 #line hidden 1159 WriteLiteralTo(__razor_helper_writer, ">"); 1160 1161 1162 #line 417 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1163 WriteTo(__razor_helper_writer, Render(settings.Icon)); 1164 1165 1166 #line default 1167 #line hidden 1168 WriteLiteralTo(__razor_helper_writer, "</button>\r\n"); 1169 1170 1171 #line 418 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1172 } 1173 1174 1175 #line default 1176 #line hidden 1177 }); 1178 1179 #line 419 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1180 } 1181 #line default 1182 #line hidden 1183 1184 1185 #line 421 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1186 public RazorEngine.Templating.TemplateWriter RenderConfirmDialog(Button settings) 1187 { 1188 #line default 1189 #line hidden 1190 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1191 1192 #line 422 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1193 1194 Modal confirmDialog = new Modal { 1195 Id = settings.Id, 1196 Width = ModalWidth.Sm, 1197 Heading = new Heading 1198 { 1199 Level = 2, 1200 Title = settings.ConfirmTitle 1201 }, 1202 BodyText = settings.ConfirmText 1203 }; 1204 1205 confirmDialog.AddAction(new Button { Title = Translate("Cancel"), ButtonLayout = ButtonLayout.Secondary, OnClick = "document.getElementById('" + settings.Id + "ModalTrigger').checked = false"}); 1206 confirmDialog.AddAction(new Button { Title = Translate("OK"), ButtonLayout = ButtonLayout.Primary, OnClick = "document.getElementById('" + settings.Id + "ModalTrigger').checked = false;" + settings.OnClick }); 1207 1208 1209 1210 #line default 1211 #line hidden 1212 1213 #line 437 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1214 WriteTo(__razor_helper_writer, Render(confirmDialog)); 1215 1216 1217 #line default 1218 #line hidden 1219 1220 #line 437 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1221 1222 1223 1224 #line default 1225 #line hidden 1226 }); 1227 1228 #line 438 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1229 } 1230 #line default 1231 #line hidden 1232 1233 1234 #line 443 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1235 public RazorEngine.Templating.TemplateWriter RenderDashboard(Dashboard settings) 1236 { 1237 #line default 1238 #line hidden 1239 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1240 1241 #line 444 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1242 1243 var widgets = settings.GetWidgets(); 1244 1245 if (!string.IsNullOrEmpty(settings.WidgetsBaseBackgroundColor)) 1246 { 1247 //set bg color for them 1248 1249 System.Drawing.Color color = System.Drawing.ColorTranslator.FromHtml(settings.WidgetsBaseBackgroundColor); 1250 int r = Convert.ToInt16(color.R); 1251 int g = Convert.ToInt16(color.G); 1252 int b = Convert.ToInt16(color.B); 1253 1254 var count = widgets.Length; 1255 var max = Math.Max(r, Math.Max(g, b)); 1256 double step = 255.0 / (max * count); 1257 var i = 0; 1258 foreach (var widget in widgets) 1259 { 1260 i++; 1261 1262 var shade = "rgb(" + Converter.ToString(r * step * i).Replace(",", ".") + ", " + Converter.ToString(g * step * i).Replace(",", ".") + ", " + Converter.ToString(b * step * i).Replace(",", ".") + ")"; 1263 widget.BackgroundColor = shade; 1264 } 1265 } 1266 1267 1268 1269 #line default 1270 #line hidden 1271 WriteLiteralTo(__razor_helper_writer, " <div"); 1272 1273 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 15949), Tuple.Create("\"", 15992) 1274 , Tuple.Create(Tuple.Create("", 15957), Tuple.Create("dashboard", 15957), true) 1275 1276 #line 469 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1277 , Tuple.Create(Tuple.Create(" ", 15966), Tuple.Create<System.Object, System.Int32>(settings.CssClass 1278 1279 #line default 1280 #line hidden 1281 , 15967), false) 1282 , Tuple.Create(Tuple.Create(" ", 15985), Tuple.Create("dw-mod", 15986), true) 1283 ); 1284 1285 WriteLiteralTo(__razor_helper_writer, " "); 1286 1287 1288 #line 469 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1289 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1290 1291 1292 #line default 1293 #line hidden 1294 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1295 1296 1297 #line 470 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1298 1299 1300 #line default 1301 #line hidden 1302 1303 #line 470 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1304 foreach (var widget in widgets) 1305 { 1306 1307 1308 #line default 1309 #line hidden 1310 WriteLiteralTo(__razor_helper_writer, " <div"); 1311 1312 WriteLiteralTo(__razor_helper_writer, " class=\"dashboard__widget\""); 1313 1314 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1315 1316 WriteLiteralTo(__razor_helper_writer, " "); 1317 1318 1319 #line 473 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1320 WriteTo(__razor_helper_writer, Render(widget)); 1321 1322 1323 #line default 1324 #line hidden 1325 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1326 1327 1328 #line 475 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1329 } 1330 1331 1332 #line default 1333 #line hidden 1334 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 1335 1336 1337 #line 477 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1338 1339 1340 #line default 1341 #line hidden 1342 }); 1343 1344 #line 477 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1345 } 1346 #line default 1347 #line hidden 1348 1349 1350 #line 481 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1351 public RazorEngine.Templating.TemplateWriter RenderDashboardWidgetLink(DashboardWidgetLink settings) 1352 { 1353 #line default 1354 #line hidden 1355 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1356 1357 #line 482 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1358 1359 if (!string.IsNullOrEmpty(settings.Link)) 1360 { 1361 var backgroundStyles = ""; 1362 if (!string.IsNullOrEmpty(settings.BackgroundColor)) 1363 { 1364 backgroundStyles = "style=\"background-color:" + settings.BackgroundColor + "\""; 1365 } 1366 1367 1368 1369 #line default 1370 #line hidden 1371 WriteLiteralTo(__razor_helper_writer, " <a"); 1372 1373 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 16678), Tuple.Create("\"", 16699) 1374 1375 #line 491 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1376 , Tuple.Create(Tuple.Create("", 16685), Tuple.Create<System.Object, System.Int32>(settings.Link 1377 1378 #line default 1379 #line hidden 1380 , 16685), false) 1381 ); 1382 1383 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 16700), Tuple.Create("\"", 16753) 1384 , Tuple.Create(Tuple.Create("", 16708), Tuple.Create("widget", 16708), true) 1385 , Tuple.Create(Tuple.Create(" ", 16714), Tuple.Create("widget--link", 16715), true) 1386 1387 #line 491 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1388 , Tuple.Create(Tuple.Create(" ", 16727), Tuple.Create<System.Object, System.Int32>(settings.CssClass 1389 1390 #line default 1391 #line hidden 1392 , 16728), false) 1393 , Tuple.Create(Tuple.Create(" ", 16746), Tuple.Create("dw-mod", 16747), true) 1394 ); 1395 1396 WriteLiteralTo(__razor_helper_writer, " "); 1397 1398 1399 #line 491 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1400 WriteTo(__razor_helper_writer, backgroundStyles); 1401 1402 1403 #line default 1404 #line hidden 1405 WriteLiteralTo(__razor_helper_writer, " title=\""); 1406 1407 1408 #line 491 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1409 WriteTo(__razor_helper_writer, settings.Title); 1410 1411 1412 #line default 1413 #line hidden 1414 WriteLiteralTo(__razor_helper_writer, "\" "); 1415 1416 1417 #line 491 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1418 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1419 1420 1421 #line default 1422 #line hidden 1423 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1424 1425 WriteLiteralTo(__razor_helper_writer, " class=\"u-center-middle u-color-light\""); 1426 1427 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1428 1429 1430 #line 493 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1431 1432 1433 #line default 1434 #line hidden 1435 1436 #line 493 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1437 if (settings.Icon != null) 1438 { 1439 settings.Icon.CssClass += "widget__icon"; 1440 1441 1442 #line default 1443 #line hidden 1444 1445 #line 496 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1446 WriteTo(__razor_helper_writer, Render(settings.Icon)); 1447 1448 1449 #line default 1450 #line hidden 1451 1452 #line 496 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1453 1454 } 1455 1456 1457 #line default 1458 #line hidden 1459 WriteLiteralTo(__razor_helper_writer, " <div"); 1460 1461 WriteLiteralTo(__razor_helper_writer, " class=\"widget__title\""); 1462 1463 WriteLiteralTo(__razor_helper_writer, ">"); 1464 1465 1466 #line 498 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1467 WriteTo(__razor_helper_writer, settings.Title); 1468 1469 1470 #line default 1471 #line hidden 1472 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </div>\r\n </a>\r\n"); 1473 1474 1475 #line 501 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1476 } 1477 1478 1479 #line default 1480 #line hidden 1481 }); 1482 1483 #line 502 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1484 } 1485 #line default 1486 #line hidden 1487 1488 1489 #line 506 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1490 public RazorEngine.Templating.TemplateWriter RenderDashboardWidgetCounter(DashboardWidgetCounter settings) 1491 { 1492 #line default 1493 #line hidden 1494 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1495 1496 #line 507 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1497 1498 var backgroundStyles = ""; 1499 if (!string.IsNullOrEmpty(settings.BackgroundColor)) 1500 { 1501 backgroundStyles = "style='background-color:" + settings.BackgroundColor + "'"; 1502 } 1503 1504 1505 1506 #line default 1507 #line hidden 1508 WriteLiteralTo(__razor_helper_writer, " <div"); 1509 1510 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 17589), Tuple.Create("\"", 17629) 1511 , Tuple.Create(Tuple.Create("", 17597), Tuple.Create("widget", 17597), true) 1512 1513 #line 514 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1514 , Tuple.Create(Tuple.Create(" ", 17603), Tuple.Create<System.Object, System.Int32>(settings.CssClass 1515 1516 #line default 1517 #line hidden 1518 , 17604), false) 1519 , Tuple.Create(Tuple.Create(" ", 17622), Tuple.Create("dw-mod", 17623), true) 1520 ); 1521 1522 WriteLiteralTo(__razor_helper_writer, " "); 1523 1524 1525 #line 514 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1526 WriteTo(__razor_helper_writer, backgroundStyles); 1527 1528 1529 #line default 1530 #line hidden 1531 WriteLiteralTo(__razor_helper_writer, " "); 1532 1533 1534 #line 514 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1535 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1536 1537 1538 #line default 1539 #line hidden 1540 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1541 1542 WriteLiteralTo(__razor_helper_writer, " class=\"u-center-middle u-color-light\""); 1543 1544 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1545 1546 1547 #line 516 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1548 1549 1550 #line default 1551 #line hidden 1552 1553 #line 516 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1554 if (settings.Icon != null) 1555 { 1556 settings.Icon.CssClass += "widget__icon"; 1557 1558 1559 #line default 1560 #line hidden 1561 1562 #line 519 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1563 WriteTo(__razor_helper_writer, Render(settings.Icon)); 1564 1565 1566 #line default 1567 #line hidden 1568 1569 #line 519 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1570 1571 } 1572 1573 1574 #line default 1575 #line hidden 1576 WriteLiteralTo(__razor_helper_writer, " <div"); 1577 1578 WriteLiteralTo(__razor_helper_writer, " class=\"widget__counter\""); 1579 1580 WriteLiteralTo(__razor_helper_writer, ">"); 1581 1582 1583 #line 521 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1584 WriteTo(__razor_helper_writer, settings.Count); 1585 1586 1587 #line default 1588 #line hidden 1589 WriteLiteralTo(__razor_helper_writer, "</div>\r\n <div"); 1590 1591 WriteLiteralTo(__razor_helper_writer, " class=\"widget__title\""); 1592 1593 WriteLiteralTo(__razor_helper_writer, ">"); 1594 1595 1596 #line 522 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1597 WriteTo(__razor_helper_writer, settings.Title); 1598 1599 1600 #line default 1601 #line hidden 1602 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </div>\r\n </div>\r\n"); 1603 1604 1605 #line 525 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1606 1607 1608 #line default 1609 #line hidden 1610 }); 1611 1612 #line 525 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1613 } 1614 #line default 1615 #line hidden 1616 1617 1618 #line 533 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1619 public RazorEngine.Templating.TemplateWriter RenderLink(Link settings) 1620 { 1621 #line default 1622 #line hidden 1623 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1624 1625 #line 534 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1626 1627 if (settings != null && !string.IsNullOrEmpty(settings.Href) && (!string.IsNullOrEmpty(settings.Title) || settings.Icon != null)) 1628 { 1629 Dictionary<string, string> attributes = new Dictionary<string, string>(); 1630 List<string> classList = settings.CssClass != null ? settings.CssClass.Split(' ').ToList() : new List<string>(); 1631 if (settings.Disabled) 1632 { 1633 attributes.Add("disabled", "true"); 1634 classList.Add("disabled"); 1635 } 1636 1637 if (!string.IsNullOrEmpty(settings.AltText)) 1638 { 1639 attributes.Add("title", settings.AltText); 1640 } 1641 else if (!string.IsNullOrEmpty(settings.Title)) 1642 { 1643 attributes.Add("title", settings.Title); 1644 } 1645 1646 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 1647 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 1648 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onClick", settings.OnClick); } 1649 attributes.Add("href", settings.Href); 1650 1651 if (settings.ButtonLayout != ButtonLayout.None) 1652 { 1653 classList.Add("btn"); 1654 string btnLayout = Enum.GetName(typeof(ButtonLayout), settings.ButtonLayout).ToLower(); 1655 if (btnLayout == "linkclean") 1656 { 1657 btnLayout = "link-clean"; //fix 1658 } 1659 classList.Add("btn--" + btnLayout); 1660 } 1661 1662 if (settings.Icon == null) 1663 { 1664 settings.Icon = new Icon(); 1665 } 1666 settings.Icon.Label = settings.Title; 1667 1668 if (settings.Target == LinkTargetType.Blank && settings.Rel == LinkRelType.None) 1669 { 1670 settings.Rel = LinkRelType.Noopener; 1671 } 1672 if (settings.Target != LinkTargetType.None) 1673 { 1674 attributes.Add("target", "_" + Enum.GetName(typeof(LinkTargetType), settings.Target).ToLower()); 1675 } 1676 if (settings.Download) 1677 { 1678 attributes.Add("download", "true"); 1679 } 1680 if (settings.Rel != LinkRelType.None) 1681 { 1682 attributes.Add("rel", Enum.GetName(typeof(LinkRelType), settings.Rel).ToLower()); 1683 } 1684 1685 1686 1687 #line default 1688 #line hidden 1689 WriteLiteralTo(__razor_helper_writer, " <a"); 1690 1691 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 20594), Tuple.Create("\"", 20637) 1692 1693 #line 593 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1694 , Tuple.Create(Tuple.Create("", 20602), Tuple.Create<System.Object, System.Int32>(string.Join(" ", classList) 1695 1696 #line default 1697 #line hidden 1698 , 20602), false) 1699 , Tuple.Create(Tuple.Create(" ", 20630), Tuple.Create("dw-mod", 20631), true) 1700 ); 1701 1702 WriteLiteralTo(__razor_helper_writer, " "); 1703 1704 1705 #line 593 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1706 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(attributes)); 1707 1708 1709 #line default 1710 #line hidden 1711 WriteLiteralTo(__razor_helper_writer, " "); 1712 1713 1714 #line 593 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1715 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1716 1717 1718 #line default 1719 #line hidden 1720 WriteLiteralTo(__razor_helper_writer, ">"); 1721 1722 1723 #line 593 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1724 WriteTo(__razor_helper_writer, Render(settings.Icon)); 1725 1726 1727 #line default 1728 #line hidden 1729 WriteLiteralTo(__razor_helper_writer, "</a>\r\n"); 1730 1731 1732 #line 594 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1733 } 1734 1735 1736 #line default 1737 #line hidden 1738 }); 1739 1740 #line 595 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1741 } 1742 #line default 1743 #line hidden 1744 1745 1746 #line 604 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1747 public RazorEngine.Templating.TemplateWriter RenderRating(Rating settings) 1748 { 1749 #line default 1750 #line hidden 1751 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1752 1753 #line 605 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1754 1755 if (settings.Score > 0) 1756 { 1757 int rating = settings.Score; 1758 string iconType = "fa-star"; 1759 1760 switch (settings.Type.ToString()) { 1761 case "Stars": 1762 iconType = "fa-star"; 1763 break; 1764 case "Hearts": 1765 iconType = "fa-heart"; 1766 break; 1767 case "Lemons": 1768 iconType = "fa-lemon"; 1769 break; 1770 case "Bombs": 1771 iconType = "fa-bomb"; 1772 break; 1773 } 1774 1775 1776 1777 #line default 1778 #line hidden 1779 WriteLiteralTo(__razor_helper_writer, " <div"); 1780 1781 WriteLiteralTo(__razor_helper_writer, " class=\"u-ta-right\""); 1782 1783 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1784 1785 1786 #line 627 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1787 1788 1789 #line default 1790 #line hidden 1791 1792 #line 627 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1793 for (int i = 0; i < settings.OutOf; i++) 1794 { 1795 1796 1797 #line default 1798 #line hidden 1799 WriteLiteralTo(__razor_helper_writer, " <i"); 1800 1801 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 21657), Tuple.Create("\"", 21704) 1802 1803 #line 629 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1804 , Tuple.Create(Tuple.Create("", 21665), Tuple.Create<System.Object, System.Int32>(rating > i ? "fas" : "far" 1805 1806 #line default 1807 #line hidden 1808 , 21665), false) 1809 1810 #line 629 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1811 , Tuple.Create(Tuple.Create(" ", 21694), Tuple.Create<System.Object, System.Int32>(iconType 1812 1813 #line default 1814 #line hidden 1815 , 21695), false) 1816 ); 1817 1818 WriteLiteralTo(__razor_helper_writer, "></i>\r\n"); 1819 1820 1821 #line 630 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1822 } 1823 1824 1825 #line default 1826 #line hidden 1827 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 1828 1829 1830 #line 632 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1831 } 1832 1833 1834 #line default 1835 #line hidden 1836 }); 1837 1838 #line 633 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1839 } 1840 #line default 1841 #line hidden 1842 1843 1844 #line 641 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1845 public RazorEngine.Templating.TemplateWriter RenderSelectFieldOption(SelectFieldOption settings) 1846 { 1847 #line default 1848 #line hidden 1849 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1850 1851 #line 642 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1852 1853 Dictionary<string, string> attributes = new Dictionary<string, string>(); 1854 if (settings.Checked) { attributes.Add("selected", "true"); } 1855 if (settings.Disabled) { attributes.Add("disabled", "true"); } 1856 if (settings.Value != null) { attributes.Add("value", settings.Value); } 1857 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 1858 1859 1860 1861 #line default 1862 #line hidden 1863 WriteLiteralTo(__razor_helper_writer, " <option "); 1864 1865 1866 #line 649 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1867 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(attributes)); 1868 1869 1870 #line default 1871 #line hidden 1872 WriteLiteralTo(__razor_helper_writer, " "); 1873 1874 1875 #line 649 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1876 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1877 1878 1879 #line default 1880 #line hidden 1881 WriteLiteralTo(__razor_helper_writer, ">"); 1882 1883 1884 #line 649 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1885 WriteTo(__razor_helper_writer, settings.Label); 1886 1887 1888 #line default 1889 #line hidden 1890 WriteLiteralTo(__razor_helper_writer, "</option>\r\n"); 1891 1892 1893 #line 650 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1894 1895 1896 #line default 1897 #line hidden 1898 }); 1899 1900 #line 650 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1901 } 1902 #line default 1903 #line hidden 1904 1905 1906 #line 658 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1907 public RazorEngine.Templating.TemplateWriter RenderNavigation(Navigation settings) { 1908 #line default 1909 #line hidden 1910 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1911 1912 #line 658 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1913 1914 1915 1916 #line default 1917 #line hidden 1918 1919 #line 659 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1920 WriteTo(__razor_helper_writer, RenderNavigation(new 1921 { 1922 id = settings.Id, 1923 cssclass = settings.CssClass, 1924 startLevel = settings.StartLevel, 1925 endlevel = settings.EndLevel, 1926 expandmode = settings.Expandmode, 1927 sitemapmode = settings.SitemapMode, 1928 template = settings.Template 1929 })); 1930 1931 1932 #line default 1933 #line hidden 1934 1935 #line 668 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1936 1937 1938 1939 #line default 1940 #line hidden 1941 }); 1942 1943 #line 669 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1944 } 1945 #line default 1946 #line hidden 1947 1948 1949 #line 676 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1950 public RazorEngine.Templating.TemplateWriter RenderBreadcrumbNavigation(BreadcrumbNavigation settings) { 1951 #line default 1952 #line hidden 1953 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1954 1955 #line 676 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1956 1957 settings.Id = String.IsNullOrEmpty(settings.Id) ? "breadcrumb" : settings.Id; 1958 settings.Template = String.IsNullOrEmpty(settings.Template) ? "Breadcrumb.xslt" : settings.Template; 1959 settings.StartLevel = settings.StartLevel == 0 ? 1 : settings.StartLevel; 1960 settings.EndLevel = settings.EndLevel == 10 ? 1 : settings.EndLevel; 1961 settings.Expandmode = String.IsNullOrEmpty(settings.Expandmode) ? "all" : settings.Expandmode; 1962 settings.SitemapMode = false; 1963 1964 1965 1966 #line default 1967 #line hidden 1968 1969 #line 684 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1970 WriteTo(__razor_helper_writer, RenderNavigation(settings)); 1971 1972 1973 #line default 1974 #line hidden 1975 1976 #line 684 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1977 1978 1979 1980 #line default 1981 #line hidden 1982 }); 1983 1984 #line 685 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1985 } 1986 #line default 1987 #line hidden 1988 1989 1990 #line 692 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1991 public RazorEngine.Templating.TemplateWriter RenderLeftNavigation(LeftNavigation settings) { 1992 #line default 1993 #line hidden 1994 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1995 1996 #line 692 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 1997 1998 settings.Id = String.IsNullOrEmpty(settings.Id) ? "breadcrumb" : settings.Id; 1999 settings.Template = String.IsNullOrEmpty(settings.Template) ? "Breadcrumb.xslt" : settings.Template; 2000 settings.StartLevel = settings.StartLevel == 0 ? 1 : settings.StartLevel; 2001 settings.EndLevel = settings.EndLevel == 10 ? 1 : settings.EndLevel; 2002 settings.Expandmode = String.IsNullOrEmpty(settings.Expandmode) ? "all" : settings.Expandmode; 2003 2004 2005 2006 #line default 2007 #line hidden 2008 WriteLiteralTo(__razor_helper_writer, " <div"); 2009 2010 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 2011 2012 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2013 2014 WriteLiteralTo(__razor_helper_writer, " "); 2015 2016 2017 #line 700 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2018 WriteTo(__razor_helper_writer, RenderNavigation(settings)); 2019 2020 2021 #line default 2022 #line hidden 2023 WriteLiteralTo(__razor_helper_writer, " \r\n </div> \r\n"); 2024 2025 2026 #line 702 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2027 2028 2029 #line default 2030 #line hidden 2031 }); 2032 2033 #line 702 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2034 } 2035 #line default 2036 #line hidden 2037 2038 2039 #line 709 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2040 public RazorEngine.Templating.TemplateWriter RenderHeading(Heading settings) 2041 { 2042 #line default 2043 #line hidden 2044 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2045 2046 #line 710 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2047 2048 if (settings != null && !string.IsNullOrEmpty(settings.Title)) 2049 { 2050 string color = settings.Color != null ? "style=\"color: " + settings.Color + "\"" : ""; 2051 string tagName = settings.Level != 0 ? "h" + settings.Level.ToString() : "div"; 2052 2053 2054 2055 #line default 2056 #line hidden 2057 2058 #line 716 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2059 WriteTo(__razor_helper_writer, "<" + tagName + " class=\"" + settings.CssClass + " dw-mod\" " + color + ">"); 2060 2061 2062 #line default 2063 #line hidden 2064 2065 #line 716 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2066 2067 if (!string.IsNullOrEmpty(settings.Link)) 2068 { 2069 2070 2071 #line default 2072 #line hidden 2073 2074 #line 719 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2075 WriteTo(__razor_helper_writer, Render(new Link { Href = settings.Link, Icon = settings.Icon, Title = settings.Title, ButtonLayout = ButtonLayout.None })); 2076 2077 2078 #line default 2079 #line hidden 2080 2081 #line 719 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2082 2083 } 2084 else 2085 { 2086 if (settings.Icon == null) 2087 { 2088 settings.Icon = new Icon(); 2089 } 2090 settings.Icon.Label = settings.Title; 2091 2092 2093 #line default 2094 #line hidden 2095 2096 #line 728 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2097 WriteTo(__razor_helper_writer, Render(settings.Icon)); 2098 2099 2100 #line default 2101 #line hidden 2102 2103 #line 728 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2104 2105 } 2106 2107 2108 #line default 2109 #line hidden 2110 2111 #line 730 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2112 WriteTo(__razor_helper_writer, "</" + tagName + ">"); 2113 2114 2115 #line default 2116 #line hidden 2117 2118 #line 730 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2119 ; 2120 } 2121 2122 2123 #line default 2124 #line hidden 2125 }); 2126 2127 #line 732 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2128 } 2129 #line default 2130 #line hidden 2131 2132 2133 #line 740 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2134 public RazorEngine.Templating.TemplateWriter RenderImage(Image settings) 2135 { 2136 #line default 2137 #line hidden 2138 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2139 2140 #line 741 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2141 2142 if (settings.FilterPrimary != ImageFilter.None || settings.FilterSecondary != ImageFilter.None) 2143 { 2144 Dictionary<string, string> optionalAttributes = new Dictionary<string, string>(); 2145 if (!string.IsNullOrEmpty(settings.FilterColor)) { optionalAttributes.Add("style", "background-color: " + settings.FilterColor); } 2146 2147 if (settings.Caption != null) 2148 { 2149 2150 2151 #line default 2152 #line hidden 2153 WriteLiteralTo(__razor_helper_writer, " "); 2154 2155 WriteLiteralTo(__razor_helper_writer, "<div>\r\n"); 2156 2157 2158 #line 750 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2159 } 2160 2161 var primaryFilterClass = settings.FilterPrimary.ToString().ToLower(); 2162 var secondaryFilterClass = settings.FilterSecondary.ToString().ToLower(); 2163 2164 2165 2166 #line default 2167 #line hidden 2168 WriteLiteralTo(__razor_helper_writer, " <div"); 2169 2170 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 26282), Tuple.Create("\"", 26363) 2171 , Tuple.Create(Tuple.Create("", 26290), Tuple.Create("image-filter", 26290), true) 2172 , Tuple.Create(Tuple.Create(" ", 26302), Tuple.Create("image-filter--", 26303), true) 2173 2174 #line 755 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2175 , Tuple.Create(Tuple.Create("", 26317), Tuple.Create<System.Object, System.Int32>(primaryFilterClass 2176 2177 #line default 2178 #line hidden 2179 , 26317), false) 2180 , Tuple.Create(Tuple.Create(" ", 26336), Tuple.Create("u-position-relative", 26337), true) 2181 , Tuple.Create(Tuple.Create(" ", 26356), Tuple.Create("dw-mod", 26357), true) 2182 ); 2183 2184 WriteLiteralTo(__razor_helper_writer, " "); 2185 2186 2187 #line 755 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2188 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 2189 2190 2191 #line default 2192 #line hidden 2193 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2194 2195 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 26435), Tuple.Create("\"", 26498) 2196 , Tuple.Create(Tuple.Create("", 26443), Tuple.Create("image-filter", 26443), true) 2197 , Tuple.Create(Tuple.Create(" ", 26455), Tuple.Create("image-filter--", 26456), true) 2198 2199 #line 756 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2200 , Tuple.Create(Tuple.Create("", 26470), Tuple.Create<System.Object, System.Int32>(secondaryFilterClass 2201 2202 #line default 2203 #line hidden 2204 , 26470), false) 2205 , Tuple.Create(Tuple.Create(" ", 26491), Tuple.Create("dw-mod", 26492), true) 2206 ); 2207 2208 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2209 2210 2211 #line 757 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2212 2213 2214 #line default 2215 #line hidden 2216 2217 #line 757 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2218 if (settings.Link != null) 2219 { 2220 2221 2222 #line default 2223 #line hidden 2224 WriteLiteralTo(__razor_helper_writer, " <a"); 2225 2226 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 26588), Tuple.Create("\"", 26609) 2227 2228 #line 759 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2229 , Tuple.Create(Tuple.Create("", 26595), Tuple.Create<System.Object, System.Int32>(settings.Link 2230 2231 #line default 2232 #line hidden 2233 , 26595), false) 2234 ); 2235 2236 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2237 2238 WriteLiteralTo(__razor_helper_writer, " "); 2239 2240 2241 #line 760 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2242 WriteTo(__razor_helper_writer, RenderTheImage(settings)); 2243 2244 2245 #line default 2246 #line hidden 2247 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n"); 2248 2249 2250 #line 762 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2251 } 2252 else 2253 { 2254 2255 2256 #line default 2257 #line hidden 2258 2259 #line 765 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2260 WriteTo(__razor_helper_writer, RenderTheImage(settings)); 2261 2262 2263 #line default 2264 #line hidden 2265 2266 #line 765 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2267 2268 } 2269 2270 2271 #line default 2272 #line hidden 2273 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 2274 2275 2276 #line 769 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2277 2278 if (settings.Caption != null) 2279 { 2280 2281 2282 #line default 2283 #line hidden 2284 WriteLiteralTo(__razor_helper_writer, " <span"); 2285 2286 WriteLiteralTo(__razor_helper_writer, " class=\"image-caption dw-mod\""); 2287 2288 WriteLiteralTo(__razor_helper_writer, ">"); 2289 2290 2291 #line 772 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2292 WriteTo(__razor_helper_writer, settings.Caption); 2293 2294 2295 #line default 2296 #line hidden 2297 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 2298 2299 WriteLiteralTo(__razor_helper_writer, " "); 2300 2301 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 2302 2303 2304 #line 774 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2305 } 2306 } 2307 else 2308 { 2309 if (settings.Caption != null) 2310 { 2311 2312 2313 #line default 2314 #line hidden 2315 WriteLiteralTo(__razor_helper_writer, " "); 2316 2317 WriteLiteralTo(__razor_helper_writer, "<div>\r\n"); 2318 2319 2320 #line 781 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2321 } 2322 if (!string.IsNullOrEmpty(settings.Link)) 2323 { 2324 2325 2326 #line default 2327 #line hidden 2328 WriteLiteralTo(__razor_helper_writer, " <a"); 2329 2330 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 27193), Tuple.Create("\"", 27214) 2331 2332 #line 784 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2333 , Tuple.Create(Tuple.Create("", 27200), Tuple.Create<System.Object, System.Int32>(settings.Link 2334 2335 #line default 2336 #line hidden 2337 , 27200), false) 2338 ); 2339 2340 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2341 2342 WriteLiteralTo(__razor_helper_writer, " "); 2343 2344 2345 #line 785 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2346 WriteTo(__razor_helper_writer, RenderTheImage(settings)); 2347 2348 2349 #line default 2350 #line hidden 2351 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n"); 2352 2353 2354 #line 787 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2355 } 2356 else 2357 { 2358 2359 2360 #line default 2361 #line hidden 2362 2363 #line 790 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2364 WriteTo(__razor_helper_writer, RenderTheImage(settings)); 2365 2366 2367 #line default 2368 #line hidden 2369 2370 #line 790 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2371 2372 } 2373 2374 if (settings.Caption != null) 2375 { 2376 2377 2378 #line default 2379 #line hidden 2380 WriteLiteralTo(__razor_helper_writer, " <span"); 2381 2382 WriteLiteralTo(__razor_helper_writer, " class=\"image-caption dw-mod\""); 2383 2384 WriteLiteralTo(__razor_helper_writer, ">"); 2385 2386 2387 #line 795 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2388 WriteTo(__razor_helper_writer, settings.Caption); 2389 2390 2391 #line default 2392 #line hidden 2393 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 2394 2395 WriteLiteralTo(__razor_helper_writer, " "); 2396 2397 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 2398 2399 2400 #line 797 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2401 } 2402 } 2403 2404 2405 #line default 2406 #line hidden 2407 }); 2408 2409 #line 799 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2410 } 2411 #line default 2412 #line hidden 2413 2414 2415 #line 801 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2416 public RazorEngine.Templating.TemplateWriter RenderTheImage(Image settings) 2417 { 2418 #line default 2419 #line hidden 2420 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2421 2422 #line 802 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2423 2424 if (settings != null) 2425 { 2426 string alternativeImage = !string.IsNullOrEmpty(Pageview.AreaSettings.GetItem("Settings").GetString("AlternativeImage")) ? Pageview.AreaSettings.GetItem("Settings").GetFile("AlternativeImage").PathUrlEncoded : "/Images/missing_image.jpg"; 2427 string placeholderImage = "/Files/Images/placeholder.gif"; 2428 string imageEngine = "/Admin/Public/GetImage.ashx?"; 2429 2430 string imageStyle = ""; 2431 2432 switch (settings.Style) 2433 { 2434 case ImageStyle.Ball: 2435 imageStyle = "grid__cell-img--ball"; 2436 break; 2437 2438 case ImageStyle.Triangle: 2439 imageStyle = "grid__cell-img--triangle"; 2440 break; 2441 } 2442 2443 if (settings.Style == ImageStyle.Ball || settings.Style == ImageStyle.Circle || settings.Style == ImageStyle.Triangle) 2444 { 2445 settings.ImageDefault.Crop = settings.ImageDefault.Crop == 5 ? settings.ImageDefault.Crop = 0 : settings.ImageDefault.Crop; 2446 2447 if (settings.ImageDefault != null) 2448 { 2449 settings.ImageDefault.Height = settings.ImageDefault.Width; 2450 } 2451 if (settings.ImageMedium != null) 2452 { 2453 settings.ImageMedium.Height = settings.ImageMedium.Width; 2454 } 2455 if (settings.ImageSmall != null) 2456 { 2457 settings.ImageSmall.Height = settings.ImageSmall.Width; 2458 } 2459 } 2460 2461 string defaultImage = imageEngine; 2462 string imageSmall = ""; 2463 string imageMedium = ""; 2464 2465 if (settings.DisableImageEngine) 2466 { 2467 defaultImage = settings.Path; 2468 } 2469 else 2470 { 2471 if (settings.ImageDefault != null) 2472 { 2473 defaultImage += Dynamicweb.Rapido.Services.Images.GetImagePathFromSettings(settings.ImageDefault); 2474 2475 if (settings.Path.GetType() != typeof(string)) 2476 { 2477 defaultImage += settings.Path != null ? "Image=" + settings.Path.PathUrlEncoded : ""; 2478 defaultImage += settings.Path != null ? "&" + settings.Path.GetFocalPointParameters() : ""; 2479 } 2480 else 2481 { 2482 defaultImage += settings.Path != null ? "Image=" + settings.Path : ""; 2483 } 2484 2485 defaultImage += "&AlternativeImage=" + alternativeImage; 2486 } 2487 2488 if (settings.ImageSmall != null) 2489 { 2490 imageSmall = "data-src-small=\"" + imageEngine; 2491 imageSmall += Dynamicweb.Rapido.Services.Images.GetImagePathFromSettings(settings.ImageSmall); 2492 2493 if (settings.Path.GetType() != typeof(string)) 2494 { 2495 imageSmall += settings.Path != null ? "Image=" + settings.Path.PathUrlEncoded : ""; 2496 imageSmall += settings.Path != null ? "&" + settings.Path.GetFocalPointParameters() : ""; 2497 } 2498 else 2499 { 2500 imageSmall += settings.Path != null ? "Image=" + settings.Path : ""; 2501 } 2502 2503 imageSmall += "&alternativeImage=" + alternativeImage; 2504 2505 imageSmall += "\""; 2506 } 2507 2508 if (settings.ImageMedium != null) 2509 { 2510 imageMedium = "data-src-medium=\"" + imageEngine; 2511 imageMedium += Dynamicweb.Rapido.Services.Images.GetImagePathFromSettings(settings.ImageMedium); 2512 2513 if (settings.Path.GetType() != typeof(string)) 2514 { 2515 imageMedium += settings.Path != null ? "Image=" + settings.Path.PathUrlEncoded : ""; 2516 imageMedium += settings.Path != null ? "&" + settings.Path.GetFocalPointParameters() : ""; 2517 } 2518 else 2519 { 2520 imageMedium += settings.Path != null ? "Image=" + settings.Path : ""; 2521 } 2522 2523 imageMedium += "&alternativeImage=" + alternativeImage; 2524 2525 imageMedium += "\""; 2526 } 2527 } 2528 2529 Dictionary<string, string> optionalAttributes = new Dictionary<string, string>(); 2530 if (!string.IsNullOrEmpty(settings.OnClick)) { optionalAttributes.Add("onclick", settings.OnClick); } 2531 if (!string.IsNullOrEmpty(settings.Title)) 2532 { 2533 optionalAttributes.Add("alt", settings.Title); 2534 optionalAttributes.Add("title", settings.Title); 2535 } 2536 2537 if (settings.DisableLazyLoad) 2538 { 2539 2540 2541 #line default 2542 #line hidden 2543 WriteLiteralTo(__razor_helper_writer, " <img"); 2544 2545 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 32106), Tuple.Create("\"", 32123) 2546 2547 #line 918 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2548 , Tuple.Create(Tuple.Create("", 32111), Tuple.Create<System.Object, System.Int32>(settings.Id 2549 2550 #line default 2551 #line hidden 2552 , 32111), false) 2553 ); 2554 2555 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 32124), Tuple.Create("\"", 32169) 2556 2557 #line 918 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2558 , Tuple.Create(Tuple.Create("", 32132), Tuple.Create<System.Object, System.Int32>(imageStyle 2559 2560 #line default 2561 #line hidden 2562 , 32132), false) 2563 2564 #line 918 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2565 , Tuple.Create(Tuple.Create(" ", 32143), Tuple.Create<System.Object, System.Int32>(settings.CssClass 2566 2567 #line default 2568 #line hidden 2569 , 32144), false) 2570 , Tuple.Create(Tuple.Create(" ", 32162), Tuple.Create("dw-mod", 32163), true) 2571 ); 2572 2573 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 32170), Tuple.Create("\"", 32189) 2574 2575 #line 918 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2576 , Tuple.Create(Tuple.Create("", 32176), Tuple.Create<System.Object, System.Int32>(defaultImage 2577 2578 #line default 2579 #line hidden 2580 , 32176), false) 2581 ); 2582 2583 WriteLiteralTo(__razor_helper_writer, " "); 2584 2585 2586 #line 918 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2587 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 2588 2589 2590 #line default 2591 #line hidden 2592 WriteLiteralTo(__razor_helper_writer, " "); 2593 2594 2595 #line 918 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2596 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 2597 2598 2599 #line default 2600 #line hidden 2601 WriteLiteralTo(__razor_helper_writer, " />\r\n"); 2602 2603 2604 #line 919 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2605 } 2606 else 2607 { 2608 2609 2610 #line default 2611 #line hidden 2612 WriteLiteralTo(__razor_helper_writer, " <img"); 2613 2614 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 32375), Tuple.Create("\"", 32392) 2615 2616 #line 922 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2617 , Tuple.Create(Tuple.Create("", 32380), Tuple.Create<System.Object, System.Int32>(settings.Id 2618 2619 #line default 2620 #line hidden 2621 , 32380), false) 2622 ); 2623 2624 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 32393), Tuple.Create("\"", 32445) 2625 , Tuple.Create(Tuple.Create("", 32401), Tuple.Create("b-lazy", 32401), true) 2626 2627 #line 922 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2628 , Tuple.Create(Tuple.Create(" ", 32407), Tuple.Create<System.Object, System.Int32>(imageStyle 2629 2630 #line default 2631 #line hidden 2632 , 32408), false) 2633 2634 #line 922 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2635 , Tuple.Create(Tuple.Create(" ", 32419), Tuple.Create<System.Object, System.Int32>(settings.CssClass 2636 2637 #line default 2638 #line hidden 2639 , 32420), false) 2640 , Tuple.Create(Tuple.Create(" ", 32438), Tuple.Create("dw-mod", 32439), true) 2641 ); 2642 2643 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 32446), Tuple.Create("\"", 32469) 2644 2645 #line 922 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2646 , Tuple.Create(Tuple.Create("", 32452), Tuple.Create<System.Object, System.Int32>(placeholderImage 2647 2648 #line default 2649 #line hidden 2650 , 32452), false) 2651 ); 2652 2653 WriteLiteralTo(__razor_helper_writer, " data-src=\""); 2654 2655 2656 #line 922 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2657 WriteTo(__razor_helper_writer, defaultImage); 2658 2659 2660 #line default 2661 #line hidden 2662 WriteLiteralTo(__razor_helper_writer, "\""); 2663 2664 WriteLiteralTo(__razor_helper_writer, " "); 2665 2666 2667 #line 922 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2668 WriteTo(__razor_helper_writer, imageSmall); 2669 2670 2671 #line default 2672 #line hidden 2673 WriteLiteralTo(__razor_helper_writer, " "); 2674 2675 2676 #line 922 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2677 WriteTo(__razor_helper_writer, imageMedium); 2678 2679 2680 #line default 2681 #line hidden 2682 WriteLiteralTo(__razor_helper_writer, " "); 2683 2684 2685 #line 922 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2686 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 2687 2688 2689 #line default 2690 #line hidden 2691 WriteLiteralTo(__razor_helper_writer, " "); 2692 2693 2694 #line 922 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2695 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 2696 2697 2698 #line default 2699 #line hidden 2700 WriteLiteralTo(__razor_helper_writer, " />\r\n"); 2701 2702 2703 #line 923 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2704 } 2705 } 2706 2707 2708 #line default 2709 #line hidden 2710 }); 2711 2712 #line 925 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2713 } 2714 #line default 2715 #line hidden 2716 2717 2718 #line 932 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2719 public RazorEngine.Templating.TemplateWriter RenderFileField(FileField settings) 2720 { 2721 #line default 2722 #line hidden 2723 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2724 2725 #line 933 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2726 2727 var attributes = new Dictionary<string, string>(); 2728 if (string.IsNullOrEmpty(settings.Id)) 2729 { 2730 settings.Id = Guid.NewGuid().ToString("N"); 2731 } 2732 2733 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 2734 if (settings.Disabled) { attributes.Add("disabled", "true"); } 2735 if (settings.Required) { attributes.Add("required", "true"); } 2736 if (settings.Multiple) { attributes.Add("multiple", "true"); } 2737 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 2738 if (string.IsNullOrEmpty(settings.ChooseFileText)) 2739 { 2740 settings.ChooseFileText = Translate("Choose file"); 2741 } 2742 if (string.IsNullOrEmpty(settings.NoFilesChosenText)) 2743 { 2744 settings.NoFilesChosenText = Translate("No files chosen..."); 2745 } 2746 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 2747 2748 if (settings.Required && !String.IsNullOrEmpty(settings.Label)) { settings.Label += " <span class=\"required dw-mod\">*</span>"; } 2749 2750 string setValueToFakeInput = "FileUpload.setValueToFakeInput(this)"; 2751 attributes.Add("onchange", setValueToFakeInput + (!string.IsNullOrEmpty(settings.OnChange) ? settings.OnChange : "")); 2752 2753 attributes.Add("type", "file"); 2754 if (settings.Value != null) { attributes.Add("value", settings.Value); } 2755 settings.CssClass = "u-full-width " + settings.CssClass; 2756 2757 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 2758 2759 2760 2761 #line default 2762 #line hidden 2763 WriteLiteralTo(__razor_helper_writer, " <div"); 2764 2765 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 34454), Tuple.Create("\"", 34525) 2766 , Tuple.Create(Tuple.Create("", 34462), Tuple.Create("form__field-group", 34462), true) 2767 , Tuple.Create(Tuple.Create(" ", 34479), Tuple.Create("u-full-width", 34480), true) 2768 2769 #line 966 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2770 , Tuple.Create(Tuple.Create(" ", 34492), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 2771 2772 #line default 2773 #line hidden 2774 , 34493), false) 2775 , Tuple.Create(Tuple.Create(" ", 34518), Tuple.Create("dw-mod", 34519), true) 2776 ); 2777 2778 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2779 2780 2781 #line 967 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2782 2783 2784 #line default 2785 #line hidden 2786 2787 #line 967 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2788 if (!string.IsNullOrEmpty(settings.Label) || settings.Link != null ) 2789 { 2790 2791 2792 #line default 2793 #line hidden 2794 WriteLiteralTo(__razor_helper_writer, " <div"); 2795 2796 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width\""); 2797 2798 WriteLiteralTo(__razor_helper_writer, "> \r\n"); 2799 2800 2801 #line 970 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2802 2803 2804 #line default 2805 #line hidden 2806 2807 #line 970 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2808 if (!string.IsNullOrEmpty(settings.Label)) { 2809 2810 #line default 2811 #line hidden 2812 WriteLiteralTo(__razor_helper_writer, " <label"); 2813 2814 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 34728), Tuple.Create("\"", 34746) 2815 2816 #line 970 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2817 , Tuple.Create(Tuple.Create("", 34734), Tuple.Create<System.Object, System.Int32>(settings.Id 2818 2819 #line default 2820 #line hidden 2821 , 34734), false) 2822 ); 2823 2824 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--left\""); 2825 2826 WriteLiteralTo(__razor_helper_writer, ">"); 2827 2828 2829 #line 970 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2830 WriteTo(__razor_helper_writer, settings.Label); 2831 2832 2833 #line default 2834 #line hidden 2835 WriteLiteralTo(__razor_helper_writer, "</label> "); 2836 2837 2838 #line 970 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2839 } 2840 2841 2842 #line default 2843 #line hidden 2844 WriteLiteralTo(__razor_helper_writer, " "); 2845 2846 2847 #line 971 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2848 if (settings.Link != null) { 2849 2850 2851 #line default 2852 #line hidden 2853 WriteLiteralTo(__razor_helper_writer, " <div"); 2854 2855 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right\""); 2856 2857 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2858 2859 2860 #line 973 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2861 2862 2863 #line default 2864 #line hidden 2865 2866 #line 973 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2867 settings.Link.ButtonLayout = ButtonLayout.LinkClean; 2868 2869 #line default 2870 #line hidden 2871 WriteLiteralTo(__razor_helper_writer, "\r\n"); 2872 2873 WriteLiteralTo(__razor_helper_writer, " "); 2874 2875 2876 #line 974 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2877 WriteTo(__razor_helper_writer, Render(settings.Link)); 2878 2879 2880 #line default 2881 #line hidden 2882 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 2883 2884 2885 #line 976 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2886 } 2887 2888 2889 #line default 2890 #line hidden 2891 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 2892 2893 2894 #line 978 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2895 2896 } 2897 2898 2899 #line default 2900 #line hidden 2901 WriteLiteralTo(__razor_helper_writer, "\r\n"); 2902 2903 2904 #line 981 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2905 2906 2907 #line default 2908 #line hidden 2909 2910 #line 981 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2911 if (!string.IsNullOrEmpty(settings.HelpText)) 2912 { 2913 2914 2915 #line default 2916 #line hidden 2917 WriteLiteralTo(__razor_helper_writer, " <small"); 2918 2919 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 2920 2921 WriteLiteralTo(__razor_helper_writer, ">"); 2922 2923 2924 #line 983 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2925 WriteTo(__razor_helper_writer, settings.HelpText); 2926 2927 2928 #line default 2929 #line hidden 2930 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 2931 2932 2933 #line 984 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2934 } 2935 2936 2937 #line default 2938 #line hidden 2939 WriteLiteralTo(__razor_helper_writer, "\r\n <div"); 2940 2941 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-combi file-input u-no-margin dw-mod\""); 2942 2943 WriteLiteralTo(__razor_helper_writer, ">\r\n <input "); 2944 2945 2946 #line 987 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2947 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 2948 2949 2950 #line default 2951 #line hidden 2952 WriteLiteralTo(__razor_helper_writer, " class=\"file-input__real-input\" data-no-files-text=\""); 2953 2954 2955 #line 987 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2956 WriteTo(__razor_helper_writer, settings.NoFilesChosenText); 2957 2958 2959 #line default 2960 #line hidden 2961 WriteLiteralTo(__razor_helper_writer, "\" data-many-files-text=\""); 2962 2963 2964 #line 987 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2965 WriteTo(__razor_helper_writer, Translate("files")); 2966 2967 2968 #line default 2969 #line hidden 2970 WriteLiteralTo(__razor_helper_writer, "\" />\r\n <label"); 2971 2972 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 35553), Tuple.Create("\"", 35571) 2973 2974 #line 988 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2975 , Tuple.Create(Tuple.Create("", 35559), Tuple.Create<System.Object, System.Int32>(settings.Id 2976 2977 #line default 2978 #line hidden 2979 , 35559), false) 2980 ); 2981 2982 WriteLiteralTo(__razor_helper_writer, " class=\"file-input__btn btn--secondary btn dw-mod\""); 2983 2984 WriteLiteralTo(__razor_helper_writer, ">"); 2985 2986 2987 #line 988 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2988 WriteTo(__razor_helper_writer, settings.ChooseFileText); 2989 2990 2991 #line default 2992 #line hidden 2993 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <label"); 2994 2995 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 35675), Tuple.Create("\"", 35693) 2996 2997 #line 989 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 2998 , Tuple.Create(Tuple.Create("", 35681), Tuple.Create<System.Object, System.Int32>(settings.Id 2999 3000 #line default 3001 #line hidden 3002 , 35681), false) 3003 ); 3004 3005 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 35694), Tuple.Create("\"", 35764) 3006 3007 #line 989 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3008 , Tuple.Create(Tuple.Create("", 35702), Tuple.Create<System.Object, System.Int32>(settings.CssClass 3009 3010 #line default 3011 #line hidden 3012 , 35702), false) 3013 , Tuple.Create(Tuple.Create(" ", 35720), Tuple.Create("file-input__fake-input", 35721), true) 3014 , Tuple.Create(Tuple.Create(" ", 35743), Tuple.Create("js-fake-input", 35744), true) 3015 , Tuple.Create(Tuple.Create(" ", 35757), Tuple.Create("dw-mod", 35758), true) 3016 ); 3017 3018 WriteLiteralTo(__razor_helper_writer, ">"); 3019 3020 3021 #line 989 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3022 WriteTo(__razor_helper_writer, settings.NoFilesChosenText); 3023 3024 3025 #line default 3026 #line hidden 3027 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 3028 3029 3030 #line 990 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3031 3032 3033 #line default 3034 #line hidden 3035 3036 #line 990 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3037 if (settings.UploadButton != null) 3038 { 3039 settings.UploadButton.CssClass += " btn--condensed u-no-margin"; 3040 3041 3042 #line default 3043 #line hidden 3044 3045 #line 993 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3046 WriteTo(__razor_helper_writer, Render(settings.UploadButton)); 3047 3048 3049 #line default 3050 #line hidden 3051 3052 #line 993 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3053 3054 } 3055 3056 3057 #line default 3058 #line hidden 3059 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 3060 3061 WriteLiteralTo(__razor_helper_writer, " "); 3062 3063 3064 #line 996 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3065 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 3066 3067 3068 #line default 3069 #line hidden 3070 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3071 3072 3073 #line 998 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3074 3075 3076 #line default 3077 #line hidden 3078 }); 3079 3080 #line 998 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3081 } 3082 #line default 3083 #line hidden 3084 3085 3086 #line 1007 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3087 public RazorEngine.Templating.TemplateWriter RenderDateTimeField(DateTimeField settings) 3088 { 3089 #line default 3090 #line hidden 3091 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3092 3093 #line 1008 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3094 3095 if (string.IsNullOrEmpty(settings.Id)) 3096 { 3097 settings.Id = Guid.NewGuid().ToString("N"); 3098 } 3099 3100 var textField = new TextField { 3101 Name = settings.Name, 3102 Id = settings.Id, 3103 Label = settings.Label, 3104 HelpText = settings.HelpText, 3105 Value = settings.Value, 3106 Disabled = settings.Disabled, 3107 Required = settings.Required, 3108 ErrorMessage = settings.ErrorMessage, 3109 CssClass = settings.CssClass, 3110 WrapperCssClass = settings.WrapperCssClass, 3111 OnChange = settings.OnChange, 3112 OnClick = settings.OnClick, 3113 Link = settings.Link, 3114 ExtraAttributes = settings.ExtraAttributes, 3115 // 3116 Placeholder = settings.Placeholder 3117 }; 3118 3119 3120 3121 #line default 3122 #line hidden 3123 3124 #line 1033 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3125 WriteTo(__razor_helper_writer, Render(textField)); 3126 3127 3128 #line default 3129 #line hidden 3130 3131 #line 1033 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3132 3133 3134 List<string> jsAttributes = new List<string>(); 3135 3136 jsAttributes.Add("mode: '" + Enum.GetName(typeof(DateTimeFieldMode), settings.Mode).ToLower() + "'"); 3137 3138 if (!string.IsNullOrEmpty(settings.DateFormat)) 3139 { 3140 jsAttributes.Add("dateFormat: '" + settings.DateFormat + "'"); 3141 } 3142 if (!string.IsNullOrEmpty(settings.MinDate)) 3143 { 3144 jsAttributes.Add("minDate: '" + settings.MinDate + "'"); 3145 } 3146 if (!string.IsNullOrEmpty(settings.MaxDate)) 3147 { 3148 jsAttributes.Add("maxDate: '" + settings.MaxDate + "'"); 3149 } 3150 if (settings.IsInline) 3151 { 3152 jsAttributes.Add("inline: " + Converter.ToString(settings.IsInline).ToLower()); 3153 } 3154 if (settings.EnableTime) 3155 { 3156 jsAttributes.Add("enableTime: " + Converter.ToString(settings.EnableTime).ToLower()); 3157 } 3158 if (settings.EnableWeekNumbers) 3159 { 3160 jsAttributes.Add("weekNumbers: " + Converter.ToString(settings.EnableWeekNumbers).ToLower()); 3161 } 3162 3163 jsAttributes.AddRange(settings.GetFlatPickrOptions().Select(x => x.Key + ": " + x.Value)); 3164 3165 3166 3167 #line default 3168 #line hidden 3169 WriteLiteralTo(__razor_helper_writer, " <script>\r\n document.addEventListener(\"DOMContentLoaded\", function () {" + 3170 "\r\n flatpickr(\"#"); 3171 3172 3173 #line 1068 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3174 WriteTo(__razor_helper_writer, textField.Id); 3175 3176 3177 #line default 3178 #line hidden 3179 WriteLiteralTo(__razor_helper_writer, "\", {\r\n"); 3180 3181 WriteLiteralTo(__razor_helper_writer, " "); 3182 3183 3184 #line 1069 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3185 WriteTo(__razor_helper_writer, string.Join(",", jsAttributes)); 3186 3187 3188 #line default 3189 #line hidden 3190 WriteLiteralTo(__razor_helper_writer, "\r\n });\r\n });\r\n </script>\r\n"); 3191 3192 3193 #line 1073 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3194 3195 3196 #line default 3197 #line hidden 3198 }); 3199 3200 #line 1073 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3201 } 3202 #line default 3203 #line hidden 3204 3205 3206 #line 1080 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3207 public RazorEngine.Templating.TemplateWriter RenderTextField(TextField settings) 3208 { 3209 #line default 3210 #line hidden 3211 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3212 3213 #line 1081 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3214 3215 var attributes = new Dictionary<string, string>(); 3216 if (!string.IsNullOrEmpty(settings.Label) && string.IsNullOrEmpty(settings.Id)) 3217 { 3218 settings.Id = Guid.NewGuid().ToString("N"); 3219 } 3220 3221 /*base settings*/ 3222 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 3223 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 3224 if (!string.IsNullOrEmpty(settings.OnChange)) { attributes.Add("onchange", settings.OnChange); } 3225 if (settings.Disabled) { attributes.Add("disabled", "true"); } 3226 if (settings.Required) { attributes.Add("required", "true"); } 3227 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 3228 /*end*/ 3229 3230 if (!string.IsNullOrEmpty(settings.OnKeyUp)) { attributes.Add("onkeyup", settings.OnKeyUp); } 3231 if (!string.IsNullOrEmpty(settings.OnInput)) { attributes.Add("oninput", settings.OnInput); } 3232 if (!string.IsNullOrEmpty(settings.OnFocus)) { attributes.Add("onfocus", settings.OnFocus); } 3233 if (settings.ReadOnly) { attributes.Add("readonly", "true"); } 3234 if (settings.MaxLength != 0) { attributes.Add("maxlength", settings.MaxLength.ToString()); } 3235 if (!string.IsNullOrEmpty(settings.Placeholder)) { attributes.Add("placeholder", settings.Placeholder); } 3236 attributes.Add("type", Enum.GetName(typeof(TextFieldType), settings.Type).ToLower()); 3237 if (settings.Type == TextFieldType.Password) { attributes.Add("autocomplete", "off"); }; 3238 if (settings.Value != null) { attributes.Add("value", settings.Value); } 3239 3240 settings.CssClass = "u-full-width " + settings.CssClass; 3241 3242 if (settings.Required && !String.IsNullOrEmpty(settings.Label)) { settings.Label += " <span class=\"required dw-mod\">*</span>"; } 3243 3244 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 3245 3246 string noMargin = "u-no-margin"; 3247 if (!settings.ReadOnly) { 3248 noMargin = ""; 3249 } 3250 3251 3252 3253 #line default 3254 #line hidden 3255 WriteLiteralTo(__razor_helper_writer, " <div"); 3256 3257 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 40709), Tuple.Create("\"", 40790) 3258 , Tuple.Create(Tuple.Create("", 40717), Tuple.Create("form__field-group", 40717), true) 3259 , Tuple.Create(Tuple.Create(" ", 40734), Tuple.Create("u-full-width", 40735), true) 3260 3261 #line 1118 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3262 , Tuple.Create(Tuple.Create(" ", 40747), Tuple.Create<System.Object, System.Int32>(noMargin 3263 3264 #line default 3265 #line hidden 3266 , 40748), false) 3267 3268 #line 1118 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3269 , Tuple.Create(Tuple.Create(" ", 40757), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 3270 3271 #line default 3272 #line hidden 3273 , 40758), false) 3274 , Tuple.Create(Tuple.Create(" ", 40783), Tuple.Create("dw-mod", 40784), true) 3275 ); 3276 3277 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3278 3279 3280 #line 1119 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3281 3282 3283 #line default 3284 #line hidden 3285 3286 #line 1119 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3287 if (!string.IsNullOrEmpty(settings.Label) || settings.Link != null ) 3288 { 3289 3290 3291 #line default 3292 #line hidden 3293 WriteLiteralTo(__razor_helper_writer, " <div"); 3294 3295 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width\""); 3296 3297 WriteLiteralTo(__razor_helper_writer, "> \r\n"); 3298 3299 3300 #line 1122 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3301 3302 3303 #line default 3304 #line hidden 3305 3306 #line 1122 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3307 if (!string.IsNullOrEmpty(settings.Label)) { 3308 3309 #line default 3310 #line hidden 3311 WriteLiteralTo(__razor_helper_writer, " <label"); 3312 3313 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 40993), Tuple.Create("\"", 41011) 3314 3315 #line 1122 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3316 , Tuple.Create(Tuple.Create("", 40999), Tuple.Create<System.Object, System.Int32>(settings.Id 3317 3318 #line default 3319 #line hidden 3320 , 40999), false) 3321 ); 3322 3323 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--left\""); 3324 3325 WriteLiteralTo(__razor_helper_writer, ">"); 3326 3327 3328 #line 1122 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3329 WriteTo(__razor_helper_writer, settings.Label); 3330 3331 3332 #line default 3333 #line hidden 3334 WriteLiteralTo(__razor_helper_writer, "</label> "); 3335 3336 3337 #line 1122 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3338 } 3339 3340 3341 #line default 3342 #line hidden 3343 WriteLiteralTo(__razor_helper_writer, " "); 3344 3345 3346 #line 1123 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3347 if (settings.Link != null) { 3348 settings.Link.ButtonLayout = ButtonLayout.LinkClean; 3349 3350 3351 3352 #line default 3353 #line hidden 3354 WriteLiteralTo(__razor_helper_writer, " <div"); 3355 3356 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right\""); 3357 3358 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3359 3360 WriteLiteralTo(__razor_helper_writer, " "); 3361 3362 3363 #line 1127 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3364 WriteTo(__razor_helper_writer, Render(settings.Link)); 3365 3366 3367 #line default 3368 #line hidden 3369 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3370 3371 3372 #line 1129 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3373 } 3374 3375 3376 #line default 3377 #line hidden 3378 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 3379 3380 3381 #line 1131 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3382 3383 } 3384 3385 3386 #line default 3387 #line hidden 3388 WriteLiteralTo(__razor_helper_writer, "\r\n"); 3389 3390 3391 #line 1134 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3392 3393 3394 #line default 3395 #line hidden 3396 3397 #line 1134 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3398 if (!string.IsNullOrEmpty(settings.HelpText)) 3399 { 3400 3401 3402 #line default 3403 #line hidden 3404 WriteLiteralTo(__razor_helper_writer, " <small"); 3405 3406 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 3407 3408 WriteLiteralTo(__razor_helper_writer, ">"); 3409 3410 3411 #line 1136 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3412 WriteTo(__razor_helper_writer, settings.HelpText); 3413 3414 3415 #line default 3416 #line hidden 3417 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 3418 3419 3420 #line 1137 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3421 } 3422 3423 3424 #line default 3425 #line hidden 3426 WriteLiteralTo(__razor_helper_writer, "\r\n"); 3427 3428 3429 #line 1139 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3430 3431 3432 #line default 3433 #line hidden 3434 3435 #line 1139 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3436 if (settings.ActionButton != null) 3437 { 3438 settings.ActionButton.CssClass += " btn--condensed u-no-margin"; 3439 3440 3441 #line default 3442 #line hidden 3443 WriteLiteralTo(__razor_helper_writer, " <div"); 3444 3445 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-combi u-no-margin dw-mod\""); 3446 3447 WriteLiteralTo(__razor_helper_writer, ">\r\n <input "); 3448 3449 3450 #line 1143 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3451 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 3452 3453 3454 #line default 3455 #line hidden 3456 WriteLiteralTo(__razor_helper_writer, " class=\""); 3457 3458 3459 #line 1143 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3460 WriteTo(__razor_helper_writer, settings.CssClass); 3461 3462 3463 #line default 3464 #line hidden 3465 WriteLiteralTo(__razor_helper_writer, " dw-mod\" />\r\n"); 3466 3467 WriteLiteralTo(__razor_helper_writer, " "); 3468 3469 3470 #line 1144 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3471 WriteTo(__razor_helper_writer, Render(settings.ActionButton)); 3472 3473 3474 #line default 3475 #line hidden 3476 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3477 3478 3479 #line 1146 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3480 } 3481 else 3482 { 3483 3484 3485 #line default 3486 #line hidden 3487 WriteLiteralTo(__razor_helper_writer, " <input "); 3488 3489 3490 #line 1149 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3491 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 3492 3493 3494 #line default 3495 #line hidden 3496 WriteLiteralTo(__razor_helper_writer, " class=\""); 3497 3498 3499 #line 1149 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3500 WriteTo(__razor_helper_writer, settings.CssClass); 3501 3502 3503 #line default 3504 #line hidden 3505 WriteLiteralTo(__razor_helper_writer, " dw-mod\" />\r\n"); 3506 3507 3508 #line 1150 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3509 } 3510 3511 3512 #line default 3513 #line hidden 3514 WriteLiteralTo(__razor_helper_writer, "\r\n"); 3515 3516 WriteLiteralTo(__razor_helper_writer, " "); 3517 3518 3519 #line 1152 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3520 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 3521 3522 3523 #line default 3524 #line hidden 3525 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3526 3527 3528 #line 1154 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3529 3530 3531 #line default 3532 #line hidden 3533 }); 3534 3535 #line 1154 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3536 } 3537 #line default 3538 #line hidden 3539 3540 3541 #line 1161 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3542 public RazorEngine.Templating.TemplateWriter RenderNumberField(NumberField settings) 3543 { 3544 #line default 3545 #line hidden 3546 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3547 3548 #line 1162 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3549 3550 var attributes = new Dictionary<string, string>(); 3551 if (!string.IsNullOrEmpty(settings.Label) && string.IsNullOrEmpty(settings.Id)) 3552 { 3553 settings.Id = Guid.NewGuid().ToString("N"); 3554 } 3555 3556 /*base settings*/ 3557 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 3558 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 3559 if (!string.IsNullOrEmpty(settings.OnChange)) { attributes.Add("onchange", settings.OnChange); } 3560 if (settings.Disabled) { attributes.Add("disabled", "true"); } 3561 if (settings.Required) { attributes.Add("required", "true"); } 3562 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 3563 /*end*/ 3564 3565 if (!string.IsNullOrEmpty(settings.OnKeyUp)) { attributes.Add("onkeyup", settings.OnKeyUp); } 3566 if (!string.IsNullOrEmpty(settings.OnInput)) { attributes.Add("oninput", settings.OnInput); } 3567 if (!string.IsNullOrEmpty(settings.OnFocus)) { attributes.Add("onfocus", settings.OnFocus); } 3568 if (settings.ReadOnly) { attributes.Add("readonly", "true"); } 3569 if (settings.Max != null) { attributes.Add("max", settings.Max.ToString()); } 3570 if (settings.Min != null) { attributes.Add("min", settings.Min.ToString()); } 3571 if (settings.Step != 0) { attributes.Add("step", settings.Step.ToString()); } 3572 if (settings.Value != null && !string.IsNullOrEmpty(settings.Value.ToString())) { attributes.Add("value", settings.Value.ToString()); } 3573 attributes.Add("type", "number"); 3574 3575 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 3576 3577 3578 3579 #line default 3580 #line hidden 3581 WriteLiteralTo(__razor_helper_writer, " <div"); 3582 3583 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 44053), Tuple.Create("\"", 44124) 3584 , Tuple.Create(Tuple.Create("", 44061), Tuple.Create("form__field-group", 44061), true) 3585 , Tuple.Create(Tuple.Create(" ", 44078), Tuple.Create("u-full-width", 44079), true) 3586 3587 #line 1190 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3588 , Tuple.Create(Tuple.Create(" ", 44091), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 3589 3590 #line default 3591 #line hidden 3592 , 44092), false) 3593 , Tuple.Create(Tuple.Create(" ", 44117), Tuple.Create("dw-mod", 44118), true) 3594 ); 3595 3596 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3597 3598 3599 #line 1191 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3600 3601 3602 #line default 3603 #line hidden 3604 3605 #line 1191 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3606 if (!string.IsNullOrEmpty(settings.Label) || settings.Link != null ) 3607 { 3608 3609 3610 #line default 3611 #line hidden 3612 WriteLiteralTo(__razor_helper_writer, " <div"); 3613 3614 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width\""); 3615 3616 WriteLiteralTo(__razor_helper_writer, "> \r\n"); 3617 3618 3619 #line 1194 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3620 3621 3622 #line default 3623 #line hidden 3624 3625 #line 1194 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3626 if (!string.IsNullOrEmpty(settings.Label)) { 3627 3628 #line default 3629 #line hidden 3630 WriteLiteralTo(__razor_helper_writer, " <label"); 3631 3632 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 44327), Tuple.Create("\"", 44345) 3633 3634 #line 1194 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3635 , Tuple.Create(Tuple.Create("", 44333), Tuple.Create<System.Object, System.Int32>(settings.Id 3636 3637 #line default 3638 #line hidden 3639 , 44333), false) 3640 ); 3641 3642 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--left\""); 3643 3644 WriteLiteralTo(__razor_helper_writer, ">"); 3645 3646 3647 #line 1194 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3648 WriteTo(__razor_helper_writer, settings.Label); 3649 3650 3651 #line default 3652 #line hidden 3653 WriteLiteralTo(__razor_helper_writer, "</label> "); 3654 3655 3656 #line 1194 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3657 } 3658 3659 3660 #line default 3661 #line hidden 3662 WriteLiteralTo(__razor_helper_writer, " "); 3663 3664 3665 #line 1195 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3666 if (settings.Link != null) { 3667 3668 3669 #line default 3670 #line hidden 3671 WriteLiteralTo(__razor_helper_writer, " <div"); 3672 3673 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right\""); 3674 3675 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3676 3677 3678 #line 1197 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3679 3680 3681 #line default 3682 #line hidden 3683 3684 #line 1197 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3685 settings.Link.ButtonLayout = ButtonLayout.LinkClean; 3686 3687 #line default 3688 #line hidden 3689 WriteLiteralTo(__razor_helper_writer, "\r\n"); 3690 3691 WriteLiteralTo(__razor_helper_writer, " "); 3692 3693 3694 #line 1198 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3695 WriteTo(__razor_helper_writer, Render(settings.Link)); 3696 3697 3698 #line default 3699 #line hidden 3700 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3701 3702 3703 #line 1200 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3704 } 3705 3706 3707 #line default 3708 #line hidden 3709 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 3710 3711 3712 #line 1202 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3713 3714 } 3715 3716 3717 #line default 3718 #line hidden 3719 WriteLiteralTo(__razor_helper_writer, "\r\n"); 3720 3721 3722 #line 1205 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3723 3724 3725 #line default 3726 #line hidden 3727 3728 #line 1205 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3729 if (!string.IsNullOrEmpty(settings.HelpText)) 3730 { 3731 3732 3733 #line default 3734 #line hidden 3735 WriteLiteralTo(__razor_helper_writer, " <small"); 3736 3737 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 3738 3739 WriteLiteralTo(__razor_helper_writer, ">"); 3740 3741 3742 #line 1207 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3743 WriteTo(__razor_helper_writer, settings.HelpText); 3744 3745 3746 #line default 3747 #line hidden 3748 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 3749 3750 3751 #line 1208 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3752 } 3753 3754 3755 #line default 3756 #line hidden 3757 WriteLiteralTo(__razor_helper_writer, "\r\n"); 3758 3759 3760 #line 1210 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3761 3762 3763 #line default 3764 #line hidden 3765 3766 #line 1210 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3767 if (settings.ActionButton != null) 3768 { 3769 settings.ActionButton.CssClass += " btn--condensed u-no-margin"; 3770 3771 3772 #line default 3773 #line hidden 3774 WriteLiteralTo(__razor_helper_writer, " <div"); 3775 3776 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-combi u-no-margin dw-mod\""); 3777 3778 WriteLiteralTo(__razor_helper_writer, ">\r\n <input "); 3779 3780 3781 #line 1214 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3782 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 3783 3784 3785 #line default 3786 #line hidden 3787 WriteLiteralTo(__razor_helper_writer, " class=\""); 3788 3789 3790 #line 1214 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3791 WriteTo(__razor_helper_writer, settings.CssClass); 3792 3793 3794 #line default 3795 #line hidden 3796 WriteLiteralTo(__razor_helper_writer, " dw-mod\" />\r\n"); 3797 3798 WriteLiteralTo(__razor_helper_writer, " "); 3799 3800 3801 #line 1215 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3802 WriteTo(__razor_helper_writer, Render(settings.ActionButton)); 3803 3804 3805 #line default 3806 #line hidden 3807 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3808 3809 3810 #line 1217 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3811 } 3812 else 3813 { 3814 3815 3816 #line default 3817 #line hidden 3818 WriteLiteralTo(__razor_helper_writer, " <div"); 3819 3820 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-combi u-no-margin dw-mod\""); 3821 3822 WriteLiteralTo(__razor_helper_writer, ">\r\n <input "); 3823 3824 3825 #line 1221 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3826 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 3827 3828 3829 #line default 3830 #line hidden 3831 WriteLiteralTo(__razor_helper_writer, " class=\""); 3832 3833 3834 #line 1221 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3835 WriteTo(__razor_helper_writer, settings.CssClass); 3836 3837 3838 #line default 3839 #line hidden 3840 WriteLiteralTo(__razor_helper_writer, " dw-mod\" />\r\n </div>\r\n"); 3841 3842 3843 #line 1223 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3844 } 3845 3846 3847 #line default 3848 #line hidden 3849 WriteLiteralTo(__razor_helper_writer, "\r\n"); 3850 3851 WriteLiteralTo(__razor_helper_writer, " "); 3852 3853 3854 #line 1225 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3855 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 3856 3857 3858 #line default 3859 #line hidden 3860 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3861 3862 3863 #line 1227 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3864 3865 3866 #line default 3867 #line hidden 3868 }); 3869 3870 #line 1227 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3871 } 3872 #line default 3873 #line hidden 3874 3875 3876 #line 1235 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3877 public RazorEngine.Templating.TemplateWriter RenderTextareaField(TextareaField settings) 3878 { 3879 #line default 3880 #line hidden 3881 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3882 3883 #line 1236 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3884 3885 Dictionary<string, string> attributes = new Dictionary<string, string>(); 3886 string id = settings.Id; 3887 if (!string.IsNullOrEmpty(settings.Label) && string.IsNullOrEmpty(id)) 3888 { 3889 id = Guid.NewGuid().ToString("N"); 3890 } 3891 3892 if (!string.IsNullOrEmpty(id)) { attributes.Add("id", id); } 3893 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 3894 if (!string.IsNullOrEmpty(settings.OnKeyUp)) { attributes.Add("onkeyup", settings.OnKeyUp); } 3895 if (!string.IsNullOrEmpty(settings.OnInput)) { attributes.Add("oninput", settings.OnInput); } 3896 if (!string.IsNullOrEmpty(settings.OnFocus)) { attributes.Add("onfocus", settings.OnFocus); } 3897 if (!string.IsNullOrEmpty(settings.OnChange)) { attributes.Add("onchange", settings.OnChange); } 3898 if (!string.IsNullOrEmpty(settings.Placeholder)) { attributes.Add("placeholder", settings.Placeholder); } 3899 if (settings.Disabled) { attributes.Add("disabled", "true"); } 3900 if (settings.Required) { attributes.Add("required", "true"); } 3901 if (settings.ReadOnly) { attributes.Add("readonly", "true"); } 3902 if (settings.MaxLength != 0) { attributes.Add("maxlength", settings.MaxLength.ToString()); } 3903 if (settings.Rows != 0) { attributes.Add("rows", settings.Rows.ToString()); } 3904 attributes.Add("name", settings.Name); 3905 3906 if (settings.Required && !String.IsNullOrEmpty(settings.Label)) { settings.Label += " <span class=\"required dw-mod\">*</span>"; } 3907 3908 3909 3910 #line default 3911 #line hidden 3912 WriteLiteralTo(__razor_helper_writer, " <div"); 3913 3914 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 47288), Tuple.Create("\"", 47346) 3915 , Tuple.Create(Tuple.Create("", 47296), Tuple.Create("form__field-group", 47296), true) 3916 3917 #line 1260 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3918 , Tuple.Create(Tuple.Create(" ", 47313), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 3919 3920 #line default 3921 #line hidden 3922 , 47314), false) 3923 , Tuple.Create(Tuple.Create(" ", 47339), Tuple.Create("dw-mod", 47340), true) 3924 ); 3925 3926 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3927 3928 3929 #line 1261 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3930 3931 3932 #line default 3933 #line hidden 3934 3935 #line 1261 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3936 if (!string.IsNullOrEmpty(settings.Label) || settings.Link != null ) 3937 { 3938 3939 3940 #line default 3941 #line hidden 3942 WriteLiteralTo(__razor_helper_writer, " <div"); 3943 3944 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width\""); 3945 3946 WriteLiteralTo(__razor_helper_writer, "> \r\n"); 3947 3948 3949 #line 1264 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3950 3951 3952 #line default 3953 #line hidden 3954 3955 #line 1264 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3956 if (!string.IsNullOrEmpty(settings.Label)) { 3957 3958 #line default 3959 #line hidden 3960 WriteLiteralTo(__razor_helper_writer, " <label"); 3961 3962 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 47549), Tuple.Create("\"", 47567) 3963 3964 #line 1264 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3965 , Tuple.Create(Tuple.Create("", 47555), Tuple.Create<System.Object, System.Int32>(settings.Id 3966 3967 #line default 3968 #line hidden 3969 , 47555), false) 3970 ); 3971 3972 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--left\""); 3973 3974 WriteLiteralTo(__razor_helper_writer, ">"); 3975 3976 3977 #line 1264 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3978 WriteTo(__razor_helper_writer, settings.Label); 3979 3980 3981 #line default 3982 #line hidden 3983 WriteLiteralTo(__razor_helper_writer, "</label> "); 3984 3985 3986 #line 1264 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3987 } 3988 3989 3990 #line default 3991 #line hidden 3992 WriteLiteralTo(__razor_helper_writer, " "); 3993 3994 3995 #line 1265 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 3996 if (settings.Link != null) { 3997 3998 3999 #line default 4000 #line hidden 4001 WriteLiteralTo(__razor_helper_writer, " <div"); 4002 4003 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right\""); 4004 4005 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4006 4007 4008 #line 1267 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4009 4010 4011 #line default 4012 #line hidden 4013 4014 #line 1267 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4015 settings.Link.ButtonLayout = ButtonLayout.LinkClean; 4016 4017 #line default 4018 #line hidden 4019 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4020 4021 WriteLiteralTo(__razor_helper_writer, " "); 4022 4023 4024 #line 1268 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4025 WriteTo(__razor_helper_writer, Render(settings.Link)); 4026 4027 4028 #line default 4029 #line hidden 4030 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4031 4032 4033 #line 1270 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4034 } 4035 4036 4037 #line default 4038 #line hidden 4039 WriteLiteralTo(__razor_helper_writer, " </div> \r\n"); 4040 4041 4042 #line 1272 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4043 } 4044 4045 4046 #line default 4047 #line hidden 4048 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4049 4050 4051 #line 1274 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4052 4053 4054 #line default 4055 #line hidden 4056 4057 #line 1274 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4058 if (!string.IsNullOrEmpty(settings.HelpText)) 4059 { 4060 4061 4062 #line default 4063 #line hidden 4064 WriteLiteralTo(__razor_helper_writer, " <small"); 4065 4066 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 4067 4068 WriteLiteralTo(__razor_helper_writer, ">"); 4069 4070 4071 #line 1276 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4072 WriteTo(__razor_helper_writer, settings.HelpText); 4073 4074 4075 #line default 4076 #line hidden 4077 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 4078 4079 4080 #line 1277 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4081 } 4082 4083 4084 #line default 4085 #line hidden 4086 WriteLiteralTo(__razor_helper_writer, "\r\n <textarea"); 4087 4088 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 48093), Tuple.Create("\"", 48139) 4089 , Tuple.Create(Tuple.Create("", 48101), Tuple.Create("u-full-width", 48101), true) 4090 4091 #line 1279 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4092 , Tuple.Create(Tuple.Create(" ", 48113), Tuple.Create<System.Object, System.Int32>(settings.CssClass 4093 4094 #line default 4095 #line hidden 4096 , 48114), false) 4097 , Tuple.Create(Tuple.Create(" ", 48132), Tuple.Create("dw-mod", 48133), true) 4098 ); 4099 4100 WriteLiteralTo(__razor_helper_writer, " "); 4101 4102 4103 #line 1279 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4104 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(attributes)); 4105 4106 4107 #line default 4108 #line hidden 4109 WriteLiteralTo(__razor_helper_writer, " "); 4110 4111 4112 #line 1279 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4113 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 4114 4115 4116 #line default 4117 #line hidden 4118 WriteLiteralTo(__razor_helper_writer, ">"); 4119 4120 4121 #line 1279 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4122 WriteTo(__razor_helper_writer, settings.Value); 4123 4124 4125 #line default 4126 #line hidden 4127 WriteLiteralTo(__razor_helper_writer, "</textarea>\r\n\r\n"); 4128 4129 WriteLiteralTo(__razor_helper_writer, " "); 4130 4131 4132 #line 1281 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4133 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 4134 4135 4136 #line default 4137 #line hidden 4138 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4139 4140 4141 #line 1283 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4142 4143 4144 #line default 4145 #line hidden 4146 }); 4147 4148 #line 1283 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4149 } 4150 #line default 4151 #line hidden 4152 4153 4154 #line 1291 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4155 public RazorEngine.Templating.TemplateWriter RenderHiddenField(HiddenField settings) { 4156 #line default 4157 #line hidden 4158 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4159 4160 #line 1291 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4161 4162 var attributes = new Dictionary<string, string>(); 4163 attributes.Add("type", "hidden"); 4164 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 4165 if (settings.Value != null) { attributes.Add("value", settings.Value); } 4166 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 4167 4168 4169 4170 #line default 4171 #line hidden 4172 WriteLiteralTo(__razor_helper_writer, " <input "); 4173 4174 4175 #line 1298 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4176 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(attributes)); 4177 4178 4179 #line default 4180 #line hidden 4181 WriteLiteralTo(__razor_helper_writer, " "); 4182 4183 4184 #line 1298 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4185 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 4186 4187 4188 #line default 4189 #line hidden 4190 WriteLiteralTo(__razor_helper_writer, "/>\r\n"); 4191 4192 4193 #line 1299 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4194 4195 4196 #line default 4197 #line hidden 4198 }); 4199 4200 #line 1299 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4201 } 4202 #line default 4203 #line hidden 4204 4205 4206 #line 1306 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4207 public RazorEngine.Templating.TemplateWriter RenderCheckboxField(CheckboxField settings) 4208 { 4209 #line default 4210 #line hidden 4211 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4212 4213 #line 1307 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4214 4215 var attributes = new Dictionary<string, string>(); 4216 if (!string.IsNullOrEmpty(settings.Label) && string.IsNullOrEmpty(settings.Id)) 4217 { 4218 settings.Id = Guid.NewGuid().ToString("N"); 4219 } 4220 4221 /*base settings*/ 4222 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 4223 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 4224 if (!string.IsNullOrEmpty(settings.OnChange)) { attributes.Add("onchange", settings.OnChange); } 4225 if (settings.Disabled) { attributes.Add("disabled", "true"); } 4226 if (settings.Required) { attributes.Add("required", "true"); } 4227 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 4228 /*end*/ 4229 4230 if (settings.Required && !String.IsNullOrEmpty(settings.Label)) { settings.Label += " <span class=\"required dw-mod\">*</span>"; } 4231 4232 attributes.Add("type", "checkbox"); 4233 if (settings.Checked) { attributes.Add("checked", "true"); } 4234 settings.CssClass = "form__control " + settings.CssClass; 4235 if (settings.Value != null) { attributes.Add("value", settings.Value); } 4236 4237 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 4238 4239 4240 4241 #line default 4242 #line hidden 4243 WriteLiteralTo(__razor_helper_writer, " <div"); 4244 4245 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 50535), Tuple.Create("\"", 50593) 4246 , Tuple.Create(Tuple.Create("", 50543), Tuple.Create("form__field-group", 50543), true) 4247 4248 #line 1332 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4249 , Tuple.Create(Tuple.Create(" ", 50560), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 4250 4251 #line default 4252 #line hidden 4253 , 50561), false) 4254 , Tuple.Create(Tuple.Create(" ", 50586), Tuple.Create("dw-mod", 50587), true) 4255 ); 4256 4257 WriteLiteralTo(__razor_helper_writer, ">\r\n <input "); 4258 4259 4260 #line 1333 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4261 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 4262 4263 4264 #line default 4265 #line hidden 4266 WriteLiteralTo(__razor_helper_writer, " class=\""); 4267 4268 4269 #line 1333 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4270 WriteTo(__razor_helper_writer, settings.CssClass); 4271 4272 4273 #line default 4274 #line hidden 4275 WriteLiteralTo(__razor_helper_writer, " dw-mod\" />\r\n"); 4276 4277 4278 #line 1334 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4279 4280 4281 #line default 4282 #line hidden 4283 4284 #line 1334 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4285 if (!string.IsNullOrEmpty(settings.Label)) 4286 { 4287 4288 4289 #line default 4290 #line hidden 4291 WriteLiteralTo(__razor_helper_writer, " <label"); 4292 4293 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 50782), Tuple.Create("\"", 50800) 4294 4295 #line 1336 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4296 , Tuple.Create(Tuple.Create("", 50788), Tuple.Create<System.Object, System.Int32>(settings.Id 4297 4298 #line default 4299 #line hidden 4300 , 50788), false) 4301 ); 4302 4303 WriteLiteralTo(__razor_helper_writer, " class=\"dw-mod\""); 4304 4305 WriteLiteralTo(__razor_helper_writer, ">"); 4306 4307 4308 #line 1336 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4309 WriteTo(__razor_helper_writer, settings.Label); 4310 4311 4312 #line default 4313 #line hidden 4314 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 4315 4316 4317 #line 1337 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4318 } 4319 4320 4321 #line default 4322 #line hidden 4323 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4324 4325 4326 #line 1339 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4327 4328 4329 #line default 4330 #line hidden 4331 4332 #line 1339 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4333 if (settings.Link != null) { 4334 4335 4336 #line default 4337 #line hidden 4338 WriteLiteralTo(__razor_helper_writer, " <span>\r\n"); 4339 4340 4341 #line 1341 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4342 4343 4344 #line default 4345 #line hidden 4346 4347 #line 1341 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4348 settings.Link.ButtonLayout = ButtonLayout.LinkClean; 4349 4350 #line default 4351 #line hidden 4352 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4353 4354 WriteLiteralTo(__razor_helper_writer, " "); 4355 4356 4357 #line 1342 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4358 WriteTo(__razor_helper_writer, Render(settings.Link)); 4359 4360 4361 #line default 4362 #line hidden 4363 WriteLiteralTo(__razor_helper_writer, "\r\n </span>\r\n"); 4364 4365 4366 #line 1344 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4367 } 4368 4369 4370 #line default 4371 #line hidden 4372 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4373 4374 4375 #line 1346 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4376 4377 4378 #line default 4379 #line hidden 4380 4381 #line 1346 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4382 if (!string.IsNullOrEmpty(settings.HelpText)) 4383 { 4384 4385 4386 #line default 4387 #line hidden 4388 WriteLiteralTo(__razor_helper_writer, " <small"); 4389 4390 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text checkbox-help dw-mod\""); 4391 4392 WriteLiteralTo(__razor_helper_writer, ">"); 4393 4394 4395 #line 1348 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4396 WriteTo(__razor_helper_writer, settings.HelpText); 4397 4398 4399 #line default 4400 #line hidden 4401 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 4402 4403 4404 #line 1349 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4405 } 4406 4407 4408 #line default 4409 #line hidden 4410 WriteLiteralTo(__razor_helper_writer, " "); 4411 4412 4413 #line 1350 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4414 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 4415 4416 4417 #line default 4418 #line hidden 4419 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4420 4421 4422 #line 1352 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4423 4424 4425 #line default 4426 #line hidden 4427 }); 4428 4429 #line 1352 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4430 } 4431 #line default 4432 #line hidden 4433 4434 4435 #line 1360 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4436 public RazorEngine.Templating.TemplateWriter RenderCheckboxListField(CheckboxListField settings) 4437 { 4438 #line default 4439 #line hidden 4440 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4441 4442 #line 1361 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4443 4444 4445 4446 #line default 4447 #line hidden 4448 WriteLiteralTo(__razor_helper_writer, " <div"); 4449 4450 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 51543), Tuple.Create("\"", 51617) 4451 , Tuple.Create(Tuple.Create("", 51551), Tuple.Create("form__field-group", 51551), true) 4452 4453 #line 1362 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4454 , Tuple.Create(Tuple.Create(" ", 51568), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 4455 4456 #line default 4457 #line hidden 4458 , 51569), false) 4459 , Tuple.Create(Tuple.Create(" ", 51594), Tuple.Create("u-margin-bottom", 51595), true) 4460 , Tuple.Create(Tuple.Create(" ", 51610), Tuple.Create("dw-mod", 51611), true) 4461 ); 4462 4463 WriteLiteralTo(__razor_helper_writer, " "); 4464 4465 4466 #line 1362 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4467 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 4468 4469 4470 #line default 4471 #line hidden 4472 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4473 4474 4475 #line 1363 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4476 4477 4478 #line default 4479 #line hidden 4480 4481 #line 1363 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4482 if (!string.IsNullOrEmpty(settings.Label) || settings.Link != null ) 4483 { 4484 4485 4486 #line default 4487 #line hidden 4488 WriteLiteralTo(__razor_helper_writer, " <div"); 4489 4490 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width\""); 4491 4492 WriteLiteralTo(__razor_helper_writer, "> \r\n"); 4493 4494 4495 #line 1366 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4496 4497 4498 #line default 4499 #line hidden 4500 4501 #line 1366 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4502 if (!string.IsNullOrEmpty(settings.Label)) { 4503 4504 #line default 4505 #line hidden 4506 WriteLiteralTo(__razor_helper_writer, " <label"); 4507 4508 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 51878), Tuple.Create("\"", 51896) 4509 4510 #line 1366 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4511 , Tuple.Create(Tuple.Create("", 51884), Tuple.Create<System.Object, System.Int32>(settings.Id 4512 4513 #line default 4514 #line hidden 4515 , 51884), false) 4516 ); 4517 4518 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--left\""); 4519 4520 WriteLiteralTo(__razor_helper_writer, ">"); 4521 4522 4523 #line 1366 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4524 WriteTo(__razor_helper_writer, settings.Label); 4525 4526 4527 #line default 4528 #line hidden 4529 WriteLiteralTo(__razor_helper_writer, "</label> "); 4530 4531 4532 #line 1366 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4533 } 4534 4535 4536 #line default 4537 #line hidden 4538 WriteLiteralTo(__razor_helper_writer, " "); 4539 4540 4541 #line 1367 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4542 if (settings.Link != null) { 4543 4544 4545 #line default 4546 #line hidden 4547 WriteLiteralTo(__razor_helper_writer, " <div"); 4548 4549 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right\""); 4550 4551 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4552 4553 4554 #line 1369 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4555 4556 4557 #line default 4558 #line hidden 4559 4560 #line 1369 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4561 settings.Link.ButtonLayout = ButtonLayout.LinkClean; 4562 4563 #line default 4564 #line hidden 4565 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4566 4567 WriteLiteralTo(__razor_helper_writer, " "); 4568 4569 4570 #line 1370 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4571 WriteTo(__razor_helper_writer, Render(settings.Link)); 4572 4573 4574 #line default 4575 #line hidden 4576 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4577 4578 4579 #line 1372 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4580 } 4581 4582 4583 #line default 4584 #line hidden 4585 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 4586 4587 4588 #line 1374 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4589 4590 } 4591 4592 4593 #line default 4594 #line hidden 4595 WriteLiteralTo(__razor_helper_writer, "\r\n <div"); 4596 4597 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--left\""); 4598 4599 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4600 4601 4602 #line 1378 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4603 4604 4605 #line default 4606 #line hidden 4607 4608 #line 1378 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4609 if (!string.IsNullOrEmpty(settings.HelpText)) 4610 { 4611 4612 4613 #line default 4614 #line hidden 4615 WriteLiteralTo(__razor_helper_writer, " <small"); 4616 4617 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 4618 4619 WriteLiteralTo(__razor_helper_writer, ">"); 4620 4621 4622 #line 1380 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4623 WriteTo(__razor_helper_writer, settings.HelpText); 4624 4625 4626 #line default 4627 #line hidden 4628 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 4629 4630 4631 #line 1381 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4632 } 4633 4634 4635 #line default 4636 #line hidden 4637 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4638 4639 4640 #line 1383 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4641 4642 4643 #line default 4644 #line hidden 4645 4646 #line 1383 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4647 foreach (var item in settings.Options) 4648 { 4649 if (settings.Required) 4650 { 4651 item.Required = true; 4652 } 4653 if (settings.Disabled) 4654 { 4655 item.Disabled = true; 4656 } 4657 if (!string.IsNullOrEmpty(settings.Name)) 4658 { 4659 item.Name = settings.Name; 4660 } 4661 if (!string.IsNullOrEmpty(settings.CssClass)) 4662 { 4663 item.CssClass += settings.CssClass; 4664 } 4665 4666 /* value is not supported */ 4667 4668 if (!string.IsNullOrEmpty(settings.OnClick)) 4669 { 4670 item.OnClick += settings.OnClick; 4671 } 4672 if (!string.IsNullOrEmpty(settings.OnChange)) 4673 { 4674 item.OnChange += settings.OnChange; 4675 } 4676 4677 4678 #line default 4679 #line hidden 4680 4681 #line 1412 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4682 WriteTo(__razor_helper_writer, Render(item)); 4683 4684 4685 #line default 4686 #line hidden 4687 4688 #line 1412 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4689 4690 } 4691 4692 4693 #line default 4694 #line hidden 4695 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4696 4697 WriteLiteralTo(__razor_helper_writer, " "); 4698 4699 4700 #line 1415 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4701 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 4702 4703 4704 #line default 4705 #line hidden 4706 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n \r\n </div>\r\n"); 4707 4708 4709 #line 1419 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4710 4711 4712 #line default 4713 #line hidden 4714 }); 4715 4716 #line 1419 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4717 } 4718 #line default 4719 #line hidden 4720 4721 4722 #line 1424 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4723 public RazorEngine.Templating.TemplateWriter RenderSearch(Search settings) 4724 { 4725 #line default 4726 #line hidden 4727 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4728 4729 #line 1425 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4730 4731 var searchValue = HttpContext.Current.Request.QueryString.Get(settings.SearchParameter) ?? ""; 4732 var groupValue = HttpContext.Current.Request.QueryString.Get(settings.GroupsParameter) ?? ""; 4733 4734 if (string.IsNullOrEmpty(settings.Id)) 4735 { 4736 settings.Id = Guid.NewGuid().ToString("N"); 4737 } 4738 4739 var resultAttributes = new Dictionary<string, string>(); 4740 4741 if (settings.PageSize != 0) 4742 { 4743 resultAttributes.Add("data-page-size", settings.PageSize.ToString()); 4744 } 4745 if (!string.IsNullOrEmpty(settings.GroupItemsFeedUrl)) 4746 { 4747 resultAttributes.Add("data-groups-feed-url", settings.GroupItemsFeedUrl); 4748 if (!string.IsNullOrEmpty(groupValue)) 4749 { 4750 resultAttributes.Add("data-selected-group", groupValue); 4751 } 4752 if (!string.IsNullOrEmpty(settings.GroupsParameter)) 4753 { 4754 resultAttributes.Add("data-groups-parameter", settings.GroupsParameter); 4755 } 4756 } 4757 resultAttributes.Add("data-force-init", "true"); 4758 if (settings.GoToFirstSearchResultOnEnter) 4759 { 4760 resultAttributes.Add("data-go-to-first-search-result-on-enter", settings.GoToFirstSearchResultOnEnter.ToString().ToLower()); 4761 } 4762 if (!string.IsNullOrEmpty(settings.SearchParameter)) 4763 { 4764 resultAttributes.Add("data-search-parameter", settings.SearchParameter); 4765 } 4766 resultAttributes.Add("data-search-feed-url", settings.SearchData.SearchFeedUrl); 4767 resultAttributes.Add("data-results-template-id", settings.SearchData.ResultsTemplateId); 4768 4769 if (settings.SecondSearchData != null) 4770 { 4771 resultAttributes.Add("data-second-search-feed-url", settings.SecondSearchData.SearchFeedUrl); 4772 resultAttributes.Add("data-second-results-template-id", settings.SecondSearchData.ResultsTemplateId); 4773 } 4774 if (!string.IsNullOrEmpty(settings.ResultsPageUrl)) 4775 { 4776 resultAttributes.Add("data-results-page-url", settings.ResultsPageUrl); 4777 } 4778 4779 resultAttributes = resultAttributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 4780 4781 string searchFieldCss = (settings.SearchButton == null) ? "search--with-icon" : ""; 4782 4783 4784 4785 #line default 4786 #line hidden 4787 WriteLiteralTo(__razor_helper_writer, " <div"); 4788 4789 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 55961), Tuple.Create("\"", 56039) 4790 , Tuple.Create(Tuple.Create("", 55969), Tuple.Create("search", 55969), true) 4791 4792 #line 1478 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4793 , Tuple.Create(Tuple.Create(" ", 55975), Tuple.Create<System.Object, System.Int32>(settings.CssClass 4794 4795 #line default 4796 #line hidden 4797 , 55976), false) 4798 4799 #line 1478 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4800 , Tuple.Create(Tuple.Create(" ", 55994), Tuple.Create<System.Object, System.Int32>(searchFieldCss 4801 4802 #line default 4803 #line hidden 4804 , 55995), false) 4805 , Tuple.Create(Tuple.Create(" ", 56010), Tuple.Create("js-search-data-source", 56011), true) 4806 , Tuple.Create(Tuple.Create(" ", 56032), Tuple.Create("dw-mod", 56033), true) 4807 ); 4808 4809 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 56040), Tuple.Create("\"", 56057) 4810 4811 #line 1478 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4812 , Tuple.Create(Tuple.Create("", 56045), Tuple.Create<System.Object, System.Int32>(settings.Id 4813 4814 #line default 4815 #line hidden 4816 , 56045), false) 4817 ); 4818 4819 WriteLiteralTo(__razor_helper_writer, " "); 4820 4821 4822 #line 1478 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4823 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 4824 4825 4826 #line default 4827 #line hidden 4828 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4829 4830 4831 #line 1479 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4832 4833 4834 #line default 4835 #line hidden 4836 4837 #line 1479 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4838 if (!string.IsNullOrEmpty(settings.GroupItemsFeedUrl)) 4839 { 4840 4841 4842 #line default 4843 #line hidden 4844 WriteLiteralTo(__razor_helper_writer, " <button"); 4845 4846 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 4847 4848 WriteLiteralTo(__razor_helper_writer, " class=\"search__groups-btn dw-mod js-search-groups-btn\""); 4849 4850 WriteLiteralTo(__razor_helper_writer, ">"); 4851 4852 4853 #line 1481 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4854 WriteTo(__razor_helper_writer, Translate("All")); 4855 4856 4857 #line default 4858 #line hidden 4859 WriteLiteralTo(__razor_helper_writer, "</button>\r\n"); 4860 4861 WriteLiteralTo(__razor_helper_writer, " <ul"); 4862 4863 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown dropdown--absolute-position dw-mod search__groups-results js-sea" + 4864 "rch-groups-list\""); 4865 4866 WriteLiteralTo(__razor_helper_writer, "></ul>\r\n"); 4867 4868 4869 #line 1483 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4870 } 4871 4872 4873 #line default 4874 #line hidden 4875 WriteLiteralTo(__razor_helper_writer, "\r\n <input"); 4876 4877 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 4878 4879 WriteLiteralTo(__razor_helper_writer, " class=\"search__field dw-mod js-search-field\""); 4880 4881 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 56508), Tuple.Create("\"", 56543) 4882 4883 #line 1485 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4884 , Tuple.Create(Tuple.Create("", 56522), Tuple.Create<System.Object, System.Int32>(settings.Placeholder 4885 4886 #line default 4887 #line hidden 4888 , 56522), false) 4889 ); 4890 4891 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 56544), Tuple.Create("\"", 56564) 4892 4893 #line 1485 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4894 , Tuple.Create(Tuple.Create("", 56552), Tuple.Create<System.Object, System.Int32>(searchValue 4895 4896 #line default 4897 #line hidden 4898 , 56552), false) 4899 ); 4900 4901 WriteLiteralTo(__razor_helper_writer, ">\r\n \r\n <div"); 4902 4903 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 56590), Tuple.Create("\"", 56747) 4904 , Tuple.Create(Tuple.Create("", 56598), Tuple.Create("dropdown", 56598), true) 4905 , Tuple.Create(Tuple.Create(" ", 56606), Tuple.Create("dropdown--absolute-position", 56607), true) 4906 , Tuple.Create(Tuple.Create(" ", 56634), Tuple.Create("search__results", 56635), true) 4907 , Tuple.Create(Tuple.Create(" ", 56650), Tuple.Create("dw-mod", 56651), true) 4908 , Tuple.Create(Tuple.Create(" ", 56657), Tuple.Create("js-search-results", 56658), true) 4909 4910 #line 1487 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4911 , Tuple.Create(Tuple.Create(" ", 56675), Tuple.Create<System.Object, System.Int32>(settings.SecondSearchData != null ? "search__results--combined" : "" 4912 4913 #line default 4914 #line hidden 4915 , 56676), false) 4916 ); 4917 4918 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4919 4920 4921 #line 1488 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4922 4923 4924 #line default 4925 #line hidden 4926 4927 #line 1488 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4928 if (settings.SecondSearchData != null) 4929 { 4930 4931 4932 #line default 4933 #line hidden 4934 WriteLiteralTo(__razor_helper_writer, " <div"); 4935 4936 WriteLiteralTo(__razor_helper_writer, " class=\"search__column search__column--products dw-mod\""); 4937 4938 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 4939 4940 WriteLiteralTo(__razor_helper_writer, " class=\"search__column-header dw-mod\""); 4941 4942 WriteLiteralTo(__razor_helper_writer, ">"); 4943 4944 4945 #line 1491 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4946 WriteTo(__razor_helper_writer, Translate("Products")); 4947 4948 4949 #line default 4950 #line hidden 4951 WriteLiteralTo(__razor_helper_writer, "</div>\r\n <ul"); 4952 4953 WriteLiteralTo(__razor_helper_writer, " class=\"search__results-list dw-mod js-search-results-list\""); 4954 4955 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 57071), Tuple.Create("\"", 57102) 4956 4957 #line 1492 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4958 , Tuple.Create(Tuple.Create("", 57076), Tuple.Create<System.Object, System.Int32>(settings.Id 4959 4960 #line default 4961 #line hidden 4962 , 57076), false) 4963 , Tuple.Create(Tuple.Create("", 57090), Tuple.Create("_ResultsList", 57090), true) 4964 ); 4965 4966 WriteLiteralTo(__razor_helper_writer, "></ul>\r\n"); 4967 4968 4969 #line 1493 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4970 4971 4972 #line default 4973 #line hidden 4974 4975 #line 1493 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4976 if (!string.IsNullOrEmpty(settings.SearchData.ResultsPageUrl)) 4977 { 4978 4979 4980 #line default 4981 #line hidden 4982 4983 #line 1495 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4984 WriteTo(__razor_helper_writer, Render(new Link { 4985 Title = Translate("View all"), 4986 CssClass = "js-view-all-button u-margin", 4987 Href = settings.SearchData.ResultsPageUrl 4988 })); 4989 4990 4991 #line default 4992 #line hidden 4993 4994 #line 1499 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 4995 ; 4996 } 4997 4998 4999 #line default 5000 #line hidden 5001 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 5002 5003 WriteLiteralTo(__razor_helper_writer, " <div"); 5004 5005 WriteLiteralTo(__razor_helper_writer, " class=\"search__column search__column--pages dw-mod\""); 5006 5007 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 5008 5009 WriteLiteralTo(__razor_helper_writer, " class=\"search__column-header\""); 5010 5011 WriteLiteralTo(__razor_helper_writer, ">"); 5012 5013 5014 #line 1503 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5015 WriteTo(__razor_helper_writer, Translate("Pages")); 5016 5017 5018 #line default 5019 #line hidden 5020 WriteLiteralTo(__razor_helper_writer, "</div>\r\n <ul"); 5021 5022 WriteLiteralTo(__razor_helper_writer, " class=\"search__results-list dw-mod js-search-results-second-list\""); 5023 5024 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 57787), Tuple.Create("\"", 57824) 5025 5026 #line 1504 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5027 , Tuple.Create(Tuple.Create("", 57792), Tuple.Create<System.Object, System.Int32>(settings.Id 5028 5029 #line default 5030 #line hidden 5031 , 57792), false) 5032 , Tuple.Create(Tuple.Create("", 57806), Tuple.Create("_SecondResultsList", 57806), true) 5033 ); 5034 5035 WriteLiteralTo(__razor_helper_writer, "></ul>\r\n"); 5036 5037 5038 #line 1505 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5039 5040 5041 #line default 5042 #line hidden 5043 5044 #line 1505 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5045 if (!string.IsNullOrEmpty(settings.SecondSearchData.ResultsPageUrl)) 5046 { 5047 5048 5049 #line default 5050 #line hidden 5051 5052 #line 1507 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5053 WriteTo(__razor_helper_writer, Render(new Link 5054 { 5055 Title = Translate("View all"), 5056 CssClass = "js-view-all-button u-margin", 5057 Href = settings.SecondSearchData.ResultsPageUrl 5058 })); 5059 5060 5061 #line default 5062 #line hidden 5063 5064 #line 1512 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5065 ; 5066 } 5067 5068 5069 #line default 5070 #line hidden 5071 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 5072 5073 5074 #line 1515 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5075 } 5076 else 5077 { 5078 5079 5080 #line default 5081 #line hidden 5082 WriteLiteralTo(__razor_helper_writer, " <div"); 5083 5084 WriteLiteralTo(__razor_helper_writer, " class=\"search__column search__column--only dw-mod\""); 5085 5086 WriteLiteralTo(__razor_helper_writer, ">\r\n <ul"); 5087 5088 WriteLiteralTo(__razor_helper_writer, " class=\"search__results-list dw-mod js-search-results-list\""); 5089 5090 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 58504), Tuple.Create("\"", 58535) 5091 5092 #line 1519 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5093 , Tuple.Create(Tuple.Create("", 58509), Tuple.Create<System.Object, System.Int32>(settings.Id 5094 5095 #line default 5096 #line hidden 5097 , 58509), false) 5098 , Tuple.Create(Tuple.Create("", 58523), Tuple.Create("_ResultsList", 58523), true) 5099 ); 5100 5101 WriteLiteralTo(__razor_helper_writer, "></ul>\r\n"); 5102 5103 5104 #line 1520 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5105 5106 5107 #line default 5108 #line hidden 5109 5110 #line 1520 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5111 if (!string.IsNullOrEmpty(settings.SearchData.ResultsPageUrl)) 5112 { 5113 5114 5115 #line default 5116 #line hidden 5117 5118 #line 1522 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5119 WriteTo(__razor_helper_writer, Render(new Link { 5120 Title = Translate("View all"), 5121 CssClass = "js-view-all-button u-margin", 5122 Href = settings.SearchData.ResultsPageUrl 5123 })); 5124 5125 5126 #line default 5127 #line hidden 5128 5129 #line 1526 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5130 ; 5131 } 5132 5133 5134 #line default 5135 #line hidden 5136 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 5137 5138 5139 #line 1529 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5140 } 5141 5142 5143 #line default 5144 #line hidden 5145 WriteLiteralTo(__razor_helper_writer, " </div>\r\n\r\n"); 5146 5147 5148 #line 1532 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5149 5150 5151 #line default 5152 #line hidden 5153 5154 #line 1532 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5155 if (settings.SearchButton != null) 5156 { 5157 settings.SearchButton.CssClass += " search__btn js-search-btn"; 5158 if (settings.RenderDefaultSearchIcon) 5159 { 5160 settings.SearchButton.Icon = new Icon { Name = Pageview.AreaSettings.GetItem("Layout").GetItem("Icons").GetList("SearchIcon").SelectedValue }; 5161 } 5162 5163 5164 #line default 5165 #line hidden 5166 5167 #line 1539 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5168 WriteTo(__razor_helper_writer, Render(settings.SearchButton)); 5169 5170 5171 #line default 5172 #line hidden 5173 5174 #line 1539 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5175 ; 5176 } 5177 5178 5179 #line default 5180 #line hidden 5181 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 5182 5183 5184 #line 1542 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5185 5186 5187 #line default 5188 #line hidden 5189 }); 5190 5191 #line 1542 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5192 } 5193 #line default 5194 #line hidden 5195 5196 5197 #line 1550 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5198 public RazorEngine.Templating.TemplateWriter RenderSelectField(SelectField settings) 5199 { 5200 #line default 5201 #line hidden 5202 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5203 5204 #line 1551 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5205 5206 if (!string.IsNullOrEmpty(settings.Label) && string.IsNullOrEmpty(settings.Id)) 5207 { 5208 settings.Id = Guid.NewGuid().ToString("N"); 5209 } 5210 5211 5212 5213 #line default 5214 #line hidden 5215 WriteLiteralTo(__razor_helper_writer, " <div"); 5216 5217 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 59811), Tuple.Create("\"", 59882) 5218 , Tuple.Create(Tuple.Create("", 59819), Tuple.Create("form__field-group", 59819), true) 5219 , Tuple.Create(Tuple.Create(" ", 59836), Tuple.Create("u-full-width", 59837), true) 5220 5221 #line 1557 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5222 , Tuple.Create(Tuple.Create(" ", 59849), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 5223 5224 #line default 5225 #line hidden 5226 , 59850), false) 5227 , Tuple.Create(Tuple.Create(" ", 59875), Tuple.Create("dw-mod", 59876), true) 5228 ); 5229 5230 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5231 5232 5233 #line 1558 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5234 5235 5236 #line default 5237 #line hidden 5238 5239 #line 1558 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5240 if (!string.IsNullOrEmpty(settings.Label) || settings.Link != null ) 5241 { 5242 5243 5244 #line default 5245 #line hidden 5246 WriteLiteralTo(__razor_helper_writer, " <div"); 5247 5248 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width\""); 5249 5250 WriteLiteralTo(__razor_helper_writer, "> \r\n"); 5251 5252 5253 #line 1561 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5254 5255 5256 #line default 5257 #line hidden 5258 5259 #line 1561 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5260 if (!string.IsNullOrEmpty(settings.Label)) { 5261 5262 #line default 5263 #line hidden 5264 WriteLiteralTo(__razor_helper_writer, " <label"); 5265 5266 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 60085), Tuple.Create("\"", 60103) 5267 5268 #line 1561 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5269 , Tuple.Create(Tuple.Create("", 60091), Tuple.Create<System.Object, System.Int32>(settings.Id 5270 5271 #line default 5272 #line hidden 5273 , 60091), false) 5274 ); 5275 5276 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--left\""); 5277 5278 WriteLiteralTo(__razor_helper_writer, ">"); 5279 5280 5281 #line 1561 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5282 WriteTo(__razor_helper_writer, settings.Label); 5283 5284 5285 #line default 5286 #line hidden 5287 WriteLiteralTo(__razor_helper_writer, "</label> "); 5288 5289 5290 #line 1561 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5291 } 5292 5293 5294 #line default 5295 #line hidden 5296 WriteLiteralTo(__razor_helper_writer, " "); 5297 5298 5299 #line 1562 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5300 if (settings.Link != null) { 5301 5302 5303 #line default 5304 #line hidden 5305 WriteLiteralTo(__razor_helper_writer, " <div"); 5306 5307 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right\""); 5308 5309 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5310 5311 5312 #line 1564 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5313 5314 5315 #line default 5316 #line hidden 5317 5318 #line 1564 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5319 settings.Link.ButtonLayout = ButtonLayout.LinkClean; 5320 5321 #line default 5322 #line hidden 5323 WriteLiteralTo(__razor_helper_writer, "\r\n"); 5324 5325 WriteLiteralTo(__razor_helper_writer, " "); 5326 5327 5328 #line 1565 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5329 WriteTo(__razor_helper_writer, Render(settings.Link)); 5330 5331 5332 #line default 5333 #line hidden 5334 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 5335 5336 5337 #line 1567 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5338 } 5339 5340 5341 #line default 5342 #line hidden 5343 WriteLiteralTo(__razor_helper_writer, " </div> \r\n"); 5344 5345 5346 #line 1569 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5347 } 5348 5349 5350 #line default 5351 #line hidden 5352 WriteLiteralTo(__razor_helper_writer, "\r\n"); 5353 5354 5355 #line 1571 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5356 5357 5358 #line default 5359 #line hidden 5360 5361 #line 1571 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5362 if (!string.IsNullOrEmpty(settings.HelpText)) 5363 { 5364 5365 5366 #line default 5367 #line hidden 5368 WriteLiteralTo(__razor_helper_writer, " <small"); 5369 5370 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 5371 5372 WriteLiteralTo(__razor_helper_writer, ">"); 5373 5374 5375 #line 1573 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5376 WriteTo(__razor_helper_writer, settings.HelpText); 5377 5378 5379 #line default 5380 #line hidden 5381 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 5382 5383 5384 #line 1574 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5385 } 5386 5387 5388 #line default 5389 #line hidden 5390 WriteLiteralTo(__razor_helper_writer, "\r\n"); 5391 5392 5393 #line 1576 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5394 5395 5396 #line default 5397 #line hidden 5398 5399 #line 1576 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5400 if (settings.ActionButton != null) 5401 { 5402 settings.ActionButton.CssClass += " btn--condensed u-no-margin"; 5403 5404 5405 #line default 5406 #line hidden 5407 WriteLiteralTo(__razor_helper_writer, " <div"); 5408 5409 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-combi u-no-margin dw-mod\""); 5410 5411 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5412 5413 WriteLiteralTo(__razor_helper_writer, " "); 5414 5415 5416 #line 1580 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5417 WriteTo(__razor_helper_writer, RenderSelectBase(settings)); 5418 5419 5420 #line default 5421 #line hidden 5422 WriteLiteralTo(__razor_helper_writer, "\r\n"); 5423 5424 WriteLiteralTo(__razor_helper_writer, " "); 5425 5426 5427 #line 1581 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5428 WriteTo(__razor_helper_writer, Render(settings.ActionButton)); 5429 5430 5431 #line default 5432 #line hidden 5433 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 5434 5435 5436 #line 1583 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5437 } 5438 else 5439 { 5440 5441 5442 #line default 5443 #line hidden 5444 5445 #line 1586 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5446 WriteTo(__razor_helper_writer, RenderSelectBase(settings)); 5447 5448 5449 #line default 5450 #line hidden 5451 5452 #line 1586 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5453 5454 } 5455 5456 5457 #line default 5458 #line hidden 5459 WriteLiteralTo(__razor_helper_writer, "\r\n"); 5460 5461 WriteLiteralTo(__razor_helper_writer, " "); 5462 5463 5464 #line 1589 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5465 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 5466 5467 5468 #line default 5469 #line hidden 5470 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 5471 5472 5473 #line 1591 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5474 5475 5476 #line default 5477 #line hidden 5478 }); 5479 5480 #line 1591 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5481 } 5482 #line default 5483 #line hidden 5484 5485 5486 #line 1593 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5487 public RazorEngine.Templating.TemplateWriter RenderSelectBase(SelectField settings) 5488 { 5489 #line default 5490 #line hidden 5491 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5492 5493 #line 1594 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5494 5495 var attributes = new Dictionary<string, string>(); 5496 5497 /*base settings*/ 5498 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 5499 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 5500 if (!string.IsNullOrEmpty(settings.OnChange)) { attributes.Add("onchange", settings.OnChange); } 5501 if (settings.Disabled) { attributes.Add("disabled", "true"); } 5502 if (settings.Required) { attributes.Add("required", "true"); } 5503 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 5504 /*end*/ 5505 5506 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 5507 5508 5509 5510 #line default 5511 #line hidden 5512 WriteLiteralTo(__razor_helper_writer, " <select "); 5513 5514 5515 #line 1608 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5516 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 5517 5518 5519 #line default 5520 #line hidden 5521 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width "); 5522 5523 5524 #line 1608 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5525 WriteTo(__razor_helper_writer, settings.CssClass); 5526 5527 5528 #line default 5529 #line hidden 5530 WriteLiteralTo(__razor_helper_writer, " dw-mod\">\r\n"); 5531 5532 5533 #line 1609 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5534 5535 5536 #line default 5537 #line hidden 5538 5539 #line 1609 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5540 if (settings.Default != null) 5541 { 5542 5543 5544 #line default 5545 #line hidden 5546 5547 #line 1611 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5548 WriteTo(__razor_helper_writer, Render(settings.Default)); 5549 5550 5551 #line default 5552 #line hidden 5553 5554 #line 1611 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5555 5556 } 5557 5558 5559 #line default 5560 #line hidden 5561 WriteLiteralTo(__razor_helper_writer, "\r\n"); 5562 5563 5564 #line 1614 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5565 5566 5567 #line default 5568 #line hidden 5569 5570 #line 1614 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5571 foreach (var item in settings.Options) 5572 { 5573 if (settings.Value != null) { 5574 item.Checked = item.Value == settings.Value; 5575 } 5576 5577 5578 #line default 5579 #line hidden 5580 5581 #line 1619 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5582 WriteTo(__razor_helper_writer, Render(item)); 5583 5584 5585 #line default 5586 #line hidden 5587 5588 #line 1619 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5589 5590 } 5591 5592 5593 #line default 5594 #line hidden 5595 WriteLiteralTo(__razor_helper_writer, " </select>\r\n"); 5596 5597 5598 #line 1622 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5599 5600 5601 #line default 5602 #line hidden 5603 }); 5604 5605 #line 1622 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5606 } 5607 #line default 5608 #line hidden 5609 5610 5611 #line 1629 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5612 public RazorEngine.Templating.TemplateWriter RenderRadioButtonField(RadioButtonField settings) 5613 { 5614 #line default 5615 #line hidden 5616 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5617 5618 #line 1630 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5619 5620 var attributes = new Dictionary<string, string>(); 5621 if (!string.IsNullOrEmpty(settings.Label) && string.IsNullOrEmpty(settings.Id)) 5622 { 5623 settings.Id = Guid.NewGuid().ToString("N"); 5624 } 5625 5626 /*base settings*/ 5627 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 5628 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 5629 if (!string.IsNullOrEmpty(settings.OnChange)) { attributes.Add("onchange", settings.OnChange); } 5630 if (settings.Disabled) { attributes.Add("disabled", "true"); } 5631 if (settings.Required) { attributes.Add("required", "true"); } 5632 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 5633 /*end*/ 5634 5635 attributes.Add("type", "radio"); 5636 if (settings.Checked) { attributes.Add("checked", "true"); } 5637 settings.CssClass = "form__control " + settings.CssClass; 5638 if (settings.Value != null) { attributes.Add("value", settings.Value); } 5639 5640 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 5641 5642 5643 5644 #line default 5645 #line hidden 5646 WriteLiteralTo(__razor_helper_writer, " <div"); 5647 5648 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 63724), Tuple.Create("\"", 63782) 5649 , Tuple.Create(Tuple.Create("", 63732), Tuple.Create("form__field-group", 63732), true) 5650 5651 #line 1653 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5652 , Tuple.Create(Tuple.Create(" ", 63749), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 5653 5654 #line default 5655 #line hidden 5656 , 63750), false) 5657 , Tuple.Create(Tuple.Create(" ", 63775), Tuple.Create("dw-mod", 63776), true) 5658 ); 5659 5660 WriteLiteralTo(__razor_helper_writer, ">\r\n <input "); 5661 5662 5663 #line 1654 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5664 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 5665 5666 5667 #line default 5668 #line hidden 5669 WriteLiteralTo(__razor_helper_writer, " class=\""); 5670 5671 5672 #line 1654 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5673 WriteTo(__razor_helper_writer, settings.CssClass); 5674 5675 5676 #line default 5677 #line hidden 5678 WriteLiteralTo(__razor_helper_writer, " dw-mod\" />\r\n"); 5679 5680 5681 #line 1655 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5682 5683 5684 #line default 5685 #line hidden 5686 5687 #line 1655 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5688 if (!string.IsNullOrEmpty(settings.Label)) 5689 { 5690 5691 5692 #line default 5693 #line hidden 5694 WriteLiteralTo(__razor_helper_writer, " <label"); 5695 5696 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 63971), Tuple.Create("\"", 63989) 5697 5698 #line 1657 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5699 , Tuple.Create(Tuple.Create("", 63977), Tuple.Create<System.Object, System.Int32>(settings.Id 5700 5701 #line default 5702 #line hidden 5703 , 63977), false) 5704 ); 5705 5706 WriteLiteralTo(__razor_helper_writer, " class=\"dw-mod\""); 5707 5708 WriteLiteralTo(__razor_helper_writer, ">"); 5709 5710 5711 #line 1657 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5712 WriteTo(__razor_helper_writer, settings.Label); 5713 5714 5715 #line default 5716 #line hidden 5717 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 5718 5719 5720 #line 1658 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5721 } 5722 5723 5724 #line default 5725 #line hidden 5726 WriteLiteralTo(__razor_helper_writer, " "); 5727 5728 5729 #line 1659 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5730 if (!string.IsNullOrEmpty(settings.HelpText)) 5731 { 5732 5733 5734 #line default 5735 #line hidden 5736 WriteLiteralTo(__razor_helper_writer, " <small"); 5737 5738 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 5739 5740 WriteLiteralTo(__razor_helper_writer, ">"); 5741 5742 5743 #line 1661 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5744 WriteTo(__razor_helper_writer, settings.HelpText); 5745 5746 5747 #line default 5748 #line hidden 5749 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 5750 5751 5752 #line 1662 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5753 } 5754 5755 5756 #line default 5757 #line hidden 5758 WriteLiteralTo(__razor_helper_writer, " "); 5759 5760 5761 #line 1663 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5762 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 5763 5764 5765 #line default 5766 #line hidden 5767 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 5768 5769 5770 #line 1665 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5771 5772 5773 #line default 5774 #line hidden 5775 }); 5776 5777 #line 1665 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5778 } 5779 #line default 5780 #line hidden 5781 5782 5783 #line 1673 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5784 public RazorEngine.Templating.TemplateWriter RenderRadioButtonListField(RadioButtonListField settings) 5785 { 5786 #line default 5787 #line hidden 5788 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5789 5790 #line 1674 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5791 5792 if (settings.Required && !String.IsNullOrEmpty(settings.Label)) { settings.Label += " <span class=\"required dw-mod\">*</span>"; } 5793 5794 5795 5796 #line default 5797 #line hidden 5798 WriteLiteralTo(__razor_helper_writer, " <div"); 5799 5800 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 64645), Tuple.Create("\"", 64719) 5801 , Tuple.Create(Tuple.Create("", 64653), Tuple.Create("form__field-group", 64653), true) 5802 5803 #line 1677 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5804 , Tuple.Create(Tuple.Create(" ", 64670), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 5805 5806 #line default 5807 #line hidden 5808 , 64671), false) 5809 , Tuple.Create(Tuple.Create(" ", 64696), Tuple.Create("u-margin-bottom", 64697), true) 5810 , Tuple.Create(Tuple.Create(" ", 64712), Tuple.Create("dw-mod", 64713), true) 5811 ); 5812 5813 WriteLiteralTo(__razor_helper_writer, " "); 5814 5815 5816 #line 1677 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5817 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 5818 5819 5820 #line default 5821 #line hidden 5822 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5823 5824 5825 #line 1678 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5826 5827 5828 #line default 5829 #line hidden 5830 5831 #line 1678 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5832 if (!string.IsNullOrEmpty(settings.Label)) 5833 { 5834 5835 5836 #line default 5837 #line hidden 5838 WriteLiteralTo(__razor_helper_writer, " <label>"); 5839 5840 5841 #line 1680 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5842 WriteTo(__razor_helper_writer, settings.Label); 5843 5844 5845 #line default 5846 #line hidden 5847 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 5848 5849 5850 #line 1681 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5851 } 5852 5853 5854 #line default 5855 #line hidden 5856 WriteLiteralTo(__razor_helper_writer, " "); 5857 5858 5859 #line 1682 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5860 if (!string.IsNullOrEmpty(settings.HelpText)) 5861 { 5862 5863 5864 #line default 5865 #line hidden 5866 WriteLiteralTo(__razor_helper_writer, " <small"); 5867 5868 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 5869 5870 WriteLiteralTo(__razor_helper_writer, ">"); 5871 5872 5873 #line 1684 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5874 WriteTo(__razor_helper_writer, settings.HelpText); 5875 5876 5877 #line default 5878 #line hidden 5879 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 5880 5881 5882 #line 1685 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5883 } 5884 5885 5886 #line default 5887 #line hidden 5888 WriteLiteralTo(__razor_helper_writer, "\r\n"); 5889 5890 5891 #line 1687 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5892 5893 5894 #line default 5895 #line hidden 5896 5897 #line 1687 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5898 foreach (var item in settings.Options) 5899 { 5900 if (settings.Required) 5901 { 5902 item.Required = true; 5903 } 5904 if (settings.Disabled) 5905 { 5906 item.Disabled = true; 5907 } 5908 if (!string.IsNullOrEmpty(settings.Name)) 5909 { 5910 item.Name = settings.Name; 5911 } 5912 if (settings.Value != null && settings.Value == item.Value) 5913 { 5914 item.Checked = true; 5915 } 5916 if (!string.IsNullOrEmpty(settings.OnClick)) 5917 { 5918 item.OnClick += settings.OnClick; 5919 } 5920 if (!string.IsNullOrEmpty(settings.OnChange)) 5921 { 5922 item.OnChange += settings.OnChange; 5923 } 5924 if (!string.IsNullOrEmpty(settings.CssClass)) 5925 { 5926 item.CssClass += settings.CssClass; 5927 } 5928 5929 5930 #line default 5931 #line hidden 5932 5933 #line 1717 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5934 WriteTo(__razor_helper_writer, Render(item)); 5935 5936 5937 #line default 5938 #line hidden 5939 5940 #line 1717 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5941 5942 } 5943 5944 5945 #line default 5946 #line hidden 5947 WriteLiteralTo(__razor_helper_writer, "\r\n"); 5948 5949 WriteLiteralTo(__razor_helper_writer, " "); 5950 5951 5952 #line 1720 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5953 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 5954 5955 5956 #line default 5957 #line hidden 5958 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 5959 5960 5961 #line 1722 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5962 5963 5964 #line default 5965 #line hidden 5966 }); 5967 5968 #line 1722 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5969 } 5970 #line default 5971 #line hidden 5972 5973 5974 #line 1730 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5975 public RazorEngine.Templating.TemplateWriter RenderNotificationMessage(NotificationMessage settings) 5976 { 5977 #line default 5978 #line hidden 5979 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5980 5981 #line 1731 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 5982 5983 if (!string.IsNullOrEmpty(settings.Message)) 5984 { 5985 var attributes = new Dictionary<string, string>(); 5986 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 5987 5988 string messageTypeClass = Enum.GetName(typeof(NotificationMessageType), settings.MessageType).ToLower(); 5989 string messageLayoutClass = Enum.GetName(typeof(NotificationMessageLayout), settings.MessageLayout).ToLower(); 5990 string minHeightClass = settings.Icon != null ? "u-min-h70px" : ""; 5991 5992 5993 5994 #line default 5995 #line hidden 5996 WriteLiteralTo(__razor_helper_writer, " <div"); 5997 5998 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 66892), Tuple.Create("\"", 67055) 5999 , Tuple.Create(Tuple.Create("", 66900), Tuple.Create("notification-message-", 66900), true) 6000 6001 #line 1741 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6002 , Tuple.Create(Tuple.Create("", 66921), Tuple.Create<System.Object, System.Int32>(messageTypeClass 6003 6004 #line default 6005 #line hidden 6006 , 66921), false) 6007 , Tuple.Create(Tuple.Create(" ", 66938), Tuple.Create("notification-message-", 66939), true) 6008 6009 #line 1741 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6010 , Tuple.Create(Tuple.Create("", 66960), Tuple.Create<System.Object, System.Int32>(messageLayoutClass 6011 6012 #line default 6013 #line hidden 6014 , 66960), false) 6015 6016 #line 1741 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6017 , Tuple.Create(Tuple.Create(" ", 66979), Tuple.Create<System.Object, System.Int32>(messageLayoutClass 6018 6019 #line default 6020 #line hidden 6021 , 66980), false) 6022 6023 #line 1741 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6024 , Tuple.Create(Tuple.Create(" ", 66999), Tuple.Create<System.Object, System.Int32>(minHeightClass 6025 6026 #line default 6027 #line hidden 6028 , 67000), false) 6029 6030 #line 1741 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6031 , Tuple.Create(Tuple.Create(" ", 67015), Tuple.Create<System.Object, System.Int32>(settings.CssClass 6032 6033 #line default 6034 #line hidden 6035 , 67016), false) 6036 , Tuple.Create(Tuple.Create(" ", 67034), Tuple.Create("u-full-width", 67035), true) 6037 , Tuple.Create(Tuple.Create(" ", 67047), Tuple.Create("dw-mod", 67049), true) 6038 ); 6039 6040 WriteLiteralTo(__razor_helper_writer, " "); 6041 6042 6043 #line 1741 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6044 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(attributes)); 6045 6046 6047 #line default 6048 #line hidden 6049 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6050 6051 6052 #line 1742 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6053 6054 6055 #line default 6056 #line hidden 6057 6058 #line 1742 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6059 if (settings.Icon != null) { 6060 settings.Icon.Label = !string.IsNullOrEmpty(settings.Icon.Label) ? settings.Message + settings.Icon.Label : settings.Message; 6061 6062 6063 #line default 6064 #line hidden 6065 6066 #line 1744 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6067 WriteTo(__razor_helper_writer, Render(settings.Icon)); 6068 6069 6070 #line default 6071 #line hidden 6072 6073 #line 1744 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6074 6075 } else { 6076 6077 6078 #line default 6079 #line hidden 6080 6081 #line 1746 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6082 WriteTo(__razor_helper_writer, settings.Message); 6083 6084 6085 #line default 6086 #line hidden 6087 6088 #line 1746 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6089 6090 } 6091 6092 6093 #line default 6094 #line hidden 6095 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 6096 6097 6098 #line 1749 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6099 } 6100 6101 6102 #line default 6103 #line hidden 6104 }); 6105 6106 #line 1750 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6107 } 6108 #line default 6109 #line hidden 6110 6111 6112 #line 1756 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6113 public RazorEngine.Templating.TemplateWriter RenderHandlebarsRoot(HandlebarsRoot settings) { 6114 #line default 6115 #line hidden 6116 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6117 6118 #line 1756 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6119 6120 string preRender = !String.IsNullOrEmpty(settings.PreRenderScriptTemplate) ? "data-pre-render-template=\"" + settings.PreRenderScriptTemplate + "\"" : ""; 6121 6122 6123 6124 #line default 6125 #line hidden 6126 WriteLiteralTo(__razor_helper_writer, " <div"); 6127 6128 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 67729), Tuple.Create("\"", 67781) 6129 6130 #line 1759 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6131 , Tuple.Create(Tuple.Create("", 67737), Tuple.Create<System.Object, System.Int32>(settings.CssClass 6132 6133 #line default 6134 #line hidden 6135 , 67737), false) 6136 , Tuple.Create(Tuple.Create(" ", 67755), Tuple.Create("dw-mod", 67756), true) 6137 , Tuple.Create(Tuple.Create(" ", 67762), Tuple.Create("js-handlebars-root", 67763), true) 6138 ); 6139 6140 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 67782), Tuple.Create("\"", 67799) 6141 6142 #line 1759 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6143 , Tuple.Create(Tuple.Create("", 67787), Tuple.Create<System.Object, System.Int32>(settings.Id 6144 6145 #line default 6146 #line hidden 6147 , 67787), false) 6148 ); 6149 6150 WriteLiteralTo(__razor_helper_writer, " data-template=\""); 6151 6152 6153 #line 1759 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6154 WriteTo(__razor_helper_writer, settings.ScriptTemplate); 6155 6156 6157 #line default 6158 #line hidden 6159 WriteLiteralTo(__razor_helper_writer, "\""); 6160 6161 WriteLiteralTo(__razor_helper_writer, " data-json-feed=\""); 6162 6163 6164 #line 1759 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6165 WriteTo(__razor_helper_writer, settings.FeedUrl); 6166 6167 6168 #line default 6169 #line hidden 6170 WriteLiteralTo(__razor_helper_writer, "\""); 6171 6172 WriteLiteralTo(__razor_helper_writer, " data-init-onload=\""); 6173 6174 6175 #line 1759 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6176 WriteTo(__razor_helper_writer, settings.InitOnLoad.ToString()); 6177 6178 6179 #line default 6180 #line hidden 6181 WriteLiteralTo(__razor_helper_writer, "\""); 6182 6183 WriteLiteralTo(__razor_helper_writer, " data-preloader=\""); 6184 6185 6186 #line 1759 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6187 WriteTo(__razor_helper_writer, settings.Preloader); 6188 6189 6190 #line default 6191 #line hidden 6192 WriteLiteralTo(__razor_helper_writer, "\""); 6193 6194 WriteLiteralTo(__razor_helper_writer, " "); 6195 6196 6197 #line 1759 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6198 WriteTo(__razor_helper_writer, preRender); 6199 6200 6201 #line default 6202 #line hidden 6203 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6204 6205 6206 #line 1760 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6207 6208 6209 #line default 6210 #line hidden 6211 6212 #line 1760 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6213 if (settings.SubBlocks != null) { 6214 6215 6216 #line default 6217 #line hidden 6218 6219 #line 1761 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6220 WriteTo(__razor_helper_writer, RenderBlockList(settings.SubBlocks)); 6221 6222 6223 #line default 6224 #line hidden 6225 6226 #line 1761 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6227 6228 } 6229 6230 6231 #line default 6232 #line hidden 6233 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 6234 6235 6236 #line 1764 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6237 6238 6239 #line default 6240 #line hidden 6241 }); 6242 6243 #line 1764 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6244 } 6245 #line default 6246 #line hidden 6247 6248 6249 #line 1773 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6250 public RazorEngine.Templating.TemplateWriter RenderSticker(Sticker settings) { 6251 #line default 6252 #line hidden 6253 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6254 6255 #line 1773 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6256 6257 if (!String.IsNullOrEmpty(settings.Title)) { 6258 string size = settings.Size.ToString() != "None" ? "" + "stickers-container__tag--" + settings.Size.ToString().ToLower() : ""; 6259 string style = settings.Style.ToString() != "None" ? "" + "stickers-container__tag--" + settings.Style.ToString().ToLower() : ""; 6260 6261 Dictionary<String, String> optionalAttributes = new Dictionary<string, string>(); 6262 if (!String.IsNullOrEmpty(settings.Color) || !String.IsNullOrEmpty(settings.BackgroundColor)) { 6263 string styleTag = !String.IsNullOrEmpty(settings.Color) ? "color: " + settings.Color + "; " : ""; 6264 styleTag += !String.IsNullOrEmpty(settings.BackgroundColor) ? "background-color: " + settings.BackgroundColor + "; " : ""; 6265 optionalAttributes.Add("style", styleTag); 6266 } 6267 6268 6269 6270 #line default 6271 #line hidden 6272 WriteLiteralTo(__razor_helper_writer, " <div"); 6273 6274 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 69176), Tuple.Create("\"", 69246) 6275 , Tuple.Create(Tuple.Create("", 69184), Tuple.Create("stickers-container__tag", 69184), true) 6276 6277 #line 1785 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6278 , Tuple.Create(Tuple.Create(" ", 69207), Tuple.Create<System.Object, System.Int32>(size 6279 6280 #line default 6281 #line hidden 6282 , 69208), false) 6283 6284 #line 1785 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6285 , Tuple.Create(Tuple.Create(" ", 69213), Tuple.Create<System.Object, System.Int32>(style 6286 6287 #line default 6288 #line hidden 6289 , 69214), false) 6290 6291 #line 1785 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6292 , Tuple.Create(Tuple.Create(" ", 69220), Tuple.Create<System.Object, System.Int32>(settings.CssClass 6293 6294 #line default 6295 #line hidden 6296 , 69221), false) 6297 , Tuple.Create(Tuple.Create(" ", 69239), Tuple.Create("dw-mod", 69240), true) 6298 ); 6299 6300 WriteLiteralTo(__razor_helper_writer, " "); 6301 6302 6303 #line 1785 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6304 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 6305 6306 6307 #line default 6308 #line hidden 6309 WriteLiteralTo(__razor_helper_writer, " "); 6310 6311 6312 #line 1785 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6313 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 6314 6315 6316 #line default 6317 #line hidden 6318 WriteLiteralTo(__razor_helper_writer, ">"); 6319 6320 6321 #line 1785 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6322 WriteTo(__razor_helper_writer, settings.Title); 6323 6324 6325 #line default 6326 #line hidden 6327 WriteLiteralTo(__razor_helper_writer, "</div> \r\n"); 6328 6329 6330 #line 1786 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6331 } 6332 6333 6334 #line default 6335 #line hidden 6336 }); 6337 6338 #line 1787 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6339 } 6340 #line default 6341 #line hidden 6342 6343 6344 #line 1796 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6345 public RazorEngine.Templating.TemplateWriter RenderStickersCollection(StickersCollection settings) 6346 { 6347 #line default 6348 #line hidden 6349 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6350 6351 #line 1797 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6352 6353 if (settings.Stickers.Count > 0) 6354 { 6355 string position = "stickers-container--" + Regex.Replace(settings.Position.ToString(), "([a-z])([A-Z])", "$1-$2").ToLower(); 6356 6357 6358 6359 #line default 6360 #line hidden 6361 WriteLiteralTo(__razor_helper_writer, " <div"); 6362 6363 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 69801), Tuple.Create("\"", 69863) 6364 , Tuple.Create(Tuple.Create("", 69809), Tuple.Create("stickers-container", 69809), true) 6365 6366 #line 1802 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6367 , Tuple.Create(Tuple.Create(" ", 69827), Tuple.Create<System.Object, System.Int32>(position 6368 6369 #line default 6370 #line hidden 6371 , 69828), false) 6372 6373 #line 1802 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6374 , Tuple.Create(Tuple.Create(" ", 69837), Tuple.Create<System.Object, System.Int32>(settings.CssClass 6375 6376 #line default 6377 #line hidden 6378 , 69838), false) 6379 , Tuple.Create(Tuple.Create(" ", 69856), Tuple.Create("dw-mod", 69857), true) 6380 ); 6381 6382 WriteLiteralTo(__razor_helper_writer, " "); 6383 6384 6385 #line 1802 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6386 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 6387 6388 6389 #line default 6390 #line hidden 6391 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6392 6393 6394 #line 1803 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6395 6396 6397 #line default 6398 #line hidden 6399 6400 #line 1803 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6401 foreach (Sticker sticker in settings.Stickers) 6402 { 6403 6404 6405 #line default 6406 #line hidden 6407 6408 #line 1805 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6409 WriteTo(__razor_helper_writer, Render(sticker)); 6410 6411 6412 #line default 6413 #line hidden 6414 6415 #line 1805 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6416 6417 } 6418 6419 6420 #line default 6421 #line hidden 6422 WriteLiteralTo(__razor_helper_writer, " </div> \r\n"); 6423 6424 6425 #line 1808 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6426 } 6427 6428 6429 #line default 6430 #line hidden 6431 }); 6432 6433 #line 1809 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6434 } 6435 #line default 6436 #line hidden 6437 6438 6439 #line 1816 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6440 public RazorEngine.Templating.TemplateWriter RenderForm(Form settings) { 6441 #line default 6442 #line hidden 6443 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6444 6445 #line 1816 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6446 6447 if (settings != null) 6448 { 6449 Dictionary<string, string> optionalAttributes = new Dictionary<string, string>(); 6450 if (!string.IsNullOrEmpty(settings.Action)) { optionalAttributes.Add("action", settings.Action); }; 6451 if (!string.IsNullOrEmpty(settings.Name)) { optionalAttributes.Add("name", settings.Name); }; 6452 if (!string.IsNullOrEmpty(settings.OnSubmit)) { optionalAttributes.Add("onsubmit", settings.OnSubmit); }; 6453 var enctypes = new Dictionary<string, string> 6454 { 6455 { "multipart", "multipart/form-data" }, 6456 { "text", "text/plain" }, 6457 { "application", "application/x-www-form-urlencoded" } 6458 }; 6459 if (settings.Enctype != FormEnctype.none) { optionalAttributes.Add("enctype", enctypes[Enum.GetName(typeof(FormEnctype), settings.Enctype).ToLower()]); }; 6460 optionalAttributes.Add("method", settings.Method.ToString()); 6461 6462 if (!string.IsNullOrEmpty(settings.FormStartMarkup)) 6463 { 6464 6465 6466 #line default 6467 #line hidden 6468 6469 #line 1834 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6470 WriteTo(__razor_helper_writer, settings.FormStartMarkup); 6471 6472 6473 #line default 6474 #line hidden 6475 6476 #line 1834 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6477 6478 } 6479 else 6480 { 6481 6482 6483 #line default 6484 #line hidden 6485 WriteLiteralTo(__razor_helper_writer, " "); 6486 6487 WriteLiteralTo(__razor_helper_writer, "<form class=\""); 6488 6489 6490 #line 1838 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6491 WriteTo(__razor_helper_writer, settings.CssClass); 6492 6493 6494 #line default 6495 #line hidden 6496 WriteLiteralTo(__razor_helper_writer, " u-no-margin dw-mod\" "); 6497 6498 6499 #line 1838 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6500 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 6501 6502 6503 #line default 6504 #line hidden 6505 WriteLiteralTo(__razor_helper_writer, " "); 6506 6507 6508 #line 1838 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6509 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 6510 6511 6512 #line default 6513 #line hidden 6514 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6515 6516 6517 #line 1839 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6518 } 6519 6520 foreach (var field in settings.GetFields()) 6521 { 6522 6523 6524 #line default 6525 #line hidden 6526 6527 #line 1843 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6528 WriteTo(__razor_helper_writer, Render(field)); 6529 6530 6531 #line default 6532 #line hidden 6533 6534 #line 1843 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6535 6536 } 6537 6538 6539 6540 #line default 6541 #line hidden 6542 WriteLiteralTo(__razor_helper_writer, " "); 6543 6544 WriteLiteralTo(__razor_helper_writer, "</form>\r\n"); 6545 6546 6547 #line 1847 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6548 } 6549 6550 6551 #line default 6552 #line hidden 6553 }); 6554 6555 #line 1848 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6556 } 6557 #line default 6558 #line hidden 6559 6560 6561 #line 1856 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6562 public RazorEngine.Templating.TemplateWriter RenderText(Text settings) 6563 { 6564 #line default 6565 #line hidden 6566 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6567 6568 #line 1857 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6569 6570 6571 6572 #line default 6573 #line hidden 6574 6575 #line 1858 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6576 WriteTo(__razor_helper_writer, settings.Content); 6577 6578 6579 #line default 6580 #line hidden 6581 6582 #line 1858 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6583 6584 6585 6586 #line default 6587 #line hidden 6588 }); 6589 6590 #line 1859 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6591 } 6592 #line default 6593 #line hidden 6594 6595 6596 #line 1867 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6597 public RazorEngine.Templating.TemplateWriter RenderContentModule(ContentModule settings) { 6598 #line default 6599 #line hidden 6600 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6601 6602 #line 1867 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6603 6604 if (!string.IsNullOrEmpty(settings.Content)) 6605 { 6606 6607 6608 #line default 6609 #line hidden 6610 6611 #line 1870 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6612 WriteTo(__razor_helper_writer, settings.Content); 6613 6614 6615 #line default 6616 #line hidden 6617 6618 #line 1870 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6619 6620 } 6621 6622 6623 #line default 6624 #line hidden 6625 }); 6626 6627 #line 1872 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6628 } 6629 #line default 6630 #line hidden 6631 6632 6633 #line 1880 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6634 public RazorEngine.Templating.TemplateWriter RenderModal(Modal settings) { 6635 #line default 6636 #line hidden 6637 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6638 6639 #line 1880 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6640 6641 if (settings != null) 6642 { 6643 string modalId = !string.IsNullOrEmpty(settings.Id) ? settings.Id : Guid.NewGuid().ToString("N"); 6644 6645 string onchange = !string.IsNullOrEmpty(settings.OnClose) ? "onchange=\"if(!this.checked){" + settings.OnClose + "}\"" : ""; 6646 6647 6648 6649 #line default 6650 #line hidden 6651 WriteLiteralTo(__razor_helper_writer, " <input"); 6652 6653 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 6654 6655 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 72590), Tuple.Create("\"", 72617) 6656 6657 #line 1887 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6658 , Tuple.Create(Tuple.Create("", 72595), Tuple.Create<System.Object, System.Int32>(modalId 6659 6660 #line default 6661 #line hidden 6662 , 72595), false) 6663 , Tuple.Create(Tuple.Create("", 72605), Tuple.Create("ModalTrigger", 72605), true) 6664 ); 6665 6666 WriteLiteralTo(__razor_helper_writer, " class=\"modal-trigger\""); 6667 6668 WriteLiteralTo(__razor_helper_writer, " "); 6669 6670 6671 #line 1887 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6672 WriteTo(__razor_helper_writer, onchange); 6673 6674 6675 #line default 6676 #line hidden 6677 WriteLiteralTo(__razor_helper_writer, " />\r\n"); 6678 6679 6680 #line 1888 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6681 6682 6683 6684 #line default 6685 #line hidden 6686 WriteLiteralTo(__razor_helper_writer, " <div"); 6687 6688 WriteLiteralTo(__razor_helper_writer, " class=\"modal-container\""); 6689 6690 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6691 6692 6693 #line 1890 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6694 6695 6696 #line default 6697 #line hidden 6698 6699 #line 1890 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6700 if (!settings.DisableDarkOverlay) 6701 { 6702 6703 6704 #line default 6705 #line hidden 6706 WriteLiteralTo(__razor_helper_writer, " <label"); 6707 6708 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 72781), Tuple.Create("\"", 72809) 6709 6710 #line 1892 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6711 , Tuple.Create(Tuple.Create("", 72787), Tuple.Create<System.Object, System.Int32>(modalId 6712 6713 #line default 6714 #line hidden 6715 , 72787), false) 6716 , Tuple.Create(Tuple.Create("", 72797), Tuple.Create("ModalTrigger", 72797), true) 6717 ); 6718 6719 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 72810), Tuple.Create("\"", 72837) 6720 6721 #line 1892 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6722 , Tuple.Create(Tuple.Create("", 72815), Tuple.Create<System.Object, System.Int32>(modalId 6723 6724 #line default 6725 #line hidden 6726 , 72815), false) 6727 , Tuple.Create(Tuple.Create("", 72825), Tuple.Create("ModalOverlay", 72825), true) 6728 ); 6729 6730 WriteLiteralTo(__razor_helper_writer, " class=\"modal-overlay\""); 6731 6732 WriteLiteralTo(__razor_helper_writer, "></label>\r\n"); 6733 6734 6735 #line 1893 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6736 } 6737 6738 6739 #line default 6740 #line hidden 6741 WriteLiteralTo(__razor_helper_writer, " <div"); 6742 6743 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 72902), Tuple.Create("\"", 73011) 6744 , Tuple.Create(Tuple.Create("", 72910), Tuple.Create("modal", 72910), true) 6745 , Tuple.Create(Tuple.Create(" ", 72915), Tuple.Create("modal--", 72916), true) 6746 6747 #line 1894 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6748 , Tuple.Create(Tuple.Create("", 72923), Tuple.Create<System.Object, System.Int32>(settings.Width.ToString().ToLower() 6749 6750 #line default 6751 #line hidden 6752 , 72923), false) 6753 , Tuple.Create(Tuple.Create(" ", 72959), Tuple.Create("modal-height--", 72960), true) 6754 6755 #line 1894 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6756 , Tuple.Create(Tuple.Create("", 72974), Tuple.Create<System.Object, System.Int32>(settings.Height.ToString().ToLower() 6757 6758 #line default 6759 #line hidden 6760 , 72974), false) 6761 ); 6762 6763 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 73012), Tuple.Create("\"", 73032) 6764 6765 #line 1894 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6766 , Tuple.Create(Tuple.Create("", 73017), Tuple.Create<System.Object, System.Int32>(modalId 6767 6768 #line default 6769 #line hidden 6770 , 73017), false) 6771 , Tuple.Create(Tuple.Create("", 73027), Tuple.Create("Modal", 73027), true) 6772 ); 6773 6774 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6775 6776 6777 #line 1895 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6778 6779 6780 #line default 6781 #line hidden 6782 6783 #line 1895 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6784 if (settings.Heading != null) 6785 { 6786 if (!string.IsNullOrEmpty(settings.Heading.Title)) 6787 { 6788 6789 6790 #line default 6791 #line hidden 6792 WriteLiteralTo(__razor_helper_writer, " <div"); 6793 6794 WriteLiteralTo(__razor_helper_writer, " class=\"modal__header\""); 6795 6796 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6797 6798 WriteLiteralTo(__razor_helper_writer, " "); 6799 6800 6801 #line 1900 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6802 WriteTo(__razor_helper_writer, Render(settings.Heading)); 6803 6804 6805 #line default 6806 #line hidden 6807 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 6808 6809 6810 #line 1902 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6811 } 6812 } 6813 6814 6815 #line default 6816 #line hidden 6817 WriteLiteralTo(__razor_helper_writer, " <div"); 6818 6819 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 73400), Tuple.Create("\"", 73495) 6820 , Tuple.Create(Tuple.Create("", 73408), Tuple.Create("modal__body", 73408), true) 6821 6822 #line 1904 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6823 , Tuple.Create(Tuple.Create(" ", 73419), Tuple.Create<System.Object, System.Int32>(settings.Width.ToString().ToLower() == "full" ? "modal__body--full" : "" 6824 6825 #line default 6826 #line hidden 6827 , 73420), false) 6828 ); 6829 6830 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6831 6832 6833 #line 1905 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6834 6835 6836 #line default 6837 #line hidden 6838 6839 #line 1905 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6840 if (!string.IsNullOrEmpty(settings.BodyText)) 6841 { 6842 6843 6844 #line default 6845 #line hidden 6846 6847 #line 1907 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6848 WriteTo(__razor_helper_writer, settings.BodyText); 6849 6850 6851 #line default 6852 #line hidden 6853 6854 #line 1907 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6855 6856 } 6857 6858 6859 #line default 6860 #line hidden 6861 WriteLiteralTo(__razor_helper_writer, " "); 6862 6863 6864 #line 1909 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6865 if (settings.BodyTemplate != null) 6866 { 6867 6868 6869 #line default 6870 #line hidden 6871 6872 #line 1911 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6873 WriteTo(__razor_helper_writer, settings.BodyTemplate); 6874 6875 6876 #line default 6877 #line hidden 6878 6879 #line 1911 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6880 6881 } 6882 6883 6884 #line default 6885 #line hidden 6886 WriteLiteralTo(__razor_helper_writer, " "); 6887 6888 6889 #line 1913 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6890 6891 var actions = settings.GetActions(); 6892 6893 6894 #line default 6895 #line hidden 6896 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 6897 6898 6899 #line 1917 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6900 6901 6902 #line default 6903 #line hidden 6904 6905 #line 1917 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6906 if (actions.Length > 0) 6907 { 6908 6909 6910 #line default 6911 #line hidden 6912 WriteLiteralTo(__razor_helper_writer, " <div"); 6913 6914 WriteLiteralTo(__razor_helper_writer, " class=\"modal__footer\""); 6915 6916 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6917 6918 6919 #line 1920 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6920 6921 6922 #line default 6923 #line hidden 6924 6925 #line 1920 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6926 foreach (var action in actions) 6927 { 6928 if (Pageview.Device.ToString() != "Mobile") { 6929 action.CssClass += " u-no-margin"; 6930 } else { 6931 action.CssClass += " u-full-width u-margin-bottom"; 6932 } 6933 6934 6935 6936 #line default 6937 #line hidden 6938 6939 #line 1928 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6940 WriteTo(__razor_helper_writer, Render(action)); 6941 6942 6943 #line default 6944 #line hidden 6945 6946 #line 1928 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6947 6948 } 6949 6950 6951 #line default 6952 #line hidden 6953 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 6954 6955 6956 #line 1931 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6957 } 6958 6959 6960 #line default 6961 #line hidden 6962 WriteLiteralTo(__razor_helper_writer, " <label"); 6963 6964 WriteLiteralTo(__razor_helper_writer, " class=\"modal__close-btn\""); 6965 6966 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 74601), Tuple.Create("\"", 74629) 6967 6968 #line 1932 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6969 , Tuple.Create(Tuple.Create("", 74607), Tuple.Create<System.Object, System.Int32>(modalId 6970 6971 #line default 6972 #line hidden 6973 , 74607), false) 6974 , Tuple.Create(Tuple.Create("", 74617), Tuple.Create("ModalTrigger", 74617), true) 6975 ); 6976 6977 WriteLiteralTo(__razor_helper_writer, "></label>\r\n </div>\r\n </div>\r\n"); 6978 6979 6980 #line 1935 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6981 } 6982 6983 6984 #line default 6985 #line hidden 6986 }); 6987 6988 #line 1936 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6989 } 6990 #line default 6991 #line hidden 6992 6993 6994 #line 1941 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 6995 public RazorEngine.Templating.TemplateWriter RenderMediaListItem(MediaListItem settings) 6996 { 6997 #line default 6998 #line hidden 6999 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7000 7001 #line 1942 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7002 7003 7004 7005 #line default 7006 #line hidden 7007 WriteLiteralTo(__razor_helper_writer, " <div"); 7008 7009 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 74825), Tuple.Create("\"", 74874) 7010 , Tuple.Create(Tuple.Create("", 74833), Tuple.Create("media-list-item", 74833), true) 7011 7012 #line 1943 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7013 , Tuple.Create(Tuple.Create(" ", 74848), Tuple.Create<System.Object, System.Int32>(settings.CssClass 7014 7015 #line default 7016 #line hidden 7017 , 74849), false) 7018 , Tuple.Create(Tuple.Create(" ", 74867), Tuple.Create("dw-mod", 74868), true) 7019 ); 7020 7021 WriteLiteralTo(__razor_helper_writer, " "); 7022 7023 7024 #line 1943 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7025 WriteTo(__razor_helper_writer, !string.IsNullOrEmpty(settings.Id) ? "id=\"" + settings.Id + "\"" : ""); 7026 7027 7028 #line default 7029 #line hidden 7030 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7031 7032 7033 #line 1944 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7034 7035 7036 #line default 7037 #line hidden 7038 7039 #line 1944 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7040 if (!string.IsNullOrEmpty(settings.Label)) 7041 { 7042 if (!string.IsNullOrEmpty(settings.Link)) 7043 { 7044 7045 7046 #line default 7047 #line hidden 7048 7049 #line 1948 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7050 WriteTo(__razor_helper_writer, Render(new Link 7051 { 7052 Href = settings.Link, 7053 CssClass = "media-list-item__sticker dw-mod", 7054 ButtonLayout = ButtonLayout.None, 7055 Title = settings.Label, 7056 OnClick = !string.IsNullOrEmpty(settings.OnClick) ? settings.OnClick : "" 7057 })); 7058 7059 7060 #line default 7061 #line hidden 7062 7063 #line 1955 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7064 7065 } 7066 else if (!string.IsNullOrEmpty(settings.OnClick)) 7067 { 7068 7069 7070 #line default 7071 #line hidden 7072 WriteLiteralTo(__razor_helper_writer, " <span"); 7073 7074 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__sticker dw-mod\""); 7075 7076 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 75618), Tuple.Create("\"", 75647) 7077 7078 #line 1959 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7079 , Tuple.Create(Tuple.Create("", 75628), Tuple.Create<System.Object, System.Int32>(settings.OnClick 7080 7081 #line default 7082 #line hidden 7083 , 75628), false) 7084 ); 7085 7086 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 7087 7088 WriteLiteralTo(__razor_helper_writer, " class=\"u-uppercase\""); 7089 7090 WriteLiteralTo(__razor_helper_writer, ">"); 7091 7092 7093 #line 1960 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7094 WriteTo(__razor_helper_writer, settings.Label); 7095 7096 7097 #line default 7098 #line hidden 7099 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </span>\r\n"); 7100 7101 7102 #line 1962 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7103 } 7104 else 7105 { 7106 7107 7108 #line default 7109 #line hidden 7110 WriteLiteralTo(__razor_helper_writer, " <span"); 7111 7112 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__sticker media-list-item__sticker--no-link dw-mod\""); 7113 7114 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 7115 7116 WriteLiteralTo(__razor_helper_writer, " class=\"u-uppercase\""); 7117 7118 WriteLiteralTo(__razor_helper_writer, ">"); 7119 7120 7121 #line 1966 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7122 WriteTo(__razor_helper_writer, settings.Label); 7123 7124 7125 #line default 7126 #line hidden 7127 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </span>\r\n"); 7128 7129 7130 #line 1968 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7131 } 7132 } 7133 7134 7135 #line default 7136 #line hidden 7137 WriteLiteralTo(__razor_helper_writer, " <div"); 7138 7139 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__wrap\""); 7140 7141 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7142 7143 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__info dw-mod\""); 7144 7145 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7146 7147 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__header dw-mod\""); 7148 7149 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7150 7151 7152 #line 1973 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7153 7154 7155 #line default 7156 #line hidden 7157 7158 #line 1973 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7159 if (!string.IsNullOrEmpty(settings.Title)) 7160 { 7161 if (!string.IsNullOrEmpty(settings.Link)) 7162 { 7163 7164 7165 #line default 7166 #line hidden 7167 7168 #line 1977 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7169 WriteTo(__razor_helper_writer, Render(new Link 7170 { 7171 Href = settings.Link, 7172 CssClass = "media-list-item__name dw-mod", 7173 ButtonLayout = ButtonLayout.None, 7174 Title = settings.Title, 7175 OnClick = !string.IsNullOrEmpty(settings.OnClick) ? settings.OnClick : "" 7176 })); 7177 7178 7179 #line default 7180 #line hidden 7181 7182 #line 1984 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7183 7184 } 7185 else if (!string.IsNullOrEmpty(settings.OnClick)) 7186 { 7187 7188 7189 #line default 7190 #line hidden 7191 WriteLiteralTo(__razor_helper_writer, " <span"); 7192 7193 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__name dw-mod\""); 7194 7195 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 77028), Tuple.Create("\"", 77057) 7196 7197 #line 1988 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7198 , Tuple.Create(Tuple.Create("", 77038), Tuple.Create<System.Object, System.Int32>(settings.OnClick 7199 7200 #line default 7201 #line hidden 7202 , 77038), false) 7203 ); 7204 7205 WriteLiteralTo(__razor_helper_writer, ">"); 7206 7207 7208 #line 1988 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7209 WriteTo(__razor_helper_writer, settings.Title); 7210 7211 7212 #line default 7213 #line hidden 7214 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 7215 7216 7217 #line 1989 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7218 } 7219 else 7220 { 7221 7222 7223 #line default 7224 #line hidden 7225 WriteLiteralTo(__razor_helper_writer, " <span"); 7226 7227 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__name media-list-item__name--no-link dw-mod\""); 7228 7229 WriteLiteralTo(__razor_helper_writer, ">"); 7230 7231 7232 #line 1992 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7233 WriteTo(__razor_helper_writer, settings.Title); 7234 7235 7236 #line default 7237 #line hidden 7238 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 7239 7240 7241 #line 1993 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7242 } 7243 } 7244 7245 7246 #line default 7247 #line hidden 7248 WriteLiteralTo(__razor_helper_writer, "\r\n"); 7249 7250 7251 #line 1996 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7252 7253 7254 #line default 7255 #line hidden 7256 7257 #line 1996 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7258 if (!string.IsNullOrEmpty(settings.Status)) 7259 { 7260 7261 7262 #line default 7263 #line hidden 7264 WriteLiteralTo(__razor_helper_writer, " <div"); 7265 7266 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__state dw-mod\""); 7267 7268 WriteLiteralTo(__razor_helper_writer, ">"); 7269 7270 7271 #line 1998 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7272 WriteTo(__razor_helper_writer, settings.Status); 7273 7274 7275 #line default 7276 #line hidden 7277 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 7278 7279 7280 #line 1999 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7281 } 7282 7283 7284 #line default 7285 #line hidden 7286 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 7287 7288 7289 #line 2001 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7290 7291 7292 #line default 7293 #line hidden 7294 7295 #line 2001 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7296 7297 settings.InfoTable.CssClass += " media-list-item__parameters-table"; 7298 7299 7300 #line default 7301 #line hidden 7302 WriteLiteralTo(__razor_helper_writer, "\r\n \r\n"); 7303 7304 WriteLiteralTo(__razor_helper_writer, " "); 7305 7306 7307 #line 2005 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7308 WriteTo(__razor_helper_writer, Render(settings.InfoTable)); 7309 7310 7311 #line default 7312 #line hidden 7313 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n <div"); 7314 7315 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__actions dw-mod\""); 7316 7317 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7318 7319 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__actions-list dw-mod\""); 7320 7321 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7322 7323 7324 #line 2009 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7325 7326 7327 #line default 7328 #line hidden 7329 7330 #line 2009 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7331 7332 var actions = settings.GetActions(); 7333 7334 foreach (ButtonBase action in actions) 7335 { 7336 action.ButtonLayout = ButtonLayout.None; 7337 action.CssClass += " media-list-item__action link"; 7338 7339 7340 7341 #line default 7342 #line hidden 7343 7344 #line 2017 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7345 WriteTo(__razor_helper_writer, Render(action)); 7346 7347 7348 #line default 7349 #line hidden 7350 7351 #line 2017 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7352 7353 } 7354 7355 7356 #line default 7357 #line hidden 7358 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n\r\n"); 7359 7360 7361 #line 2022 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7362 7363 7364 #line default 7365 #line hidden 7366 7367 #line 2022 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7368 if (settings.SelectButton != null && !string.IsNullOrEmpty(settings.SelectButton.Title)) 7369 { 7370 settings.SelectButton.CssClass += " u-no-margin"; 7371 7372 7373 7374 #line default 7375 #line hidden 7376 WriteLiteralTo(__razor_helper_writer, " <div"); 7377 7378 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__action-button\""); 7379 7380 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7381 7382 WriteLiteralTo(__razor_helper_writer, " "); 7383 7384 7385 #line 2027 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7386 WriteTo(__razor_helper_writer, Render(settings.SelectButton)); 7387 7388 7389 #line default 7390 #line hidden 7391 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 7392 7393 7394 #line 2029 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7395 } 7396 7397 7398 #line default 7399 #line hidden 7400 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n </div>\r\n"); 7401 7402 7403 #line 2033 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7404 7405 7406 #line default 7407 #line hidden 7408 }); 7409 7410 #line 2033 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7411 } 7412 #line default 7413 #line hidden 7414 7415 7416 #line 2037 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7417 public RazorEngine.Templating.TemplateWriter RenderTable(Table settings) 7418 { 7419 #line default 7420 #line hidden 7421 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7422 7423 #line 2038 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7424 7425 Dictionary<string, string> attributes = new Dictionary<string, string>(); 7426 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 7427 7428 var enumToClasses = new Dictionary<TableDesign, string> 7429 { 7430 { TableDesign.Clean, "table--clean" }, 7431 { TableDesign.Bordered, "table--bordered" }, 7432 { TableDesign.Striped, "table--striped" }, 7433 { TableDesign.Hover, "table--hover" }, 7434 { TableDesign.Compact, "table--compact" }, 7435 { TableDesign.Condensed, "table--condensed" }, 7436 { TableDesign.NoTopBorder, "table--no-top-border" } 7437 }; 7438 string tableDesignClass = ""; 7439 if (settings.Design != TableDesign.None) 7440 { 7441 tableDesignClass = enumToClasses[settings.Design]; 7442 } 7443 7444 if (!string.IsNullOrEmpty(settings.CssClass) || settings.Design != TableDesign.None) { attributes.Add("class", "table " + tableDesignClass + " " + settings.CssClass + " dw-mod"); } 7445 7446 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary(d => d.Key, d => d.Last().Value); 7447 7448 7449 7450 #line default 7451 #line hidden 7452 WriteLiteralTo(__razor_helper_writer, " <table "); 7453 7454 7455 #line 2062 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7456 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 7457 7458 7459 #line default 7460 #line hidden 7461 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7462 7463 7464 #line 2063 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7465 7466 7467 #line default 7468 #line hidden 7469 7470 #line 2063 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7471 if (settings.Header != null) 7472 { 7473 7474 7475 #line default 7476 #line hidden 7477 WriteLiteralTo(__razor_helper_writer, " <thead>\r\n"); 7478 7479 WriteLiteralTo(__razor_helper_writer, " "); 7480 7481 7482 #line 2066 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7483 WriteTo(__razor_helper_writer, Render(settings.Header)); 7484 7485 7486 #line default 7487 #line hidden 7488 WriteLiteralTo(__razor_helper_writer, "\r\n </thead>\r\n"); 7489 7490 7491 #line 2068 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7492 } 7493 7494 7495 #line default 7496 #line hidden 7497 WriteLiteralTo(__razor_helper_writer, " <tbody>\r\n"); 7498 7499 7500 #line 2070 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7501 7502 7503 #line default 7504 #line hidden 7505 7506 #line 2070 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7507 foreach (var row in settings.Rows) 7508 { 7509 7510 7511 #line default 7512 #line hidden 7513 7514 #line 2072 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7515 WriteTo(__razor_helper_writer, Render(row)); 7516 7517 7518 #line default 7519 #line hidden 7520 7521 #line 2072 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7522 7523 } 7524 7525 7526 #line default 7527 #line hidden 7528 WriteLiteralTo(__razor_helper_writer, " </tbody>\r\n"); 7529 7530 7531 #line 2075 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7532 7533 7534 #line default 7535 #line hidden 7536 7537 #line 2075 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7538 if (settings.Footer != null) 7539 { 7540 7541 7542 #line default 7543 #line hidden 7544 WriteLiteralTo(__razor_helper_writer, " <tfoot>\r\n"); 7545 7546 WriteLiteralTo(__razor_helper_writer, " "); 7547 7548 7549 #line 2078 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7550 WriteTo(__razor_helper_writer, Render(settings.Footer)); 7551 7552 7553 #line default 7554 #line hidden 7555 WriteLiteralTo(__razor_helper_writer, "\r\n </tfoot>\r\n"); 7556 7557 7558 #line 2080 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7559 } 7560 7561 7562 #line default 7563 #line hidden 7564 WriteLiteralTo(__razor_helper_writer, " </table>\r\n"); 7565 7566 7567 #line 2082 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7568 7569 7570 #line default 7571 #line hidden 7572 }); 7573 7574 #line 2082 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7575 } 7576 #line default 7577 #line hidden 7578 7579 7580 #line 2086 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7581 public RazorEngine.Templating.TemplateWriter RenderTableRow(TableRow settings) 7582 { 7583 #line default 7584 #line hidden 7585 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7586 7587 #line 2087 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7588 7589 Dictionary<string, string> attributes = new Dictionary<string, string>(); 7590 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 7591 7592 var enumToClasses = new Dictionary<TableRowDesign, string> 7593 { 7594 { TableRowDesign.NoBorder, "table__row--no-border" }, 7595 { TableRowDesign.Border, "table__row--border" }, 7596 { TableRowDesign.TopBorder, "table__row--top-line" }, 7597 { TableRowDesign.BottomBorder, "table__row--bottom-line" }, 7598 { TableRowDesign.Solid, "table__row--solid" } 7599 }; 7600 7601 string tableRowDesignClass = ""; 7602 if (settings.Design != TableRowDesign.None) 7603 { 7604 tableRowDesignClass = enumToClasses[settings.Design]; 7605 } 7606 7607 if (!string.IsNullOrEmpty(settings.CssClass) || settings.Design != TableRowDesign.None) { attributes.Add("class", "table__row " + tableRowDesignClass + " " + settings.CssClass + " dw-mod"); } 7608 7609 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary(d => d.Key, d => d.Last().Value); 7610 7611 7612 7613 #line default 7614 #line hidden 7615 WriteLiteralTo(__razor_helper_writer, " <tr "); 7616 7617 7618 #line 2110 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7619 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 7620 7621 7622 #line default 7623 #line hidden 7624 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7625 7626 7627 #line 2111 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7628 7629 7630 #line default 7631 #line hidden 7632 7633 #line 2111 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7634 foreach (var cell in settings.Cells) 7635 { 7636 if (settings.IsHeaderRow) 7637 { 7638 cell.IsHeader = true; 7639 } 7640 7641 7642 #line default 7643 #line hidden 7644 7645 #line 2117 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7646 WriteTo(__razor_helper_writer, Render(cell)); 7647 7648 7649 #line default 7650 #line hidden 7651 7652 #line 2117 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7653 7654 } 7655 7656 7657 #line default 7658 #line hidden 7659 WriteLiteralTo(__razor_helper_writer, " </tr>\r\n"); 7660 7661 7662 #line 2120 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7663 7664 7665 #line default 7666 #line hidden 7667 }); 7668 7669 #line 2120 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7670 } 7671 #line default 7672 #line hidden 7673 7674 7675 #line 2125 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7676 public RazorEngine.Templating.TemplateWriter RenderTableCell(TableCell settings) 7677 { 7678 #line default 7679 #line hidden 7680 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7681 7682 #line 2126 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7683 7684 Dictionary<string, string> attributes = new Dictionary<string, string>(); 7685 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 7686 if (settings.Colspan != 0) { attributes.Add("colspan", Converter.ToString(settings.Colspan)); } 7687 if (settings.Rowspan != 0) { attributes.Add("rowspan", Converter.ToString(settings.Rowspan)); } 7688 if (!string.IsNullOrEmpty(settings.CssClass)) { attributes.Add("class", settings.CssClass + " dw-mod"); } 7689 7690 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary(d => d.Key, d => d.Last().Value); 7691 7692 string tagName = settings.IsHeader ? "th" : "td"; 7693 7694 7695 7696 #line default 7697 #line hidden 7698 7699 #line 2137 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7700 WriteTo(__razor_helper_writer, "<" + tagName + " " + ComponentMethods.AddAttributes(resultAttributes) + ">"); 7701 7702 7703 #line default 7704 #line hidden 7705 7706 #line 2137 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7707 7708 7709 7710 #line default 7711 #line hidden 7712 7713 #line 2138 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7714 WriteTo(__razor_helper_writer, settings.Content); 7715 7716 7717 #line default 7718 #line hidden 7719 7720 #line 2138 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7721 7722 7723 7724 #line default 7725 #line hidden 7726 7727 #line 2139 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7728 WriteTo(__razor_helper_writer, "</" + tagName + ">"); 7729 7730 7731 #line default 7732 #line hidden 7733 7734 #line 2139 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7735 ; 7736 7737 7738 #line default 7739 #line hidden 7740 }); 7741 7742 #line 2140 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7743 } 7744 #line default 7745 #line hidden 7746 7747 7748 #line 2146 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7749 public RazorEngine.Templating.TemplateWriter RenderPagination(Dynamicweb.Rapido.Blocks.Components.General.Pagination settings) 7750 { 7751 #line default 7752 #line hidden 7753 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7754 7755 #line 2147 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7756 7757 var pageNumberQueryStringName = Dynamicweb.Rapido.Services.Pagination.GetPageNumberQueryStringName(settings); // Get the proper 'page number' query string parameter 7758 var queryParameters = Dynamicweb.Rapido.Services.Url.GetQueryParameters(pageNumberQueryStringName); // Get the NameValueCollection from the querystring 7759 7760 if (settings.NumberOfPages > 1) 7761 { 7762 string url = HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority) + "/Default.aspx"; 7763 string ariaLabel = !string.IsNullOrWhiteSpace(settings.AriaLabel) ? settings.AriaLabel : Translate("Page navigation"); 7764 Dictionary<string, int> startAndEndPageNumber = Dynamicweb.Rapido.Services.Pagination.GetStartAndEndPageNumber(settings); 7765 7766 7767 7768 #line default 7769 #line hidden 7770 WriteLiteralTo(__razor_helper_writer, " <div"); 7771 7772 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 83976), Tuple.Create("\"", 84028) 7773 , Tuple.Create(Tuple.Create("", 83984), Tuple.Create("pager", 83984), true) 7774 , Tuple.Create(Tuple.Create(" ", 83989), Tuple.Create("u-margin-top", 83990), true) 7775 , Tuple.Create(Tuple.Create(" ", 84002), Tuple.Create("dw-mod", 84003), true) 7776 7777 #line 2157 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7778 , Tuple.Create(Tuple.Create(" ", 84009), Tuple.Create<System.Object, System.Int32>(settings.CssClass 7779 7780 #line default 7781 #line hidden 7782 , 84010), false) 7783 ); 7784 7785 WriteAttributeTo(__razor_helper_writer, "aria-label", Tuple.Create(" aria-label=\"", 84029), Tuple.Create("\"", 84052) 7786 7787 #line 2157 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7788 , Tuple.Create(Tuple.Create("", 84042), Tuple.Create<System.Object, System.Int32>(ariaLabel 7789 7790 #line default 7791 #line hidden 7792 , 84042), false) 7793 ); 7794 7795 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7796 7797 7798 #line 2158 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7799 7800 7801 #line default 7802 #line hidden 7803 7804 #line 2158 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7805 if (settings.ShowPagingInfo) 7806 { 7807 7808 7809 #line default 7810 #line hidden 7811 WriteLiteralTo(__razor_helper_writer, " <div"); 7812 7813 WriteLiteralTo(__razor_helper_writer, " class=\"pager__info dw-mod\""); 7814 7815 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7816 7817 WriteLiteralTo(__razor_helper_writer, " "); 7818 7819 7820 #line 2161 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7821 WriteTo(__razor_helper_writer, Translate("Page")); 7822 7823 7824 #line default 7825 #line hidden 7826 WriteLiteralTo(__razor_helper_writer, " "); 7827 7828 7829 #line 2161 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7830 WriteTo(__razor_helper_writer, settings.CurrentPageNumber); 7831 7832 7833 #line default 7834 #line hidden 7835 WriteLiteralTo(__razor_helper_writer, " "); 7836 7837 7838 #line 2161 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7839 WriteTo(__razor_helper_writer, Translate("of")); 7840 7841 7842 #line default 7843 #line hidden 7844 WriteLiteralTo(__razor_helper_writer, " "); 7845 7846 7847 #line 2161 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7848 WriteTo(__razor_helper_writer, settings.NumberOfPages); 7849 7850 7851 #line default 7852 #line hidden 7853 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 7854 7855 7856 #line 2163 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7857 } 7858 7859 7860 #line default 7861 #line hidden 7862 WriteLiteralTo(__razor_helper_writer, " <ul"); 7863 7864 WriteLiteralTo(__razor_helper_writer, " class=\"pager__list dw-mod\""); 7865 7866 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7867 7868 7869 #line 2165 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7870 7871 7872 #line default 7873 #line hidden 7874 7875 #line 2165 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7876 if (!string.IsNullOrWhiteSpace(settings.FirstPageUrl) && settings.ShowFirstAndLastControls) 7877 { 7878 7879 7880 #line default 7881 #line hidden 7882 7883 #line 2167 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7884 WriteTo(__razor_helper_writer, Render(new PaginationItem { Link = settings.FirstPageUrl, Icon = settings.FirstIcon })); 7885 7886 7887 #line default 7888 #line hidden 7889 7890 #line 2167 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7891 7892 } 7893 7894 7895 #line default 7896 #line hidden 7897 WriteLiteralTo(__razor_helper_writer, " "); 7898 7899 7900 #line 2169 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7901 if (!string.IsNullOrWhiteSpace(settings.PreviousPageUrl) && settings.ShowNextAndPrevControls) 7902 { 7903 7904 7905 #line default 7906 #line hidden 7907 7908 #line 2171 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7909 WriteTo(__razor_helper_writer, Render(new PaginationItem { Link = settings.PreviousPageUrl, Icon = settings.PrevIcon })); 7910 7911 7912 #line default 7913 #line hidden 7914 7915 #line 2171 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7916 7917 } 7918 7919 7920 #line default 7921 #line hidden 7922 WriteLiteralTo(__razor_helper_writer, " "); 7923 7924 7925 #line 2173 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7926 if (settings.GetPages().Any()) 7927 { 7928 foreach (var page in settings.GetPages()) 7929 { 7930 7931 7932 #line default 7933 #line hidden 7934 7935 #line 2177 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7936 WriteTo(__razor_helper_writer, Render(page)); 7937 7938 7939 #line default 7940 #line hidden 7941 7942 #line 2177 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7943 7944 } 7945 } 7946 else 7947 { 7948 for (var page = startAndEndPageNumber["StartPage"]; page <= startAndEndPageNumber["EndPage"]; page++) 7949 { 7950 queryParameters = Dynamicweb.Rapido.Services.Url.UpdateQueryStringParameter(queryParameters, pageNumberQueryStringName, page.ToString()); 7951 7952 7953 #line default 7954 #line hidden 7955 7956 #line 2185 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7957 WriteTo(__razor_helper_writer, Render(new PaginationItem { Label = page.ToString(), Link = Dynamicweb.Rapido.Services.Url.BuildUri(url, queryParameters).PathAndQuery, IsActive = (settings.CurrentPageNumber == page) })); 7958 7959 7960 #line default 7961 #line hidden 7962 7963 #line 2185 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7964 ; 7965 } 7966 } 7967 7968 7969 #line default 7970 #line hidden 7971 WriteLiteralTo(__razor_helper_writer, " "); 7972 7973 7974 #line 2188 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7975 if (!string.IsNullOrWhiteSpace(settings.NextPageUrl) && settings.ShowNextAndPrevControls) 7976 { 7977 7978 7979 #line default 7980 #line hidden 7981 7982 #line 2190 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7983 WriteTo(__razor_helper_writer, Render(new PaginationItem { Link = settings.NextPageUrl, Icon = settings.NextIcon })); 7984 7985 7986 #line default 7987 #line hidden 7988 7989 #line 2190 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 7990 7991 } 7992 7993 7994 #line default 7995 #line hidden 7996 WriteLiteralTo(__razor_helper_writer, " "); 7997 7998 7999 #line 2192 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8000 if (!string.IsNullOrWhiteSpace(settings.LastPageUrl) && settings.ShowFirstAndLastControls) 8001 { 8002 8003 8004 #line default 8005 #line hidden 8006 8007 #line 2194 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8008 WriteTo(__razor_helper_writer, Render(new PaginationItem { Link = settings.LastPageUrl, Icon = settings.LastIcon })); 8009 8010 8011 #line default 8012 #line hidden 8013 8014 #line 2194 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8015 8016 } 8017 8018 8019 #line default 8020 #line hidden 8021 WriteLiteralTo(__razor_helper_writer, " </ul>\r\n </div>\r\n"); 8022 8023 8024 #line 2198 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8025 } 8026 8027 8028 #line default 8029 #line hidden 8030 }); 8031 8032 #line 2199 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8033 } 8034 #line default 8035 #line hidden 8036 8037 8038 #line 2201 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8039 public RazorEngine.Templating.TemplateWriter RenderPaginationItem(PaginationItem settings) 8040 { 8041 #line default 8042 #line hidden 8043 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 8044 8045 #line 2202 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8046 8047 if (settings.Icon == null) 8048 { 8049 settings.Icon = new Icon(); 8050 } 8051 8052 settings.Icon.Label = settings.Label; 8053 8054 8055 #line default 8056 #line hidden 8057 WriteLiteralTo(__razor_helper_writer, " <li"); 8058 8059 WriteLiteralTo(__razor_helper_writer, " class=\"pager__btn dw-mod\""); 8060 8061 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8062 8063 8064 #line 2210 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8065 8066 8067 #line default 8068 #line hidden 8069 8070 #line 2210 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8071 if (settings.IsActive) 8072 { 8073 8074 8075 #line default 8076 #line hidden 8077 WriteLiteralTo(__razor_helper_writer, " <span"); 8078 8079 WriteLiteralTo(__razor_helper_writer, " class=\"pager__num pager__num--current dw-mod\""); 8080 8081 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8082 8083 WriteLiteralTo(__razor_helper_writer, " "); 8084 8085 8086 #line 2213 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8087 WriteTo(__razor_helper_writer, Render(settings.Icon)); 8088 8089 8090 #line default 8091 #line hidden 8092 WriteLiteralTo(__razor_helper_writer, "\r\n </span>\r\n"); 8093 8094 8095 #line 2215 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8096 } 8097 else 8098 { 8099 8100 8101 #line default 8102 #line hidden 8103 WriteLiteralTo(__razor_helper_writer, " <a"); 8104 8105 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 86713), Tuple.Create("\"", 86734) 8106 8107 #line 2218 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8108 , Tuple.Create(Tuple.Create("", 86720), Tuple.Create<System.Object, System.Int32>(settings.Link 8109 8110 #line default 8111 #line hidden 8112 , 86720), false) 8113 ); 8114 8115 WriteLiteralTo(__razor_helper_writer, " class=\"pager__num dw-mod\""); 8116 8117 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8118 8119 WriteLiteralTo(__razor_helper_writer, " "); 8120 8121 8122 #line 2219 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8123 WriteTo(__razor_helper_writer, Render(settings.Icon)); 8124 8125 8126 #line default 8127 #line hidden 8128 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n"); 8129 8130 8131 #line 2221 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8132 } 8133 8134 8135 #line default 8136 #line hidden 8137 WriteLiteralTo(__razor_helper_writer, " </li>\r\n"); 8138 8139 8140 #line 2223 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8141 8142 8143 #line default 8144 #line hidden 8145 }); 8146 8147 #line 2223 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8148 } 8149 #line default 8150 #line hidden 8151 8152 8153 #line 2245 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8154 public RazorEngine.Templating.TemplateWriter RenderArticleBanner(dynamic settings) { 8155 #line default 8156 #line hidden 8157 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 8158 8159 #line 2245 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8160 8161 string filterClasses = "image-filter image-filter--darken"; 8162 settings.Layout = ArticleHeaderLayout.Banner; 8163 8164 if (settings.Image != null) 8165 { 8166 if (settings.Image.Path != null) 8167 { 8168 8169 8170 #line default 8171 #line hidden 8172 WriteLiteralTo(__razor_helper_writer, " <section"); 8173 8174 WriteLiteralTo(__razor_helper_writer, " class=\"multiple-paragraphs-container u-color-light paragraph-container--full-wid" + 8175 "th\""); 8176 8177 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8178 8179 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 87757), Tuple.Create("\"", 87803) 8180 , Tuple.Create(Tuple.Create("", 87765), Tuple.Create("background-image", 87765), true) 8181 8182 #line 2254 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8183 , Tuple.Create(Tuple.Create(" ", 87781), Tuple.Create<System.Object, System.Int32>(filterClasses 8184 8185 #line default 8186 #line hidden 8187 , 87782), false) 8188 , Tuple.Create(Tuple.Create(" ", 87796), Tuple.Create("dw-mod", 87797), true) 8189 ); 8190 8191 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8192 8193 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 87831), Tuple.Create("\"", 87886) 8194 , Tuple.Create(Tuple.Create("", 87839), Tuple.Create("background-image__wrapper", 87839), true) 8195 8196 #line 2255 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8197 , Tuple.Create(Tuple.Create(" ", 87864), Tuple.Create<System.Object, System.Int32>(filterClasses 8198 8199 #line default 8200 #line hidden 8201 , 87865), false) 8202 , Tuple.Create(Tuple.Create(" ", 87879), Tuple.Create("dw-mod", 87880), true) 8203 ); 8204 8205 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8206 8207 8208 #line 2256 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8209 8210 8211 #line default 8212 #line hidden 8213 8214 #line 2256 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8215 8216 settings.Image.CssClass += "background-image__cover dw-mod"; 8217 8218 8219 #line default 8220 #line hidden 8221 WriteLiteralTo(__razor_helper_writer, "\r\n"); 8222 8223 WriteLiteralTo(__razor_helper_writer, " "); 8224 8225 8226 #line 2259 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8227 WriteTo(__razor_helper_writer, Render(settings.Image)); 8228 8229 8230 #line default 8231 #line hidden 8232 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n <div"); 8233 8234 WriteLiteralTo(__razor_helper_writer, " class=\"center-container dw-mod\""); 8235 8236 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8237 8238 WriteLiteralTo(__razor_helper_writer, " class=\"grid\""); 8239 8240 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8241 8242 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-8 grid__col-xs-12 paragraph-container paragraph-container--h" + 8243 "eight-lg\""); 8244 8245 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8246 8247 WriteLiteralTo(__razor_helper_writer, " class=\"u-left-middle\""); 8248 8249 WriteLiteralTo(__razor_helper_writer, ">\r\n <div>\r\n"); 8250 8251 8252 #line 2267 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8253 8254 8255 #line default 8256 #line hidden 8257 8258 #line 2267 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8259 if (!String.IsNullOrEmpty(settings.Heading)) 8260 { 8261 8262 8263 #line default 8264 #line hidden 8265 WriteLiteralTo(__razor_helper_writer, " <h1"); 8266 8267 WriteLiteralTo(__razor_helper_writer, " class=\"article__header article__header--giant dw-mod\""); 8268 8269 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 88668), Tuple.Create("\"", 88702) 8270 , Tuple.Create(Tuple.Create("", 88676), Tuple.Create("color:", 88676), true) 8271 8272 #line 2269 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8273 , Tuple.Create(Tuple.Create(" ", 88682), Tuple.Create<System.Object, System.Int32>(settings.TextColor 8274 8275 #line default 8276 #line hidden 8277 , 88683), false) 8278 ); 8279 8280 WriteLiteralTo(__razor_helper_writer, ">"); 8281 8282 8283 #line 2269 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8284 WriteTo(__razor_helper_writer, settings.Heading); 8285 8286 8287 #line default 8288 #line hidden 8289 WriteLiteralTo(__razor_helper_writer, "</h1>\r\n"); 8290 8291 8292 #line 2270 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8293 } 8294 8295 8296 #line default 8297 #line hidden 8298 WriteLiteralTo(__razor_helper_writer, " "); 8299 8300 8301 #line 2271 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8302 if (!String.IsNullOrEmpty(settings.Subheading)) 8303 { 8304 8305 8306 #line default 8307 #line hidden 8308 WriteLiteralTo(__razor_helper_writer, " <div"); 8309 8310 WriteLiteralTo(__razor_helper_writer, " class=\"article__leadtext dw-mod\""); 8311 8312 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 88969), Tuple.Create("\"", 89003) 8313 , Tuple.Create(Tuple.Create("", 88977), Tuple.Create("color:", 88977), true) 8314 8315 #line 2273 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8316 , Tuple.Create(Tuple.Create(" ", 88983), Tuple.Create<System.Object, System.Int32>(settings.TextColor 8317 8318 #line default 8319 #line hidden 8320 , 88984), false) 8321 ); 8322 8323 WriteLiteralTo(__razor_helper_writer, ">"); 8324 8325 8326 #line 2273 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8327 WriteTo(__razor_helper_writer, settings.Subheading); 8328 8329 8330 #line default 8331 #line hidden 8332 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 8333 8334 8335 #line 2274 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8336 } 8337 8338 8339 #line default 8340 #line hidden 8341 WriteLiteralTo(__razor_helper_writer, " "); 8342 8343 8344 #line 2275 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8345 if (!String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date)) 8346 { 8347 8348 8349 #line default 8350 #line hidden 8351 WriteLiteralTo(__razor_helper_writer, " <small"); 8352 8353 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info u-margin-bottom--lg dw-mod\""); 8354 8355 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 89333), Tuple.Create("\"", 89367) 8356 , Tuple.Create(Tuple.Create("", 89341), Tuple.Create("color:", 89341), true) 8357 8358 #line 2277 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8359 , Tuple.Create(Tuple.Create(" ", 89347), Tuple.Create<System.Object, System.Int32>(settings.TextColor 8360 8361 #line default 8362 #line hidden 8363 , 89348), false) 8364 ); 8365 8366 WriteLiteralTo(__razor_helper_writer, ">"); 8367 8368 8369 #line 2277 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8370 WriteTo(__razor_helper_writer, settings.Author); 8371 8372 8373 #line default 8374 #line hidden 8375 WriteLiteralTo(__razor_helper_writer, " "); 8376 8377 8378 #line 2277 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8379 WriteTo(__razor_helper_writer, settings.Date); 8380 8381 8382 #line default 8383 #line hidden 8384 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 8385 8386 8387 #line 2278 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8388 } 8389 8390 8391 #line default 8392 #line hidden 8393 WriteLiteralTo(__razor_helper_writer, " "); 8394 8395 8396 #line 2279 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8397 if (!String.IsNullOrEmpty(settings.Link)) { 8398 8399 8400 #line default 8401 #line hidden 8402 WriteLiteralTo(__razor_helper_writer, " <div"); 8403 8404 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 8405 8406 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8407 8408 WriteLiteralTo(__razor_helper_writer, " "); 8409 8410 8411 #line 2281 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8412 WriteTo(__razor_helper_writer, Render(new Link { Href = settings.Link, Title = settings.LinkText, ButtonLayout = settings.ButtonLayout })); 8413 8414 8415 #line default 8416 #line hidden 8417 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 8418 8419 8420 #line 2283 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8421 } 8422 8423 8424 #line default 8425 #line hidden 8426 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n " + 8427 " </div>\r\n"); 8428 8429 8430 #line 2287 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8431 8432 8433 #line default 8434 #line hidden 8435 8436 #line 2287 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8437 if (settings.ExternalParagraphId != 0) 8438 { 8439 8440 8441 #line default 8442 #line hidden 8443 WriteLiteralTo(__razor_helper_writer, " <div"); 8444 8445 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-4 grid__col-sm-12 grid__col-xs-12 paragraph-container paragr" + 8446 "aph-container--height-auto dw-mod\""); 8447 8448 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8449 8450 WriteLiteralTo(__razor_helper_writer, " class=\"u-color-light-gray--bg u-color-dark dw-mod\""); 8451 8452 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8453 8454 WriteLiteralTo(__razor_helper_writer, " "); 8455 8456 8457 #line 2291 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8458 WriteTo(__razor_helper_writer, RenderParagraphContent(settings.ExternalParagraphId)); 8459 8460 8461 #line default 8462 #line hidden 8463 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div> \r\n"); 8464 8465 8466 #line 2294 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8467 } 8468 8469 8470 #line default 8471 #line hidden 8472 WriteLiteralTo(__razor_helper_writer, " \r\n </div>\r\n </div>\r\n " + 8473 " </section>\r\n"); 8474 8475 8476 #line 2299 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8477 if (!String.IsNullOrEmpty(settings.Image.Caption)) { 8478 8479 8480 #line default 8481 #line hidden 8482 WriteLiteralTo(__razor_helper_writer, " <div"); 8483 8484 WriteLiteralTo(__razor_helper_writer, " class=\"image-caption dw-mod\""); 8485 8486 WriteLiteralTo(__razor_helper_writer, ">"); 8487 8488 8489 #line 2300 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8490 WriteTo(__razor_helper_writer, settings.Image.Caption); 8491 8492 8493 #line default 8494 #line hidden 8495 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 8496 8497 8498 #line 2301 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8499 } 8500 } 8501 else 8502 { 8503 settings.Layout = ArticleHeaderLayout.Clean; 8504 8505 8506 #line default 8507 #line hidden 8508 8509 #line 2306 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8510 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 8511 8512 8513 #line default 8514 #line hidden 8515 8516 #line 2306 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8517 ; 8518 } 8519 } 8520 else 8521 { 8522 settings.Layout = ArticleHeaderLayout.Clean; 8523 8524 8525 #line default 8526 #line hidden 8527 8528 #line 2312 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8529 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 8530 8531 8532 #line default 8533 #line hidden 8534 8535 #line 2312 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8536 ; 8537 } 8538 8539 8540 #line default 8541 #line hidden 8542 }); 8543 8544 #line 2314 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8545 } 8546 #line default 8547 #line hidden 8548 8549 8550 #line 2324 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8551 public RazorEngine.Templating.TemplateWriter RenderArticleHeader(ArticleHeader settings) { 8552 #line default 8553 #line hidden 8554 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 8555 8556 #line 2324 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8557 8558 dynamic[] methodParameters = new dynamic[1]; 8559 methodParameters[0] = settings; 8560 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleHeaderCustom"); 8561 8562 if (customMethod != null) 8563 { 8564 8565 8566 #line default 8567 #line hidden 8568 8569 #line 2331 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8570 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 8571 8572 8573 #line default 8574 #line hidden 8575 8576 #line 2331 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8577 ; 8578 } else { 8579 switch (settings.Layout) 8580 { 8581 case ArticleHeaderLayout.Clean: 8582 8583 8584 #line default 8585 #line hidden 8586 8587 #line 2336 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8588 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 8589 8590 8591 #line default 8592 #line hidden 8593 8594 #line 2336 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8595 ; 8596 break; 8597 case ArticleHeaderLayout.Split: 8598 8599 8600 #line default 8601 #line hidden 8602 8603 #line 2339 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8604 WriteTo(__razor_helper_writer, RenderArticleSplitHeader(settings)); 8605 8606 8607 #line default 8608 #line hidden 8609 8610 #line 2339 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8611 ; 8612 break; 8613 case ArticleHeaderLayout.Banner: 8614 8615 8616 #line default 8617 #line hidden 8618 8619 #line 2342 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8620 WriteTo(__razor_helper_writer, RenderArticleBannerHeader(settings)); 8621 8622 8623 #line default 8624 #line hidden 8625 8626 #line 2342 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8627 ; 8628 break; 8629 case ArticleHeaderLayout.Overlay: 8630 8631 8632 #line default 8633 #line hidden 8634 8635 #line 2345 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8636 WriteTo(__razor_helper_writer, RenderArticleOverlayHeader(settings)); 8637 8638 8639 #line default 8640 #line hidden 8641 8642 #line 2345 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8643 ; 8644 break; 8645 default: 8646 8647 8648 #line default 8649 #line hidden 8650 8651 #line 2348 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8652 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 8653 8654 8655 #line default 8656 #line hidden 8657 8658 #line 2348 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8659 ; 8660 break; 8661 } 8662 } 8663 8664 8665 #line default 8666 #line hidden 8667 }); 8668 8669 #line 2352 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8670 } 8671 #line default 8672 #line hidden 8673 8674 8675 #line 2354 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8676 public RazorEngine.Templating.TemplateWriter RenderArticleCleanHeader(ArticleHeader settings) { 8677 #line default 8678 #line hidden 8679 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 8680 8681 #line 2354 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8682 8683 dynamic[] methodParameters = new dynamic[1]; 8684 methodParameters[0] = settings; 8685 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleCleanHeaderCustom"); 8686 8687 if (customMethod != null) 8688 { 8689 8690 8691 #line default 8692 #line hidden 8693 8694 #line 2361 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8695 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 8696 8697 8698 #line default 8699 #line hidden 8700 8701 #line 2361 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8702 ; 8703 } 8704 else 8705 { 8706 string contentColumns = settings.TextLayout != ArticleHeaderTextLayout.Full ? "8" : "12"; 8707 8708 8709 8710 #line default 8711 #line hidden 8712 WriteLiteralTo(__razor_helper_writer, " <div"); 8713 8714 WriteLiteralTo(__razor_helper_writer, " class=\"grid grid--align-content-start grid--justify-start\""); 8715 8716 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8717 8718 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 92896), Tuple.Create("\"", 92969) 8719 , Tuple.Create(Tuple.Create("", 92904), Tuple.Create("grid__col-md-", 92904), true) 8720 8721 #line 2368 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8722 , Tuple.Create(Tuple.Create("", 92917), Tuple.Create<System.Object, System.Int32>(contentColumns 8723 8724 #line default 8725 #line hidden 8726 , 92917), false) 8727 , Tuple.Create(Tuple.Create(" ", 92932), Tuple.Create("grid__col-sm-12", 92933), true) 8728 , Tuple.Create(Tuple.Create(" ", 92948), Tuple.Create("u-padding--lg", 92949), true) 8729 , Tuple.Create(Tuple.Create(" ", 92962), Tuple.Create("dw-mod", 92963), true) 8730 ); 8731 8732 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8733 8734 8735 #line 2369 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8736 8737 8738 #line default 8739 #line hidden 8740 8741 #line 2369 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8742 if (!String.IsNullOrEmpty(settings.Category) || !String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date) || settings.RatingOutOf != 0) 8743 { 8744 8745 8746 #line default 8747 #line hidden 8748 WriteLiteralTo(__razor_helper_writer, " <div"); 8749 8750 WriteLiteralTo(__razor_helper_writer, " class=\"u-border-bottom u-padding-bottom\""); 8751 8752 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8753 8754 8755 #line 2372 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8756 8757 8758 #line default 8759 #line hidden 8760 8761 #line 2372 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8762 if (!String.IsNullOrEmpty(settings.Category)) 8763 { 8764 8765 8766 #line default 8767 #line hidden 8768 WriteLiteralTo(__razor_helper_writer, " <div"); 8769 8770 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--left\""); 8771 8772 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8773 8774 WriteLiteralTo(__razor_helper_writer, " class=\"article__category dw-mod\""); 8775 8776 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 93459), Tuple.Create("\"", 93497) 8777 , Tuple.Create(Tuple.Create("", 93467), Tuple.Create("color:", 93467), true) 8778 8779 #line 2375 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8780 , Tuple.Create(Tuple.Create(" ", 93473), Tuple.Create<System.Object, System.Int32>(settings.CategoryColor 8781 8782 #line default 8783 #line hidden 8784 , 93474), false) 8785 ); 8786 8787 WriteLiteralTo(__razor_helper_writer, ">"); 8788 8789 8790 #line 2375 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8791 WriteTo(__razor_helper_writer, settings.Category); 8792 8793 8794 #line default 8795 #line hidden 8796 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </div>\r\n"); 8797 8798 8799 #line 2377 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8800 } 8801 8802 8803 #line default 8804 #line hidden 8805 WriteLiteralTo(__razor_helper_writer, " <div"); 8806 8807 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right\""); 8808 8809 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8810 8811 8812 #line 2379 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8813 8814 8815 #line default 8816 #line hidden 8817 8818 #line 2379 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8819 if (!String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date)) 8820 { 8821 8822 8823 #line default 8824 #line hidden 8825 WriteLiteralTo(__razor_helper_writer, " <small"); 8826 8827 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info dw-mod\""); 8828 8829 WriteLiteralTo(__razor_helper_writer, ">"); 8830 8831 8832 #line 2381 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8833 WriteTo(__razor_helper_writer, settings.Author); 8834 8835 8836 #line default 8837 #line hidden 8838 WriteLiteralTo(__razor_helper_writer, " "); 8839 8840 8841 #line 2381 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8842 WriteTo(__razor_helper_writer, settings.Date); 8843 8844 8845 #line default 8846 #line hidden 8847 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 8848 8849 8850 #line 2382 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8851 } 8852 8853 8854 #line default 8855 #line hidden 8856 WriteLiteralTo(__razor_helper_writer, " "); 8857 8858 8859 #line 2383 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8860 if (settings.RatingOutOf != 0) 8861 { 8862 8863 8864 #line default 8865 #line hidden 8866 8867 #line 2385 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8868 WriteTo(__razor_helper_writer, Render(new Rating { Score = settings.RatingScore, OutOf = settings.RatingOutOf })); 8869 8870 8871 #line default 8872 #line hidden 8873 8874 #line 2385 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8875 8876 } 8877 8878 8879 #line default 8880 #line hidden 8881 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 8882 8883 8884 #line 2389 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8885 } 8886 8887 8888 #line default 8889 #line hidden 8890 WriteLiteralTo(__razor_helper_writer, "\r\n <div"); 8891 8892 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 8893 8894 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8895 8896 8897 #line 2392 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8898 8899 8900 #line default 8901 #line hidden 8902 8903 #line 2392 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8904 if (!String.IsNullOrEmpty(settings.Heading)) 8905 { 8906 8907 8908 #line default 8909 #line hidden 8910 WriteLiteralTo(__razor_helper_writer, " <h1"); 8911 8912 WriteLiteralTo(__razor_helper_writer, " class=\"article__header article__header--giant dw-mod\""); 8913 8914 WriteLiteralTo(__razor_helper_writer, ">"); 8915 8916 8917 #line 2394 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8918 WriteTo(__razor_helper_writer, settings.Heading); 8919 8920 8921 #line default 8922 #line hidden 8923 WriteLiteralTo(__razor_helper_writer, "</h1>\r\n"); 8924 8925 8926 #line 2395 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8927 } 8928 8929 8930 #line default 8931 #line hidden 8932 WriteLiteralTo(__razor_helper_writer, " "); 8933 8934 8935 #line 2396 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8936 if (settings.Image != null) 8937 { 8938 if (settings.Image.Path != null) 8939 { 8940 8941 8942 #line default 8943 #line hidden 8944 WriteLiteralTo(__razor_helper_writer, " <div"); 8945 8946 WriteLiteralTo(__razor_helper_writer, " class=\"u-padding-bottom--lg\""); 8947 8948 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8949 8950 WriteLiteralTo(__razor_helper_writer, " "); 8951 8952 8953 #line 2401 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8954 WriteTo(__razor_helper_writer, Render(settings.Image)); 8955 8956 8957 #line default 8958 #line hidden 8959 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 8960 8961 8962 #line 2403 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8963 } 8964 } 8965 8966 8967 #line default 8968 #line hidden 8969 WriteLiteralTo(__razor_helper_writer, " "); 8970 8971 8972 #line 2405 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8973 if (!String.IsNullOrEmpty(settings.Subheading)) 8974 { 8975 8976 8977 #line default 8978 #line hidden 8979 WriteLiteralTo(__razor_helper_writer, " <div"); 8980 8981 WriteLiteralTo(__razor_helper_writer, " class=\"article__leadtext dw-mod\""); 8982 8983 WriteLiteralTo(__razor_helper_writer, ">"); 8984 8985 8986 #line 2407 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8987 WriteTo(__razor_helper_writer, settings.Subheading); 8988 8989 8990 #line default 8991 #line hidden 8992 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 8993 8994 8995 #line 2408 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 8996 } 8997 8998 8999 #line default 9000 #line hidden 9001 WriteLiteralTo(__razor_helper_writer, " "); 9002 9003 9004 #line 2409 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9005 if (!String.IsNullOrEmpty(settings.Link)) 9006 { 9007 9008 9009 #line default 9010 #line hidden 9011 WriteLiteralTo(__razor_helper_writer, " <div"); 9012 9013 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 9014 9015 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9016 9017 WriteLiteralTo(__razor_helper_writer, " "); 9018 9019 9020 #line 2412 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9021 WriteTo(__razor_helper_writer, Render(new Link { Href = settings.Link, Title = settings.LinkText, ButtonLayout = settings.ButtonLayout })); 9022 9023 9024 #line default 9025 #line hidden 9026 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9027 9028 9029 #line 2414 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9030 } 9031 9032 9033 #line default 9034 #line hidden 9035 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 9036 9037 9038 #line 2417 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9039 9040 9041 #line default 9042 #line hidden 9043 9044 #line 2417 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9045 if (settings.ExternalParagraphId != 0) 9046 { 9047 9048 9049 #line default 9050 #line hidden 9051 WriteLiteralTo(__razor_helper_writer, " <div"); 9052 9053 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-4 grid__col-sm-12 u-padding--lg u-color-light-gray--bg dw-mo" + 9054 "d\""); 9055 9056 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9057 9058 WriteLiteralTo(__razor_helper_writer, " "); 9059 9060 9061 #line 2420 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9062 WriteTo(__razor_helper_writer, RenderParagraphContent(settings.ExternalParagraphId)); 9063 9064 9065 #line default 9066 #line hidden 9067 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9068 9069 9070 #line 2422 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9071 } 9072 9073 9074 #line default 9075 #line hidden 9076 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 9077 9078 9079 #line 2424 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9080 } 9081 9082 9083 #line default 9084 #line hidden 9085 }); 9086 9087 #line 2425 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9088 } 9089 #line default 9090 #line hidden 9091 9092 9093 #line 2427 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9094 public RazorEngine.Templating.TemplateWriter RenderArticleSplitHeader(ArticleHeader settings) { 9095 #line default 9096 #line hidden 9097 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9098 9099 #line 2427 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9100 9101 dynamic[] methodParameters = new dynamic[1]; 9102 methodParameters[0] = settings; 9103 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleSplitHeaderCustom"); 9104 9105 if (customMethod != null) 9106 { 9107 9108 9109 #line default 9110 #line hidden 9111 9112 #line 2434 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9113 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 9114 9115 9116 #line default 9117 #line hidden 9118 9119 #line 2434 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9120 ; 9121 } 9122 else 9123 { 9124 string headerColumnWidth = settings.ExternalParagraphId != 0 ? "4" : "6"; 9125 9126 if (settings.Image != null) 9127 { 9128 if (settings.Image.Path != null) 9129 { 9130 9131 9132 #line default 9133 #line hidden 9134 WriteLiteralTo(__razor_helper_writer, " <section"); 9135 9136 WriteLiteralTo(__razor_helper_writer, " class=\"multiple-paragraphs-container paragraph-container--full-width\""); 9137 9138 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9139 9140 WriteLiteralTo(__razor_helper_writer, " class=\"grid\""); 9141 9142 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9143 9144 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 96501), Tuple.Create("\"", 96630) 9145 , Tuple.Create(Tuple.Create("", 96509), Tuple.Create("grid__col-md-", 96509), true) 9146 9147 #line 2446 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9148 , Tuple.Create(Tuple.Create("", 96522), Tuple.Create<System.Object, System.Int32>(headerColumnWidth 9149 9150 #line default 9151 #line hidden 9152 , 96522), false) 9153 , Tuple.Create(Tuple.Create(" ", 96540), Tuple.Create("grid__col-sm-12", 96541), true) 9154 , Tuple.Create(Tuple.Create(" ", 96556), Tuple.Create("grid__col-xs-12", 96557), true) 9155 , Tuple.Create(Tuple.Create(" ", 96572), Tuple.Create("paragraph-container", 96573), true) 9156 , Tuple.Create(Tuple.Create(" ", 96592), Tuple.Create("paragraph-container--height-xl", 96593), true) 9157 , Tuple.Create(Tuple.Create(" ", 96623), Tuple.Create("dw-mod", 96624), true) 9158 ); 9159 9160 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9161 9162 WriteLiteralTo(__razor_helper_writer, " class=\"u-left-middle u-padding--lg\""); 9163 9164 WriteLiteralTo(__razor_helper_writer, ">\r\n <div>\r\n"); 9165 9166 9167 #line 2449 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9168 9169 9170 #line default 9171 #line hidden 9172 9173 #line 2449 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9174 if (!String.IsNullOrEmpty(settings.Category)) 9175 { 9176 9177 9178 #line default 9179 #line hidden 9180 WriteLiteralTo(__razor_helper_writer, " <div"); 9181 9182 WriteLiteralTo(__razor_helper_writer, " class=\"article__category dw-mod\""); 9183 9184 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 96944), Tuple.Create("\"", 96982) 9185 , Tuple.Create(Tuple.Create("", 96952), Tuple.Create("color:", 96952), true) 9186 9187 #line 2451 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9188 , Tuple.Create(Tuple.Create(" ", 96958), Tuple.Create<System.Object, System.Int32>(settings.CategoryColor 9189 9190 #line default 9191 #line hidden 9192 , 96959), false) 9193 ); 9194 9195 WriteLiteralTo(__razor_helper_writer, ">"); 9196 9197 9198 #line 2451 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9199 WriteTo(__razor_helper_writer, settings.Category); 9200 9201 9202 #line default 9203 #line hidden 9204 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 9205 9206 9207 #line 2452 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9208 } 9209 9210 9211 #line default 9212 #line hidden 9213 WriteLiteralTo(__razor_helper_writer, " "); 9214 9215 9216 #line 2453 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9217 if (!String.IsNullOrEmpty(settings.Heading)) 9218 { 9219 9220 9221 #line default 9222 #line hidden 9223 WriteLiteralTo(__razor_helper_writer, " <h1"); 9224 9225 WriteLiteralTo(__razor_helper_writer, " class=\"article__header article__header--giant dw-mod\""); 9226 9227 WriteLiteralTo(__razor_helper_writer, ">"); 9228 9229 9230 #line 2455 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9231 WriteTo(__razor_helper_writer, settings.Heading); 9232 9233 9234 #line default 9235 #line hidden 9236 WriteLiteralTo(__razor_helper_writer, "</h1>\r\n"); 9237 9238 9239 #line 2456 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9240 } 9241 9242 9243 #line default 9244 #line hidden 9245 WriteLiteralTo(__razor_helper_writer, " "); 9246 9247 9248 #line 2457 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9249 if (!String.IsNullOrEmpty(settings.Subheading)) 9250 { 9251 9252 9253 #line default 9254 #line hidden 9255 WriteLiteralTo(__razor_helper_writer, " <div"); 9256 9257 WriteLiteralTo(__razor_helper_writer, " class=\"article__leadtext dw-mod\""); 9258 9259 WriteLiteralTo(__razor_helper_writer, ">"); 9260 9261 9262 #line 2459 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9263 WriteTo(__razor_helper_writer, settings.Subheading); 9264 9265 9266 #line default 9267 #line hidden 9268 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 9269 9270 9271 #line 2460 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9272 } 9273 9274 9275 #line default 9276 #line hidden 9277 WriteLiteralTo(__razor_helper_writer, " "); 9278 9279 9280 #line 2461 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9281 if (!String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date)) 9282 { 9283 9284 9285 #line default 9286 #line hidden 9287 WriteLiteralTo(__razor_helper_writer, " <small"); 9288 9289 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info u-pull--left dw-mod\""); 9290 9291 WriteLiteralTo(__razor_helper_writer, ">"); 9292 9293 9294 #line 2463 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9295 WriteTo(__razor_helper_writer, settings.Author); 9296 9297 9298 #line default 9299 #line hidden 9300 WriteLiteralTo(__razor_helper_writer, " "); 9301 9302 9303 #line 2463 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9304 WriteTo(__razor_helper_writer, settings.Date); 9305 9306 9307 #line default 9308 #line hidden 9309 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 9310 9311 9312 #line 2464 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9313 } 9314 9315 9316 #line default 9317 #line hidden 9318 WriteLiteralTo(__razor_helper_writer, " "); 9319 9320 9321 #line 2465 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9322 if (settings.RatingOutOf != 0) 9323 { 9324 9325 9326 #line default 9327 #line hidden 9328 WriteLiteralTo(__razor_helper_writer, " <div"); 9329 9330 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right\""); 9331 9332 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9333 9334 WriteLiteralTo(__razor_helper_writer, " "); 9335 9336 9337 #line 2468 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9338 WriteTo(__razor_helper_writer, Render(new Rating { Score = settings.RatingScore, OutOf = settings.RatingOutOf })); 9339 9340 9341 #line default 9342 #line hidden 9343 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9344 9345 9346 #line 2470 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9347 } 9348 9349 9350 #line default 9351 #line hidden 9352 WriteLiteralTo(__razor_helper_writer, " "); 9353 9354 9355 #line 2471 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9356 if (!String.IsNullOrEmpty(settings.Link)) { 9357 9358 9359 #line default 9360 #line hidden 9361 WriteLiteralTo(__razor_helper_writer, " <div"); 9362 9363 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width u-pull--left u-margin-top\""); 9364 9365 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9366 9367 WriteLiteralTo(__razor_helper_writer, " "); 9368 9369 9370 #line 2473 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9371 WriteTo(__razor_helper_writer, Render(new Link { Href = settings.Link, Title = settings.LinkText, ButtonLayout = settings.ButtonLayout })); 9372 9373 9374 #line default 9375 #line hidden 9376 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9377 9378 9379 #line 2475 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9380 } 9381 9382 9383 #line default 9384 #line hidden 9385 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n " + 9386 " </div>\r\n <div"); 9387 9388 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 98881), Tuple.Create("\"", 99012) 9389 , Tuple.Create(Tuple.Create("", 98889), Tuple.Create("grid__col-md-", 98889), true) 9390 9391 #line 2479 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9392 , Tuple.Create(Tuple.Create("", 98902), Tuple.Create<System.Object, System.Int32>(headerColumnWidth 9393 9394 #line default 9395 #line hidden 9396 , 98902), false) 9397 , Tuple.Create(Tuple.Create(" ", 98920), Tuple.Create("grid__col-sm-12", 98921), true) 9398 , Tuple.Create(Tuple.Create(" ", 98936), Tuple.Create("grid__col-xs-12", 98937), true) 9399 , Tuple.Create(Tuple.Create(" ", 98952), Tuple.Create("paragraph-container", 98953), true) 9400 , Tuple.Create(Tuple.Create(" ", 98972), Tuple.Create("paragraph-container--height-auto", 98973), true) 9401 , Tuple.Create(Tuple.Create(" ", 99005), Tuple.Create("dw-mod", 99006), true) 9402 ); 9403 9404 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 99013), Tuple.Create("\"", 99241) 9405 , Tuple.Create(Tuple.Create("", 99021), Tuple.Create("background-image:url(/Admin/Public/GetImage.ashx?width=1800&amp;height=1100&amp;c" + 9406 "rop=0&amp;Compression=85&amp;DoNotUpscale=true&amp;image=", 99021), true) 9407 9408 #line 2479 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9409 , Tuple.Create(Tuple.Create("", 99159), Tuple.Create<System.Object, System.Int32>(settings.Image.Path 9410 9411 #line default 9412 #line hidden 9413 , 99159), false) 9414 , Tuple.Create(Tuple.Create("", 99179), Tuple.Create(");", 99179), true) 9415 , Tuple.Create(Tuple.Create(" ", 99181), Tuple.Create("background-position:", 99182), true) 9416 , Tuple.Create(Tuple.Create(" ", 99202), Tuple.Create("center", 99203), true) 9417 , Tuple.Create(Tuple.Create(" ", 99209), Tuple.Create("center;", 99210), true) 9418 , Tuple.Create(Tuple.Create(" ", 99217), Tuple.Create("background-size:", 99218), true) 9419 , Tuple.Create(Tuple.Create(" ", 99234), Tuple.Create("cover;", 99235), true) 9420 ); 9421 9422 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 9423 9424 9425 #line 2480 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9426 9427 9428 #line default 9429 #line hidden 9430 9431 #line 2480 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9432 if (settings.ExternalParagraphId != 0) 9433 { 9434 9435 9436 #line default 9437 #line hidden 9438 WriteLiteralTo(__razor_helper_writer, " <div"); 9439 9440 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-4 grid__col-sm-12 grid__col-xs-12 paragraph-container paragr" + 9441 "aph-container--height-auto u-color-light-gray--bg dw-mod\""); 9442 9443 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9444 9445 WriteLiteralTo(__razor_helper_writer, " "); 9446 9447 9448 #line 2483 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9449 WriteTo(__razor_helper_writer, RenderParagraphContent(settings.ExternalParagraphId)); 9450 9451 9452 #line default 9453 #line hidden 9454 WriteLiteralTo(__razor_helper_writer, "\r\n </div> \r\n"); 9455 9456 9457 #line 2485 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9458 } 9459 9460 9461 #line default 9462 #line hidden 9463 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </section>\r\n"); 9464 9465 9466 #line 2488 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9467 } 9468 } 9469 else 9470 { 9471 9472 9473 #line default 9474 #line hidden 9475 9476 #line 2492 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9477 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 9478 9479 9480 #line default 9481 #line hidden 9482 9483 #line 2492 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9484 ; 9485 } 9486 } 9487 9488 9489 #line default 9490 #line hidden 9491 }); 9492 9493 #line 2495 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9494 } 9495 #line default 9496 #line hidden 9497 9498 9499 #line 2497 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9500 public RazorEngine.Templating.TemplateWriter RenderArticleOverlayHeader(ArticleHeader settings) { 9501 #line default 9502 #line hidden 9503 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9504 9505 #line 2497 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9506 9507 dynamic[] methodParameters = new dynamic[1]; 9508 methodParameters[0] = settings; 9509 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleOverlayHeaderCustom"); 9510 9511 if (customMethod != null) 9512 { 9513 9514 9515 #line default 9516 #line hidden 9517 9518 #line 2504 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9519 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 9520 9521 9522 #line default 9523 #line hidden 9524 9525 #line 2504 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9526 ; 9527 } 9528 else 9529 { 9530 string contentColumns = settings.TextLayout != ArticleHeaderTextLayout.Full ? "8" : "12"; 9531 string contentAlignment = settings.TextLayout == ArticleHeaderTextLayout.Center ? "grid--justify-center" : ""; 9532 9533 if (settings.Image != null) 9534 { 9535 if (settings.Image.Path != null) 9536 { 9537 if (settings.ExternalParagraphId == 0) 9538 { 9539 9540 9541 #line default 9542 #line hidden 9543 WriteLiteralTo(__razor_helper_writer, " <section"); 9544 9545 WriteLiteralTo(__razor_helper_writer, " class=\"multiple-paragraphs-container u-color-light paragraph-container--full-wid" + 9546 "th\""); 9547 9548 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9549 9550 WriteLiteralTo(__razor_helper_writer, " class=\"background-image image-filter image-filter--darken dw-mod\""); 9551 9552 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9553 9554 WriteLiteralTo(__razor_helper_writer, " class=\"background-image__wrapper image-filter image-filter--darken dw-mod\""); 9555 9556 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9557 9558 9559 #line 2520 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9560 9561 9562 #line default 9563 #line hidden 9564 9565 #line 2520 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9566 9567 settings.Image.CssClass += "background-image__cover dw-mod"; 9568 9569 9570 #line default 9571 #line hidden 9572 WriteLiteralTo(__razor_helper_writer, "\r\n"); 9573 9574 WriteLiteralTo(__razor_helper_writer, " "); 9575 9576 9577 #line 2523 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9578 WriteTo(__razor_helper_writer, Render(settings.Image)); 9579 9580 9581 #line default 9582 #line hidden 9583 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n " + 9584 " <div"); 9585 9586 WriteLiteralTo(__razor_helper_writer, " class=\"center-container dw-mod\""); 9587 9588 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9589 9590 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 101340), Tuple.Create("\"", 101370) 9591 , Tuple.Create(Tuple.Create("", 101348), Tuple.Create("grid", 101348), true) 9592 9593 #line 2527 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9594 , Tuple.Create(Tuple.Create(" ", 101352), Tuple.Create<System.Object, System.Int32>(contentAlignment 9595 9596 #line default 9597 #line hidden 9598 , 101353), false) 9599 ); 9600 9601 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9602 9603 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 101410), Tuple.Create("\"", 101520) 9604 , Tuple.Create(Tuple.Create("", 101418), Tuple.Create("grid__col-md-", 101418), true) 9605 9606 #line 2528 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9607 , Tuple.Create(Tuple.Create("", 101431), Tuple.Create<System.Object, System.Int32>(contentColumns 9608 9609 #line default 9610 #line hidden 9611 , 101431), false) 9612 , Tuple.Create(Tuple.Create(" ", 101446), Tuple.Create("grid__col-xs-12", 101447), true) 9613 , Tuple.Create(Tuple.Create(" ", 101462), Tuple.Create("paragraph-container", 101463), true) 9614 , Tuple.Create(Tuple.Create(" ", 101482), Tuple.Create("paragraph-container--height-xl", 101483), true) 9615 , Tuple.Create(Tuple.Create(" ", 101513), Tuple.Create("dw-mod", 101514), true) 9616 ); 9617 9618 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9619 9620 9621 #line 2529 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9622 9623 9624 #line default 9625 #line hidden 9626 9627 #line 2529 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9628 if (!string.IsNullOrEmpty(settings.Heading)) 9629 { 9630 9631 9632 #line default 9633 #line hidden 9634 WriteLiteralTo(__razor_helper_writer, " <h1"); 9635 9636 WriteLiteralTo(__razor_helper_writer, " class=\"article__header article__header--giant u-padding-top--lg dw-mod\""); 9637 9638 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 101761), Tuple.Create("\"", 101795) 9639 , Tuple.Create(Tuple.Create("", 101769), Tuple.Create("color:", 101769), true) 9640 9641 #line 2531 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9642 , Tuple.Create(Tuple.Create(" ", 101775), Tuple.Create<System.Object, System.Int32>(settings.TextColor 9643 9644 #line default 9645 #line hidden 9646 , 101776), false) 9647 ); 9648 9649 WriteLiteralTo(__razor_helper_writer, ">"); 9650 9651 9652 #line 2531 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9653 WriteTo(__razor_helper_writer, settings.Heading); 9654 9655 9656 #line default 9657 #line hidden 9658 WriteLiteralTo(__razor_helper_writer, "</h1>\r\n"); 9659 9660 9661 #line 2532 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9662 } 9663 9664 9665 #line default 9666 #line hidden 9667 WriteLiteralTo(__razor_helper_writer, " "); 9668 9669 9670 #line 2533 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9671 if (!String.IsNullOrEmpty(settings.Subheading)) 9672 { 9673 9674 9675 #line default 9676 #line hidden 9677 WriteLiteralTo(__razor_helper_writer, " <div"); 9678 9679 WriteLiteralTo(__razor_helper_writer, " class=\"article__leadtext dw-mod\""); 9680 9681 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 102062), Tuple.Create("\"", 102096) 9682 , Tuple.Create(Tuple.Create("", 102070), Tuple.Create("color:", 102070), true) 9683 9684 #line 2535 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9685 , Tuple.Create(Tuple.Create(" ", 102076), Tuple.Create<System.Object, System.Int32>(settings.TextColor 9686 9687 #line default 9688 #line hidden 9689 , 102077), false) 9690 ); 9691 9692 WriteLiteralTo(__razor_helper_writer, ">"); 9693 9694 9695 #line 2535 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9696 WriteTo(__razor_helper_writer, settings.Subheading); 9697 9698 9699 #line default 9700 #line hidden 9701 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 9702 9703 9704 #line 2536 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9705 } 9706 9707 9708 #line default 9709 #line hidden 9710 WriteLiteralTo(__razor_helper_writer, " <div"); 9711 9712 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-top\""); 9713 9714 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9715 9716 9717 #line 2538 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9718 9719 9720 #line default 9721 #line hidden 9722 9723 #line 2538 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9724 if (!String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date)) 9725 { 9726 9727 9728 #line default 9729 #line hidden 9730 WriteLiteralTo(__razor_helper_writer, " <small"); 9731 9732 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info u-pull--left dw-mod\""); 9733 9734 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 102495), Tuple.Create("\"", 102529) 9735 , Tuple.Create(Tuple.Create("", 102503), Tuple.Create("color:", 102503), true) 9736 9737 #line 2540 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9738 , Tuple.Create(Tuple.Create(" ", 102509), Tuple.Create<System.Object, System.Int32>(settings.TextColor 9739 9740 #line default 9741 #line hidden 9742 , 102510), false) 9743 ); 9744 9745 WriteLiteralTo(__razor_helper_writer, ">"); 9746 9747 9748 #line 2540 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9749 WriteTo(__razor_helper_writer, settings.Author); 9750 9751 9752 #line default 9753 #line hidden 9754 WriteLiteralTo(__razor_helper_writer, " "); 9755 9756 9757 #line 2540 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9758 WriteTo(__razor_helper_writer, settings.Date); 9759 9760 9761 #line default 9762 #line hidden 9763 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 9764 9765 9766 #line 2541 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9767 } 9768 9769 9770 #line default 9771 #line hidden 9772 WriteLiteralTo(__razor_helper_writer, " "); 9773 9774 9775 #line 2542 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9776 if (settings.RatingOutOf != 0) 9777 { 9778 9779 9780 #line default 9781 #line hidden 9782 WriteLiteralTo(__razor_helper_writer, " <div"); 9783 9784 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right\""); 9785 9786 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9787 9788 WriteLiteralTo(__razor_helper_writer, " "); 9789 9790 9791 #line 2545 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9792 WriteTo(__razor_helper_writer, Render(new Rating { Score = settings.RatingScore, OutOf = settings.RatingOutOf })); 9793 9794 9795 #line default 9796 #line hidden 9797 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9798 9799 9800 #line 2547 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9801 } 9802 9803 9804 #line default 9805 #line hidden 9806 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 9807 9808 9809 #line 2549 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9810 9811 9812 #line default 9813 #line hidden 9814 9815 #line 2549 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9816 if (!String.IsNullOrEmpty(settings.Link)) 9817 { 9818 9819 9820 #line default 9821 #line hidden 9822 WriteLiteralTo(__razor_helper_writer, " <div"); 9823 9824 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 9825 9826 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9827 9828 WriteLiteralTo(__razor_helper_writer, " "); 9829 9830 9831 #line 2552 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9832 WriteTo(__razor_helper_writer, Render(new Link { Href = settings.Link, Title = settings.LinkText, ButtonLayout = settings.ButtonLayout })); 9833 9834 9835 #line default 9836 #line hidden 9837 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9838 9839 9840 #line 2554 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9841 } 9842 9843 9844 #line default 9845 #line hidden 9846 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n " + 9847 " </div>\r\n </section>\r\n"); 9848 9849 9850 #line 2559 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9851 } 9852 else 9853 { 9854 9855 9856 #line default 9857 #line hidden 9858 9859 #line 2562 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9860 WriteTo(__razor_helper_writer, RenderArticleBanner(settings)); 9861 9862 9863 #line default 9864 #line hidden 9865 9866 #line 2562 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9867 ; 9868 } 9869 } 9870 } 9871 else 9872 { 9873 9874 9875 #line default 9876 #line hidden 9877 9878 #line 2568 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9879 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 9880 9881 9882 #line default 9883 #line hidden 9884 9885 #line 2568 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9886 ; 9887 } 9888 } 9889 9890 9891 #line default 9892 #line hidden 9893 }); 9894 9895 #line 2571 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9896 } 9897 #line default 9898 #line hidden 9899 9900 9901 #line 2573 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9902 public RazorEngine.Templating.TemplateWriter RenderArticleBannerHeader(dynamic settings) { 9903 #line default 9904 #line hidden 9905 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9906 9907 #line 2573 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9908 9909 dynamic[] methodParameters = new dynamic[1]; 9910 methodParameters[0] = settings; 9911 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleBannerHeaderCustom"); 9912 9913 if (customMethod != null) 9914 { 9915 9916 9917 #line default 9918 #line hidden 9919 9920 #line 2580 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9921 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 9922 9923 9924 #line default 9925 #line hidden 9926 9927 #line 2580 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9928 ; 9929 } 9930 else 9931 { 9932 9933 9934 #line default 9935 #line hidden 9936 9937 #line 2584 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9938 WriteTo(__razor_helper_writer, RenderArticleBanner(settings)); 9939 9940 9941 #line default 9942 #line hidden 9943 9944 #line 2584 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9945 ; 9946 } 9947 9948 9949 #line default 9950 #line hidden 9951 }); 9952 9953 #line 2586 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9954 } 9955 #line default 9956 #line hidden 9957 9958 9959 #line 2597 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9960 public RazorEngine.Templating.TemplateWriter RenderArticleBodyRow(ArticleBodyRow settings) 9961 { 9962 #line default 9963 #line hidden 9964 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9965 9966 #line 2598 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9967 9968 string position = settings.TopLayout == "overlay" ? "article__overlay-offset" : ""; 9969 string contentAlignment = settings.TextLayout == "center" ? "grid--justify-center" : ""; 9970 9971 9972 9973 #line default 9974 #line hidden 9975 WriteLiteralTo(__razor_helper_writer, " <div"); 9976 9977 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 104858), Tuple.Create("\"", 104931) 9978 , Tuple.Create(Tuple.Create("", 104866), Tuple.Create("grid", 104866), true) 9979 , Tuple.Create(Tuple.Create(" ", 104870), Tuple.Create("grid--align-content-start", 104871), true) 9980 9981 #line 2602 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9982 , Tuple.Create(Tuple.Create(" ", 104896), Tuple.Create<System.Object, System.Int32>(contentAlignment 9983 9984 #line default 9985 #line hidden 9986 , 104897), false) 9987 9988 #line 2602 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 9989 , Tuple.Create(Tuple.Create(" ", 104914), Tuple.Create<System.Object, System.Int32>(position 9990 9991 #line default 9992 #line hidden 9993 , 104915), false) 9994 , Tuple.Create(Tuple.Create(" ", 104924), Tuple.Create("dw-mod", 104925), true) 9995 ); 9996 9997 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9998 9999 WriteLiteralTo(__razor_helper_writer, " "); 10000 10001 10002 #line 2603 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10003 WriteTo(__razor_helper_writer, RenderBlockList(settings.SubBlocks)); 10004 10005 10006 #line default 10007 #line hidden 10008 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 10009 10010 10011 #line 2605 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10012 10013 10014 #line default 10015 #line hidden 10016 }); 10017 10018 #line 2605 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10019 } 10020 #line default 10021 #line hidden 10022 10023 10024 #line 2614 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10025 public RazorEngine.Templating.TemplateWriter RenderArticleImage(ArticleImage settings) 10026 { 10027 #line default 10028 #line hidden 10029 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10030 10031 #line 2615 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10032 10033 if (settings.Image != null) 10034 { 10035 if (settings.Image.Path != null) 10036 { 10037 10038 10039 #line default 10040 #line hidden 10041 WriteLiteralTo(__razor_helper_writer, " <div"); 10042 10043 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-bottom--lg\""); 10044 10045 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10046 10047 WriteLiteralTo(__razor_helper_writer, " "); 10048 10049 10050 #line 2621 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.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"); 10057 10058 10059 #line 2623 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10060 } 10061 } 10062 10063 10064 #line default 10065 #line hidden 10066 }); 10067 10068 #line 2625 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10069 } 10070 #line default 10071 #line hidden 10072 10073 10074 #line 2633 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10075 public RazorEngine.Templating.TemplateWriter RenderArticleSubHeader(ArticleSubHeader settings) 10076 { 10077 #line default 10078 #line hidden 10079 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10080 10081 #line 2634 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10082 10083 if (!String.IsNullOrEmpty(settings.Title)) 10084 { 10085 10086 10087 #line default 10088 #line hidden 10089 WriteLiteralTo(__razor_helper_writer, " <h2"); 10090 10091 WriteLiteralTo(__razor_helper_writer, " class=\"article__header\""); 10092 10093 WriteLiteralTo(__razor_helper_writer, ">"); 10094 10095 10096 #line 2637 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10097 WriteTo(__razor_helper_writer, settings.Title); 10098 10099 10100 #line default 10101 #line hidden 10102 WriteLiteralTo(__razor_helper_writer, "</h2>\r\n"); 10103 10104 10105 #line 2638 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10106 } 10107 10108 10109 #line default 10110 #line hidden 10111 }); 10112 10113 #line 2639 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10114 } 10115 #line default 10116 #line hidden 10117 10118 10119 #line 2648 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10120 public RazorEngine.Templating.TemplateWriter RenderArticleText(ArticleText settings) 10121 { 10122 #line default 10123 #line hidden 10124 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10125 10126 #line 2649 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10127 10128 if (!String.IsNullOrEmpty(settings.Text)) 10129 { 10130 string greatTextClass = settings.EnableLargeText == true ? "article__paragraph--great-text" : ""; 10131 10132 10133 10134 #line default 10135 #line hidden 10136 WriteLiteralTo(__razor_helper_writer, " <div"); 10137 10138 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 106289), Tuple.Create("\"", 106331) 10139 , Tuple.Create(Tuple.Create("", 106297), Tuple.Create("article__paragraph", 106297), true) 10140 10141 #line 2654 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10142 , Tuple.Create(Tuple.Create(" ", 106315), Tuple.Create<System.Object, System.Int32>(greatTextClass 10143 10144 #line default 10145 #line hidden 10146 , 106316), false) 10147 ); 10148 10149 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10150 10151 WriteLiteralTo(__razor_helper_writer, " "); 10152 10153 10154 #line 2655 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10155 WriteTo(__razor_helper_writer, settings.Text); 10156 10157 10158 #line default 10159 #line hidden 10160 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 10161 10162 10163 #line 2657 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10164 } 10165 10166 10167 #line default 10168 #line hidden 10169 }); 10170 10171 #line 2658 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10172 } 10173 #line default 10174 #line hidden 10175 10176 10177 #line 2667 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10178 public RazorEngine.Templating.TemplateWriter RenderArticleQuote(ArticleQuote settings) 10179 { 10180 #line default 10181 #line hidden 10182 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10183 10184 #line 2668 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10185 10186 string text = Regex.Replace(settings.Text, "<.*?>", String.Empty); 10187 10188 10189 10190 #line default 10191 #line hidden 10192 WriteLiteralTo(__razor_helper_writer, " <div"); 10193 10194 WriteLiteralTo(__razor_helper_writer, " class=\"grid u-padding-bottom--lg\""); 10195 10196 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10197 10198 10199 #line 2672 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10200 10201 10202 #line default 10203 #line hidden 10204 10205 #line 2672 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10206 if (settings.Image != null) 10207 { 10208 if (settings.Image.Path != null) { 10209 10210 10211 #line default 10212 #line hidden 10213 WriteLiteralTo(__razor_helper_writer, " <div"); 10214 10215 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-3\""); 10216 10217 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10218 10219 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell-img\""); 10220 10221 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10222 10223 10224 #line 2677 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10225 10226 10227 #line default 10228 #line hidden 10229 10230 #line 2677 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10231 10232 settings.Image.Title = !String.IsNullOrEmpty(settings.Image.Title) ? settings.Image.Title : settings.Author; 10233 settings.Image.CssClass += " article__image article__image--ball"; 10234 settings.Image.ImageDefault.Width = 200; 10235 settings.Image.ImageDefault.Height = 200; 10236 10237 10238 #line default 10239 #line hidden 10240 WriteLiteralTo(__razor_helper_writer, "\r\n"); 10241 10242 WriteLiteralTo(__razor_helper_writer, " "); 10243 10244 10245 #line 2683 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10246 WriteTo(__razor_helper_writer, Render(settings.Image)); 10247 10248 10249 #line default 10250 #line hidden 10251 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n"); 10252 10253 10254 #line 2686 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10255 } 10256 } 10257 10258 10259 #line default 10260 #line hidden 10261 WriteLiteralTo(__razor_helper_writer, " <div"); 10262 10263 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-auto\""); 10264 10265 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10266 10267 10268 #line 2689 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10269 10270 10271 #line default 10272 #line hidden 10273 10274 #line 2689 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10275 if (!String.IsNullOrEmpty(settings.Text)) 10276 { 10277 10278 10279 #line default 10280 #line hidden 10281 WriteLiteralTo(__razor_helper_writer, " <div"); 10282 10283 WriteLiteralTo(__razor_helper_writer, " class=\"article__quote dw-mod\""); 10284 10285 WriteLiteralTo(__razor_helper_writer, ">\r\n <i"); 10286 10287 WriteLiteralTo(__razor_helper_writer, " class=\"fas fa-quote-right u-margin-bottom--lg\""); 10288 10289 WriteLiteralTo(__razor_helper_writer, "></i>\r\n"); 10290 10291 WriteLiteralTo(__razor_helper_writer, " "); 10292 10293 10294 #line 2693 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10295 WriteTo(__razor_helper_writer, settings.Text); 10296 10297 10298 #line default 10299 #line hidden 10300 WriteLiteralTo(__razor_helper_writer, "\r\n <i"); 10301 10302 WriteLiteralTo(__razor_helper_writer, " class=\"fas fa-quote-right\""); 10303 10304 WriteLiteralTo(__razor_helper_writer, "></i>\r\n </div>\r\n"); 10305 10306 10307 #line 2696 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10308 } 10309 10310 10311 #line default 10312 #line hidden 10313 WriteLiteralTo(__razor_helper_writer, " "); 10314 10315 10316 #line 2697 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10317 if (!String.IsNullOrEmpty(settings.Author)) 10318 { 10319 10320 10321 #line default 10322 #line hidden 10323 WriteLiteralTo(__razor_helper_writer, " <div"); 10324 10325 WriteLiteralTo(__razor_helper_writer, " class=\"article__quote-author dw-mod\""); 10326 10327 WriteLiteralTo(__razor_helper_writer, ">\r\n - "); 10328 10329 10330 #line 2700 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10331 WriteTo(__razor_helper_writer, settings.Author); 10332 10333 10334 #line default 10335 #line hidden 10336 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 10337 10338 10339 #line 2702 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10340 } 10341 10342 10343 #line default 10344 #line hidden 10345 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 10346 10347 10348 #line 2705 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10349 10350 10351 #line default 10352 #line hidden 10353 }); 10354 10355 #line 2705 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10356 } 10357 #line default 10358 #line hidden 10359 10360 10361 #line 2713 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10362 public RazorEngine.Templating.TemplateWriter RenderArticleInfoTable(ArticleInfoTable settings) 10363 { 10364 #line default 10365 #line hidden 10366 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10367 10368 #line 2714 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10369 10370 10371 10372 #line default 10373 #line hidden 10374 WriteLiteralTo(__razor_helper_writer, " <table"); 10375 10376 WriteLiteralTo(__razor_helper_writer, " class=\"table table--clean\""); 10377 10378 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10379 10380 10381 #line 2716 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10382 10383 10384 #line default 10385 #line hidden 10386 10387 #line 2716 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10388 foreach (var row in settings.Rows) 10389 { 10390 string iconColor = row.IconColor != null ? row.IconColor : "u-brand-color-two"; 10391 10392 10393 10394 #line default 10395 #line hidden 10396 WriteLiteralTo(__razor_helper_writer, " <tr>\r\n"); 10397 10398 10399 #line 2721 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10400 10401 10402 #line default 10403 #line hidden 10404 10405 #line 2721 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10406 if (!String.IsNullOrEmpty(row.Icon)) 10407 { 10408 10409 10410 #line default 10411 #line hidden 10412 WriteLiteralTo(__razor_helper_writer, " <td"); 10413 10414 WriteLiteralTo(__razor_helper_writer, " class=\"u-w32px\""); 10415 10416 WriteLiteralTo(__razor_helper_writer, "><i"); 10417 10418 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 108668), Tuple.Create("\"", 108706) 10419 10420 #line 2723 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10421 , Tuple.Create(Tuple.Create("", 108676), Tuple.Create<System.Object, System.Int32>(row.Icon 10422 10423 #line default 10424 #line hidden 10425 , 108676), false) 10426 , Tuple.Create(Tuple.Create(" ", 108685), Tuple.Create("fa-2x", 108686), true) 10427 10428 #line 2723 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10429 , Tuple.Create(Tuple.Create(" ", 108691), Tuple.Create<System.Object, System.Int32>(row.IconColor 10430 10431 #line default 10432 #line hidden 10433 , 108692), false) 10434 ); 10435 10436 WriteLiteralTo(__razor_helper_writer, "></i></td>\r\n"); 10437 10438 10439 #line 2724 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10440 } 10441 10442 10443 #line default 10444 #line hidden 10445 WriteLiteralTo(__razor_helper_writer, " <td"); 10446 10447 WriteLiteralTo(__razor_helper_writer, " class=\"u-no-margin-on-p-elements\""); 10448 10449 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10450 10451 WriteLiteralTo(__razor_helper_writer, " class=\"u-bold\""); 10452 10453 WriteLiteralTo(__razor_helper_writer, ">"); 10454 10455 10456 #line 2726 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10457 WriteTo(__razor_helper_writer, row.Title); 10458 10459 10460 #line default 10461 #line hidden 10462 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 10463 10464 10465 #line 2727 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10466 10467 10468 #line default 10469 #line hidden 10470 10471 #line 2727 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10472 if (!String.IsNullOrEmpty(row.SubTitle)) 10473 { 10474 if (row.Link == null) 10475 { 10476 10477 10478 #line default 10479 #line hidden 10480 WriteLiteralTo(__razor_helper_writer, " <div>"); 10481 10482 10483 #line 2731 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10484 WriteTo(__razor_helper_writer, row.SubTitle); 10485 10486 10487 #line default 10488 #line hidden 10489 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 10490 10491 10492 #line 2732 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10493 } 10494 else 10495 { 10496 10497 10498 #line default 10499 #line hidden 10500 WriteLiteralTo(__razor_helper_writer, " <a"); 10501 10502 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 109172), Tuple.Create("\"", 109188) 10503 10504 #line 2735 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10505 , Tuple.Create(Tuple.Create("", 109179), Tuple.Create<System.Object, System.Int32>(row.Link 10506 10507 #line default 10508 #line hidden 10509 , 109179), false) 10510 ); 10511 10512 WriteLiteralTo(__razor_helper_writer, " class=\"u-color-inherit\""); 10513 10514 WriteLiteralTo(__razor_helper_writer, ">"); 10515 10516 10517 #line 2735 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10518 WriteTo(__razor_helper_writer, row.SubTitle); 10519 10520 10521 #line default 10522 #line hidden 10523 WriteLiteralTo(__razor_helper_writer, "</a>\r\n"); 10524 10525 10526 #line 2736 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10527 } 10528 } 10529 10530 10531 #line default 10532 #line hidden 10533 WriteLiteralTo(__razor_helper_writer, " </td>\r\n </tr>\r\n"); 10534 10535 10536 #line 2740 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10537 } 10538 10539 10540 #line default 10541 #line hidden 10542 WriteLiteralTo(__razor_helper_writer, " </table>\r\n"); 10543 10544 10545 #line 2742 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10546 10547 10548 #line default 10549 #line hidden 10550 }); 10551 10552 #line 2742 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10553 } 10554 #line default 10555 #line hidden 10556 10557 10558 #line 2751 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10559 public RazorEngine.Templating.TemplateWriter RenderArticleGalleryModal(ArticleGalleryModal settings) 10560 { 10561 #line default 10562 #line hidden 10563 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10564 10565 #line 2752 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10566 10567 Modal galleryModal = new Modal 10568 { 10569 Id = "ParagraphGallery", 10570 Width = ModalWidth.Full, 10571 BodyTemplate = RenderArticleGalleryModalContent() 10572 }; 10573 10574 10575 10576 #line default 10577 #line hidden 10578 10579 #line 2760 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10580 WriteTo(__razor_helper_writer, Render(galleryModal)); 10581 10582 10583 #line default 10584 #line hidden 10585 10586 #line 2760 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10587 10588 10589 10590 #line default 10591 #line hidden 10592 }); 10593 10594 #line 2761 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10595 } 10596 #line default 10597 #line hidden 10598 10599 10600 #line 2763 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10601 public RazorEngine.Templating.TemplateWriter RenderArticleGalleryModalContent() { 10602 #line default 10603 #line hidden 10604 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10605 10606 #line 2763 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10607 10608 10609 10610 #line default 10611 #line hidden 10612 WriteLiteralTo(__razor_helper_writer, " <div"); 10613 10614 WriteLiteralTo(__razor_helper_writer, " class=\"modal__image-min-size-wrapper\""); 10615 10616 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10617 10618 WriteLiteralTo(__razor_helper_writer, " "); 10619 10620 10621 #line 2765 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10622 WriteTo(__razor_helper_writer, Render(new Image { 10623 Id = "ParagraphGallery", 10624 Path = "#", 10625 CssClass = "modal--full__img", 10626 DisableLazyLoad = true, 10627 DisableImageEngine = true 10628 })); 10629 10630 10631 #line default 10632 #line hidden 10633 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 10634 10635 10636 #line 2773 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10637 10638 10639 10640 #line default 10641 #line hidden 10642 WriteLiteralTo(__razor_helper_writer, " <div"); 10643 10644 WriteLiteralTo(__razor_helper_writer, " class=\"modal__images-counter\""); 10645 10646 WriteLiteralTo(__razor_helper_writer, " id=\"ParagraphGallery_counter\""); 10647 10648 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 10649 10650 10651 #line 2775 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10652 10653 10654 10655 #line default 10656 #line hidden 10657 10658 #line 2776 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10659 WriteTo(__razor_helper_writer, Render(new Button { 10660 Id = "ParagraphGallery_prev", 10661 ButtonType = ButtonType.Button, 10662 ButtonLayout = ButtonLayout.None, 10663 CssClass = "modal__prev-btn", 10664 Icon = new Icon { Prefix = "far", Name = "fa-angle-left", LabelPosition = IconLabelPosition.After }, 10665 OnClick = "Gallery.prevImage('ParagraphGallery')" 10666 })); 10667 10668 10669 #line default 10670 #line hidden 10671 10672 #line 2783 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10673 10674 10675 10676 10677 #line default 10678 #line hidden 10679 10680 #line 2785 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10681 WriteTo(__razor_helper_writer, Render(new Button { 10682 Id = "ParagraphGallery_next", 10683 ButtonType = ButtonType.Button, 10684 ButtonLayout = ButtonLayout.None, 10685 CssClass = "modal__next-btn", 10686 Icon = new Icon { Prefix = "far", Name = "fa-angle-right", LabelPosition = IconLabelPosition.After }, 10687 OnClick = "Gallery.nextImage('ParagraphGallery')" 10688 })); 10689 10690 10691 #line default 10692 #line hidden 10693 10694 #line 2792 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10695 10696 10697 10698 #line default 10699 #line hidden 10700 }); 10701 10702 #line 2793 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10703 } 10704 #line default 10705 #line hidden 10706 10707 10708 #line 2802 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10709 public RazorEngine.Templating.TemplateWriter RenderArticleRelated(ArticleRelated settings) 10710 { 10711 #line default 10712 #line hidden 10713 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10714 10715 #line 2803 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10716 10717 string cardClass = Pageview.Device.ToString() != "Tablet" ? "card u-color-light--bg u-full-height" : ""; 10718 string cardFooterClass = Pageview.Device.ToString() != "Tablet" ? "card-footer u-color-light--bg" : ""; 10719 10720 10721 10722 #line default 10723 #line hidden 10724 WriteLiteralTo(__razor_helper_writer, " <section"); 10725 10726 WriteLiteralTo(__razor_helper_writer, " class=\"multiple-paragraphs-container u-color-light-gray--bg paragraph-container-" + 10727 "-full-width\""); 10728 10729 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10730 10731 WriteLiteralTo(__razor_helper_writer, " class=\"center-container dw-mod\""); 10732 10733 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10734 10735 WriteLiteralTo(__razor_helper_writer, " class=\"grid u-padding\""); 10736 10737 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10738 10739 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-12 grid__col-xs-12\""); 10740 10741 WriteLiteralTo(__razor_helper_writer, ">\r\n <h2"); 10742 10743 WriteLiteralTo(__razor_helper_writer, " class=\"article__header u-no-margin u-margin-top\""); 10744 10745 WriteLiteralTo(__razor_helper_writer, ">"); 10746 10747 10748 #line 2811 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10749 WriteTo(__razor_helper_writer, settings.Title); 10750 10751 10752 #line default 10753 #line hidden 10754 WriteLiteralTo(__razor_helper_writer, "</h2>\r\n </div>\r\n </div>\r\n\r\n <div"); 10755 10756 WriteLiteralTo(__razor_helper_writer, " class=\"js-handlebars-root u-padding\""); 10757 10758 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 111956), Tuple.Create("\"", 112004) 10759 10760 #line 2815 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10761 , Tuple.Create(Tuple.Create("", 111961), Tuple.Create<System.Object, System.Int32>(settings.Title.Replace(" ", String.Empty) 10762 10763 #line default 10764 #line hidden 10765 , 111961), false) 10766 ); 10767 10768 WriteLiteralTo(__razor_helper_writer, " data-template=\"RelatedSimpleTemplate\""); 10769 10770 WriteLiteralTo(__razor_helper_writer, " data-json-feed=\"/Default.aspx?ID="); 10771 10772 10773 #line 2815 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10774 WriteTo(__razor_helper_writer, settings.FeedPageId); 10775 10776 10777 #line default 10778 #line hidden 10779 WriteLiteralTo(__razor_helper_writer, "&"); 10780 10781 10782 #line 2815 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10783 WriteTo(__razor_helper_writer, settings.Query); 10784 10785 10786 #line default 10787 #line hidden 10788 WriteLiteralTo(__razor_helper_writer, "&ExcludeItemID="); 10789 10790 10791 #line 2815 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10792 WriteTo(__razor_helper_writer, settings.CurrentPageId); 10793 10794 10795 #line default 10796 #line hidden 10797 WriteLiteralTo(__razor_helper_writer, "&PageSize="); 10798 10799 10800 #line 2815 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10801 WriteTo(__razor_helper_writer, settings.PageSize); 10802 10803 10804 #line default 10805 #line hidden 10806 WriteLiteralTo(__razor_helper_writer, "\""); 10807 10808 WriteLiteralTo(__razor_helper_writer, "></div>\r\n\r\n <script"); 10809 10810 WriteLiteralTo(__razor_helper_writer, " id=\"RelatedSimpleTemplate\""); 10811 10812 WriteLiteralTo(__razor_helper_writer, " type=\"text/x-template\""); 10813 10814 WriteLiteralTo(__razor_helper_writer, @"> 10815 {{#.}} 10816 <div class=""grid u-padding-bottom--lg""> 10817 {{#Cases}} 10818 <div class=""grid__col-lg-3 grid__col-sm-6 image-hover--zoom dw-mod""> 10819 <a href=""{{link}}"" class=""u-full-height u-color-light--bg u-flex u-flex--column""> 10820 {{#if image}} 10821 <div class=""u-color-light--bg u-no-padding dw-mod""> 10822 <div class=""flex-img image-hover__wrapper""> 10823 <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}}"" /> 10824 </div> 10825 </div> 10826 {{/if}} 10827 10828 <div class=""card u-color-light--bg u-full-height dw-mod""> 10829 <h3 class=""article-list__item-header u-truncate-text dw-mod"">{{title}}</h3> 10830 <p class=""article__short-summary dw-mod"">{{summary}}</p> 10831 </div> 10832 </a> 10833 </div> 10834 {{/Cases}} 10835 </div> 10836 {{/.}} 10837 </script> 10838 </div> 10839 </section> 10840 "); 10841 10842 10843 #line 2843 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10844 10845 10846 #line default 10847 #line hidden 10848 }); 10849 10850 #line 2843 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10851 } 10852 #line default 10853 #line hidden 10854 10855 10856 #line 2852 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10857 public RazorEngine.Templating.TemplateWriter RenderArticleMenu(ArticleMenu settings) 10858 { 10859 #line default 10860 #line hidden 10861 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10862 10863 #line 2853 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10864 10865 if (!String.IsNullOrEmpty(settings.Title)) { 10866 10867 10868 #line default 10869 #line hidden 10870 WriteLiteralTo(__razor_helper_writer, " <div"); 10871 10872 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin u-border-bottom\""); 10873 10874 WriteLiteralTo(__razor_helper_writer, ">\r\n <h3"); 10875 10876 WriteLiteralTo(__razor_helper_writer, " class=\"u-no-margin\""); 10877 10878 WriteLiteralTo(__razor_helper_writer, ">"); 10879 10880 10881 #line 2856 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10882 WriteTo(__razor_helper_writer, settings.Title); 10883 10884 10885 #line default 10886 #line hidden 10887 WriteLiteralTo(__razor_helper_writer, "</h3>\r\n </div>\r\n"); 10888 10889 10890 #line 2858 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10891 } 10892 10893 10894 10895 #line default 10896 #line hidden 10897 WriteLiteralTo(__razor_helper_writer, " <ul"); 10898 10899 WriteLiteralTo(__razor_helper_writer, " class=\"menu-left u-margin-bottom dw-mod\""); 10900 10901 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10902 10903 10904 #line 2861 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10905 10906 10907 #line default 10908 #line hidden 10909 10910 #line 2861 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10911 foreach (var item in settings.Items) 10912 { 10913 10914 10915 #line default 10916 #line hidden 10917 10918 #line 2863 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10919 WriteTo(__razor_helper_writer, Render(item)); 10920 10921 10922 #line default 10923 #line hidden 10924 10925 #line 2863 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10926 10927 } 10928 10929 10930 #line default 10931 #line hidden 10932 WriteLiteralTo(__razor_helper_writer, " </ul>\r\n"); 10933 10934 10935 #line 2866 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10936 10937 10938 #line default 10939 #line hidden 10940 }); 10941 10942 #line 2866 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10943 } 10944 #line default 10945 #line hidden 10946 10947 10948 #line 2868 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10949 public RazorEngine.Templating.TemplateWriter RenderArticleMenuItem(ArticleMenuItem settings) 10950 { 10951 #line default 10952 #line hidden 10953 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10954 10955 #line 2869 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10956 10957 string link = !String.IsNullOrEmpty(settings.Link) ? settings.Link : "#"; 10958 10959 if (!String.IsNullOrEmpty(settings.Title)) { 10960 10961 10962 #line default 10963 #line hidden 10964 WriteLiteralTo(__razor_helper_writer, " <li"); 10965 10966 WriteLiteralTo(__razor_helper_writer, " class=\"menu-left__item dw-mod\""); 10967 10968 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 10969 10970 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 114493), Tuple.Create("\"", 114505) 10971 10972 #line 2874 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10973 , Tuple.Create(Tuple.Create("", 114500), Tuple.Create<System.Object, System.Int32>(link 10974 10975 #line default 10976 #line hidden 10977 , 114500), false) 10978 ); 10979 10980 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 114506), Tuple.Create("\"", 114533) 10981 10982 #line 2874 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10983 , Tuple.Create(Tuple.Create("", 114516), Tuple.Create<System.Object, System.Int32>(settings.OnClick 10984 10985 #line default 10986 #line hidden 10987 , 114516), false) 10988 ); 10989 10990 WriteLiteralTo(__razor_helper_writer, " class=\"menu-left__link dw-mod\""); 10991 10992 WriteLiteralTo(__razor_helper_writer, ">"); 10993 10994 10995 #line 2874 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 10996 WriteTo(__razor_helper_writer, settings.Title); 10997 10998 10999 #line default 11000 #line hidden 11001 WriteLiteralTo(__razor_helper_writer, "</a>\r\n </li>\r\n"); 11002 11003 11004 #line 2876 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11005 } 11006 11007 11008 #line default 11009 #line hidden 11010 }); 11011 11012 #line 2877 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11013 } 11014 #line default 11015 #line hidden 11016 11017 11018 #line 2885 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11019 public RazorEngine.Templating.TemplateWriter RenderArticleList(ArticleList settings) 11020 { 11021 #line default 11022 #line hidden 11023 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11024 11025 #line 2886 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11026 11027 if (Pageview != null) 11028 { 11029 bool isParagraph = Pageview.CurrentParagraph != null ? true : false; 11030 string[] sortArticlesListBy = new string[2]; 11031 11032 if (isParagraph) { 11033 sortArticlesListBy = Pageview.CurrentParagraph.Item["SortArticlesListBy"] != null && !string.IsNullOrEmpty(Pageview.CurrentParagraph.Item["SortArticlesListBy"].ToString()) ? Pageview.CurrentParagraph.Item["SortArticlesListBy"].ToString().Split('+') : new string[] { "Date", "ASC" }; 11034 } 11035 else { 11036 sortArticlesListBy = Pageview.Item["SortArticlesListBy"] != null && !string.IsNullOrEmpty(Pageview.Item["SortArticlesListBy"].ToString()) ? Pageview.Item["SortArticlesListBy"].ToString().Split('+') : new string[] { "Date", "ASC" }; 11037 } 11038 11039 string sourcePage = settings.SourcePage != null ? settings.SourcePage : Pageview.ID.ToString(); 11040 11041 if (!settings.DisablePagination) { 11042 11043 11044 #line default 11045 #line hidden 11046 11047 #line 2902 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11048 WriteTo(__razor_helper_writer, RenderItemList(new 11049 { 11050 ItemType = !String.IsNullOrEmpty(settings.ItemType) ? settings.ItemType : "DynamicArticle", 11051 ListSourceType = settings.SourceType, 11052 ListSourcePage = sourcePage, 11053 ItemFieldsList = "*", 11054 Filter = settings.Filter, 11055 ListOrderBy = sortArticlesListBy[0], 11056 ListOrderByDirection = sortArticlesListBy[1], 11057 ListSecondOrderBy = sortArticlesListBy[0] == "Date" ? "InFocusSortId" : "Date", 11058 ListSecondOrderByDirection = "ASC", 11059 IncludeAllChildItems = true, 11060 ListTemplate = settings.Template, 11061 ListPageSize = settings.PageSize.ToString() 11062 })); 11063 11064 11065 #line default 11066 #line hidden 11067 11068 #line 2916 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11069 ; 11070 } else { 11071 11072 11073 #line default 11074 #line hidden 11075 11076 #line 2918 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11077 WriteTo(__razor_helper_writer, RenderItemList(new 11078 { 11079 ItemType = !String.IsNullOrEmpty(settings.ItemType) ? settings.ItemType : "DynamicArticle", 11080 ListSourceType = settings.SourceType, 11081 ListSourcePage = sourcePage, 11082 ItemFieldsList = "*", 11083 Filter = settings.Filter, 11084 ListOrderBy = sortArticlesListBy[0], 11085 ListOrderByDirection = sortArticlesListBy[1], 11086 ListSecondOrderBy = sortArticlesListBy[0] == "Date" ? "InFocusSortId" : "Date", 11087 ListSecondOrderByDirection = "ASC", 11088 IncludeAllChildItems = true, 11089 ListTemplate = settings.Template, 11090 ListPageSize = settings.PageSize.ToString(), 11091 ListViewMode = "Partial", 11092 ListShowTo = settings.PageSize + 1 11093 })); 11094 11095 11096 #line default 11097 #line hidden 11098 11099 #line 2934 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11100 ; 11101 } 11102 } 11103 11104 11105 #line default 11106 #line hidden 11107 }); 11108 11109 #line 2937 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11110 } 11111 #line default 11112 #line hidden 11113 11114 11115 #line 2944 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11116 public RazorEngine.Templating.TemplateWriter RenderArticleSummary(ArticleSummary settings) 11117 { 11118 #line default 11119 #line hidden 11120 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11121 11122 #line 2945 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11123 11124 if (!String.IsNullOrEmpty(settings.Text)) 11125 { 11126 11127 11128 #line default 11129 #line hidden 11130 WriteLiteralTo(__razor_helper_writer, " <div"); 11131 11132 WriteLiteralTo(__razor_helper_writer, " class=\"article__summary dw-mod\""); 11133 11134 WriteLiteralTo(__razor_helper_writer, ">"); 11135 11136 11137 #line 2948 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11138 WriteTo(__razor_helper_writer, settings.Text); 11139 11140 11141 #line default 11142 #line hidden 11143 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11144 11145 11146 #line 2949 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11147 } 11148 11149 11150 #line default 11151 #line hidden 11152 }); 11153 11154 #line 2950 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11155 } 11156 #line default 11157 #line hidden 11158 11159 11160 #line 2958 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11161 public RazorEngine.Templating.TemplateWriter RenderArticleListCategoryFilter(ArticleListCategoryFilter settings) 11162 { 11163 #line default 11164 #line hidden 11165 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11166 11167 #line 2959 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11168 11169 string pageId = Pageview.ID.ToString(); 11170 string selectedFilter = !String.IsNullOrEmpty(HttpContext.Current.Request.QueryString.Get("sourcePage")) ? HttpContext.Current.Request.QueryString.Get("sourcePage") : Translate("All"); 11171 var query = HttpUtility.ParseQueryString(HttpContext.Current.Request.QueryString.ToString()); 11172 11173 foreach (var option in settings.Categories) 11174 { 11175 selectedFilter = selectedFilter == option.Value ? option.Key : selectedFilter; 11176 } 11177 11178 if (selectedFilter == pageId) 11179 { 11180 selectedFilter = Translate("All"); 11181 } 11182 11183 if (Pageview.Device.ToString() != "Mobile" && Pageview.Device.ToString() != "Tablet") 11184 { 11185 11186 11187 #line default 11188 #line hidden 11189 WriteLiteralTo(__razor_helper_writer, " <div"); 11190 11191 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right u-margin-left\""); 11192 11193 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11194 11195 WriteLiteralTo(__razor_helper_writer, " class=\"collection u-no-margin\""); 11196 11197 WriteLiteralTo(__razor_helper_writer, ">\r\n <h5>"); 11198 11199 11200 #line 2978 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11201 WriteTo(__razor_helper_writer, Translate("Category")); 11202 11203 11204 #line default 11205 #line hidden 11206 WriteLiteralTo(__razor_helper_writer, "</h5>\r\n <input"); 11207 11208 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 11209 11210 WriteLiteralTo(__razor_helper_writer, " id=\"CategorySelector\""); 11211 11212 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger\""); 11213 11214 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 11215 11216 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown u-w180px dw-mod\""); 11217 11218 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 11219 11220 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__header dropdown__btn dw-mod\""); 11221 11222 WriteLiteralTo(__razor_helper_writer, " for=\"CategorySelector\""); 11223 11224 WriteLiteralTo(__razor_helper_writer, ">"); 11225 11226 11227 #line 2981 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11228 WriteTo(__razor_helper_writer, Translate(selectedFilter)); 11229 11230 11231 #line default 11232 #line hidden 11233 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <div"); 11234 11235 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__content dw-mod\""); 11236 11237 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11238 11239 11240 #line 2983 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11241 11242 11243 #line default 11244 #line hidden 11245 11246 #line 2983 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11247 foreach (var option in settings.Categories) 11248 { 11249 11250 11251 #line default 11252 #line hidden 11253 WriteLiteralTo(__razor_helper_writer, " <div"); 11254 11255 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 11256 11257 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 119387), Tuple.Create("\"", 119529) 11258 , Tuple.Create(Tuple.Create("", 119397), Tuple.Create("QueryArray.setParametersInCurrentURL({", 119397), true) 11259 , Tuple.Create(Tuple.Create(" ", 119435), Tuple.Create("sourceType:", 119436), true) 11260 , Tuple.Create(Tuple.Create(" ", 119447), Tuple.Create("\'Page\',", 119448), true) 11261 , Tuple.Create(Tuple.Create(" ", 119455), Tuple.Create("sourcePage:", 119456), true) 11262 , Tuple.Create(Tuple.Create(" ", 119467), Tuple.Create("\'", 119468), true) 11263 11264 #line 2985 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11265 , Tuple.Create(Tuple.Create("", 119469), Tuple.Create<System.Object, System.Int32>(option.Key.ToLower() == "all" ? pageId : option.Value 11266 11267 #line default 11268 #line hidden 11269 , 119469), false) 11270 , Tuple.Create(Tuple.Create("", 119525), Tuple.Create("\'", 119525), true) 11271 , Tuple.Create(Tuple.Create(" ", 119526), Tuple.Create("})", 119527), true) 11272 ); 11273 11274 WriteLiteralTo(__razor_helper_writer, ">"); 11275 11276 11277 #line 2985 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11278 WriteTo(__razor_helper_writer, Translate(option.Key)); 11279 11280 11281 #line default 11282 #line hidden 11283 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11284 11285 11286 #line 2986 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11287 } 11288 11289 11290 #line default 11291 #line hidden 11292 WriteLiteralTo(__razor_helper_writer, " </div>\r\n <label"); 11293 11294 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger-off\""); 11295 11296 WriteLiteralTo(__razor_helper_writer, " for=\"CategorySelector\""); 11297 11298 WriteLiteralTo(__razor_helper_writer, "></label>\r\n </div>\r\n </div>\r\n </div>\r\n"); 11299 11300 11301 #line 2992 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11302 } 11303 else 11304 { 11305 11306 11307 #line default 11308 #line hidden 11309 WriteLiteralTo(__razor_helper_writer, " <div"); 11310 11311 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width u-margin-bottom\""); 11312 11313 WriteLiteralTo(__razor_helper_writer, ">\r\n <h5"); 11314 11315 WriteLiteralTo(__razor_helper_writer, " class=\"u-no-margin\""); 11316 11317 WriteLiteralTo(__razor_helper_writer, ">"); 11318 11319 11320 #line 2996 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11321 WriteTo(__razor_helper_writer, Translate("Category")); 11322 11323 11324 #line default 11325 #line hidden 11326 WriteLiteralTo(__razor_helper_writer, "</h5>\r\n <input"); 11327 11328 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 11329 11330 WriteLiteralTo(__razor_helper_writer, " id=\"CategorySelector\""); 11331 11332 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger\""); 11333 11334 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 11335 11336 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown u-full-width dw-mod\""); 11337 11338 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 11339 11340 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__header dropdown__btn dw-mod\""); 11341 11342 WriteLiteralTo(__razor_helper_writer, " for=\"CategorySelector\""); 11343 11344 WriteLiteralTo(__razor_helper_writer, ">"); 11345 11346 11347 #line 2999 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11348 WriteTo(__razor_helper_writer, Translate(selectedFilter)); 11349 11350 11351 #line default 11352 #line hidden 11353 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <div"); 11354 11355 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__content dw-mod\""); 11356 11357 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11358 11359 11360 #line 3001 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11361 11362 11363 #line default 11364 #line hidden 11365 11366 #line 3001 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11367 foreach (var option in settings.Categories) 11368 { 11369 11370 11371 #line default 11372 #line hidden 11373 WriteLiteralTo(__razor_helper_writer, " <div"); 11374 11375 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 11376 11377 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 120368), Tuple.Create("\"", 120510) 11378 , Tuple.Create(Tuple.Create("", 120378), Tuple.Create("QueryArray.setParametersInCurrentURL({", 120378), true) 11379 , Tuple.Create(Tuple.Create(" ", 120416), Tuple.Create("sourceType:", 120417), true) 11380 , Tuple.Create(Tuple.Create(" ", 120428), Tuple.Create("\'Page\',", 120429), true) 11381 , Tuple.Create(Tuple.Create(" ", 120436), Tuple.Create("sourcePage:", 120437), true) 11382 , Tuple.Create(Tuple.Create(" ", 120448), Tuple.Create("\'", 120449), true) 11383 11384 #line 3003 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11385 , Tuple.Create(Tuple.Create("", 120450), Tuple.Create<System.Object, System.Int32>(option.Key.ToLower() == "all" ? pageId : option.Value 11386 11387 #line default 11388 #line hidden 11389 , 120450), false) 11390 , Tuple.Create(Tuple.Create("", 120506), Tuple.Create("\'", 120506), true) 11391 , Tuple.Create(Tuple.Create(" ", 120507), Tuple.Create("})", 120508), true) 11392 ); 11393 11394 WriteLiteralTo(__razor_helper_writer, ">"); 11395 11396 11397 #line 3003 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11398 WriteTo(__razor_helper_writer, Translate(option.Key)); 11399 11400 11401 #line default 11402 #line hidden 11403 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11404 11405 11406 #line 3004 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11407 } 11408 11409 11410 #line default 11411 #line hidden 11412 WriteLiteralTo(__razor_helper_writer, " </div>\r\n <label"); 11413 11414 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger-off\""); 11415 11416 WriteLiteralTo(__razor_helper_writer, " for=\"CategorySelector\""); 11417 11418 WriteLiteralTo(__razor_helper_writer, "></label>\r\n </div>\r\n </div>\r\n"); 11419 11420 11421 #line 3009 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11422 } 11423 11424 11425 #line default 11426 #line hidden 11427 }); 11428 11429 #line 3010 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11430 } 11431 #line default 11432 #line hidden 11433 11434 11435 #line 3019 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11436 public RazorEngine.Templating.TemplateWriter RenderArticleListFilter(ArticleListFilter settings) 11437 { 11438 #line default 11439 #line hidden 11440 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11441 11442 #line 3020 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11443 11444 string selectedFilter = !String.IsNullOrEmpty(HttpContext.Current.Request.QueryString.Get(settings.SystemName)) ? HttpContext.Current.Request.QueryString.Get(settings.SystemName) : Translate("All"); 11445 var query = HttpUtility.ParseQueryString(HttpContext.Current.Request.QueryString.ToString()); 11446 11447 if (settings.Options != null) 11448 { 11449 if (settings.Options is IEnumerable<dynamic>) 11450 { 11451 var options = (IEnumerable<dynamic>) settings.Options; 11452 settings.Options = options.OrderBy(item => item.Name); 11453 } 11454 11455 foreach (var option in settings.Options) 11456 { 11457 selectedFilter = selectedFilter == option.Value ? option.Name : selectedFilter; 11458 } 11459 11460 if (Pageview.Device.ToString() != "Mobile" && Pageview.Device.ToString() != "Tablet") 11461 { 11462 11463 11464 #line default 11465 #line hidden 11466 WriteLiteralTo(__razor_helper_writer, " <div"); 11467 11468 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right u-margin-left\""); 11469 11470 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11471 11472 WriteLiteralTo(__razor_helper_writer, " class=\"collection u-no-margin\""); 11473 11474 WriteLiteralTo(__razor_helper_writer, ">\r\n <h5>"); 11475 11476 11477 #line 3041 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11478 WriteTo(__razor_helper_writer, settings.Label); 11479 11480 11481 #line default 11482 #line hidden 11483 WriteLiteralTo(__razor_helper_writer, "</h5>\r\n <input"); 11484 11485 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 11486 11487 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 122045), Tuple.Create("\"", 122080) 11488 11489 #line 3042 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11490 , Tuple.Create(Tuple.Create("", 122050), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11491 11492 #line default 11493 #line hidden 11494 , 122050), false) 11495 , Tuple.Create(Tuple.Create("", 122072), Tuple.Create("Selector", 122072), true) 11496 ); 11497 11498 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger\""); 11499 11500 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 11501 11502 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown u-w180px dw-mod\""); 11503 11504 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 11505 11506 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__header dropdown__btn dw-mod\""); 11507 11508 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 122247), Tuple.Create("\"", 122283) 11509 11510 #line 3044 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11511 , Tuple.Create(Tuple.Create("", 122253), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11512 11513 #line default 11514 #line hidden 11515 , 122253), false) 11516 , Tuple.Create(Tuple.Create("", 122275), Tuple.Create("Selector", 122275), true) 11517 ); 11518 11519 WriteLiteralTo(__razor_helper_writer, ">"); 11520 11521 11522 #line 3044 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11523 WriteTo(__razor_helper_writer, Translate(selectedFilter)); 11524 11525 11526 #line default 11527 #line hidden 11528 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <div"); 11529 11530 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__content dw-mod\""); 11531 11532 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11533 11534 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 11535 11536 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 122440), Tuple.Create("\"", 122513) 11537 , Tuple.Create(Tuple.Create("", 122450), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 122450), true) 11538 11539 #line 3046 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11540 , Tuple.Create(Tuple.Create("", 122487), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11541 11542 #line default 11543 #line hidden 11544 , 122487), false) 11545 , Tuple.Create(Tuple.Create("", 122507), Tuple.Create("\',", 122507), true) 11546 , Tuple.Create(Tuple.Create(" ", 122509), Tuple.Create("\'\')", 122510), true) 11547 ); 11548 11549 WriteLiteralTo(__razor_helper_writer, ">"); 11550 11551 11552 #line 3046 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11553 WriteTo(__razor_helper_writer, Translate("All")); 11554 11555 11556 #line default 11557 #line hidden 11558 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11559 11560 11561 #line 3047 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11562 11563 11564 #line default 11565 #line hidden 11566 11567 #line 3047 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11568 foreach (var option in settings.Options) 11569 { 11570 11571 11572 #line default 11573 #line hidden 11574 WriteLiteralTo(__razor_helper_writer, " <div"); 11575 11576 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 11577 11578 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 122681), Tuple.Create("\"", 122767) 11579 , Tuple.Create(Tuple.Create("", 122691), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 122691), true) 11580 11581 #line 3049 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11582 , Tuple.Create(Tuple.Create("", 122728), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11583 11584 #line default 11585 #line hidden 11586 , 122728), false) 11587 , Tuple.Create(Tuple.Create("", 122748), Tuple.Create("\',", 122748), true) 11588 , Tuple.Create(Tuple.Create(" ", 122750), Tuple.Create("\'", 122751), true) 11589 11590 #line 3049 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11591 , Tuple.Create(Tuple.Create("", 122752), Tuple.Create<System.Object, System.Int32>(option.Value 11592 11593 #line default 11594 #line hidden 11595 , 122752), false) 11596 , Tuple.Create(Tuple.Create("", 122765), Tuple.Create("\')", 122765), true) 11597 ); 11598 11599 WriteLiteralTo(__razor_helper_writer, ">"); 11600 11601 11602 #line 3049 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11603 WriteTo(__razor_helper_writer, Translate(option.Name)); 11604 11605 11606 #line default 11607 #line hidden 11608 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11609 11610 11611 #line 3050 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11612 } 11613 11614 11615 #line default 11616 #line hidden 11617 WriteLiteralTo(__razor_helper_writer, " </div>\r\n <label"); 11618 11619 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger-off\""); 11620 11621 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 122922), Tuple.Create("\"", 122958) 11622 11623 #line 3052 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11624 , Tuple.Create(Tuple.Create("", 122928), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11625 11626 #line default 11627 #line hidden 11628 , 122928), false) 11629 , Tuple.Create(Tuple.Create("", 122950), Tuple.Create("Selector", 122950), true) 11630 ); 11631 11632 WriteLiteralTo(__razor_helper_writer, "></label>\r\n </div>\r\n </div>\r\n </div>" + 11633 "\r\n"); 11634 11635 11636 #line 3056 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11637 } 11638 else 11639 { 11640 11641 11642 #line default 11643 #line hidden 11644 WriteLiteralTo(__razor_helper_writer, " <div"); 11645 11646 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width u-margin-bottom\""); 11647 11648 WriteLiteralTo(__razor_helper_writer, ">\r\n <h5"); 11649 11650 WriteLiteralTo(__razor_helper_writer, " class=\"u-no-margin\""); 11651 11652 WriteLiteralTo(__razor_helper_writer, ">"); 11653 11654 11655 #line 3060 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11656 WriteTo(__razor_helper_writer, settings.Label); 11657 11658 11659 #line default 11660 #line hidden 11661 WriteLiteralTo(__razor_helper_writer, "</h5>\r\n <input"); 11662 11663 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 11664 11665 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 123234), Tuple.Create("\"", 123269) 11666 11667 #line 3061 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11668 , Tuple.Create(Tuple.Create("", 123239), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11669 11670 #line default 11671 #line hidden 11672 , 123239), false) 11673 , Tuple.Create(Tuple.Create("", 123261), Tuple.Create("Selector", 123261), true) 11674 ); 11675 11676 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger\""); 11677 11678 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 11679 11680 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown u-full-width w-mod\""); 11681 11682 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 11683 11684 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__header dropdown__btn dw-mod\""); 11685 11686 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 123431), Tuple.Create("\"", 123467) 11687 11688 #line 3063 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11689 , Tuple.Create(Tuple.Create("", 123437), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11690 11691 #line default 11692 #line hidden 11693 , 123437), false) 11694 , Tuple.Create(Tuple.Create("", 123459), Tuple.Create("Selector", 123459), true) 11695 ); 11696 11697 WriteLiteralTo(__razor_helper_writer, ">"); 11698 11699 11700 #line 3063 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11701 WriteTo(__razor_helper_writer, Translate(selectedFilter)); 11702 11703 11704 #line default 11705 #line hidden 11706 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <div"); 11707 11708 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__content dw-mod\""); 11709 11710 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11711 11712 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 11713 11714 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 123616), Tuple.Create("\"", 123689) 11715 , Tuple.Create(Tuple.Create("", 123626), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 123626), true) 11716 11717 #line 3065 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11718 , Tuple.Create(Tuple.Create("", 123663), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11719 11720 #line default 11721 #line hidden 11722 , 123663), false) 11723 , Tuple.Create(Tuple.Create("", 123683), Tuple.Create("\',", 123683), true) 11724 , Tuple.Create(Tuple.Create(" ", 123685), Tuple.Create("\'\')", 123686), true) 11725 ); 11726 11727 WriteLiteralTo(__razor_helper_writer, ">"); 11728 11729 11730 #line 3065 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11731 WriteTo(__razor_helper_writer, Translate("All")); 11732 11733 11734 #line default 11735 #line hidden 11736 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11737 11738 11739 #line 3066 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11740 11741 11742 #line default 11743 #line hidden 11744 11745 #line 3066 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11746 foreach (var option in settings.Options) 11747 { 11748 11749 11750 #line default 11751 #line hidden 11752 WriteLiteralTo(__razor_helper_writer, " <div"); 11753 11754 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 11755 11756 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 123841), Tuple.Create("\"", 123927) 11757 , Tuple.Create(Tuple.Create("", 123851), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 123851), true) 11758 11759 #line 3068 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11760 , Tuple.Create(Tuple.Create("", 123888), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11761 11762 #line default 11763 #line hidden 11764 , 123888), false) 11765 , Tuple.Create(Tuple.Create("", 123908), Tuple.Create("\',", 123908), true) 11766 , Tuple.Create(Tuple.Create(" ", 123910), Tuple.Create("\'", 123911), true) 11767 11768 #line 3068 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11769 , Tuple.Create(Tuple.Create("", 123912), Tuple.Create<System.Object, System.Int32>(option.Value 11770 11771 #line default 11772 #line hidden 11773 , 123912), false) 11774 , Tuple.Create(Tuple.Create("", 123925), Tuple.Create("\')", 123925), true) 11775 ); 11776 11777 WriteLiteralTo(__razor_helper_writer, ">"); 11778 11779 11780 #line 3068 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11781 WriteTo(__razor_helper_writer, Translate(option.Name)); 11782 11783 11784 #line default 11785 #line hidden 11786 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11787 11788 11789 #line 3069 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11790 } 11791 11792 11793 #line default 11794 #line hidden 11795 WriteLiteralTo(__razor_helper_writer, " </div>\r\n <label"); 11796 11797 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger-off\""); 11798 11799 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 124070), Tuple.Create("\"", 124106) 11800 11801 #line 3071 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11802 , Tuple.Create(Tuple.Create("", 124076), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11803 11804 #line default 11805 #line hidden 11806 , 124076), false) 11807 , Tuple.Create(Tuple.Create("", 124098), Tuple.Create("Selector", 124098), true) 11808 ); 11809 11810 WriteLiteralTo(__razor_helper_writer, "></label>\r\n </div>\r\n </div>\r\n"); 11811 11812 11813 #line 3074 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11814 } 11815 } 11816 11817 11818 #line default 11819 #line hidden 11820 }); 11821 11822 #line 3076 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11823 } 11824 #line default 11825 #line hidden 11826 11827 11828 #line 3084 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11829 public RazorEngine.Templating.TemplateWriter RenderArticleListSearch(ArticleListSearch settings) 11830 { 11831 #line default 11832 #line hidden 11833 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11834 11835 #line 3085 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11836 11837 string searchParameter = !string.IsNullOrEmpty(settings.SearchParameter) ? settings.SearchParameter : "Title"; 11838 string searchWord = HttpContext.Current.Request.QueryString.Get(searchParameter); 11839 string searchString = !string.IsNullOrEmpty(searchWord) ? searchWord.Trim('*') : ""; 11840 string className = "u-w340px u-pull--right u-margin-left"; 11841 11842 if (Pageview.Device.ToString() == "Mobile" || Pageview.Device.ToString() == "Tablet") 11843 { 11844 className = "u-full-width"; 11845 } 11846 11847 11848 11849 #line default 11850 #line hidden 11851 WriteLiteralTo(__razor_helper_writer, " <div"); 11852 11853 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 124956), Tuple.Create("\"", 125023) 11854 , Tuple.Create(Tuple.Create("", 124964), Tuple.Create("typeahead", 124964), true) 11855 , Tuple.Create(Tuple.Create(" ", 124973), Tuple.Create("u-color-inherit", 124974), true) 11856 , Tuple.Create(Tuple.Create(" ", 124989), Tuple.Create("u-margin-bottom", 124990), true) 11857 , Tuple.Create(Tuple.Create(" ", 125005), Tuple.Create("dw-mod", 125006), true) 11858 11859 #line 3096 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11860 , Tuple.Create(Tuple.Create(" ", 125012), Tuple.Create<System.Object, System.Int32>(className 11861 11862 #line default 11863 #line hidden 11864 , 125013), false) 11865 ); 11866 11867 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 11868 11869 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 11870 11871 WriteLiteralTo(__razor_helper_writer, " class=\"typeahead-search-field u-no-margin dw-mod\""); 11872 11873 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 125103), Tuple.Create("\"", 125145) 11874 11875 #line 3097 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11876 , Tuple.Create(Tuple.Create("", 125117), Tuple.Create<System.Object, System.Int32>(Translate("Search in list") 11877 11878 #line default 11879 #line hidden 11880 , 125117), false) 11881 ); 11882 11883 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 125146), Tuple.Create("\"", 125167) 11884 11885 #line 3097 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11886 , Tuple.Create(Tuple.Create("", 125154), Tuple.Create<System.Object, System.Int32>(searchString 11887 11888 #line default 11889 #line hidden 11890 , 125154), false) 11891 ); 11892 11893 WriteLiteralTo(__razor_helper_writer, " id=\"ArticleListSearchInput\""); 11894 11895 WriteAttributeTo(__razor_helper_writer, "onchange", Tuple.Create(" onchange=\"", 125196), Tuple.Create("\"", 125331) 11896 , Tuple.Create(Tuple.Create("", 125207), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 125207), true) 11897 11898 #line 3097 "D:\Dynamicweb.net\Solutions\Dynamicweb\aktrading.cloud.dynamicweb-cms.com\Files\Templates\Designs\Rapido\ItemPublisher\List\NewsList.cshtml" 11899 , Tuple.Create(Tuple.Create("", 125244), Tuple.Create<System.Object, System.Int32>(searchParameter 11900 11901 #line default 11902 #line hidden 11903 , 125244), false) 11904 , Tuple.Create(Tuple.Create("", 125260), Tuple.Create("\',", 125260), true) 11905 , Tuple.Create(Tuple.Create(" ", 125262), Tuple.Create("\'*\'", 125263), true) 11906 , Tuple.Create(Tuple.Create(" ", 125266), Tuple.Create("+", 125267), true) 11907 , Tuple.Create(Tuple.Create(" ", 125268), Tuple.Create("document.getElementById(\'ArticleListSearchInput\').value", 125269), true) 11908 , Tuple.Create(Tuple.Create(" ", 125324), Tuple.Create("+", 125325), true) 11909 , Tuple.Create(Tuple.Create(" ", 125326), Tuple.Create("\'*\')", 125327), true) 11910 ); 11911 11912 WriteLiteralTo(__razor_helper_writer, ">\r\n <button"); 11913 11914 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 11915 11916 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn--condensed btn--primary u-no-margin dw