Line 1: #pragma checksum "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "883B97A7F3224556D3E3971B02F03A3AE0B47C4BF3EF0BC7D6AC89979873F6E6"
Line 2: //------------------------------------------------------------------------------
Line 3: // <auto-generated>
Line 4: // This code was generated by a tool.
Line 5: // Runtime Version:4.0.30319.42000
Line 6: //
Line 7: // Changes to this file may cause incorrect behavior and will be lost if
Line 8: // the code is regenerated.
Line 9: // </auto-generated>
Line 10: //------------------------------------------------------------------------------
Line 11:
Line 12: namespace ASP {
Line 13: using System;
Line 14: using System.Collections.Generic;
Line 15: using System.IO;
Line 16: using System.Linq;
Line 17: using System.Net;
Line 18: using System.Web;
Line 19: using System.Web.Helpers;
Line 20: using System.Web.Security;
Line 21: using System.Web.UI;
Line 22: using System.Web.WebPages;
Line 23: using System.Web.Mvc;
Line 24: using System.Web.Mvc.Ajax;
Line 25: using System.Web.Mvc.Html;
Line 26: using System.Web.Routing;
Line 27: using Umbraco.Web;
Line 28: using Umbraco.Core;
Line 29: using Umbraco.Core.Models;
Line 30: using Umbraco.Core.Models.PublishedContent;
Line 31: using Umbraco.Web.Mvc;
Line 32: using Examine;
Line 33: using Umbraco.Web.PublishedModels;
Line 34:
Line 35: #line 1 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 36: using ClientDependency.Core.Mvc;
Line 37:
Line 38: #line default
Line 39: #line hidden
Line 40:
Line 41:
Line 42: public class _Page_Views_RelatedProductsSection_cshtml : Umbraco.Web.Mvc.UmbracoViewPage {
Line 43:
Line 44: #line hidden
Line 45:
Line 46: public _Page_Views_RelatedProductsSection_cshtml() {
Line 47: }
Line 48:
Line 49: protected ASP.global_asax ApplicationInstance {
Line 50: get {
Line 51: return ((ASP.global_asax)(Context.ApplicationInstance));
Line 52: }
Line 53: }
Line 54:
Line 55: public override void Execute() {
Line 56:
Line 57: #line 3 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 58:
Line 59: /**/
Line 60:
Line 61: /**/
Line 62:
Line 63:
Line 64: Html.RequiresJs(new ClientDependency.Core.JavascriptFile("~/scripts/productCategoryCompare.js") { ForceProvider = "LazyLoadRenderer" });
Line 65: Layout = Model.AncestorOrSelf(1).Value("siteTemplate").ToString().Replace(" ", string.Empty) + ".cshtml";
Line 66: List<IPublishedContent> relatedProductSection;
Line 67: IPublishedContent productDetails = Model.Ancestor("Product");
Line 68: string title = (productDetails != null) ? productDetails.Value("title").ToString() : string.Empty;
Line 69: string imageUrl = ((productDetails != null) && (productDetails.GetProperty("imageUrl") != null)) ? (string)productDetails.Value("imageUrl") : string.Empty;
Line 70:
Line 71: var equipment = Model.AncestorOrSelf(4);
Line 72: var newProductPage = Model.AncestorOrSelf(3);
Line 73:
Line 74: var equipmentClass = newProductPage.Children(c => (c.IsVisible()) && (c.Name.Equals("Equipment", System.StringComparison.OrdinalIgnoreCase))).FirstOrDefault();
Line 75: var attachmentsClass = newProductPage.Children(c => (c.IsVisible()) && (c.Name.Equals("Attachments", System.StringComparison.OrdinalIgnoreCase))).FirstOrDefault();
Line 76: System.Collections.Generic.List<IPublishedContent> attachmentCategories;
Line 77: System.Collections.Generic.List<IPublishedContent> equipmentCategories;
Line 78:
Line 79: System.Collections.Generic.List<IPublishedContent> productCategories;
Line 80: productCategories = equipment.Children(c => (c.IsVisible()) && (c.IsDocumentType("ProductCategory"))).OrderBy(x => x.Name).ToList();
Line 81:
Line 82: equipmentCategories = equipmentClass.Children(c => (c.IsVisible()) && (c.IsDocumentType("ProductCategory"))).OrderBy(x => x.Name).ToList();
Line 83: attachmentCategories = attachmentsClass.Children(c => (c.IsVisible()) && (c.IsDocumentType("ProductCategory"))).OrderBy(x => x.Name).ToList();
Line 84:
Line 85:
Line 86:
Line 87: IPublishedContent ProductSpecifications = productDetails.Children.Where(c => (c.IsVisible()) && (c.IsDocumentType("ProductSpecifications"))).FirstOrDefault();
Line 88: relatedProductSection = Model
Line 89: .Content
Line 90: .Children(c => (c.IsVisible())
Line 91: && (c.IsDocumentType("Relatedproduct")))
Line 92: .OrderBy(x => x.Name).ToList();
Line 93: System.Collections.Generic.List<IPublishedContent> listOfRelatedProductSectionChildren;
Line 94: System.Collections.Generic.List<IPublishedContent> listOfRelatedProducts = new List<IPublishedContent>();
Line 95: if(relatedProductSection != null)
Line 96: {
Line 97: foreach (IPublishedContent relatedProductFromRelatedSection in relatedProductSection)
Line 98: {
Line 99: foreach (IPublishedContent productCategory in attachmentCategories)
Line 100: {
Line 101:
Line 102: foreach (IPublishedContent productSubCategory in productCategory.Children)
Line 103: {
Line 104: foreach (IPublishedContent relatedpProduct in productSubCategory.Children)
Line 105: {
Line 106: string productId = relatedpProduct.Value("cpcId").ToString();
Line 107: string relatedProductId = relatedProductFromRelatedSection.Value("relatedid").ToString();
Line 108: if (productId == relatedProductId)
Line 109: {
Line 110: listOfRelatedProducts.Add(relatedpProduct);
Line 111: }
Line 112: }
Line 113:
Line 114:
Line 115: }
Line 116: }
Line 117:
Line 118: foreach (IPublishedContent productCategory in equipmentCategories)
Line 119: {
Line 120:
Line 121: foreach (IPublishedContent productSubCategory in productCategory.Children)
Line 122: {
Line 123: foreach (IPublishedContent relatedpProduct in productSubCategory.Children)
Line 124: {
Line 125: string productId = relatedpProduct.Value("cpcId").ToString();
Line 126: string relatedProductId = relatedProductFromRelatedSection.Value("relatedid").ToString();
Line 127: if (productId == relatedProductId)
Line 128: {
Line 129: listOfRelatedProducts.Add(relatedpProduct);
Line 130: }
Line 131: }
Line 132:
Line 133:
Line 134: }
Line 135: }
Line 136: }
Line 137:
Line 138:
Line 139:
Line 140:
Line 141:
Line 142: }
Line 143:
Line 144:
Line 145:
Line 146:
Line 147:
Line 148:
Line 149:
Line 150: //////////////////////////////////////////////////////
Line 151:
Line 152: IPublishedContent benefitsAndFeatures = productDetails.Children.Where(c => (c.IsVisible()) && (c.IsDocumentType("ProductBenefitsFeatures"))).FirstOrDefault();
Line 153: System.Collections.Generic.List<IPublishedContent> salesFeatureSections = new System.Collections.Generic.List<IPublishedContent>();
Line 154: if (benefitsAndFeatures != null)
Line 155: {
Line 156: salesFeatureSections = benefitsAndFeatures.Children.Where(c => (c.IsVisible()) && (c.IsDocumentType("SalesFeatureSection"))).ToList();
Line 157: }
Line 158: //////////////////////////////////////////////benefits and features
Line 159:
Line 160:
Line 161:
Line 162:
Line 163:
Line 164:
Line 165:
Line 166:
Line 167: ///////////////////////////////////////////////////////////////////////////////////////////////////
Line 168:
Line 169:
Line 170:
Line 171:
Line 172: ///////////////////////////////////// 360 interactive
Line 173:
Line 174: IPublishedContent Interactive = productDetails.Children.Where(c => (c.IsVisible()) && (c.IsDocumentType("Product360Interactive"))).FirstOrDefault();
Line 175: string exteriorViewUrl = "";
Line 176: string interiorViewUrl = "";
Line 177: if (Interactive != null)
Line 178: {
Line 179: exteriorViewUrl = (Interactive.Value("exteriorViewUrl") != null) ? Interactive.Value("exteriorViewUrl").ToString() : string.Empty;
Line 180: interiorViewUrl = (Interactive.Value("interiorViewUrl") != null) ? Interactive.Value("interiorViewUrl").ToString() : string.Empty;
Line 181: }
Line 182:
Line 183:
Line 184: Html.RequiresJs(new ClientDependency.Core.JavascriptFile("~/scripts/product-360-interactive.js") { ForceProvider = "LazyLoadRenderer" }, 999);
Line 185:
Line 186:
Line 187: ///////////////////////////////////
Line 188: System.Collections.Generic.List<IPublishedContent> standardEquipment = new System.Collections.Generic.List<IPublishedContent>();
Line 189: System.Collections.Generic.List<IPublishedContent> optionalEquipment = new System.Collections.Generic.List<IPublishedContent>();
Line 190:
Line 191:
Line 192:
Line 193: IPublishedContent productEquipment = productDetails.Children.Where(c => (c.IsVisible()) && (c.IsDocumentType("ProductEquipment"))).FirstOrDefault();
Line 194:
Line 195:
Line 196:
Line 197: #line default
Line 198: #line hidden
Line 199: WriteLiteral("\r\n\r\n\r\n\r\n<!-- content -->\r\n<img");
Line 200:
Line 201: WriteAttribute("src", Tuple.Create(" src=\"", 6148), Tuple.Create("\"", 6163)
Line 202:
Line 203: #line 145 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 204: , Tuple.Create(Tuple.Create("", 6154), Tuple.Create<System.Object, System.Int32>(imageUrl
Line 205:
Line 206: #line default
Line 207: #line hidden
Line 208: , 6154), false)
Line 209: );
Line 210:
Line 211: WriteAttribute("alt", Tuple.Create(" alt=\"", 6164), Tuple.Create("\"", 6176)
Line 212:
Line 213: #line 145 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 214: , Tuple.Create(Tuple.Create("", 6170), Tuple.Create<System.Object, System.Int32>(title
Line 215:
Line 216: #line default
Line 217: #line hidden
Line 218: , 6170), false)
Line 219: );
Line 220:
Line 221: WriteLiteral(" class=\"product-image\"");
Line 222:
Line 223: WriteLiteral(" />\r\n<!-- title -->\r\n");
Line 224:
Line 225:
Line 226: #line 147 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 227: if ((Model.Value("showTitle") != null) && ((bool)Model.Value("showTitle")))
Line 228: {
Line 229:
Line 230:
Line 231: #line default
Line 232: #line hidden
Line 233: WriteLiteral(" <div");
Line 234:
Line 235: WriteLiteral(" class=\"page-title\"");
Line 236:
Line 237: WriteLiteral("><h1>");
Line 238:
Line 239:
Line 240: #line 149 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 241: Write(Model.Value("title"));
Line 242:
Line 243:
Line 244: #line default
Line 245: #line hidden
Line 246: WriteLiteral("</h1></div>\r\n");
Line 247:
Line 248:
Line 249: #line 150 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 250: }
Line 251:
Line 252:
Line 253: #line default
Line 254: #line hidden
Line 255: WriteLiteral("<!-- title - end -->\r\n\r\n<div");
Line 256:
Line 257: WriteLiteral(" class=\"product-info-tabs web\"");
Line 258:
Line 259: WriteLiteral(">\r\n <!-- Nav tabs -->\r\n <ul");
Line 260:
Line 261: WriteLiteral(" class=\"nav nav-tabs\"");
Line 262:
Line 263: WriteLiteral(">\r\n <li");
Line 264:
Line 265: WriteLiteral(" class=\"active\"");
Line 266:
Line 267: WriteLiteral("><a");
Line 268:
Line 269: WriteLiteral(" href=\"#specifications-tab\"");
Line 270:
Line 271: WriteLiteral(" data-toggle=\"tab\"");
Line 272:
Line 273: WriteLiteral(">Specifications</a></li>\r\n");
Line 274:
Line 275:
Line 276: #line 157 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 277:
Line 278:
Line 279: #line default
Line 280: #line hidden
Line 281:
Line 282: #line 157 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 283: if (productEquipment != null)
Line 284: {
Line 285:
Line 286:
Line 287: #line default
Line 288: #line hidden
Line 289: WriteLiteral(" <li><a");
Line 290:
Line 291: WriteLiteral(" href=\"#equipment-tab\"");
Line 292:
Line 293: WriteLiteral(" data-toggle=\"tab\"");
Line 294:
Line 295: WriteLiteral(">Equipment</a></li>\r\n");
Line 296:
Line 297:
Line 298: #line 160 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 299: }
Line 300:
Line 301:
Line 302: #line default
Line 303: #line hidden
Line 304: WriteLiteral("\r\n");
Line 305:
Line 306:
Line 307: #line 162 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 308:
Line 309:
Line 310: #line default
Line 311: #line hidden
Line 312:
Line 313: #line 162 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 314: if (Interactive != null)
Line 315: {
Line 316:
Line 317:
Line 318: #line default
Line 319: #line hidden
Line 320: WriteLiteral(" <li><a");
Line 321:
Line 322: WriteLiteral(" href=\"#interactive-tab\"");
Line 323:
Line 324: WriteLiteral(" data-toggle=\"tab\"");
Line 325:
Line 326: WriteLiteral(">360° Interactive</a></li>\r\n");
Line 327:
Line 328:
Line 329: #line 165 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 330: }
Line 331:
Line 332:
Line 333: #line default
Line 334: #line hidden
Line 335: WriteLiteral(" ");
Line 336:
Line 337:
Line 338: #line 166 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 339: if (benefitsAndFeatures != null)
Line 340: {
Line 341:
Line 342:
Line 343: #line default
Line 344: #line hidden
Line 345: WriteLiteral(" <li><a");
Line 346:
Line 347: WriteLiteral(" href=\"#benefitsfeatures-tab\"");
Line 348:
Line 349: WriteLiteral(" data-toggle=\"tab\"");
Line 350:
Line 351: WriteLiteral(">Benefits and Features</a></li>\r\n");
Line 352:
Line 353:
Line 354: #line 169 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 355: }
Line 356:
Line 357:
Line 358: #line default
Line 359: #line hidden
Line 360: WriteLiteral(" ");
Line 361:
Line 362:
Line 363: #line 170 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 364: if (listOfRelatedProducts != null)
Line 365: {
Line 366:
Line 367:
Line 368: #line default
Line 369: #line hidden
Line 370: WriteLiteral(" <li><a");
Line 371:
Line 372: WriteLiteral(" href=\"#relatedproducts-tab\"");
Line 373:
Line 374: WriteLiteral(" data-toggle=\"tab\"");
Line 375:
Line 376: WriteLiteral(">Related Products</a></li>\r\n");
Line 377:
Line 378:
Line 379: #line 173 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 380: }
Line 381:
Line 382:
Line 383: #line default
Line 384: #line hidden
Line 385: WriteLiteral(" </ul>\r\n <!-- Tab panes -->\r\n\r\n <div");
Line 386:
Line 387: WriteLiteral(" class=\"tab-content\"");
Line 388:
Line 389: WriteLiteral(">\r\n");
Line 390:
Line 391:
Line 392: #line 178 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 393:
Line 394:
Line 395: #line default
Line 396: #line hidden
Line 397:
Line 398: #line 178 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 399: if (ProductSpecifications != null)
Line 400: {
Line 401:
Line 402:
Line 403: #line default
Line 404: #line hidden
Line 405: WriteLiteral(" <div");
Line 406:
Line 407: WriteLiteral(" class=\"tab-pane active\"");
Line 408:
Line 409: WriteLiteral(" id=\"specifications-tab\"");
Line 410:
Line 411: WriteLiteral(">\r\n <div");
Line 412:
Line 413: WriteLiteral(" class=\"prod-specifications-content\"");
Line 414:
Line 415: WriteLiteral(">\r\n");
Line 416:
Line 417:
Line 418: #line 182 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 419:
Line 420:
Line 421: #line default
Line 422: #line hidden
Line 423:
Line 424: #line 182 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 425: if (ProductSpecifications.Value<string>("overview") != "")
Line 426: {
Line 427:
Line 428:
Line 429: #line default
Line 430: #line hidden
Line 431: WriteLiteral(" <h1>Overview</h1>\r\n");
Line 432:
Line 433:
Line 434: #line 185 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 435:
Line 436:
Line 437: #line default
Line 438: #line hidden
Line 439:
Line 440: #line 185 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 441: Write(Html.Raw(ProductSpecifications.Value<string>("overview")));
Line 442:
Line 443:
Line 444: #line default
Line 445: #line hidden
Line 446:
Line 447: #line 185 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 448:
Line 449: }
Line 450:
Line 451:
Line 452: #line default
Line 453: #line hidden
Line 454: WriteLiteral(" ");
Line 455:
Line 456:
Line 457: #line 187 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 458: Write(Html.Raw(ProductSpecifications.Value<string>("specifications")));
Line 459:
Line 460:
Line 461: #line default
Line 462: #line hidden
Line 463: WriteLiteral("\r\n </div>\r\n </div>\r\n");
Line 464:
Line 465:
Line 466: #line 190 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 467: }
Line 468:
Line 469:
Line 470: #line default
Line 471: #line hidden
Line 472: WriteLiteral("\r\n");
Line 473:
Line 474:
Line 475: #line 192 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 476:
Line 477:
Line 478: #line default
Line 479: #line hidden
Line 480:
Line 481: #line 192 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 482: if (productEquipment != null)
Line 483: {
Line 484:
Line 485:
Line 486: #line default
Line 487: #line hidden
Line 488: WriteLiteral(" <div");
Line 489:
Line 490: WriteLiteral(" class=\"tab-pane\"");
Line 491:
Line 492: WriteLiteral(" id=\"equipment-tab\"");
Line 493:
Line 494: WriteLiteral(">\r\n\r\n\r\n <div");
Line 495:
Line 496: WriteLiteral(" class=\"prod-equip-info\"");
Line 497:
Line 498: WriteLiteral(">\r\n");
Line 499:
Line 500:
Line 501: #line 198 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 502:
Line 503:
Line 504: #line default
Line 505: #line hidden
Line 506:
Line 507: #line 198 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 508: if (!string.IsNullOrWhiteSpace(productEquipment.Value<string>("standardEquipment")))
Line 509: {
Line 510:
Line 511:
Line 512: #line default
Line 513: #line hidden
Line 514: WriteLiteral(" <div");
Line 515:
Line 516: WriteLiteral(" class=\"col-md-6 col-sm-6 clearfix\"");
Line 517:
Line 518: WriteLiteral(">\r\n <div");
Line 519:
Line 520: WriteLiteral(" class=\"prod-equip-left\"");
Line 521:
Line 522: WriteLiteral(">\r\n <h2>");
Line 523:
Line 524:
Line 525: #line 202 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 526: Write(title);
Line 527:
Line 528:
Line 529: #line default
Line 530: #line hidden
Line 531: WriteLiteral(" ");
Line 532:
Line 533:
Line 534: #line 202 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 535: Write(Gloo.CMS.Extensions.Utilities.Helpers.GetDictionaryValue("Standard Equipment"));
Line 536:
Line 537:
Line 538: #line default
Line 539: #line hidden
Line 540: WriteLiteral("</h2>\r\n");
Line 541:
Line 542: WriteLiteral(" ");
Line 543:
Line 544:
Line 545: #line 203 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 546: Write(Html.Raw(productEquipment.Value<string>("standardEquipment")));
Line 547:
Line 548:
Line 549: #line default
Line 550: #line hidden
Line 551: WriteLiteral("\r\n </div>\r\n </div>\r\n");
Line 552:
Line 553:
Line 554: #line 206 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 555: }
Line 556:
Line 557:
Line 558: #line default
Line 559: #line hidden
Line 560: WriteLiteral("\r\n");
Line 561:
Line 562:
Line 563: #line 208 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 564:
Line 565:
Line 566: #line default
Line 567: #line hidden
Line 568:
Line 569: #line 208 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 570: if (!string.IsNullOrWhiteSpace(productEquipment.Value<string>("optionalEquipment")))
Line 571: {
Line 572:
Line 573:
Line 574: #line default
Line 575: #line hidden
Line 576: WriteLiteral(" <div");
Line 577:
Line 578: WriteLiteral(" class=\"col-md-6 col-sm-6 clearfix\"");
Line 579:
Line 580: WriteLiteral(">\r\n <div");
Line 581:
Line 582: WriteAttribute("class", Tuple.Create(" class=\"", 8840), Tuple.Create("\"", 8943)
Line 583: , Tuple.Create(Tuple.Create("", 8848), Tuple.Create("prod-equip-", 8848), true)
Line 584:
Line 585: #line 211 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 586: , Tuple.Create(Tuple.Create("", 8859), Tuple.Create<System.Object, System.Int32>(((standardEquipment != null) && (standardEquipment.Count > 0)) ? "right" : "left"
Line 587:
Line 588: #line default
Line 589: #line hidden
Line 590: , 8859), false)
Line 591: );
Line 592:
Line 593: WriteLiteral(">\r\n <h2>");
Line 594:
Line 595:
Line 596: #line 212 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 597: Write(title);
Line 598:
Line 599:
Line 600: #line default
Line 601: #line hidden
Line 602: WriteLiteral(" ");
Line 603:
Line 604:
Line 605: #line 212 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 606: Write(Gloo.CMS.Extensions.Utilities.Helpers.GetDictionaryValue("Optional Equipment"));
Line 607:
Line 608:
Line 609: #line default
Line 610: #line hidden
Line 611: WriteLiteral("</h2>\r\n");
Line 612:
Line 613: WriteLiteral(" ");
Line 614:
Line 615:
Line 616: #line 213 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 617: Write(Html.Raw(productEquipment.Value<string>("optionalEquipment")));
Line 618:
Line 619:
Line 620: #line default
Line 621: #line hidden
Line 622: WriteLiteral("\r\n </div>\r\n </div>\r\n");
Line 623:
Line 624:
Line 625: #line 216 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 626: }
Line 627:
Line 628:
Line 629: #line default
Line 630: #line hidden
Line 631: WriteLiteral(" </div>\r\n\r\n\r\n\r\n </div>\r\n");
Line 632:
Line 633:
Line 634: #line 222 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 635: }
Line 636:
Line 637:
Line 638: #line default
Line 639: #line hidden
Line 640: WriteLiteral(" ");
Line 641:
Line 642:
Line 643: #line 223 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 644: if (Interactive != null)
Line 645: {
Line 646:
Line 647:
Line 648: #line default
Line 649: #line hidden
Line 650: WriteLiteral(" <div");
Line 651:
Line 652: WriteLiteral(" class=\"tab-pane\"");
Line 653:
Line 654: WriteLiteral(" id=\"interactive-tab\"");
Line 655:
Line 656: WriteLiteral(">\r\n <div");
Line 657:
Line 658: WriteLiteral(" class=\"360-interactive-content\"");
Line 659:
Line 660: WriteLiteral(">\r\n");
Line 661:
Line 662:
Line 663: #line 227 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 664:
Line 665:
Line 666: #line default
Line 667: #line hidden
Line 668:
Line 669: #line 227 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 670: if (!string.IsNullOrEmpty(exteriorViewUrl))
Line 671: {
Line 672: string exteriorTtitle = Gloo.CMS.Extensions.Utilities.Helpers.GetDictionaryValue("Exterior");
Line 673:
Line 674:
Line 675:
Line 676: #line default
Line 677: #line hidden
Line 678: WriteLiteral(" <h2>");
Line 679:
Line 680:
Line 681: #line 231 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 682: Write(exteriorTtitle);
Line 683:
Line 684:
Line 685: #line default
Line 686: #line hidden
Line 687: WriteLiteral("</h2>\r\n");
Line 688:
Line 689: WriteLiteral(" <div");
Line 690:
Line 691: WriteLiteral(" class=\"framed-content\"");
Line 692:
Line 693: WriteLiteral(" data-url=\"");
Line 694:
Line 695:
Line 696: #line 232 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 697: Write(Gloo.CMS.Extensions.Utilities.Helpers.ConvertToSecureUrl(exteriorViewUrl));
Line 698:
Line 699:
Line 700: #line default
Line 701: #line hidden
Line 702: WriteLiteral("\"");
Line 703:
Line 704: WriteLiteral(" data-image=\"");
Line 705:
Line 706:
Line 707: #line 232 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 708: Write(Gloo.CMS.Extensions.Utilities.Helpers.GetUrl("~/images/default/img/img-360-interactive-placeholder.jpg"));
Line 709:
Line 710:
Line 711: #line default
Line 712: #line hidden
Line 713: WriteLiteral("\"");
Line 714:
Line 715: WriteLiteral(" data-title=\"");
Line 716:
Line 717:
Line 718: #line 232 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 719: Write(exteriorTtitle);
Line 720:
Line 721:
Line 722: #line default
Line 723: #line hidden
Line 724: WriteLiteral("\"");
Line 725:
Line 726: WriteLiteral("></div>\r\n");
Line 727:
Line 728:
Line 729: #line 233 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 730: }
Line 731:
Line 732:
Line 733: #line default
Line 734: #line hidden
Line 735: WriteLiteral("\r\n");
Line 736:
Line 737:
Line 738: #line 235 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 739:
Line 740:
Line 741: #line default
Line 742: #line hidden
Line 743:
Line 744: #line 235 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 745: if (!string.IsNullOrEmpty(interiorViewUrl))
Line 746: {
Line 747: string interiorTitle = Gloo.CMS.Extensions.Utilities.Helpers.GetDictionaryValue("Interior");
Line 748:
Line 749:
Line 750:
Line 751: #line default
Line 752: #line hidden
Line 753: WriteLiteral(" <h2>");
Line 754:
Line 755:
Line 756: #line 239 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 757: Write(interiorTitle);
Line 758:
Line 759:
Line 760: #line default
Line 761: #line hidden
Line 762: WriteLiteral("</h2>\r\n");
Line 763:
Line 764: WriteLiteral(" <div");
Line 765:
Line 766: WriteLiteral(" class=\"framed-content\"");
Line 767:
Line 768: WriteLiteral(" data-url=\"");
Line 769:
Line 770:
Line 771: #line 240 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 772: Write(Gloo.CMS.Extensions.Utilities.Helpers.ConvertToSecureUrl(interiorViewUrl));
Line 773:
Line 774:
Line 775: #line default
Line 776: #line hidden
Line 777: WriteLiteral("\"");
Line 778:
Line 779: WriteLiteral(" data-image=\"");
Line 780:
Line 781:
Line 782: #line 240 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 783: Write(Gloo.CMS.Extensions.Utilities.Helpers.GetUrl("~/images/default/img/img-360-interactive-placeholder.jpg"));
Line 784:
Line 785:
Line 786: #line default
Line 787: #line hidden
Line 788: WriteLiteral("\"");
Line 789:
Line 790: WriteLiteral(" data-title=\"");
Line 791:
Line 792:
Line 793: #line 240 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 794: Write(interiorTitle);
Line 795:
Line 796:
Line 797: #line default
Line 798: #line hidden
Line 799: WriteLiteral("\"");
Line 800:
Line 801: WriteLiteral("></div>\r\n");
Line 802:
Line 803:
Line 804: #line 241 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 805: }
Line 806:
Line 807:
Line 808: #line default
Line 809: #line hidden
Line 810: WriteLiteral(" </div>\r\n </div>\r\n");
Line 811:
Line 812:
Line 813: #line 244 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 814: }
Line 815:
Line 816:
Line 817: #line default
Line 818: #line hidden
Line 819: WriteLiteral(" ");
Line 820:
Line 821:
Line 822: #line 245 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 823: if (benefitsAndFeatures != null)
Line 824: {
Line 825:
Line 826:
Line 827: #line default
Line 828: #line hidden
Line 829: WriteLiteral(" <div");
Line 830:
Line 831: WriteLiteral(" class=\"tab-pane\"");
Line 832:
Line 833: WriteLiteral(" id=\"benefitsfeatures-tab\"");
Line 834:
Line 835: WriteLiteral(">\r\n\r\n");
Line 836:
Line 837:
Line 838: #line 249 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 839:
Line 840:
Line 841: #line default
Line 842: #line hidden
Line 843:
Line 844: #line 249 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 845: if (salesFeatureSections != null)
Line 846: {
Line 847: foreach (IPublishedContent salesFeatureSection in salesFeatureSections)
Line 848: {
Line 849: string featureSectionImageUrl = (salesFeatureSection.GetProperty("imageUrl") != null) ? (string)salesFeatureSection.Value("imageUrl") : string.Empty;
Line 850:
Line 851: if (string.IsNullOrEmpty(featureSectionImageUrl))
Line 852: {
Line 853:
Line 854: }
Line 855: else
Line 856: {
Line 857:
Line 858:
Line 859: #line default
Line 860: #line hidden
Line 861: WriteLiteral(" <img");
Line 862:
Line 863: WriteLiteral(" id=\"i\"");
Line 864:
Line 865: WriteAttribute("src", Tuple.Create(" src=\"", 11563), Tuple.Create("\"", 11592)
Line 866:
Line 867: #line 261 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 868: , Tuple.Create(Tuple.Create("", 11569), Tuple.Create<System.Object, System.Int32>(featureSectionImageUrl
Line 869:
Line 870: #line default
Line 871: #line hidden
Line 872: , 11569), false)
Line 873: );
Line 874:
Line 875: WriteLiteral(" class=\"product-cat-2-img image\"");
Line 876:
Line 877: WriteAttribute("alt", Tuple.Create(" alt=\"", 11625), Tuple.Create("\"", 11666)
Line 878:
Line 879: #line 261 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 880: , Tuple.Create(Tuple.Create("", 11631), Tuple.Create<System.Object, System.Int32>(salesFeatureSection.Value("title")
Line 881:
Line 882: #line default
Line 883: #line hidden
Line 884: , 11631), false)
Line 885: );
Line 886:
Line 887: WriteLiteral(" />\r\n");
Line 888:
Line 889:
Line 890: #line 262 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 891: }
Line 892: System.Collections.Generic.List<IPublishedContent> salesFeatures = salesFeatureSection.Children.Where(c => (c.IsVisible()) && (c.IsDocumentType("SalesFeature"))).ToList();
Line 893: if (salesFeatureSection.Value("title").ToString().ToLower().Contains("FeatureSection"))
Line 894: {
Line 895:
Line 896:
Line 897: #line default
Line 898: #line hidden
Line 899: WriteLiteral(" <p>");
Line 900:
Line 901:
Line 902: #line 266 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 903: Write(Html.Raw(salesFeatureSection.Value("text")));
Line 904:
Line 905:
Line 906: #line default
Line 907: #line hidden
Line 908: WriteLiteral("</p>\r\n");
Line 909:
Line 910:
Line 911: #line 267 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 912: }
Line 913: else
Line 914: {
Line 915:
Line 916:
Line 917: #line default
Line 918: #line hidden
Line 919: WriteLiteral(" <h2>");
Line 920:
Line 921:
Line 922: #line 270 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 923: Write(salesFeatureSection.Value("title"));
Line 924:
Line 925:
Line 926: #line default
Line 927: #line hidden
Line 928: WriteLiteral("</h2>\r\n");
Line 929:
Line 930:
Line 931: #line 271 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 932:
Line 933:
Line 934:
Line 935: #line default
Line 936: #line hidden
Line 937: WriteLiteral(" <div");
Line 938:
Line 939: WriteLiteral(" class=\"benefits-features-info\"");
Line 940:
Line 941: WriteLiteral(">\r\n <div");
Line 942:
Line 943: WriteLiteral(" class=\"accordion\"");
Line 944:
Line 945: WriteLiteral(">\r\n <div");
Line 946:
Line 947: WriteLiteral(" class=\"accordion-head\"");
Line 948:
Line 949: WriteLiteral("><h3");
Line 950:
Line 951: WriteLiteral(" class=\"accordion-head-text\"");
Line 952:
Line 953: WriteLiteral(">");
Line 954:
Line 955:
Line 956: #line 274 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 957: Write(salesFeatureSection.Value("title"));
Line 958:
Line 959:
Line 960: #line default
Line 961: #line hidden
Line 962: WriteLiteral("</h3></div>\r\n <div");
Line 963:
Line 964: WriteLiteral(" class=\"accordion-content\"");
Line 965:
Line 966: WriteLiteral(">\r\n");
Line 967:
Line 968:
Line 969: #line 276 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 970:
Line 971:
Line 972: #line default
Line 973: #line hidden
Line 974:
Line 975: #line 276 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 976: if ((salesFeatures != null) && (salesFeatures.Count > 0))
Line 977: {
Line 978: foreach (IPublishedContent salesFeature in salesFeatures)
Line 979: {
Line 980: if (salesFeature.Value("title").ToString().ToLower().Contains("feature"))
Line 981: {
Line 982:
Line 983:
Line 984:
Line 985:
Line 986:
Line 987: #line default
Line 988: #line hidden
Line 989: WriteLiteral(" <div");
Line 990:
Line 991: WriteLiteral(" class=\"col-md-12 col-sm-12 clearfix content-item\"");
Line 992:
Line 993: WriteLiteral(">\r\n");
Line 994:
Line 995: WriteLiteral(" ");
Line 996:
Line 997:
Line 998: #line 286 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 999: Write(Html.Raw(salesFeature.Value("text")));
Line 1000:
Line 1001:
Line 1002: #line default
Line 1003: #line hidden
Line 1004: WriteLiteral("\r\n <div");
Line 1005:
Line 1006: WriteLiteral(" class=\"clear\"");
Line 1007:
Line 1008: WriteLiteral("></div>\r\n </div>\r\n");
Line 1009:
Line 1010:
Line 1011: #line 289 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1012: string featureImageUrl = (salesFeature.GetProperty("imageUrl") != null) ? (string)salesFeature.Value("imageUrl") : string.Empty;
Line 1013:
Line 1014: if (string.IsNullOrEmpty(featureImageUrl))
Line 1015: {
Line 1016:
Line 1017: }
Line 1018: else
Line 1019: {
Line 1020:
Line 1021:
Line 1022: #line default
Line 1023: #line hidden
Line 1024: WriteLiteral(" <img");
Line 1025:
Line 1026: WriteLiteral(" id=\"i\"");
Line 1027:
Line 1028: WriteAttribute("src", Tuple.Create(" src=\"", 14125), Tuple.Create("\"", 14147)
Line 1029:
Line 1030: #line 297 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1031: , Tuple.Create(Tuple.Create("", 14131), Tuple.Create<System.Object, System.Int32>(featureImageUrl
Line 1032:
Line 1033: #line default
Line 1034: #line hidden
Line 1035: , 14131), false)
Line 1036: );
Line 1037:
Line 1038: WriteLiteral(" class=\"product-cat-2-img image\"");
Line 1039:
Line 1040: WriteAttribute("alt", Tuple.Create(" alt=\"", 14180), Tuple.Create("\"", 14221)
Line 1041:
Line 1042: #line 297 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1043: , Tuple.Create(Tuple.Create("", 14186), Tuple.Create<System.Object, System.Int32>(salesFeatureSection.Value("title")
Line 1044:
Line 1045: #line default
Line 1046: #line hidden
Line 1047: , 14186), false)
Line 1048: );
Line 1049:
Line 1050: WriteLiteral(" />\r\n");
Line 1051:
Line 1052:
Line 1053: #line 298 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1054: }
Line 1055:
Line 1056: }
Line 1057: else
Line 1058: {
Line 1059: string featureImageUrl = (salesFeature.GetProperty("imageUrl") != null) ? (string)salesFeature.Value("imageUrl") : string.Empty;
Line 1060:
Line 1061: if (string.IsNullOrEmpty(featureImageUrl))
Line 1062: {
Line 1063:
Line 1064: }
Line 1065: else
Line 1066: {
Line 1067:
Line 1068:
Line 1069: #line default
Line 1070: #line hidden
Line 1071: WriteLiteral(" <img");
Line 1072:
Line 1073: WriteLiteral(" id=\"i\"");
Line 1074:
Line 1075: WriteAttribute("src", Tuple.Create(" src=\"", 15056), Tuple.Create("\"", 15078)
Line 1076:
Line 1077: #line 311 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1078: , Tuple.Create(Tuple.Create("", 15062), Tuple.Create<System.Object, System.Int32>(featureImageUrl
Line 1079:
Line 1080: #line default
Line 1081: #line hidden
Line 1082: , 15062), false)
Line 1083: );
Line 1084:
Line 1085: WriteLiteral(" class=\"product-cat-2-img image\"");
Line 1086:
Line 1087: WriteAttribute("alt", Tuple.Create(" alt=\"", 15111), Tuple.Create("\"", 15145)
Line 1088:
Line 1089: #line 311 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1090: , Tuple.Create(Tuple.Create("", 15117), Tuple.Create<System.Object, System.Int32>(salesFeature.Value("title")
Line 1091:
Line 1092: #line default
Line 1093: #line hidden
Line 1094: , 15117), false)
Line 1095: );
Line 1096:
Line 1097: WriteLiteral(" />\r\n");
Line 1098:
Line 1099:
Line 1100: #line 312 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1101: }
Line 1102:
Line 1103:
Line 1104:
Line 1105: #line default
Line 1106: #line hidden
Line 1107: WriteLiteral(" <div");
Line 1108:
Line 1109: WriteLiteral(" class=\"col-md-12 col-sm-12 clearfix content-item\"");
Line 1110:
Line 1111: WriteLiteral(">\r\n");
Line 1112:
Line 1113: WriteLiteral(" ");
Line 1114:
Line 1115:
Line 1116: #line 315 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1117: Write(salesFeature.Value("title"));
Line 1118:
Line 1119:
Line 1120: #line default
Line 1121: #line hidden
Line 1122: WriteLiteral(" -\r\n");
Line 1123:
Line 1124: WriteLiteral(" ");
Line 1125:
Line 1126:
Line 1127: #line 316 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1128: Write(Html.Raw(salesFeature.Value("text")));
Line 1129:
Line 1130:
Line 1131: #line default
Line 1132: #line hidden
Line 1133: WriteLiteral("\r\n <div");
Line 1134:
Line 1135: WriteLiteral(" class=\"clear\"");
Line 1136:
Line 1137: WriteLiteral("></div>\r\n </div>\r\n");
Line 1138:
Line 1139:
Line 1140: #line 319 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1141:
Line 1142: }
Line 1143:
Line 1144: }
Line 1145: }
Line 1146:
Line 1147:
Line 1148: #line default
Line 1149: #line hidden
Line 1150: WriteLiteral(" </div>\r\n " +
Line 1151: " </div>\r\n </div>\r\n");
Line 1152:
Line 1153:
Line 1154: #line 327 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1155: }
Line 1156:
Line 1157:
Line 1158:
Line 1159:
Line 1160:
Line 1161:
Line 1162: }
Line 1163: }
Line 1164:
Line 1165:
Line 1166: #line default
Line 1167: #line hidden
Line 1168: WriteLiteral("\r\n </div>\r\n");
Line 1169:
Line 1170:
Line 1171: #line 338 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1172: }
Line 1173:
Line 1174:
Line 1175: #line default
Line 1176: #line hidden
Line 1177: WriteLiteral(" ");
Line 1178:
Line 1179:
Line 1180: #line 339 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1181: if (listOfRelatedProducts != null)
Line 1182: {
Line 1183:
Line 1184:
Line 1185: #line default
Line 1186: #line hidden
Line 1187: WriteLiteral(" <div");
Line 1188:
Line 1189: WriteLiteral(" class=\"tab-pane\"");
Line 1190:
Line 1191: WriteLiteral(" id=\"relatedproducts-tab\"");
Line 1192:
Line 1193: WriteLiteral(">\r\n\r\n");
Line 1194:
Line 1195:
Line 1196: #line 343 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1197:
Line 1198:
Line 1199: #line default
Line 1200: #line hidden
Line 1201:
Line 1202: #line 343 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1203: for (int index = 0; index < listOfRelatedProducts.Count; index++)
Line 1204: {
Line 1205: string productTitle = listOfRelatedProducts[index].Value("title").ToString();
Line 1206: string url = Gloo.CMS.Extensions.Utilities.Helpers.GetUrl(listOfRelatedProducts[index].Url);
Line 1207: string productImageUrl = (listOfRelatedProducts[index].GetProperty("imageUrl") != null) ? (string)listOfRelatedProducts[index].Value("imageUrl") : string.Empty;
Line 1208:
Line 1209: if (string.IsNullOrEmpty(productImageUrl))
Line 1210: {
Line 1211: productImageUrl = "http://s7d2.scene7.com/is/image/Caterpillar/no-image-available";
Line 1212: }
Line 1213:
Line 1214: productImageUrl = Gloo.CMS.Extensions.Utilities.Helpers.ConvertToSecureUrl(productImageUrl.Split('?')[0]) + "?wid=270&hei=213";
Line 1215:
Line 1216: IPublishedContent productSpecifications = listOfRelatedProducts[index].Children.FirstOrDefault(c => (c.IsVisible()) && (c.DocumentTypeAlias.Equals("ProductSpecifications", System.StringComparison.OrdinalIgnoreCase)));
Line 1217:
Line 1218:
Line 1219:
Line 1220: #line default
Line 1221: #line hidden
Line 1222: WriteLiteral(" <div");
Line 1223:
Line 1224: WriteAttribute("class", Tuple.Create(" class=\"", 17406), Tuple.Create("\"", 17500)
Line 1225: , Tuple.Create(Tuple.Create("", 17414), Tuple.Create("product-cat-2", 17414), true)
Line 1226:
Line 1227: #line 358 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1228: , Tuple.Create(Tuple.Create("", 17427), Tuple.Create<System.Object, System.Int32>(Html.Raw(((index + 1) % 3 == 0) ? " product-cat-third" : string.Empty)
Line 1229:
Line 1230: #line default
Line 1231: #line hidden
Line 1232: , 17427), false)
Line 1233: );
Line 1234:
Line 1235: WriteLiteral(">\r\n\r\n <a");
Line 1236:
Line 1237: WriteAttribute("href", Tuple.Create(" href=\"", 17536), Tuple.Create("\"", 17547)
Line 1238:
Line 1239: #line 360 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1240: , Tuple.Create(Tuple.Create("", 17543), Tuple.Create<System.Object, System.Int32>(url
Line 1241:
Line 1242: #line default
Line 1243: #line hidden
Line 1244: , 17543), false)
Line 1245: );
Line 1246:
Line 1247: WriteLiteral(" target=\"_self\"");
Line 1248:
Line 1249: WriteAttribute("title", Tuple.Create(" title=\"", 17563), Tuple.Create("\"", 17584)
Line 1250:
Line 1251: #line 360 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1252: , Tuple.Create(Tuple.Create("", 17571), Tuple.Create<System.Object, System.Int32>(productTitle
Line 1253:
Line 1254: #line default
Line 1255: #line hidden
Line 1256: , 17571), false)
Line 1257: );
Line 1258:
Line 1259: WriteLiteral("><img");
Line 1260:
Line 1261: WriteLiteral(" id=\"i\"");
Line 1262:
Line 1263: WriteAttribute("src", Tuple.Create(" src=\"", 17597), Tuple.Create("\"", 17619)
Line 1264:
Line 1265: #line 360 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1266: , Tuple.Create(Tuple.Create("", 17603), Tuple.Create<System.Object, System.Int32>(productImageUrl
Line 1267:
Line 1268: #line default
Line 1269: #line hidden
Line 1270: , 17603), false)
Line 1271: );
Line 1272:
Line 1273: WriteLiteral(" class=\"product-cat-2-img image\"");
Line 1274:
Line 1275: WriteAttribute("alt", Tuple.Create(" alt=\"", 17652), Tuple.Create("\"", 17671)
Line 1276:
Line 1277: #line 360 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1278: , Tuple.Create(Tuple.Create("", 17658), Tuple.Create<System.Object, System.Int32>(productTitle
Line 1279:
Line 1280: #line default
Line 1281: #line hidden
Line 1282: , 17658), false)
Line 1283: );
Line 1284:
Line 1285: WriteLiteral(" /></a>\r\n <div");
Line 1286:
Line 1287: WriteLiteral(" class=\"product-cat-1-btn clearfix\"");
Line 1288:
Line 1289: WriteLiteral("><a");
Line 1290:
Line 1291: WriteAttribute("href", Tuple.Create(" href=\"", 17751), Tuple.Create("\"", 17762)
Line 1292:
Line 1293: #line 361 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1294: , Tuple.Create(Tuple.Create("", 17758), Tuple.Create<System.Object, System.Int32>(url
Line 1295:
Line 1296: #line default
Line 1297: #line hidden
Line 1298: , 17758), false)
Line 1299: );
Line 1300:
Line 1301: WriteLiteral(" target=\"_self\"");
Line 1302:
Line 1303: WriteAttribute("title", Tuple.Create(" title=\"", 17778), Tuple.Create("\"", 17799)
Line 1304:
Line 1305: #line 361 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1306: , Tuple.Create(Tuple.Create("", 17786), Tuple.Create<System.Object, System.Int32>(productTitle
Line 1307:
Line 1308: #line default
Line 1309: #line hidden
Line 1310: , 17786), false)
Line 1311: );
Line 1312:
Line 1313: WriteLiteral(" class=\"btn pull-left\"");
Line 1314:
Line 1315: WriteLiteral(">");
Line 1316:
Line 1317:
Line 1318: #line 361 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1319: Write(productTitle);
Line 1320:
Line 1321:
Line 1322: #line default
Line 1323: #line hidden
Line 1324: WriteLiteral("</a></div>\r\n");
Line 1325:
Line 1326:
Line 1327: #line 362 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1328:
Line 1329:
Line 1330: #line default
Line 1331: #line hidden
Line 1332:
Line 1333: #line 362 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1334: if (productSpecifications != null)
Line 1335: {
Line 1336:
Line 1337:
Line 1338: #line default
Line 1339: #line hidden
Line 1340:
Line 1341: #line 364 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1342: Write(Html.Raw(productSpecifications.Value<string>("introduction")));
Line 1343:
Line 1344:
Line 1345: #line default
Line 1346: #line hidden
Line 1347:
Line 1348: #line 364 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1349:
Line 1350: }
Line 1351:
Line 1352:
Line 1353: #line default
Line 1354: #line hidden
Line 1355: WriteLiteral(" </div>\r\n");
Line 1356:
Line 1357:
Line 1358: #line 367 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1359:
Line 1360: if (index == listOfRelatedProducts.Count - 1)
Line 1361: {
Line 1362:
Line 1363:
Line 1364: #line default
Line 1365: #line hidden
Line 1366: WriteLiteral(" <div");
Line 1367:
Line 1368: WriteLiteral(" class=\"clear\"");
Line 1369:
Line 1370: WriteLiteral("><!-- clear --></div>\r\n");
Line 1371:
Line 1372:
Line 1373: #line 371 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1374: }
Line 1375: }
Line 1376:
Line 1377:
Line 1378: #line default
Line 1379: #line hidden
Line 1380: WriteLiteral("\r\n\r\n </div>\r\n");
Line 1381:
Line 1382:
Line 1383: #line 376 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1384: }
Line 1385:
Line 1386:
Line 1387: #line default
Line 1388: #line hidden
Line 1389: WriteLiteral(" </div>\r\n</div>\r\n\r\n<!--for mobi-->\r\n<div");
Line 1390:
Line 1391: WriteLiteral(" class=\"product-info-mobi mobi\"");
Line 1392:
Line 1393: WriteLiteral(">\r\n\r\n <div");
Line 1394:
Line 1395: WriteLiteral(" class=\"accordion\"");
Line 1396:
Line 1397: WriteLiteral(">\r\n");
Line 1398:
Line 1399:
Line 1400: #line 384 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1401:
Line 1402:
Line 1403: #line default
Line 1404: #line hidden
Line 1405:
Line 1406: #line 384 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1407: if (ProductSpecifications != null)
Line 1408: {
Line 1409:
Line 1410:
Line 1411: #line default
Line 1412: #line hidden
Line 1413: WriteLiteral(" <div");
Line 1414:
Line 1415: WriteLiteral(" class=\"accordion-head\"");
Line 1416:
Line 1417: WriteLiteral("><h3");
Line 1418:
Line 1419: WriteLiteral(" class=\"accordion-head-text\"");
Line 1420:
Line 1421: WriteLiteral(">Specifications</h3></div>\r\n");
Line 1422:
Line 1423:
Line 1424: #line 387 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1425:
Line 1426:
Line 1427:
Line 1428: #line default
Line 1429: #line hidden
Line 1430: WriteLiteral(" <div");
Line 1431:
Line 1432: WriteLiteral(" class=\"accordion-content\"");
Line 1433:
Line 1434: WriteLiteral(">\r\n <div");
Line 1435:
Line 1436: WriteLiteral(" class=\"prod-specifications-content\"");
Line 1437:
Line 1438: WriteLiteral(">\r\n");
Line 1439:
Line 1440:
Line 1441: #line 390 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1442:
Line 1443:
Line 1444: #line default
Line 1445: #line hidden
Line 1446:
Line 1447: #line 390 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1448: if (ProductSpecifications.Value<string>("overview") != "")
Line 1449: {
Line 1450:
Line 1451:
Line 1452: #line default
Line 1453: #line hidden
Line 1454: WriteLiteral(" <h1>Overview</h1>\r\n");
Line 1455:
Line 1456:
Line 1457: #line 393 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1458:
Line 1459:
Line 1460: #line default
Line 1461: #line hidden
Line 1462:
Line 1463: #line 393 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1464: Write(Html.Raw(ProductSpecifications.Value<string>("overview")));
Line 1465:
Line 1466:
Line 1467: #line default
Line 1468: #line hidden
Line 1469:
Line 1470: #line 393 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1471:
Line 1472: }
Line 1473:
Line 1474:
Line 1475: #line default
Line 1476: #line hidden
Line 1477: WriteLiteral(" ");
Line 1478:
Line 1479:
Line 1480: #line 395 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1481: Write(Html.Raw(ProductSpecifications.Value<string>("specifications")));
Line 1482:
Line 1483:
Line 1484: #line default
Line 1485: #line hidden
Line 1486: WriteLiteral("\r\n <!-- title - end -->\r\n </div>\r\n " +
Line 1487: " </div>\r\n");
Line 1488:
Line 1489:
Line 1490: #line 399 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1491: }
Line 1492:
Line 1493:
Line 1494: #line default
Line 1495: #line hidden
Line 1496: WriteLiteral(" ");
Line 1497:
Line 1498:
Line 1499: #line 400 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1500: if (productEquipment != null)
Line 1501: {
Line 1502:
Line 1503:
Line 1504: #line default
Line 1505: #line hidden
Line 1506: WriteLiteral(" <div");
Line 1507:
Line 1508: WriteLiteral(" class=\"accordion-head\"");
Line 1509:
Line 1510: WriteLiteral("><h3");
Line 1511:
Line 1512: WriteLiteral(" class=\"accordion-head-text\"");
Line 1513:
Line 1514: WriteLiteral(">Equipment</h3></div>\r\n");
Line 1515:
Line 1516: WriteLiteral(" <div");
Line 1517:
Line 1518: WriteLiteral(" class=\"accordion-content\"");
Line 1519:
Line 1520: WriteLiteral(">\r\n\r\n <div");
Line 1521:
Line 1522: WriteLiteral(" class=\"prod-equip-info\"");
Line 1523:
Line 1524: WriteLiteral(">\r\n");
Line 1525:
Line 1526:
Line 1527: #line 406 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1528:
Line 1529:
Line 1530: #line default
Line 1531: #line hidden
Line 1532:
Line 1533: #line 406 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1534: if (!string.IsNullOrWhiteSpace(productEquipment.Value<string>("standardEquipment")))
Line 1535: {
Line 1536:
Line 1537:
Line 1538: #line default
Line 1539: #line hidden
Line 1540: WriteLiteral(" <div");
Line 1541:
Line 1542: WriteLiteral(" class=\"col-md-6 col-sm-6 clearfix\"");
Line 1543:
Line 1544: WriteLiteral(">\r\n <div");
Line 1545:
Line 1546: WriteLiteral(" class=\"prod-equip-left\"");
Line 1547:
Line 1548: WriteLiteral(">\r\n <h2>");
Line 1549:
Line 1550:
Line 1551: #line 410 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1552: Write(title);
Line 1553:
Line 1554:
Line 1555: #line default
Line 1556: #line hidden
Line 1557: WriteLiteral(" ");
Line 1558:
Line 1559:
Line 1560: #line 410 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1561: Write(Gloo.CMS.Extensions.Utilities.Helpers.GetDictionaryValue("Standard Equipment"));
Line 1562:
Line 1563:
Line 1564: #line default
Line 1565: #line hidden
Line 1566: WriteLiteral("</h2>\r\n");
Line 1567:
Line 1568: WriteLiteral(" ");
Line 1569:
Line 1570:
Line 1571: #line 411 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1572: Write(Html.Raw(productEquipment.Value<string>("standardEquipment")));
Line 1573:
Line 1574:
Line 1575: #line default
Line 1576: #line hidden
Line 1577: WriteLiteral("\r\n </div>\r\n </d" +
Line 1578: "iv>\r\n");
Line 1579:
Line 1580:
Line 1581: #line 414 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1582: }
Line 1583:
Line 1584:
Line 1585: #line default
Line 1586: #line hidden
Line 1587: WriteLiteral("\r\n");
Line 1588:
Line 1589:
Line 1590: #line 416 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1591:
Line 1592:
Line 1593: #line default
Line 1594: #line hidden
Line 1595:
Line 1596: #line 416 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1597: if (!string.IsNullOrWhiteSpace(productEquipment.Value<string>("optionalEquipment")))
Line 1598: {
Line 1599:
Line 1600:
Line 1601: #line default
Line 1602: #line hidden
Line 1603: WriteLiteral(" <div");
Line 1604:
Line 1605: WriteLiteral(" class=\"col-md-6 col-sm-6 clearfix\"");
Line 1606:
Line 1607: WriteLiteral(">\r\n <div");
Line 1608:
Line 1609: WriteAttribute("class", Tuple.Create(" class=\"", 20373), Tuple.Create("\"", 20476)
Line 1610: , Tuple.Create(Tuple.Create("", 20381), Tuple.Create("prod-equip-", 20381), true)
Line 1611:
Line 1612: #line 419 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1613: , Tuple.Create(Tuple.Create("", 20392), Tuple.Create<System.Object, System.Int32>(((standardEquipment != null) && (standardEquipment.Count > 0)) ? "right" : "left"
Line 1614:
Line 1615: #line default
Line 1616: #line hidden
Line 1617: , 20392), false)
Line 1618: );
Line 1619:
Line 1620: WriteLiteral(">\r\n <h2>");
Line 1621:
Line 1622:
Line 1623: #line 420 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1624: Write(title);
Line 1625:
Line 1626:
Line 1627: #line default
Line 1628: #line hidden
Line 1629: WriteLiteral(" ");
Line 1630:
Line 1631:
Line 1632: #line 420 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1633: Write(Gloo.CMS.Extensions.Utilities.Helpers.GetDictionaryValue("Optional Equipment"));
Line 1634:
Line 1635:
Line 1636: #line default
Line 1637: #line hidden
Line 1638: WriteLiteral("</h2>\r\n");
Line 1639:
Line 1640: WriteLiteral(" ");
Line 1641:
Line 1642:
Line 1643: #line 421 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1644: Write(Html.Raw(productEquipment.Value<string>("optionalEquipment")));
Line 1645:
Line 1646:
Line 1647: #line default
Line 1648: #line hidden
Line 1649: WriteLiteral("\r\n </div>\r\n </d" +
Line 1650: "iv>\r\n");
Line 1651:
Line 1652:
Line 1653: #line 424 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1654: }
Line 1655:
Line 1656:
Line 1657: #line default
Line 1658: #line hidden
Line 1659: WriteLiteral(" </div>\r\n </div>\r\n");
Line 1660:
Line 1661:
Line 1662: #line 427 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1663: }
Line 1664:
Line 1665:
Line 1666: #line default
Line 1667: #line hidden
Line 1668: WriteLiteral(" ");
Line 1669:
Line 1670:
Line 1671: #line 428 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1672: if (Interactive != null)
Line 1673: {
Line 1674:
Line 1675:
Line 1676: #line default
Line 1677: #line hidden
Line 1678: WriteLiteral(" <div");
Line 1679:
Line 1680: WriteLiteral(" class=\"accordion-head\"");
Line 1681:
Line 1682: WriteLiteral("><h3");
Line 1683:
Line 1684: WriteLiteral(" class=\"accordion-head-text\"");
Line 1685:
Line 1686: WriteLiteral(">360° Interactive</h3></div>\r\n");
Line 1687:
Line 1688: WriteLiteral(" <div");
Line 1689:
Line 1690: WriteLiteral(" class=\"accordion-content\"");
Line 1691:
Line 1692: WriteLiteral(">\r\n <div");
Line 1693:
Line 1694: WriteLiteral(" class=\"360-interactive-content\"");
Line 1695:
Line 1696: WriteLiteral(">\r\n");
Line 1697:
Line 1698:
Line 1699: #line 433 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1700:
Line 1701:
Line 1702: #line default
Line 1703: #line hidden
Line 1704:
Line 1705: #line 433 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1706: if (!string.IsNullOrEmpty(exteriorViewUrl))
Line 1707: {
Line 1708: string exteriorTtitle = Gloo.CMS.Extensions.Utilities.Helpers.GetDictionaryValue("Exterior");
Line 1709:
Line 1710:
Line 1711:
Line 1712: #line default
Line 1713: #line hidden
Line 1714: WriteLiteral(" <h2>");
Line 1715:
Line 1716:
Line 1717: #line 437 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1718: Write(exteriorTtitle);
Line 1719:
Line 1720:
Line 1721: #line default
Line 1722: #line hidden
Line 1723: WriteLiteral("</h2>\r\n");
Line 1724:
Line 1725: WriteLiteral(" <div");
Line 1726:
Line 1727: WriteLiteral(" class=\"framed-content\"");
Line 1728:
Line 1729: WriteLiteral(" data-url=\"");
Line 1730:
Line 1731:
Line 1732: #line 438 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1733: Write(Gloo.CMS.Extensions.Utilities.Helpers.ConvertToSecureUrl(exteriorViewUrl));
Line 1734:
Line 1735:
Line 1736: #line default
Line 1737: #line hidden
Line 1738: WriteLiteral("\"");
Line 1739:
Line 1740: WriteLiteral(" data-image=\"");
Line 1741:
Line 1742:
Line 1743: #line 438 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1744: Write(Gloo.CMS.Extensions.Utilities.Helpers.GetUrl("~/images/default/img/img-360-interactive-placeholder.jpg"));
Line 1745:
Line 1746:
Line 1747: #line default
Line 1748: #line hidden
Line 1749: WriteLiteral("\"");
Line 1750:
Line 1751: WriteLiteral(" data-title=\"");
Line 1752:
Line 1753:
Line 1754: #line 438 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1755: Write(exteriorTtitle);
Line 1756:
Line 1757:
Line 1758: #line default
Line 1759: #line hidden
Line 1760: WriteLiteral("\"");
Line 1761:
Line 1762: WriteLiteral("></div>\r\n");
Line 1763:
Line 1764:
Line 1765: #line 439 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1766: }
Line 1767:
Line 1768:
Line 1769: #line default
Line 1770: #line hidden
Line 1771: WriteLiteral("\r\n");
Line 1772:
Line 1773:
Line 1774: #line 441 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1775:
Line 1776:
Line 1777: #line default
Line 1778: #line hidden
Line 1779:
Line 1780: #line 441 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1781: if (!string.IsNullOrEmpty(interiorViewUrl))
Line 1782: {
Line 1783: string interiorTitle = Gloo.CMS.Extensions.Utilities.Helpers.GetDictionaryValue("Interior");
Line 1784:
Line 1785:
Line 1786:
Line 1787: #line default
Line 1788: #line hidden
Line 1789: WriteLiteral(" <h2>");
Line 1790:
Line 1791:
Line 1792: #line 445 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1793: Write(interiorTitle);
Line 1794:
Line 1795:
Line 1796: #line default
Line 1797: #line hidden
Line 1798: WriteLiteral("</h2>\r\n");
Line 1799:
Line 1800: WriteLiteral(" <div");
Line 1801:
Line 1802: WriteLiteral(" class=\"framed-content\"");
Line 1803:
Line 1804: WriteLiteral(" data-url=\"");
Line 1805:
Line 1806:
Line 1807: #line 446 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1808: Write(Gloo.CMS.Extensions.Utilities.Helpers.ConvertToSecureUrl(interiorViewUrl));
Line 1809:
Line 1810:
Line 1811: #line default
Line 1812: #line hidden
Line 1813: WriteLiteral("\"");
Line 1814:
Line 1815: WriteLiteral(" data-image=\"");
Line 1816:
Line 1817:
Line 1818: #line 446 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1819: Write(Gloo.CMS.Extensions.Utilities.Helpers.GetUrl("~/images/default/img/img-360-interactive-placeholder.jpg"));
Line 1820:
Line 1821:
Line 1822: #line default
Line 1823: #line hidden
Line 1824: WriteLiteral("\"");
Line 1825:
Line 1826: WriteLiteral(" data-title=\"");
Line 1827:
Line 1828:
Line 1829: #line 446 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1830: Write(interiorTitle);
Line 1831:
Line 1832:
Line 1833: #line default
Line 1834: #line hidden
Line 1835: WriteLiteral("\"");
Line 1836:
Line 1837: WriteLiteral("></div>\r\n");
Line 1838:
Line 1839:
Line 1840: #line 447 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1841: }
Line 1842:
Line 1843:
Line 1844: #line default
Line 1845: #line hidden
Line 1846: WriteLiteral(" </div>\r\n </div>\r\n");
Line 1847:
Line 1848:
Line 1849: #line 450 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1850: }
Line 1851:
Line 1852:
Line 1853: #line default
Line 1854: #line hidden
Line 1855: WriteLiteral(" ");
Line 1856:
Line 1857:
Line 1858: #line 451 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1859: if (benefitsAndFeatures != null)
Line 1860: {
Line 1861:
Line 1862:
Line 1863: #line default
Line 1864: #line hidden
Line 1865: WriteLiteral(" <div");
Line 1866:
Line 1867: WriteLiteral(" class=\"accordion-head\"");
Line 1868:
Line 1869: WriteLiteral("><h3");
Line 1870:
Line 1871: WriteLiteral(" class=\"accordion-head-text\"");
Line 1872:
Line 1873: WriteLiteral(">Benefits and Features</h3></div>\r\n");
Line 1874:
Line 1875: WriteLiteral(" <div");
Line 1876:
Line 1877: WriteLiteral(" class=\"accordion-content\"");
Line 1878:
Line 1879: WriteLiteral(">\r\n\r\n");
Line 1880:
Line 1881:
Line 1882: #line 456 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1883:
Line 1884:
Line 1885: #line default
Line 1886: #line hidden
Line 1887:
Line 1888: #line 456 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1889: foreach (IPublishedContent salesFeatureSection in salesFeatureSections)
Line 1890: {
Line 1891: string featureSectionImageUrl = (salesFeatureSection.GetProperty("imageUrl") != null) ? (string)salesFeatureSection.Value("imageUrl") : string.Empty;
Line 1892:
Line 1893: if (string.IsNullOrEmpty(featureSectionImageUrl))
Line 1894: {
Line 1895:
Line 1896: }
Line 1897: else
Line 1898: {
Line 1899:
Line 1900:
Line 1901: #line default
Line 1902: #line hidden
Line 1903: WriteLiteral(" <img");
Line 1904:
Line 1905: WriteLiteral(" id=\"i\"");
Line 1906:
Line 1907: WriteAttribute("src", Tuple.Create(" src=\"", 23330), Tuple.Create("\"", 23359)
Line 1908:
Line 1909: #line 466 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1910: , Tuple.Create(Tuple.Create("", 23336), Tuple.Create<System.Object, System.Int32>(featureSectionImageUrl
Line 1911:
Line 1912: #line default
Line 1913: #line hidden
Line 1914: , 23336), false)
Line 1915: );
Line 1916:
Line 1917: WriteLiteral(" class=\"product-cat-2-img image\"");
Line 1918:
Line 1919: WriteAttribute("alt", Tuple.Create(" alt=\"", 23392), Tuple.Create("\"", 23433)
Line 1920:
Line 1921: #line 466 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1922: , Tuple.Create(Tuple.Create("", 23398), Tuple.Create<System.Object, System.Int32>(salesFeatureSection.Value("title")
Line 1923:
Line 1924: #line default
Line 1925: #line hidden
Line 1926: , 23398), false)
Line 1927: );
Line 1928:
Line 1929: WriteLiteral(" />\r\n");
Line 1930:
Line 1931:
Line 1932: #line 467 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1933: }
Line 1934: System.Collections.Generic.List<IPublishedContent>
Line 1935: salesFeatures = salesFeatureSection.Children.Where(c => (c.IsVisible()) && (c.IsDocumentType("SalesFeature"))).ToList();
Line 1936: if (salesFeatureSection.Value("title").ToString().ToLower().Contains("FeatureSection"))
Line 1937: {
Line 1938:
Line 1939:
Line 1940: #line default
Line 1941: #line hidden
Line 1942: WriteLiteral(" <p>");
Line 1943:
Line 1944:
Line 1945: #line 472 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1946: Write(Html.Raw(salesFeatureSection.Value("text")));
Line 1947:
Line 1948:
Line 1949: #line default
Line 1950: #line hidden
Line 1951: WriteLiteral("</p>\r\n");
Line 1952:
Line 1953:
Line 1954: #line 473 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1955: }
Line 1956: else
Line 1957: {
Line 1958:
Line 1959:
Line 1960: #line default
Line 1961: #line hidden
Line 1962: WriteLiteral(" <h2>");
Line 1963:
Line 1964:
Line 1965: #line 476 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1966: Write(salesFeatureSection.Value("title"));
Line 1967:
Line 1968:
Line 1969: #line default
Line 1970: #line hidden
Line 1971: WriteLiteral("</h2>\r\n");
Line 1972:
Line 1973:
Line 1974: #line 477 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 1975:
Line 1976:
Line 1977:
Line 1978: #line default
Line 1979: #line hidden
Line 1980: WriteLiteral(" <div");
Line 1981:
Line 1982: WriteLiteral(" class=\"benefits-features-info\"");
Line 1983:
Line 1984: WriteLiteral(">\r\n <div");
Line 1985:
Line 1986: WriteLiteral(" class=\"accordion\"");
Line 1987:
Line 1988: WriteLiteral(">\r\n <div");
Line 1989:
Line 1990: WriteLiteral(" class=\"accordion-head\"");
Line 1991:
Line 1992: WriteLiteral("><h3");
Line 1993:
Line 1994: WriteLiteral(" class=\"accordion-head-text\"");
Line 1995:
Line 1996: WriteLiteral(">");
Line 1997:
Line 1998:
Line 1999: #line 480 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2000: Write(salesFeatureSection.Value("title"));
Line 2001:
Line 2002:
Line 2003: #line default
Line 2004: #line hidden
Line 2005: WriteLiteral("</h3></div>\r\n <div");
Line 2006:
Line 2007: WriteLiteral(" class=\"accordion-content\"");
Line 2008:
Line 2009: WriteLiteral(">\r\n");
Line 2010:
Line 2011:
Line 2012: #line 482 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2013:
Line 2014:
Line 2015: #line default
Line 2016: #line hidden
Line 2017:
Line 2018: #line 482 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2019: if ((salesFeatures != null) && (salesFeatures.Count > 0))
Line 2020: {
Line 2021: foreach (IPublishedContent salesFeature in salesFeatures)
Line 2022: {
Line 2023: if (salesFeature.Value("title").ToString().ToLower().Contains("feature"))
Line 2024: {
Line 2025:
Line 2026:
Line 2027:
Line 2028:
Line 2029:
Line 2030: #line default
Line 2031: #line hidden
Line 2032: WriteLiteral(" <div");
Line 2033:
Line 2034: WriteLiteral(" class=\"col-md-12 col-sm-12 clearfix content-item\"");
Line 2035:
Line 2036: WriteLiteral(">\r\n");
Line 2037:
Line 2038: WriteLiteral(" ");
Line 2039:
Line 2040:
Line 2041: #line 492 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2042: Write(Html.Raw(salesFeature.Value("text")));
Line 2043:
Line 2044:
Line 2045: #line default
Line 2046: #line hidden
Line 2047: WriteLiteral("\r\n <div");
Line 2048:
Line 2049: WriteLiteral(" class=\"clear\"");
Line 2050:
Line 2051: WriteLiteral("></div>\r\n </div>\r\n");
Line 2052:
Line 2053:
Line 2054: #line 495 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2055: string featureImageUrl = (salesFeature.GetProperty("imageUrl") != null) ? (string)salesFeature.Value("imageUrl") : string.Empty;
Line 2056:
Line 2057: if (string.IsNullOrEmpty(featureImageUrl))
Line 2058: {
Line 2059:
Line 2060: }
Line 2061: else
Line 2062: {
Line 2063:
Line 2064:
Line 2065: #line default
Line 2066: #line hidden
Line 2067: WriteLiteral(" <img");
Line 2068:
Line 2069: WriteLiteral(" id=\"i\"");
Line 2070:
Line 2071: WriteAttribute("src", Tuple.Create(" src=\"", 25925), Tuple.Create("\"", 25947)
Line 2072:
Line 2073: #line 503 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2074: , Tuple.Create(Tuple.Create("", 25931), Tuple.Create<System.Object, System.Int32>(featureImageUrl
Line 2075:
Line 2076: #line default
Line 2077: #line hidden
Line 2078: , 25931), false)
Line 2079: );
Line 2080:
Line 2081: WriteLiteral(" class=\"product-cat-2-img image\"");
Line 2082:
Line 2083: WriteAttribute("alt", Tuple.Create(" alt=\"", 25980), Tuple.Create("\"", 26021)
Line 2084:
Line 2085: #line 503 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2086: , Tuple.Create(Tuple.Create("", 25986), Tuple.Create<System.Object, System.Int32>(salesFeatureSection.Value("title")
Line 2087:
Line 2088: #line default
Line 2089: #line hidden
Line 2090: , 25986), false)
Line 2091: );
Line 2092:
Line 2093: WriteLiteral(" />\r\n");
Line 2094:
Line 2095:
Line 2096: #line 504 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2097: }
Line 2098:
Line 2099: }
Line 2100: else
Line 2101: {
Line 2102: string featureImageUrl = (salesFeature.GetProperty("imageUrl") != null) ? (string)salesFeature.Value("imageUrl") : string.Empty;
Line 2103:
Line 2104: if (string.IsNullOrEmpty(featureImageUrl))
Line 2105: {
Line 2106:
Line 2107: }
Line 2108: else
Line 2109: {
Line 2110:
Line 2111:
Line 2112: #line default
Line 2113: #line hidden
Line 2114: WriteLiteral(" <img");
Line 2115:
Line 2116: WriteLiteral(" id=\"i\"");
Line 2117:
Line 2118: WriteAttribute("src", Tuple.Create(" src=\"", 26856), Tuple.Create("\"", 26878)
Line 2119:
Line 2120: #line 517 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2121: , Tuple.Create(Tuple.Create("", 26862), Tuple.Create<System.Object, System.Int32>(featureImageUrl
Line 2122:
Line 2123: #line default
Line 2124: #line hidden
Line 2125: , 26862), false)
Line 2126: );
Line 2127:
Line 2128: WriteLiteral(" class=\"product-cat-2-img image\"");
Line 2129:
Line 2130: WriteAttribute("alt", Tuple.Create(" alt=\"", 26911), Tuple.Create("\"", 26945)
Line 2131:
Line 2132: #line 517 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2133: , Tuple.Create(Tuple.Create("", 26917), Tuple.Create<System.Object, System.Int32>(salesFeature.Value("title")
Line 2134:
Line 2135: #line default
Line 2136: #line hidden
Line 2137: , 26917), false)
Line 2138: );
Line 2139:
Line 2140: WriteLiteral(" />\r\n");
Line 2141:
Line 2142:
Line 2143: #line 518 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2144: }
Line 2145:
Line 2146:
Line 2147:
Line 2148: #line default
Line 2149: #line hidden
Line 2150: WriteLiteral(" <div");
Line 2151:
Line 2152: WriteLiteral(" class=\"col-md-12 col-sm-12 clearfix content-item\"");
Line 2153:
Line 2154: WriteLiteral(">\r\n");
Line 2155:
Line 2156: WriteLiteral(" ");
Line 2157:
Line 2158:
Line 2159: #line 521 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2160: Write(salesFeature.Value("title"));
Line 2161:
Line 2162:
Line 2163: #line default
Line 2164: #line hidden
Line 2165: WriteLiteral(" -\r\n");
Line 2166:
Line 2167: WriteLiteral(" ");
Line 2168:
Line 2169:
Line 2170: #line 522 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2171: Write(Html.Raw(salesFeature.Value("text")));
Line 2172:
Line 2173:
Line 2174: #line default
Line 2175: #line hidden
Line 2176: WriteLiteral("\r\n <div");
Line 2177:
Line 2178: WriteLiteral(" class=\"clear\"");
Line 2179:
Line 2180: WriteLiteral("></div>\r\n </div>\r\n");
Line 2181:
Line 2182:
Line 2183: #line 525 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2184:
Line 2185: }
Line 2186:
Line 2187: }
Line 2188: }
Line 2189:
Line 2190:
Line 2191: #line default
Line 2192: #line hidden
Line 2193: WriteLiteral(" </div>\r\n " +
Line 2194: " </div>\r\n </div>\r\n");
Line 2195:
Line 2196:
Line 2197: #line 533 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2198: }
Line 2199:
Line 2200:
Line 2201:
Line 2202:
Line 2203:
Line 2204:
Line 2205:
Line 2206: }
Line 2207:
Line 2208:
Line 2209: #line default
Line 2210: #line hidden
Line 2211: WriteLiteral(" </div>\r\n");
Line 2212:
Line 2213:
Line 2214: #line 543 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2215: }
Line 2216:
Line 2217:
Line 2218: #line default
Line 2219: #line hidden
Line 2220: WriteLiteral(" ");
Line 2221:
Line 2222:
Line 2223: #line 544 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2224: if (listOfRelatedProducts != null)
Line 2225: {
Line 2226:
Line 2227:
Line 2228: #line default
Line 2229: #line hidden
Line 2230: WriteLiteral(" <div");
Line 2231:
Line 2232: WriteLiteral(" class=\"accordion-head\"");
Line 2233:
Line 2234: WriteLiteral("><h3");
Line 2235:
Line 2236: WriteLiteral(" class=\"accordion-head-text\"");
Line 2237:
Line 2238: WriteLiteral(">Related Products</h3></div>\r\n");
Line 2239:
Line 2240: WriteLiteral(" <div");
Line 2241:
Line 2242: WriteLiteral(" class=\"accordion-content\"");
Line 2243:
Line 2244: WriteLiteral(">\r\n\r\n");
Line 2245:
Line 2246:
Line 2247: #line 549 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2248:
Line 2249:
Line 2250: #line default
Line 2251: #line hidden
Line 2252:
Line 2253: #line 549 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2254: for (int index = 0; index < listOfRelatedProducts.Count; index++)
Line 2255: {
Line 2256: string productTitle = listOfRelatedProducts[index].Value("title").ToString();
Line 2257: string url = Gloo.CMS.Extensions.Utilities.Helpers.GetUrl(listOfRelatedProducts[index].Url);
Line 2258: string productImageUrl = (listOfRelatedProducts[index].GetProperty("imageUrl") != null) ? (string)listOfRelatedProducts[index].Value("imageUrl") : string.Empty;
Line 2259:
Line 2260: if (string.IsNullOrEmpty(productImageUrl))
Line 2261: {
Line 2262: productImageUrl = "http://s7d2.scene7.com/is/image/Caterpillar/no-image-available";
Line 2263: }
Line 2264:
Line 2265: productImageUrl = Gloo.CMS.Extensions.Utilities.Helpers.ConvertToSecureUrl(productImageUrl.Split('?')[0]) + "?wid=270&hei=213";
Line 2266:
Line 2267: IPublishedContent productSpecifications = listOfRelatedProducts[index].Children.FirstOrDefault(c => (c.IsVisible()) && (c.DocumentTypeAlias.Equals("ProductSpecifications", System.StringComparison.OrdinalIgnoreCase)));
Line 2268:
Line 2269:
Line 2270:
Line 2271: #line default
Line 2272: #line hidden
Line 2273: WriteLiteral(" <div");
Line 2274:
Line 2275: WriteAttribute("class", Tuple.Create(" class=\"", 29368), Tuple.Create("\"", 29462)
Line 2276: , Tuple.Create(Tuple.Create("", 29376), Tuple.Create("product-cat-2", 29376), true)
Line 2277:
Line 2278: #line 564 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2279: , Tuple.Create(Tuple.Create("", 29389), Tuple.Create<System.Object, System.Int32>(Html.Raw(((index + 1) % 3 == 0) ? " product-cat-third" : string.Empty)
Line 2280:
Line 2281: #line default
Line 2282: #line hidden
Line 2283: , 29389), false)
Line 2284: );
Line 2285:
Line 2286: WriteLiteral(">\r\n\r\n <a");
Line 2287:
Line 2288: WriteAttribute("href", Tuple.Create(" href=\"", 29502), Tuple.Create("\"", 29513)
Line 2289:
Line 2290: #line 566 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2291: , Tuple.Create(Tuple.Create("", 29509), Tuple.Create<System.Object, System.Int32>(url
Line 2292:
Line 2293: #line default
Line 2294: #line hidden
Line 2295: , 29509), false)
Line 2296: );
Line 2297:
Line 2298: WriteLiteral(" target=\"_self\"");
Line 2299:
Line 2300: WriteAttribute("title", Tuple.Create(" title=\"", 29529), Tuple.Create("\"", 29550)
Line 2301:
Line 2302: #line 566 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2303: , Tuple.Create(Tuple.Create("", 29537), Tuple.Create<System.Object, System.Int32>(productTitle
Line 2304:
Line 2305: #line default
Line 2306: #line hidden
Line 2307: , 29537), false)
Line 2308: );
Line 2309:
Line 2310: WriteLiteral("><img");
Line 2311:
Line 2312: WriteLiteral(" id=\"i\"");
Line 2313:
Line 2314: WriteAttribute("src", Tuple.Create(" src=\"", 29563), Tuple.Create("\"", 29585)
Line 2315:
Line 2316: #line 566 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2317: , Tuple.Create(Tuple.Create("", 29569), Tuple.Create<System.Object, System.Int32>(productImageUrl
Line 2318:
Line 2319: #line default
Line 2320: #line hidden
Line 2321: , 29569), false)
Line 2322: );
Line 2323:
Line 2324: WriteLiteral(" class=\"product-cat-2-img image\"");
Line 2325:
Line 2326: WriteAttribute("alt", Tuple.Create(" alt=\"", 29618), Tuple.Create("\"", 29637)
Line 2327:
Line 2328: #line 566 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2329: , Tuple.Create(Tuple.Create("", 29624), Tuple.Create<System.Object, System.Int32>(productTitle
Line 2330:
Line 2331: #line default
Line 2332: #line hidden
Line 2333: , 29624), false)
Line 2334: );
Line 2335:
Line 2336: WriteLiteral(" /></a>\r\n <div");
Line 2337:
Line 2338: WriteLiteral(" class=\"product-cat-1-btn clearfix\"");
Line 2339:
Line 2340: WriteLiteral("><a");
Line 2341:
Line 2342: WriteAttribute("href", Tuple.Create(" href=\"", 29721), Tuple.Create("\"", 29732)
Line 2343:
Line 2344: #line 567 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2345: , Tuple.Create(Tuple.Create("", 29728), Tuple.Create<System.Object, System.Int32>(url
Line 2346:
Line 2347: #line default
Line 2348: #line hidden
Line 2349: , 29728), false)
Line 2350: );
Line 2351:
Line 2352: WriteLiteral(" target=\"_self\"");
Line 2353:
Line 2354: WriteAttribute("title", Tuple.Create(" title=\"", 29748), Tuple.Create("\"", 29769)
Line 2355:
Line 2356: #line 567 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2357: , Tuple.Create(Tuple.Create("", 29756), Tuple.Create<System.Object, System.Int32>(productTitle
Line 2358:
Line 2359: #line default
Line 2360: #line hidden
Line 2361: , 29756), false)
Line 2362: );
Line 2363:
Line 2364: WriteLiteral(" class=\"btn pull-left\"");
Line 2365:
Line 2366: WriteLiteral(">");
Line 2367:
Line 2368:
Line 2369: #line 567 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2370: Write(productTitle);
Line 2371:
Line 2372:
Line 2373: #line default
Line 2374: #line hidden
Line 2375: WriteLiteral("</a></div>\r\n");
Line 2376:
Line 2377:
Line 2378: #line 568 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2379:
Line 2380:
Line 2381: #line default
Line 2382: #line hidden
Line 2383:
Line 2384: #line 568 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2385: if (productSpecifications != null)
Line 2386: {
Line 2387:
Line 2388:
Line 2389: #line default
Line 2390: #line hidden
Line 2391:
Line 2392: #line 570 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2393: Write(Html.Raw(productSpecifications.Value<string>("introduction")));
Line 2394:
Line 2395:
Line 2396: #line default
Line 2397: #line hidden
Line 2398:
Line 2399: #line 570 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2400:
Line 2401: }
Line 2402:
Line 2403:
Line 2404: #line default
Line 2405: #line hidden
Line 2406: WriteLiteral(" </div>\r\n");
Line 2407:
Line 2408:
Line 2409: #line 573 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2410:
Line 2411: if (index == listOfRelatedProducts.Count - 1)
Line 2412: {
Line 2413:
Line 2414:
Line 2415: #line default
Line 2416: #line hidden
Line 2417: WriteLiteral(" <div");
Line 2418:
Line 2419: WriteLiteral(" class=\"clear\"");
Line 2420:
Line 2421: WriteLiteral("><!-- clear --></div>\r\n");
Line 2422:
Line 2423:
Line 2424: #line 577 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2425: }
Line 2426:
Line 2427: }
Line 2428:
Line 2429:
Line 2430: #line default
Line 2431: #line hidden
Line 2432: WriteLiteral(" </div>\r\n");
Line 2433:
Line 2434:
Line 2435: #line 581 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2436: }
Line 2437:
Line 2438:
Line 2439: #line default
Line 2440: #line hidden
Line 2441: WriteLiteral(" </div>\r\n\r\n</div>\r\n\r\n\r\n<!-- title -->\r\n\r\n\r\n<div");
Line 2442:
Line 2443: WriteLiteral(" class=\"clear\"");
Line 2444:
Line 2445: WriteLiteral("><!--clear--></div>\r\n<!-- content - end -->\r\n<!-- back button -->\r\n");
Line 2446:
Line 2447:
Line 2448: #line 593 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2449:
Line 2450: var enableBackButton = Model.GetProperty("enableBackButton");
Line 2451:
Line 2452: if (enableBackButton != null && enableBackButton.HasValue && (bool)enableBackButton.Value)
Line 2453: {
Line 2454:
Line 2455:
Line 2456: #line default
Line 2457: #line hidden
Line 2458:
Line 2459: #line 598 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2460: Write(Html.Partial("BackButton"));
Line 2461:
Line 2462:
Line 2463: #line default
Line 2464: #line hidden
Line 2465:
Line 2466: #line 598 "C:\inetpub\wwwroot\Barlow\Views\RelatedProductsSection.cshtml"
Line 2467:
Line 2468: }
Line 2469:
Line 2470:
Line 2471: #line default
Line 2472: #line hidden
Line 2473: WriteLiteral("\r\n<!-- back button - end -->");
Line 2474:
Line 2475: }
Line 2476: }
Line 2477: }
Line 2478:
|