Error executing template "Designs/dechra-dvp/_parsed/espresso.parsed.cshtml"
System.ArgumentNullException: Value cannot be null.
Parameter name: source
   at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)
   at Dynamicweb.Frontend.XmlNavigation.FilterPages(IEnumerable`1 pages)
   at Dynamicweb.Frontend.XmlNavigation.MakeXml(Int32 parentId, Int32 levelStart, Int32 levelStop, Expand expand, Int32 selectedAreaId)
   at Dynamicweb.Frontend.XmlNavigation.GetNavigationHtml(Int32 parentId, Int32 levelStart, Int32 levelStop, Expand expand, String name, String xsltPath, Int32 selectedAreaId, Boolean sitemapMode, NameValueCollection settings, NameValueCollection attributes, IncludeMode mode)
   at Dynamicweb.Frontend.XmlNavigation.GetNavigationHtml(NameValueCollection settings, NameValueCollection attributes)
   at CompiledRazorTemplates.Dynamic.RazorEngine_62f26eacb79e4df49e3041bd4b15c655.Execute() in D:\Dynamicweb.NET\Solutions\eu.dvp.dechra.espresso4.dk\Files\Templates\Designs\dechra-dvp\_parsed\espresso.parsed.cshtml:line 652
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.b__0(TextWriter writer)
   at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()

1 @inherits Co3.Espresso.Website.TemplateBases.Pages.PageBase 2 @using System.Web; 3 @using System.Globalization; 4 @{ 5 string globalAreaLang = GetGlobalValue("Global:Area.Lang"); 6 string pageSearch = Espresso.Area.Item.EnablePageSearch; 7 string productSearch = Espresso.Area.Item.EnableProductSearch; 8 bool isRendering404Page = HttpContext.Current.Request.Url.PathAndQuery.Contains("404.aspx"); 9 bool hasAccess = ExtranetUiService.HasAccess(); 10 } 11 <!DOCTYPE html> 12 <html lang="@globalAreaLang" data-search-pages="@pageSearch" data-search-products="@productSearch"> 13 <head> 14 @GetValue("CopyRightNotice") 15 <meta charset="utf-8"> 16 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, minimal-ui"> 17 <meta http-equiv="x-ua-compatible" content="ie=edge"> 18 <title> 19 @GetValue("Title") 20 </title> 21 22 @Espresso.CriticalCSS 23 <link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin=""> 24 <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,700|Material+Icons" media="@Espresso.StylesheetAttributeMedia" rel="@Espresso.StylesheetAttributeRel" as="style"> 25 <link href="/Files/Templates/Designs/dechra-dvp/_assets/_dist/css/default.css?v=adasdsasassaddsasdhadjsjjaaas" media="@Espresso.StylesheetAttributeMedia" rel="@Espresso.StylesheetAttributeRel" as="style"> 26 <link type="text/css" rel="stylesheet" href="https://fast.fonts.net/cssapi/c42931a4-8979-4edc-bef9-bf86f985b486.css"> 27 @Espresso.CriticalJS 28 29 <link rel="shortcut icon" href="@Espresso.Area.Item.Favicon"> 30 @if (!isRendering404Page) 31 { 32 @GetValue("MetaTags") 33 } 34 @if( Espresso.IsStagingUrl == true ) { 35 <meta name="robots" content="noindex,nofollow"> 36 } 37 @{ 38 string OpenGraphURL = GetGlobalValue( "Global:Request.Scheme" ) + "://" + GetGlobalValue( "Global:Request.Host" ) + GetGlobalValue( "Global:Pageview.Url" ); 39 } 40 @if (!isRendering404Page) 41 { 42 <meta property="og:url" content="@OpenGraphURL"> 43 } 44 <meta property="og:title" content="@Espresso.OpenGraphTitle"> 45 <meta property="og:description" content="@Espresso.OpenGraphDescription"> 46 <meta property="og:image" content="@Espresso.OpenGraphImage"> 47 @if( string.IsNullOrEmpty( Espresso.Area.Item.GoogleSiteVerification ) == false ){ 48 <meta name="google-site-verification" content="@Espresso.Area.Item.GoogleSiteVerification"> 49 } 50 @if( string.IsNullOrEmpty( Espresso.Area.Item.BingSiteVerification ) == false ){ 51 <meta name="msvalidate.01" content="@Espresso.Area.Item.BingSiteVerification"> 52 } 53 @{ 54 if(1 == 2){ 55 @GetValue("Stylesheets") 56 } 57 } 58 @if( string.IsNullOrEmpty( Espresso.Area.GoogleTagManagerID ) == false && Espresso.Area.GoogleTagManagerID != "GTM-XXXX" ){ 59 <!-- Google Tag Manager --> 60 <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 61 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 62 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 63 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 64 })(window,document,'script','dataLayer','@Espresso.Area.GoogleTagManagerID');</script> 65 <!-- End Google Tag Manager --> 66 } 67 @Espresso.Area.Item.HeaderScripts 68 @GetValue("Javascripts") 69 </head> 70 71 <body class="@Espresso.Item.CustomClasses"> 72 @if( string.IsNullOrEmpty( Espresso.Area.GoogleTagManagerID ) == false && Espresso.Area.GoogleTagManagerID != "GTM-XXXX" ){ 73 <!-- Google Tag Manager (noscript) --> 74 <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=@Espresso.Area.GoogleTagManagerID" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> 75 <!-- End Google Tag Manager (noscript) --> 76 } 77 @{ 78 if( Espresso.Canvas.ClassList.ToString().Contains("e-page-is-loading") == true ){ 79 Espresso.Canvas.ClassList.RemoveClasses("e-page-is-loading"); 80 Espresso.Canvas.ClassList.AddClasses("is-loading"); 81 } 82 } 83 84 @if( Espresso.Area.Item.OptimizedLoading == "True" ){ 85 <div id="js-e-page-loading-overlay" class="e-page-loading-overlay e-loading-overlay is-loading"><div class="e-loading-spinner"></div></div> 86 } 87 <div class="@Espresso.Canvas.ClassList" id="js-e-canvas"> 88 @using System.Globalization; 89 @using Dynamicweb.Content; 90 @using Dynamicweb.Frontend; 91 @using Dynamicweb.Content.Items; 92 @{ 93 string Logo = Espresso.Area.Item.Logo; 94 string Tagline = Espresso.Area.Item.Tagline; 95 string academyLink = Espresso.Area.Item.AcademyLink; 96 string checkCart= string.IsNullOrEmpty(GetGlobalValue("Global:eCommerce.Order.OrderLines.TotalProductQuantity")) ? "0" : GetGlobalValue("Global:eCommerce.Order.OrderLines.TotalProductQuantity"); 97 string checkCartMultiple = ""; 98 99 PageView currentPageView = PageView.Current(); 100 string currentPageId = currentPageView.ID.ToString(); 101 102 if(checkCart != "1") { 103 checkCartMultiple = "s"; 104 } 105 106 //HEADER TRANSLATIONS: 107 string searchPlaceholder = Translate("HeaderSearchPlaceholderText","Product name, actives, therapy areas, indications etc..."); 108 string signInText = Translate("Sign in","Sign in"); 109 string myAccountText = Translate("My account","My account"); 110 string editAccountText = Translate("Edit account","Edit account"); 111 string logoutText = Translate("Logout","Logout"); 112 113 } 114 @if( Espresso.Item.HeaderHide != "True" ){ 115 <header class="e-header js-e-header is-sticky"> 116 <div class="e-header-container"> 117 <div class="container-fluid"> 118 119 @if(!string.IsNullOrEmpty( GetString("DwNavigation(dwnavutilitiesprimary)") )) 120 { 121 <div class="row"> 122 <div class="col-12 hidden-mobile"> 123 <section class="e-nav-utilities-primary"> 124 <ul class="nav justify-content-end"> 125 @GetValue("DwNavigation(dwnavutilitiesprimary)") 126 </ul> 127 </section> 128 </div> 129 </div> 130 } 131 132 <div class="row"> 133 <div class="col-2 hidden-mobile"> 134 <div class="e-logo"> 135 <a href="/" class="e-logo-link"> 136 <img src="@Logo" class="e-logo-img" alt="@Tagline"> 137 </a> 138 </div> 139 </div> 140 <div class="col-12 col-lg-9 mobile-menu"> 141 @if( Espresso.Item.NavigationHide != "True" ){ 142 <div class="e-logo hidden-desktop"> 143 <a href="/" class="e-logo-link"> 144 <img src="@Logo" class="e-logo-img" alt="@Espresso.Area.Item.CompanyName"> 145 @if( string.IsNullOrEmpty( Tagline ) == false ){ 146 <p class="e-logo-tagline">@Tagline</p> 147 } 148 </a> 149 </div> 150 151 if(hasAccess) 152 { 153 <div class="e-header-btn dropdown"> 154 <a class="dropdown-toggle btn btn-sm text-auto" href="#" role="button" id="myAccountDropdownMobile" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> 155 <i class="material-icons material-icons-large">account_box</i> 156 </a> 157 <div class="dropdown-menu" aria-labelledby="myAccountDropdownMobile"> 158 @if(!string.IsNullOrEmpty(Espresso.Area.Item.AccountPage)) 159 { 160 <a class="dropdown-item btn btn-sm text-auto" href="Default.aspx?ID=@Espresso.Area.Item.AccountPage"> 161 <i class="material-icons material-icons-large">edit</i> 162 </a> 163 } 164 <a class="dropdown-item btn btn-sm text-auto" href="/Admin/Public/extranetlogoff.aspx?ID=@currentPageId"> 165 <i class="material-icons material-icons-large">power_settings_new</i> 166 </a> 167 </div> 168 </div> 169 } 170 else 171 { 172 <div class="e-header-btn"> 173 <a class="js-dvp-extranet-login btn btn-sm text-auto" href="javascript:void(0);"> 174 <i class="material-icons material-icons-large">lock_outline</i> 175 </a> 176 </div> 177 } 178 if( Espresso.Area.Item.Search == "True" ){ 179 <div class="e-search-toggle e-header-btn"> 180 <a data-toggle="modal" data-target=".modal.e-search" class="btn btn-sm text-auto"> 181 <i class="material-icons material-icons-large">search</i> 182 </a> 183 </div> 184 } 185 186 if( Espresso.Area.Item.Shop == "True" ){ 187 <div class="e-header-btn e-cart-mini"> 188 <a href="/shop/cart/" class="btn btn-sm text-auto"> 189 <i class="material-icons material-icons-large">shopping_cart</i> 190 <span class="e-cart-quantity js-e-cart-quantity"></span> 191 </a> 192 </div> 193 } 194 195 <div class="e-header-btn e-nav-toggle"> 196 <a data-toggle="modal" data-target=".modal.e-nav-container" class="btn btn-sm text-auto"> 197 <i class="material-icons material-icons-large mr-1">menu</i> 198 </a> 199 </div> 200 <div class="js-e-nav-container e-nav-container modal p-0" data-backdrop="false"> 201 <nav class="e-nav navbar"> 202 <div class="e-nav-masthead"> 203 <div class="e-logo"> 204 <a href="/" class="e-logo-link"> 205 <img src="@Logo" class="e-logo-img" alt="@Espresso.Area.Item.CompanyName"> 206 @if( string.IsNullOrEmpty( Tagline ) == false ){ 207 <p class="e-logo-tagline">@Tagline</p> 208 } 209 </a> 210 </div> 211 <div class="e-nav-toggle e-header-btn"> 212 <button type="button" data-toggle="modal" data-target=".modal.e-nav-container" class="btn btn-sm text-auto"> 213 <i class="material-icons material-icons-large mr-1">close</i> 214 </button> 215 </div> 216 @if( Espresso.Area.Item.Search == "True" ){ 217 <div class="e-header-btn e-search-toggle"> 218 <button type="button" data-toggle="modal" data-target=".modal.e-search" class="btn btn-sm text-auto"> 219 <i class="material-icons material-icons-large">search</i> 220 </button> 221 </div> 222 } 223 @if( Espresso.Area.Item.Shop == "True" ){ 224 <div class="e-header-btn e-cart-mini"> 225 <a href="/shop/cart/" class="btn btn-sm text-auto"> 226 <i class="material-icons material-icons-large">shopping_cart</i> 227 <span class="e-cart-quantity js-e-cart-quantity"></span> 228 </a> 229 </div> 230 } 231 </div> 232 <section class="e-nav-global js-e-nav-global"> 233 <ul class="nav"> 234 @GetValue("DwNavigation(dwnavglobal)") 235 </ul> 236 </section> 237 @if(!string.IsNullOrEmpty(GetString("DwNavigation(dwnavutilitiesprimarymobile)"))) 238 { 239 <section class="e-nav-utilities-primary hidden-desktop"> 240 <ul class="nav"> 241 @GetValue("DwNavigation(dwnavutilitiesprimarymobile)") 242 </ul> 243 </section> 244 } 245 @if(!string.IsNullOrEmpty(GetString("DwNavigation(dwnavutilitiessecondaryheader)"))) 246 { 247 <section class="e-nav-utilities-secondary"> 248 <ul class="nav"> 249 @GetValue("DwNavigation(dwnavutilitiessecondaryheader)") 250 </ul> 251 </section> 252 } 253 </nav> 254 @if( Espresso.Area.Item.Shop == "True" ){ 255 <a class="ml-auto dvp-header-custom-cart" href="/shop/cart/"> 256 <div class="dvp-header-custom-cart-icon"><i class="material-icons">shopping_cart</i></div> 257 <span class="js-e-cart-quantity"></span> @string.Format("Material{0}",checkCartMultiple) 258 </a> 259 } 260 </div> 261 } 262 </div> 263 <div class="col-1 pl-0 hidden-mobile"> 264 @using Co3.Dechra.DVP.Website.UiServices; 265 @{ 266 Area currentArea = PageView.Current().Area; 267 268 string currentFlag = CountryUiService.GetCountryCode(currentArea); 269 string globalUrl = string.Empty; 270 string globalFlag = string.Empty; 271 272 IList<Area> areaCollection = new AreaService().GetAreas(); 273 274 string geoCountry = string.Empty; 275 276 if(RedirectUiService.CookieExist() && !string.IsNullOrEmpty(RedirectUiService.GetCookieValue())) 277 { 278 geoCountry = RedirectUiService.GetCookieValue(); 279 } 280 else if(!string.IsNullOrEmpty(HttpContext.Current.Request["geo"])) 281 { 282 geoCountry = HttpContext.Current.Request["geo"]; 283 } 284 } 285 <div class="dropdown dvp-language-selector"> 286 @if(currentArea.ID == 40 || currentArea.ID == 41) 287 { 288 string title = currentArea.ID == 40 ? "Français" : "English" ; 289 string lang = currentArea.ID == 40 ? "FR" : "EN" ; 290 string langUrl = currentArea.ID == 40 ? "https://fr.dechra.ca" : "https://www.dechra.ca" ; 291 292 if(!string.IsNullOrEmpty(geoCountry)) 293 { 294 langUrl += $"?geo={geoCountry}"; 295 } 296 297 <a class="float-left float-md-right dvp-language-region js-dvp-set-geo-ip-country" title="@title" href="@langUrl"> 298 <span class="d-inline-block">@lang</span> 299 </a> 300 } 301 <a class="dropdown-toggle float-left float-md-right" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> 302 <span class="d-inline-block dvp-flag-icon dvp-flag-icon-20"><img src="/Files/Images/Icons/Flags/@(currentFlag).svg" alt="@currentFlag"></span> 303 </a> 304 <div class="dropdown-menu dropdown-menu-right p-0" aria-labelledby="dropdownMenuLink"> 305 <div class="row m-0"> 306 @foreach(Area area in areaCollection.OrderBy(a => CountryUiService.GetCountryCode(a))) 307 { 308 string flag = CountryUiService.GetCountryCode(area); 309 310 Item websiteSettings = area.Item; 311 312 if(area.Active && !string.IsNullOrEmpty(area.DomainLock) && area.UniqueId!=currentArea.UniqueId && websiteSettings != null && websiteSettings["WebsiteIsLive"] != null && websiteSettings["WebsiteIsLive"].ToString() == "True") 313 { 314 if(flag != "global") 315 { 316 string url = $"//{area.DomainLock}"; 317 318 if(!string.IsNullOrEmpty(geoCountry)) 319 { 320 url = $"//{area.DomainLock}?geo={geoCountry}"; 321 } 322 323 <div class="col-6 col-md-4 p-0"> 324 <a class="dropdown-item js-dvp-set-geo-ip-country pt-1 pb-1" href="@url"><span class="mr-1 d-inline-block dvp-flag-icon dvp-flag-icon-40"><img src="/Files/Images/Icons/Flags/@(flag).svg" alt="@flag"></span>@flag</a> 325 </div> 326 } 327 else 328 { 329 globalFlag = flag; 330 globalUrl = $"//{area.DomainLock}"; 331 332 if(!string.IsNullOrEmpty(geoCountry)) 333 { 334 globalUrl = $"//{area.DomainLock}?geo={geoCountry}"; 335 } 336 } 337 } 338 } 339 @if(!string.IsNullOrEmpty(globalFlag) && !string.IsNullOrEmpty(globalUrl)) 340 { 341 <div class="col-6 col-md-4 p-0"> 342 <a class="dropdown-item pt-1 pb-1 js-dvp-set-geo-ip-country" href="@globalUrl"><span class="mr-1 d-inline-block dvp-flag-icon dvp-flag-icon-40"><img src="/Files/Images/Icons/Flags/@(globalFlag).svg" alt="@globalFlag"></span>Global</a> 343 </div> 344 } 345 </div> 346 <div class="row pt-1 pb-1 m-0 border border-bottom-0 border-left-0 border-right-0"> 347 <div class="col-12 px-2 small"> 348 <small> 349 @Translate("By clicking a flag you will be leaving this country website to access another site in the Dechra group not applicable to your territory and which may have different legislation","By clicking a flag you will be leaving this country website to access another site in the Dechra group not applicable to your territory and which may have different legislation") 350 </small> 351 </div> 352 </div> 353 </div> 354 </div> 355 </div> 356 </div> 357 </div> 358 </div> 359 <div class="e-header-container dvp-header-search hidden-mobile"> 360 <div class="container-fluid"> 361 <div class="row"> 362 <div class="col-2"></div> 363 <div class="col-8"> 364 <form action="/search" class="e-search-form js-dvp-typeahead-form"> 365 <div class="form-group"> 366 <div class="js-dvp-search-container e-search-container"> 367 <label class="e-search-label" for="e-search-input"><i class="material-icons">search</i></label> 368 <input autocomplete="off" name="q" class="form-control dvp-header-search-input js-dvp-header-search-input" type="search" placeholder="@searchPlaceholder"> 369 <div class="js-dvp-search-action-group dvp-search-action-group is-empty"> 370 <span class="js-dvp-search-clear e-search-clear"><i class="material-icons">close</i></span> 371 <button class="e-search-submit btn btn-primary" type="submit"><i class="material-icons">search</i></button> 372 </div> 373 </div> 374 </div> 375 </form> 376 </div> 377 @if( Espresso.Area.Item.HideLogin != "True" ){ 378 <div class="col-2 pl-0 dvp-header-custom-login"> 379 @if(hasAccess) 380 { 381 <div class="dropdown"> 382 <a class="signin dropdown-toggle" href="#" role="button" id="myAccountDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> 383 <i class="material-icons">account_box</i>&nbsp; @myAccountText 384 </a> 385 <div class="dropdown-menu" aria-labelledby="myAccountDropdown"> 386 @if(!string.IsNullOrEmpty(Espresso.Area.Item.AccountPage)) 387 { 388 <a class="dropdown-item font-weight-bold" href="Default.aspx?ID=@Espresso.Area.Item.AccountPage"> 389 <i class="material-icons font-weight-bold">edit</i>&nbsp; @editAccountText 390 </a> 391 } 392 <a class="dropdown-item font-weight-bold" href="/Admin/Public/extranetlogoff.aspx?ID=@currentPageId"> 393 <i class="material-icons font-weight-bold">power_settings_new</i>&nbsp; @logoutText 394 </a> 395 </div> 396 </div> 397 } 398 else 399 { 400 <a class="js-dvp-extranet-login signin" href="javascript:void(0);"> 401 <i class="material-icons">lock_outline</i>&nbsp; @signInText 402 </a> 403 } 404 </div> 405 } 406 </div> 407 </div> 408 </div> 409 <div class="e-cart-confirm-msg" id="js-e-cart-confirm-msg"> 410 <button type="button" class="close" data-dismiss="msg"> 411 <i class="material-icons">close</i> 412 </button> 413 <section class="e-section pt-3 pb-3"> 414 <div class="container-fluid"> 415 <div class="row"> 416 <div class="col-12"> 417 <div class="js-e-cart-confirm-msg-content"> 418 <script id="js-handlebars-tmpl-cart-msg-content" type="text/x-handlebars-template"> 419 <div class="row"> 420 421 <div class="col-12 col-md-6"> 422 <div class="e-cart-confirm-msg-last-added pt-1"> 423 <div class="row"> 424 <div class="col-2 text-right"> 425 <p class="h2"><i class="material-icons text-success">check</i></p> 426 </div> 427 <div class="col-10"> 428 <div class="row"> 429 <div class="col-12"> 430 <h2>@Translate("eCom Cart - Product Added - Heading","Added to your cart")</h2> 431 {{#each lastAdded}} 432 <div class="row"> 433 <div class="col-4"> 434 <p class="mb-0"> 435 <img class="img-fluid" src="{{imageLarge}}" alt=""> 436 </p> 437 </div> 438 <div class="col-8 d-flex flex-column align-items-center"> 439 <p class="mr-auto mt-1 h3 font-weight-normal">{{name}}</p> 440 {{#if therapyareaName}} 441 <p class="mr-auto mt-0 h4 text-muted font-weight-normal font-italic">{{therapyareaName}}</p> 442 {{/if}} 443 </div> 444 </div> 445 {{/each}} 446 </div> 447 </div> 448 </div> 449 </div> 450 </div> 451 </div> 452 453 <div class="col-12 col-md-6"> 454 <div class="e-cart-confirm-msg-info pt-1"> 455 <div class="row"> 456 <div class="col-2 text-right"> 457 <p class="h2"><i class="material-icons">shopping_cart</i></p> 458 </div> 459 <div class="col-8 pr-1"> 460 <h2>@Translate("eCom Cart - Your materials - Heading","Your materials")</h2> 461 {{#each orderlines}} 462 <p class="mb-0"> 463 {{quantity}} x {{product.name}} 464 </p> 465 {{/each}} 466 <p class="mt-2"> 467 <a href="/shop/cart" class="btn btn-primary">@Translate("eCom Cart - Show Cart - Link","Show cart") ({{totalProductQuantity}})</a> 468 </p> 469 </div> 470 </div> 471 </div> 472 </div> 473 474 </div> 475 </script> 476 </div> 477 </div> 478 </div> 479 </div> 480 </section> 481 </div> 482 </header> 483 } 484 485 486 487 488 <main class="e-content"> 489 @using Dynamicweb.Content; 490 @using Dynamicweb.Extensibility; 491 @{ 492 string eBreadcrumbClasslist = "js-e-breadcrumb"; 493 if( Espresso.Item.BreadcrumbColor != "auto" && Espresso.Item.BreadcrumbColor != "none" && String.IsNullOrEmpty( Espresso.Item.Breadcrumb ) == false ){ 494 eBreadcrumbClasslist += string.Format(" e-breadcrumb-{0}", Espresso.Item.Breadcrumb ); 495 } 496 497 string navigationHtmlBreadcrumb = RenderNavigation( new 498 { 499 id = "dwnav-breadcrumb", 500 template = "breadcrumb.xslt", 501 startlevel = 1, 502 endlevel = 15, 503 expandmode = "pathonly", 504 includemode = "all", 505 sitemapmode = true 506 } ); 507 508 string ecomNavigationHtmlBreadcrumb = RenderNavigation( new 509 { 510 id = "dwnav-ecom-breadcrumb", 511 template = "ecom-breadcrumb.xslt", 512 startlevel = 1, 513 endlevel = 15, 514 expandmode = "pathonly", 515 includemode = "all", 516 sitemapmode = true 517 } ); 518 } 519 520 @if( Espresso.Item.Breadcrumb != "none" && String.IsNullOrEmpty( Espresso.Item.Breadcrumb ) == false ) 521 { 522 string homeMenuText = ServiceLocator.Current.GetPageService().GetFirstPageForArea( GetInteger( "DwAreaID" ) ).MenuText; 523 524 <section class="e-section mt-1 @eBreadcrumbClasslist"> 525 <div class="container-fluid"> 526 <div class="row"> 527 <div class="col-12"> 528 <div class="row"> 529 530 <div class="col-12"> 531 <nav class="e-breadcrumb-container"> 532 <ol class="breadcrumb nav text-muted"> 533 <li class="breadcrumb-item m-0 p-0"> 534 <span class="breadcrumb-prefix-text"> 535 @Translate( "Breadcrumb - Prefix - Text", "You are here:" ) 536 </span> 537 <a href="/" title="@homeMenuText">@homeMenuText</a> 538 </li> 539 @if(HttpContext.Current.Request["GroupID"] == null) 540 { 541 @navigationHtmlBreadcrumb 542 } 543 else 544 { 545 @ecomNavigationHtmlBreadcrumb 546 } 547 </ol> 548 </nav> 549 </div> 550 551 </div> 552 </div> 553 </div> 554 </div> 555 </section> 556 } 557 558 <article id="dwcontent-main" class="e-content-main @Espresso.ContentArea.ClassList"> 559 @{ 560 string NavigationLocalHorizontalClassList = "e-nav-local e-nav-local-horizontal js-e-nav-local-horizontal reset-animate"; 561 @* reset-animate *@ 562 string NavigationLocalHorizontalContainerClassList = "e-nav-local-container"; 563 if( Espresso.Item.NavigationLocalShow == "True" && Espresso.Item.NavigationLocalLayout == "horizontal" ) { 564 NavigationLocalHorizontalClassList += " " + Espresso.Item.NavigationLocalCustomClasses; 565 if( Espresso.Item.NavigationLocalSticky == "True" ) { 566 NavigationLocalHorizontalClassList += " is-sticky"; 567 } 568 if( Espresso.Item.NavigationLocalAbsolute == "True" ) { 569 NavigationLocalHorizontalClassList += " is-absolute"; 570 } 571 else{ 572 if( Espresso.Item.NavigationLocalMarginTop != "0" && Espresso.Item.NavigationLocalMarginTop != "" ) { 573 NavigationLocalHorizontalClassList += " mt-" + Espresso.Item.NavigationLocalMarginTop; 574 } 575 if( Espresso.Item.NavigationLocalMarginBottom != "0" && Espresso.Item.NavigationLocalMarginBottom != "" ) { 576 NavigationLocalHorizontalClassList += " mb-" + Espresso.Item.NavigationLocalMarginBottom; 577 } 578 } 579 } 580 } 581 @if( Espresso.Item.NavigationLocalShow == "True" && Espresso.Item.NavigationLocalLayout == "horizontal" ) { 582 <section class="e-section @NavigationLocalHorizontalClassList"> 583 <div class="container-fluid"> 584 <div class="row"> 585 <div class="col-12"> 586 <div class="row"> 587 588 <div class="col-12"> 589 <nav id="dwnav-local-@Espresso.DynamicwebPage.ID" class="@NavigationLocalHorizontalContainerClassList"> 590 <ul class="nav justify-content-start"> 591 @if( Espresso.Item.NavigationLocalHeading != "" ){ 592 <li class="e-nav-local-heading"><h2>@Espresso.Item.NavigationLocalHeading</h2></li> 593 } 594 @RenderNavigation( new { 595 id = "dwnav-local-" + Espresso.DynamicwebPage.ID, 596 parentid = string.IsNullOrEmpty( Espresso.Item.NavigationLocalParentPage ) == false ? Espresso.Item.NavigationLocalParentPage : Espresso.DynamicwebPage.ID, 597 template = string.IsNullOrEmpty( Espresso.Item.NavigationLocalTemplate ) == false ? Espresso.Item.NavigationLocalTemplate : "local-" + Espresso.Item.NavigationLocalLayout + ".xslt", 598 startlevel = Espresso.Item.NavigationLocalLevelStart, 599 endlevel = Espresso.Item.NavigationLocalLevelEnd, 600 expandmode = Espresso.Item.NavigationLocalPageTreeExpand == "True" ? "all" : "path", 601 } ) 602 </ul> 603 </nav> 604 </div> 605 606 </div> 607 </div> 608 </div> 609 </div> 610 </section> 611 } 612 @{ 613 string NavigationLocalVerticalClassList = "e-nav-local e-nav-local-vertical js-e-nav-local-vertical reset-animate"; 614 string NavigationLocalVerticalContainerClassList = "e-nav-local-container"; 615 if( Espresso.Item.NavigationLocalShow == "True" && Espresso.Item.NavigationLocalLayout == "vertical" ) { 616 NavigationLocalVerticalClassList += " " + Espresso.Item.NavigationLocalCustomClasses; 617 //NavigationLocalVerticalClassList += " col-3"; 618 619 if( Espresso.Item.NavigationLocalMarginTop != "0" && Espresso.Item.NavigationLocalMarginTop != "" ) { 620 NavigationLocalVerticalClassList += " mt-" + Espresso.Item.NavigationLocalMarginTop; 621 } 622 if( Espresso.Item.NavigationLocalMarginBottom != "0" && Espresso.Item.NavigationLocalMarginBottom != "" ) { 623 NavigationLocalVerticalClassList += " mb-" + Espresso.Item.NavigationLocalMarginBottom; 624 } 625 626 if( Espresso.Item.NavigationLocalSticky == "True" ) { 627 NavigationLocalVerticalClassList += " is-sticky"; 628 } 629 if( Espresso.Item.NavigationLocalAbsolute == "True" ) { 630 NavigationLocalVerticalClassList += " is-absolute"; 631 } 632 else{ 633 Espresso.ContentSection.ClassList.Clear(); 634 Espresso.ContentSection.ClassList.AddClasses("col-12 col-lg-9 ml-auto"); 635 } 636 } 637 } 638 639 @if( Espresso.Item.NavigationLocalShow == "True" && Espresso.Item.NavigationLocalLayout == "vertical" ) { 640 <section class="e-section @NavigationLocalVerticalClassList"> 641 <div class="container-fluid"> 642 <div class="row"> 643 <div class="col-12"> 644 <div class="row"> 645 646 <div class="col-3"> 647 <nav id="dwnav-local-@Espresso.DynamicwebPage.ID" class="@NavigationLocalVerticalContainerClassList"> 648 <ul class="nav flex-column"> 649 @if( Espresso.Item.NavigationLocalHeading != "" ){ 650 <li class="e-nav-local-heading"><h2>@Espresso.Item.NavigationLocalHeading</h2></li> 651 } 652 @RenderNavigation( new { 653 id = "dwnav-local-" + Espresso.DynamicwebPage.ID, 654 parentid = string.IsNullOrEmpty( Espresso.Item.NavigationLocalParentPage ) == false ? Espresso.Item.NavigationLocalParentPage : Espresso.DynamicwebPage.ID, 655 template = string.IsNullOrEmpty( Espresso.Item.NavigationLocalTemplate ) == false ? Espresso.Item.NavigationLocalTemplate : "local-" + Espresso.Item.NavigationLocalLayout + ".xslt", 656 startlevel = Espresso.Item.NavigationLocalLevelStart, 657 endlevel = Espresso.Item.NavigationLocalLevelEnd, 658 expandmode = Espresso.Item.NavigationLocalPageTreeExpand == "True" ? "all" : "path", 659 } ) 660 </ul> 661 </nav> 662 </div> 663 664 </div> 665 </div> 666 </div> 667 </div> 668 </section> 669 } 670 671 672 <section class="e-section"> 673 <div class="container-fluid"> 674 <div class="row"> 675 <div class="@Espresso.ContentSection.ClassList"> 676 <div class="row"> 677 @GetValue("DwContent(dwcontentmain)") 678 </div> 679 </div> 680 </div> 681 </div> 682 </section> 683 </article> 684 </main> 685 @{ 686 string localAddressesLink = Espresso.Area.Item.LocalAddressesLink; 687 string generalInquiryPage = Espresso.Area.Item.GeneralInquiryPage; 688 } 689 690 @if( Espresso.Item.FooterHide != "True" ){ 691 <footer class="e-footer"> 692 <article class="e-footer-wrapper"> 693 @if( Espresso.Area.Item.HideLocalAddressesBar != "True" ){ 694 <section class="e-section dvp-footer-custom-local-addresses"> 695 <div class="container-fluid"> 696 <div class="row"> 697 <div class="col-12 col-sm-10 text-left"> 698 @if(!string.IsNullOrEmpty(localAddressesLink)) 699 { 700 <h3> 701 <a href="@localAddressesLink">@Translate("Local adresses in United Kingdom","Local adresses in United Kingdom")</a> 702 </h3> 703 } 704 </div> 705 <div class="col-12 col-sm-2 mt-2 mt-sm-0 text-left text-md-right"> 706 @using Co3.Dechra.DVP.Website.UiServices; 707 @{ 708 Area currentArea = PageView.Current().Area; 709 710 string currentFlag = CountryUiService.GetCountryCode(currentArea); 711 string globalUrl = string.Empty; 712 string globalFlag = string.Empty; 713 714 IList<Area> areaCollection = new AreaService().GetAreas(); 715 716 string geoCountry = string.Empty; 717 718 if(RedirectUiService.CookieExist() && !string.IsNullOrEmpty(RedirectUiService.GetCookieValue())) 719 { 720 geoCountry = RedirectUiService.GetCookieValue(); 721 } 722 else if(!string.IsNullOrEmpty(HttpContext.Current.Request["geo"])) 723 { 724 geoCountry = HttpContext.Current.Request["geo"]; 725 } 726 } 727 <div class="dropdown dvp-language-selector"> 728 @if(currentArea.ID == 40 || currentArea.ID == 41) 729 { 730 string title = currentArea.ID == 40 ? "Français" : "English" ; 731 string lang = currentArea.ID == 40 ? "FR" : "EN" ; 732 string langUrl = currentArea.ID == 40 ? "https://fr.dechra.ca" : "https://www.dechra.ca" ; 733 734 if(!string.IsNullOrEmpty(geoCountry)) 735 { 736 langUrl += $"?geo={geoCountry}"; 737 } 738 739 <a class="float-left float-md-right dvp-language-region js-dvp-set-geo-ip-country" title="@title" href="@langUrl"> 740 <span class="d-inline-block">@lang</span> 741 </a> 742 } 743 <a class="dropdown-toggle float-left float-md-right" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> 744 <span class="d-inline-block dvp-flag-icon dvp-flag-icon-20"><img src="/Files/Images/Icons/Flags/@(currentFlag).svg" alt="@currentFlag"></span> 745 </a> 746 <div class="dropdown-menu dropdown-menu-right p-0" aria-labelledby="dropdownMenuLink"> 747 <div class="row m-0"> 748 @foreach(Area area in areaCollection.OrderBy(a => CountryUiService.GetCountryCode(a))) 749 { 750 string flag = CountryUiService.GetCountryCode(area); 751 752 Item websiteSettings = area.Item; 753 754 if(area.Active && !string.IsNullOrEmpty(area.DomainLock) && area.UniqueId!=currentArea.UniqueId && websiteSettings != null && websiteSettings["WebsiteIsLive"] != null && websiteSettings["WebsiteIsLive"].ToString() == "True") 755 { 756 if(flag != "global") 757 { 758 string url = $"//{area.DomainLock}"; 759 760 if(!string.IsNullOrEmpty(geoCountry)) 761 { 762 url = $"//{area.DomainLock}?geo={geoCountry}"; 763 } 764 765 <div class="col-6 col-md-4 p-0"> 766 <a class="dropdown-item js-dvp-set-geo-ip-country pt-1 pb-1" href="@url"><span class="mr-1 d-inline-block dvp-flag-icon dvp-flag-icon-40"><img src="/Files/Images/Icons/Flags/@(flag).svg" alt="@flag"></span>@flag</a> 767 </div> 768 } 769 else 770 { 771 globalFlag = flag; 772 globalUrl = $"//{area.DomainLock}"; 773 774 if(!string.IsNullOrEmpty(geoCountry)) 775 { 776 globalUrl = $"//{area.DomainLock}?geo={geoCountry}"; 777 } 778 } 779 } 780 } 781 @if(!string.IsNullOrEmpty(globalFlag) && !string.IsNullOrEmpty(globalUrl)) 782 { 783 <div class="col-6 col-md-4 p-0"> 784 <a class="dropdown-item pt-1 pb-1 js-dvp-set-geo-ip-country" href="@globalUrl"><span class="mr-1 d-inline-block dvp-flag-icon dvp-flag-icon-40"><img src="/Files/Images/Icons/Flags/@(globalFlag).svg" alt="@globalFlag"></span>Global</a> 785 </div> 786 } 787 </div> 788 <div class="row pt-1 pb-1 m-0 border border-bottom-0 border-left-0 border-right-0"> 789 <div class="col-12 px-2 small"> 790 <small> 791 @Translate("By clicking a flag you will be leaving this country website to access another site in the Dechra group not applicable to your territory and which may have different legislation","By clicking a flag you will be leaving this country website to access another site in the Dechra group not applicable to your territory and which may have different legislation") 792 </small> 793 </div> 794 </div> 795 </div> 796 </div> 797 </div> 798 </div> 799 </div> 800 </section> 801 } 802 @if( Espresso.Area.Item.HideCustomerServiceBar != "True" ){ 803 <section class="e-section dvp-footer-custom-customerservice p-section-txt-light"> 804 <div class="container-fluid"> 805 <div class="row"> 806 <div class="col-12 col-md-8 dvp-footer-custom-supportinfo"> 807 <div class="flex-container"> 808 <div class="flex-item"> 809 <h3>@Translate("Customer Service","Customer Service")</h3> 810 </div> 811 <div class="flex-item"> 812 <small>@Translate("For further information please contact our Customer Services Team","For further information please contact our Customer Services Team")</small> 813 </div> 814 </div> 815 </div> 816 <div class="col-12 col-md-4 mt-2 mt-md-0 text-md-right dvp-footer-custom-phonenumber"> 817 @if(!string.IsNullOrEmpty(generalInquiryPage)) 818 { 819 <a href="/Default.aspx?ID=@generalInquiryPage" class="btn btn-sm btn-secondary">@Translate("Submit an electronic inquiry","Submit an electronic inquiry")</a> 820 } 821 @if(Espresso.Area.Item.HideCustomerServicePhone != "True") 822 { 823 <br class="d-sm-none"> @Translate("or call:","or call:") 824 @Translate("CustomerServiceNumber","01939 211200") 825 } 826 </div> 827 </div> 828 </div> 829 </section> 830 } 831 832 <section class="e-footer-content e-section dvp-footer-custom-main"> 833 <div class="container-fluid"> 834 <div class="row"> 835 @if ( !string.IsNullOrEmpty( Espresso.Area.Item.FooterPageId ) ) 836 { 837 @RenderPageContent( int.Parse( Espresso.Area.Item.FooterPageId ) ) 838 } 839 </div> 840 </div> 841 </section> 842 843 <section class="e-footer-copyright e-section"> 844 <div class="container-fluid"> 845 <div class="row"> 846 <div class="col-12"> 847 @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavutilitiessecondaryfooter)") ) == false ){ 848 <aside class="e-nav-utilities-secondary"> 849 <ul class="nav nav-inline"> 850 @GetValue("DwNavigation(dwnavutilitiessecondaryfooter)") 851 </ul> 852 </aside> 853 } 854 </div> 855 </div> 856 </div> 857 </section> 858 </article> 859 </footer> 860 } 861 862 </div> 863 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 864 865 @using System.Web; 866 @using Dynamicweb.Frontend; 867 @using Dynamicweb.Content; 868 869 @helper signIn() 870 { 871 PageView currentPageView = PageView.Current(); 872 Area area = currentPageView.Area; 873 874 string redirectToFrontpage = string.Empty; 875 876 if(HttpContext.Current.Request.QueryString["RecoveryToken"] != null) 877 { 878 redirectToFrontpage = "/"; 879 } 880 881 string signUpPage = area.Item["SignUpPage"].ToString(); 882 883 string azureAuthenticationSignUpSignInPolicyId = area.Item["SignUpSignInPolicyId"].ToString(); 884 885 886 string forgotPasswordPage = area.Item["ForgotPasswordPage"].ToString(); 887 888 <div class="col-12 col-xl-6 mt-3 d-flex"> 889 <div class="w-100 px-2 py-2 px-lg-5 py-lg-3 bg-light"> 890 <h3 class="pb-1"><i class="material-icons">lock</i> @Translate("Sign in to your Dechra account", "Sign in to your Dechra account")</h3> 891 892 @if(!string.IsNullOrEmpty(azureAuthenticationSignUpSignInPolicyId)) 893 { 894 <p> 895 <a class="btn btn-primary" href="/Admin/Public/Social/ExternalLogin.aspx?action=login&providerID=1">@Translate("Sign in", "Sign in")</a> 896 </p> 897 } 898 else 899 { 900 <form method="post" action="@redirectToFrontpage" name="ExtUserForm"> 901 <div class="row"> 902 <div class="col-12 form-fields"> 903 <input maxlength="250" class="form-control required" placeholder='@Translate("Username", "Username")' name="Username" type="text" value=""> 904 </div> 905 <div class="col-12 form-fields"> 906 <input maxlength="250" class="form-control required" placeholder='@Translate("Password", "Password")' type="password" name="Password" value=""> 907 </div> 908 </div> 909 <div class="row pt-2"> 910 <div class="col-12 pb-1 d-flex flex-wrap align-items-center justify-content-between"> 911 <a class="small" href="/Default.aspx?ID=@forgotPasswordPage&LoginAction=Recovery">@Translate("Forgot your password?", "Forgot your password?")</a> <button class="btn btn-primary" type="submit">@Translate("Sign in", "Sign in")</button> 912 </div> 913 </div> 914 </form> 915 } 916 </div> 917 </div> 918 919 <div class="col-12 col-xl-6 mt-3 d-flex"> 920 <div class="w-100 px-2 py-2 px-lg-5 py-lg-3 bg-light"> 921 <h3><i class="material-icons">account_box</i> @Translate("Don't have an account yet?", "Don't have an account yet?")</h3> 922 <div class="row"> 923 <div class="col-12 small"> 924 <p class="mb-1">@Translate("Sign up now to access:", "Sign up now to access:")</p> 925 <ul> 926 <li>@Translate("Complete product and disease information", "Complete product and disease information")</li> 927 <li>@Translate("Free support materials, videos and webcasts", "Free support materials, videos and webcasts")</li> 928 <li>@Translate("Dechra Academy: Our FREE eLearning platform", "Dechra Academy: Our FREE eLearning platform")</li> 929 </ul> 930 </div> 931 </div> 932 <div class="row"> 933 <div class="col-12 text-right"> 934 <a class="btn btn-cta" href="/Default.aspx?ID=@signUpPage">@Translate("Sign up", "Sign up")</a> 935 </div> 936 </div> 937 </div> 938 </div> 939 } 940 941 <div class="modal fade dvp-login-modal"> 942 <div class="modal-dialog"> 943 <div class="modal-content"> 944 <div class="modal-body px-2 py-2 py-lg-5 py-xl-4"> 945 <button type="button" class="close" data-dismiss="modal"> 946 <i class="material-icons">close</i> 947 </button> 948 <div class="container"> 949 @if(!string.IsNullOrEmpty(GetString("DW_extranet_error_uk"))) 950 { 951 <div class="row js-dvp-login-modal-error"> 952 <div class="col-12"> 953 <div class="px-2 py-2 px-lg-5 py-lg-2 mt-3 mt-md-2 mt-lg-0 mt-xl-1 text-center bg-danger"> 954 <h3 class="text-white m-0">@Translate("LoginErrorHeader","Error")</h3> 955 <p class="text-white m-0">@Translate("LoginErrorText","Incorrect username or password.")</p> 956 </div> 957 </div> 958 </div> 959 } 960 <div class="row js-dvp-login-modal-premium-content d-none"> 961 <div class="col-12"> 962 <div class="px-2 py-2 px-lg-5 py-lg-2 mt-3 mt-md-2 mt-lg-0 mt-xl-1 text-center bg-primary"> 963 <h3 class="text-white m-0">@Translate("LoginRequiredPremiumContentHeader","Premium content")</h3> 964 <p class="text-white m-0">@Translate("LoginRequiredPremiumContentText","This information is only for vets. Login or create an account to gain access to this and a lot more.")</p> 965 </div> 966 </div> 967 </div> 968 <div class="row"> 969 @signIn() 970 </div> 971 </div> 972 </div> 973 </div> 974 </div> 975 </div> 976 @if( Espresso.Area.Item.Search == "True" ){ 977 978 <div class="modal fade e-search js-e-search js-e-search-modal modal-fullscreen" data-backdrop="false" data-keyboard="true" data-focus="true"> 979 <div class="modal-dialog"> 980 <div class="modal-content"> 981 <div class="modal-header"> 982 <div class="container-fluid"> 983 <div class="row align-items-center"> 984 <div class="col-6"> 985 <a class="btn btn-sm btn-secondary js-e-back-link arrow-left" href="/" data-dismiss="modal"> 986 @Translate("Search - Back button", "Back") 987 </a> 988 </div> 989 <div class="col-6"> 990 <div class="e-logo mr-0 float-right"> 991 <a href="/" class="e-logo-link my-0"> 992 <img src="@Logo" class="e-logo-img e-logo-img-primary" alt="@Tagline"> 993 </a> 994 </div> 995 </div> 996 </div> 997 </div> 998 </div> 999 <div class="modal-body"> 1000 <div class="container-fluid"> 1001 <div class="row align-items-center dvp-no-overlay"> 1002 1003 <div class="col-12 col-md-3 order-2 order-md-1"> 1004 <p class="e-search-result-info h3 m-0 mt-1 mt-md-0"> 1005 <span class="js-dvp-search-result-success d-none"> 1006 <span class="js-e-search-result-count">0</span> @Translate("Search - Result Count - Text", "results") 1007 </span> 1008 <span class="js-dvp-search-result-loading dvp-search-result-loading"> 1009 <span class="dvp-loading-spinner"></span> @Translate("Search - Result Loading - Text", "Searching...") 1010 </span> 1011 </p> 1012 </div> 1013 1014 <div class="col-12 col-md-9 order-1 order-md-2"> 1015 <form action="" class="e-search-form js-e-search-form"> 1016 <div class="js-e-search-input-group e-search-input-group is-empty"> 1017 <label class="e-search-label" for="e-search-input"><i class="material-icons">search</i></label> 1018 <input type="text" class="js-e-search-input e-search-input form-control-plaintext" name="q" id="e-search-input" placeholder='@Translate("Search - Input Placeholder - Text", "Search")'> 1019 <span class="js-e-search-clear e-search-clear"><i class="material-icons">close</i></span> 1020 <button class="e-search-submit btn btn-primary" type="submit"><i class="material-icons pa-0">search</i></button> 1021 </div> 1022 </form> 1023 </div> 1024 </div> 1025 1026 <div class="js-e-search-result-container e-search-result-container"> 1027 <div class="row"> 1028 <div class="col-12 col-md-3"> 1029 <div class="e-search-form-container pt-4"> 1030 1031 <div class="col-12 p-1 mb-1 dvp-quicknav-header"><p class="mb-0 font-weight-bold">@Translate("Search result shortcuts","Search result shortcuts")</p></div> 1032 <div class="col-12 px-0"> 1033 <div class="list-group font-weight-bold js-dvp-search-menu"> 1034 1035 <a href="javascript:void(0);" data-scrollto="dvp-scroll-to-products" class="px-1 list-group-item list-group-item-action text-primary d-none"> 1036 <span class="align-middle">@Translate("Products","Products") <em>(<span class="js-e-search-product-count">0</span>)</em></span> 1037 </a> 1038 1039 <a href="javascript:void(0);" data-scrollto="dvp-scroll-to-therapyarea" class="px-1 list-group-item list-group-item-action text-primary d-none"> 1040 <span class="align-middle">@Translate("Therapy Areas","Therapy Areas") <em>(<span class="js-e-search-therapyarea-count">0</span>)</em></span> 1041 </a> 1042 1043 <a href="javascript:void(0);" data-scrollto="dvp-scroll-to-supportmaterials" class="px-1 list-group-item list-group-item-action text-primary d-none"> 1044 <span class="align-middle">@Translate("Supplementary Materials","Supplementary Materials") <em>(<span class="js-e-search-supportmaterials-count">0</span>)</em></span> 1045 </a> 1046 1047 <a href="javascript:void(0);" data-scrollto="dvp-scroll-to-videos" class="px-1 list-group-item list-group-item-action text-primary d-none"> 1048 <span class="align-middle">@Translate("Videos","Videos") <em>(<span class="js-e-search-videos-count">0</span>)</em></span> 1049 </a> 1050 1051 <a href="javascript:void(0);" data-scrollto="dvp-scroll-to-elearning" class="px-1 list-group-item list-group-item-action text-primary d-none"> 1052 <span class="align-middle">@Translate("Academy Courses","Academy Courses") <em>(<span class="js-e-search-elearning-count">0</span>)</em></span> 1053 </a> 1054 1055 <a href="javascript:void(0);" data-scrollto="dvp-scroll-to-events" class="px-1 list-group-item list-group-item-action text-primary d-none"> 1056 <span class="align-middle">@Translate("Upcoming Events","Upcoming Events") <em>(<span class="js-e-search-events-count">0</span>)</em></span> 1057 </a> 1058 1059 <a href="javascript:void(0);" data-scrollto="dvp-scroll-to-faq" class="px-1 list-group-item list-group-item-action text-primary d-none"> 1060 <span class="align-middle">@Translate("Frequent Product Questions","Frequent Product Questions") <em>(<span class="js-e-search-faq-count">0</span>)</em></span> 1061 </a> 1062 1063 <a href="javascript:void(0);" data-scrollto="dvp-scroll-to-news" class="px-1 list-group-item list-group-item-action text-primary d-none"> 1064 <span class="align-middle">@Translate("News","News") <em>(<span class="js-e-search-news-count">0</span>)</em></span> 1065 </a> 1066 1067 <a href="javascript:void(0);" data-scrollto="dvp-scroll-to-content" class="px-1 list-group-item list-group-item-action text-primary d-none"> 1068 <span class="align-middle">@Translate("Content","Content") <em>(<span class="js-e-search-page-count">0</span>)</em></span> 1069 </a> 1070 1071 </div> 1072 </div> 1073 1074 </div> 1075 </div> 1076 <div class="col-12 col-md-9 mt-3 mt-md-4"> 1077 1078 1079 <div id="dvp-scroll-to-products" class="js-e-search-result-products e-search-result-products is-empty mb-6"> 1080 <div class="row"> 1081 <div class="col-12"> 1082 <div class="pb-1 dvp-search-subject-header"> 1083 <p class="h3 mb-0"><i class="material-icons">apps</i> <span class="align-middle small ml-1">@Translate("Products","Products")</span><span class="align-middle small text-muted"> <em>(<span class="js-e-search-product-count">0</span>)</em> </span></p> 1084 </div> 1085 </div> 1086 </div> 1087 <div class="js-dvp-search-result-products-restricted mb-4"> 1088 <script id="js-e-handlebars-tmpl-dvp-search-result-item-product-restricted" type="text/x-handlebars-template"> 1089 <div class="row pb-1"> 1090 <div class="col-12 px-2 pt-4 text-center"> 1091 <p class="mb-1 mt-3 lead text-black font-italic">@Translate("Our products are intended for healthcare professionals only.", "Our products are intended for healthcare professionals only.")</p> 1092 <p class="mb-0"><a class="js-dvp-extranet-login btn btn-cta btn-sm" href="javascript:void(0);"><i class="material-icons">lock_outline</i> @Translate("Sign in","Sign in")</a></p> 1093 </div> 1094 </div> 1095 </script> 1096 </div> 1097 <div class="js-dvp-search-result-products-prescription mb-4"> 1098 <script id="js-e-handlebars-tmpl-dvp-search-result-item-product-prescription" type="text/x-handlebars-template"> 1099 <div class="e-products"> 1100 <div class="row"> 1101 <div class="col-12"> 1102 <h4 class="py-1 mb-0 mt-1 bg-blue-light text-white text-center">@Translate("Prescription Only Products","Prescription Only Products")</h4> 1103 </div> 1104 </div> 1105 <div class="row"> 1106 {{#each products}} 1107 <div class="col-12 col-md-4 mt-2 d-flex"> 1108 <div class="e-products-item border"> 1109 <div class="e-products-item-container"> 1110 <a href="{{url}}" class="js-search-tracking" data-tracking="{{{trackingName}}} - click"> 1111 <div class="col-12 dvp-image-container text-center"> 1112 <img src="{{imageLarge}}" alt="{{{trackingName}}}"> 1113 </div> 1114 <div class="col-12 text-center"> 1115 <p class="mb-0 px-1"> 1116 {{{displayName}}} 1117 </p> 1118 </div> 1119 </a> 1120 <div class="col-12 text-center"> 1121 <div class="is-visible-on-hover"> 1122 <p class="e-products-item-text mb-0 mt-2 small"> 1123 {{#if datasheet}} 1124 <a target="_blank" data-tracking="{{{trackingName}}} - datasheet" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{datasheet}}" title="@Translate("Datasheet","Datasheet")"> 1125 <span class="text-truncate">@Translate("Datasheet","Datasheet")</span> <i class="material-icons">get_app</i> 1126 </a> 1127 {{/if}} 1128 {{#if packInsert}} 1129 <a target="_blank" data-tracking="{{{trackingName}}} - pack insert" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{packInsert}}" title="@Translate("Pack Insert","Pack Insert")"> 1130 <span class="text-truncate">@Translate("Pack Insert","Pack Insert")</span> <i class="material-icons">get_app</i> 1131 </a> 1132 {{/if}} 1133 {{#if SPC}} 1134 <a target="_blank" data-tracking="{{{trackingName}}} - spc" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{SPC}}" title="@Translate("SPC","SPC")"> 1135 <span class="text-truncate">@Translate("SPC","SPC")</span> <i class="material-icons">get_app</i> 1136 </a> 1137 {{/if}} 1138 {{#if MSDS}} 1139 <a target="_blank" data-tracking="{{{trackingName}}} - msds" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{MSDS}}" title="@Translate("MSDS","MSDS")"> 1140 <span class="text-truncate">@Translate("MSDS","MSDS")</span> <i class="material-icons">get_app</i> 1141 </a> 1142 {{/if}} 1143 </p> 1144 </div> 1145 </div> 1146 </div> 1147 </div> 1148 </div> 1149 {{/each}} 1150 </div> 1151 <p class="js-e-search-products-show-all mt-2 text-center"> 1152 <a href="javascript:void(0);" class="btn btn-primary border px-2 px-md-6">@Translate("Show more products","Show more products") ({{showMoreCount}})</a> 1153 </p> 1154 </div> 1155 </script> 1156 </div> 1157 1158 <div class="js-dvp-search-result-products-nonprescription mb-4"> 1159 <script id="js-e-handlebars-tmpl-dvp-search-result-item-product-nonprescription" type="text/x-handlebars-template"> 1160 <div class="e-products"> 1161 <div class="row"> 1162 <div class="col-12"> 1163 <h4 class="py-1 mb-0 mt-1 bg-blue-light text-white text-center">@Translate("Non Prescription Products","Non Prescription Products")</h4> 1164 </div> 1165 </div> 1166 <div class="row"> 1167 {{#each products}} 1168 <div class="col-12 col-md-4 mt-2 d-flex"> 1169 <div class="e-products-item border"> 1170 <div class="e-products-item-container"> 1171 <a href="{{url}}" class="js-search-tracking" data-tracking="{{{trackingName}}} - click"> 1172 <div class="col-12 dvp-image-container text-center"> 1173 <img src="{{imageLarge}}" alt="{{{trackingName}}}"> 1174 </div> 1175 <div class="col-12 text-center"> 1176 <p class="mb-0 px-1">{{{displayName}}}</p> 1177 </div> 1178 </a> 1179 <div class="col-12 text-center"> 1180 <div class="is-visible-on-hover"> 1181 <p class="e-products-item-text mb-0 mt-2 small"> 1182 {{#if datasheet}} 1183 <a target="_blank" data-tracking="{{{trackingName}}} - datasheet" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{datasheet}}" title="@Translate("Datasheet","Datasheet")"> 1184 <span class="text-truncate">@Translate("Datasheet","Datasheet")</span> <i class="material-icons">get_app</i> 1185 </a> 1186 {{/if}} 1187 {{#if packInsert}} 1188 <a target="_blank" data-tracking="{{{trackingName}}} - pack insert" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{packInsert}}" title="@Translate("Pack Insert","Pack Insert")"> 1189 <span class="text-truncate">@Translate("Pack Insert","Pack Insert")</span> <i class="material-icons">get_app</i> 1190 </a> 1191 {{/if}} 1192 {{#if SPC}} 1193 <a target="_blank" data-tracking="{{{trackingName}}} - spc" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{SPC}}" title="@Translate("SPC","SPC")"> 1194 <span class="text-truncate">@Translate("SPC","SPC")</span> <i class="material-icons">get_app</i> 1195 </a> 1196 {{/if}} 1197 {{#if MSDS}} 1198 <a target="_blank" data-tracking="{{{trackingName}}} - msds" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{MSDS}}" title="@Translate("MSDS","MSDS")"> 1199 <span class="text-truncate">@Translate("MSDS","MSDS")</span> <i class="material-icons">get_app</i> 1200 </a> 1201 {{/if}} 1202 </p> 1203 </div> 1204 </div> 1205 </div> 1206 </div> 1207 </div> 1208 {{/each}} 1209 </div> 1210 <p class="js-e-search-products-show-all mt-2 text-center"> 1211 <a href="javascript:void(0);" class="btn btn-primary border px-2 px-md-6">@Translate("Show more products","Show more products") ({{showMoreCount}})</a> 1212 </p> 1213 </div> 1214 </script> 1215 </div> 1216 1217 <div class="js-dvp-search-result-products-pharmacyonly mb-4"> 1218 <script id="js-e-handlebars-tmpl-dvp-search-result-item-product-pharmacyonly" type="text/x-handlebars-template"> 1219 <div class="e-products"> 1220 <div class="row"> 1221 <div class="col-12"> 1222 <h4 class="py-1 mb-0 mt-1 bg-blue-light text-white text-center">@Translate("Pharmacy Only Products","Pharmacy Only Products")</h4> 1223 </div> 1224 </div> 1225 <div class="row"> 1226 {{#each products}} 1227 <div class="col-12 col-md-4 mt-2 d-flex"> 1228 <div class="e-products-item border"> 1229 <div class="e-products-item-container"> 1230 <a href="{{url}}" class="js-search-tracking" data-tracking="{{{trackingName}}} - click"> 1231 <div class="col-12 dvp-image-container text-center"> 1232 <img src="{{imageLarge}}" alt="{{{trackingName}}}"> 1233 </div> 1234 <div class="col-12 text-center"> 1235 <p class="mb-0 px-1"> 1236 {{{displayName}}} 1237 </p> 1238 </div> 1239 </a> 1240 <div class="col-12 text-center"> 1241 <div class="is-visible-on-hover"> 1242 <p class="e-products-item-text mb-0 mt-2 small"> 1243 {{#if datasheet}} 1244 <a target="_blank" data-tracking="{{{trackingName}}} - datasheet" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{datasheet}}" title="@Translate("Datasheet","Datasheet")"> 1245 <span class="text-truncate">@Translate("Datasheet","Datasheet")</span> <i class="material-icons">get_app</i> 1246 </a> 1247 {{/if}} 1248 {{#if packInsert}} 1249 <a target="_blank" data-tracking="{{{trackingName}}} - pack insert" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{packInsert}}" title="@Translate("Pack Insert","Pack Insert")"> 1250 <span class="text-truncate">@Translate("Pack Insert","Pack Insert")</span> <i class="material-icons">get_app</i> 1251 </a> 1252 {{/if}} 1253 {{#if SPC}} 1254 <a target="_blank" data-tracking="{{{trackingName}}} - spc" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{SPC}}" title="@Translate("SPC","SPC")"> 1255 <span class="text-truncate">@Translate("SPC","SPC")</span> <i class="material-icons">get_app</i> 1256 </a> 1257 {{/if}} 1258 {{#if MSDS}} 1259 <a target="_blank" data-tracking="{{{trackingName}}} - msds" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{MSDS}}" title="@Translate("MSDS","MSDS")"> 1260 <span class="text-truncate">@Translate("MSDS","MSDS")</span> <i class="material-icons">get_app</i> 1261 </a> 1262 {{/if}} 1263 </p> 1264 </div> 1265 </div> 1266 </div> 1267 </div> 1268 </div> 1269 {{/each}} 1270 </div> 1271 <p class="js-e-search-products-show-all mt-2 text-center"> 1272 <a href="javascript:void(0);" class="btn btn-primary border px-2 px-md-6">@Translate("Show more products","Show more products") ({{showMoreCount}})</a> 1273 </p> 1274 </div> 1275 </script> 1276 </div> 1277 1278 <div class="js-dvp-search-result-products-controlleddrug mb-4"> 1279 <script id="js-e-handlebars-tmpl-dvp-search-result-item-product-controlleddrug" type="text/x-handlebars-template"> 1280 <div class="e-products"> 1281 <div class="row"> 1282 <div class="col-12"> 1283 <h4 class="py-1 mb-0 mt-1 bg-blue-light text-white text-center">@Translate("Controlled Drug Products","Controlled Drug Products")</h4> 1284 </div> 1285 </div> 1286 <div class="row"> 1287 {{#each products}} 1288 <div class="col-12 col-md-4 mt-2 d-flex"> 1289 <div class="e-products-item border"> 1290 <div class="e-products-item-container"> 1291 <a href="{{url}}" class="js-search-tracking" data-tracking="{{{trackingName}}} - click"> 1292 <div class="col-12 dvp-image-container text-center"> 1293 <img src="{{imageLarge}}" alt="{{{trackingName}}}"> 1294 </div> 1295 <div class="col-12 text-center"> 1296 <p class="mb-0 px-1"> 1297 {{{displayName}}} 1298 </p> 1299 </div> 1300 </a> 1301 <div class="col-12 text-center"> 1302 <div class="is-visible-on-hover"> 1303 <p class="e-products-item-text mb-0 mt-2 small"> 1304 {{#if datasheet}} 1305 <a target="_blank" data-tracking="{{{trackingName}}} - datasheet" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{datasheet}}" title="@Translate("Datasheet","Datasheet")"> 1306 <span class="text-truncate">@Translate("Datasheet","Datasheet")</span> <i class="material-icons">get_app</i> 1307 </a> 1308 {{/if}} 1309 {{#if packInsert}} 1310 <a target="_blank" data-tracking="{{{trackingName}}} - pack insert" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{packInsert}}" title="@Translate("Pack Insert","Pack Insert")"> 1311 <span class="text-truncate">@Translate("Pack Insert","Pack Insert")</span> <i class="material-icons">get_app</i> 1312 </a> 1313 {{/if}} 1314 {{#if SPC}} 1315 <a target="_blank" data-tracking="{{{trackingName}}} - spc" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{SPC}}" title="@Translate("SPC","SPC")"> 1316 <span class="text-truncate">@Translate("SPC","SPC")</span> <i class="material-icons">get_app</i> 1317 </a> 1318 {{/if}} 1319 {{#if MSDS}} 1320 <a target="_blank" data-tracking="{{{trackingName}}} - msds" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{MSDS}}" title="@Translate("MSDS","MSDS")"> 1321 <span class="text-truncate">@Translate("MSDS","MSDS")</span> <i class="material-icons">get_app</i> 1322 </a> 1323 {{/if}} 1324 </p> 1325 </div> 1326 </div> 1327 </div> 1328 </div> 1329 </div> 1330 {{/each}} 1331 </div> 1332 <p class="js-e-search-products-show-all mt-2 text-center"> 1333 <a href="javascript:void(0);" class="btn btn-primary border px-2 px-md-6">@Translate("Show more products","Show more products") ({{showMoreCount}})</a> 1334 </p> 1335 </div> 1336 </script> 1337 </div> 1338 1339 <div class="js-dvp-search-result-products-addictivesubstances mb-4"> 1340 <script id="js-e-handlebars-tmpl-dvp-search-result-item-product-addictivesubstances" type="text/x-handlebars-template"> 1341 <div class="e-products"> 1342 <div class="row"> 1343 <div class="col-12"> 1344 <h4 class="py-1 mb-0 mt-1 bg-blue-light text-white text-center">@Translate("Addictive Substances Products","Addictive Substances Products")</h4> 1345 </div> 1346 </div> 1347 <div class="row"> 1348 {{#each products}} 1349 <div class="col-12 col-md-4 mt-2 d-flex"> 1350 <div class="e-products-item border"> 1351 <div class="e-products-item-container"> 1352 <a href="{{url}}" class="js-search-tracking" data-tracking="{{{trackingName}}} - click"> 1353 <div class="col-12 dvp-image-container text-center"> 1354 <img src="{{imageLarge}}" alt="{{{trackingName}}}"> 1355 </div> 1356 <div class="col-12 text-center"> 1357 <p class="mb-0 px-1"> 1358 {{{displayName}}} 1359 </p> 1360 </div> 1361 </a> 1362 <div class="col-12 text-center"> 1363 <div class="is-visible-on-hover"> 1364 <p class="e-products-item-text mb-0 mt-2 small"> 1365 {{#if datasheet}} 1366 <a target="_blank" data-tracking="{{{trackingName}}} - datasheet" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{datasheet}}" title="@Translate("Datasheet","Datasheet")"> 1367 <span class="text-truncate">@Translate("Datasheet","Datasheet")</span> <i class="material-icons">get_app</i> 1368 </a> 1369 {{/if}} 1370 {{#if packInsert}} 1371 <a target="_blank" data-tracking="{{{trackingName}}} - pack insert" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{packInsert}}" title="@Translate("Pack Insert","Pack Insert")"> 1372 <span class="text-truncate">@Translate("Pack Insert","Pack Insert")</span> <i class="material-icons">get_app</i> 1373 </a> 1374 {{/if}} 1375 {{#if SPC}} 1376 <a target="_blank" data-tracking="{{{trackingName}}} - spc" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{SPC}}" title="@Translate("SPC","SPC")"> 1377 <span class="text-truncate">@Translate("SPC","SPC")</span> <i class="material-icons">get_app</i> 1378 </a> 1379 {{/if}} 1380 {{#if MSDS}} 1381 <a target="_blank" data-tracking="{{{trackingName}}} - msds" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{MSDS}}" title="@Translate("MSDS","MSDS")"> 1382 <span class="text-truncate">@Translate("MSDS","MSDS")</span> <i class="material-icons">get_app</i> 1383 </a> 1384 {{/if}} 1385 </p> 1386 </div> 1387 </div> 1388 </div> 1389 </div> 1390 </div> 1391 {{/each}} 1392 </div> 1393 <p class="js-e-search-products-show-all mt-2 text-center"> 1394 <a href="javascript:void(0);" class="btn btn-primary border px-2 px-md-6">@Translate("Show more products","Show more products") ({{showMoreCount}})</a> 1395 </p> 1396 </div> 1397 </script> 1398 </div> 1399 1400 <div class="js-dvp-search-result-products-psychotropic mb-4"> 1401 <script id="js-e-handlebars-tmpl-dvp-search-result-item-product-psychotropic" type="text/x-handlebars-template"> 1402 <div class="e-products"> 1403 <div class="row"> 1404 <div class="col-12"> 1405 <h4 class="py-1 mb-0 mt-1 bg-blue-light text-white text-center">@Translate("Psychotropic Products","Psychotropic Products")</h4> 1406 </div> 1407 </div> 1408 <div class="row"> 1409 {{#each products}} 1410 <div class="col-12 col-md-4 mt-2 d-flex"> 1411 <div class="e-products-item border"> 1412 <div class="e-products-item-container"> 1413 <a href="{{url}}" class="js-search-tracking" data-tracking="{{{trackingName}}} - click"> 1414 <div class="col-12 dvp-image-container text-center"> 1415 <img src="{{imageLarge}}" alt="{{{trackingName}}}"> 1416 </div> 1417 <div class="col-12 text-center"> 1418 <p class="mb-0 px-1"> 1419 {{{displayName}}} 1420 </p> 1421 </div> 1422 </a> 1423 <div class="col-12 text-center"> 1424 <div class="is-visible-on-hover"> 1425 <p class="e-products-item-text mb-0 mt-2 small"> 1426 {{#if datasheet}} 1427 <a target="_blank" data-tracking="{{{trackingName}}} - datasheet" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{datasheet}}" title="@Translate("Datasheet","Datasheet")"> 1428 <span class="text-truncate">@Translate("Datasheet","Datasheet")</span> <i class="material-icons">get_app</i> 1429 </a> 1430 {{/if}} 1431 {{#if packInsert}} 1432 <a target="_blank" data-tracking="{{{trackingName}}} - pack insert" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{packInsert}}" title="@Translate("Pack Insert","Pack Insert")"> 1433 <span class="text-truncate">@Translate("Pack Insert","Pack Insert")</span> <i class="material-icons">get_app</i> 1434 </a> 1435 {{/if}} 1436 {{#if SPC}} 1437 <a target="_blank" data-tracking="{{{trackingName}}} - spc" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{SPC}}" title="@Translate("SPC","SPC")"> 1438 <span class="text-truncate">@Translate("SPC","SPC")</span> <i class="material-icons">get_app</i> 1439 </a> 1440 {{/if}} 1441 {{#if MSDS}} 1442 <a target="_blank" data-tracking="{{{trackingName}}} - msds" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{MSDS}}" title="@Translate("MSDS","MSDS")"> 1443 <span class="text-truncate">@Translate("MSDS","MSDS")</span> <i class="material-icons">get_app</i> 1444 </a> 1445 {{/if}} 1446 </p> 1447 </div> 1448 </div> 1449 </div> 1450 </div> 1451 </div> 1452 {{/each}} 1453 </div> 1454 <p class="js-e-search-products-show-all mt-2 text-center"> 1455 <a href="javascript:void(0);" class="btn btn-primary border px-2 px-md-6">@Translate("Show more products","Show more products") ({{showMoreCount}})</a> 1456 </p> 1457 </div> 1458 </script> 1459 </div> 1460 1461 <div class="js-dvp-search-result-products-supplementaryfeed mb-4"> 1462 <script id="js-e-handlebars-tmpl-dvp-search-result-item-product-supplementaryfeed" type="text/x-handlebars-template"> 1463 <div class="e-products"> 1464 <div class="row"> 1465 <div class="col-12"> 1466 <h4 class="py-1 mb-0 mt-1 bg-blue-light text-white text-center">@Translate("Supplementary Feed Products","Supplementary Feed Products")</h4> 1467 </div> 1468 </div> 1469 <div class="row"> 1470 {{#each products}} 1471 <div class="col-12 col-md-4 mt-2 d-flex"> 1472 <div class="e-products-item border"> 1473 <div class="e-products-item-container"> 1474 <a href="{{url}}" class="js-search-tracking" data-tracking="{{{trackingName}}} - click"> 1475 <div class="col-12 dvp-image-container text-center"> 1476 <img src="{{imageLarge}}" alt="{{{trackingName}}}"> 1477 </div> 1478 <div class="col-12 text-center"> 1479 <p class="mb-0 px-1"> 1480 {{{displayName}}} 1481 </p> 1482 </div> 1483 </a> 1484 <div class="col-12 text-center"> 1485 <div class="is-visible-on-hover"> 1486 <p class="e-products-item-text mb-0 mt-2 small"> 1487 {{#if datasheet}} 1488 <a target="_blank" data-tracking="{{{trackingName}}} - datasheet" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{datasheet}}" title="@Translate("Datasheet","Datasheet")"> 1489 <span class="text-truncate">@Translate("Datasheet","Datasheet")</span> <i class="material-icons">get_app</i> 1490 </a> 1491 {{/if}} 1492 {{#if packInsert}} 1493 <a target="_blank" data-tracking="{{{trackingName}}} - pack insert" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{packInsert}}" title="@Translate("Pack Insert","Pack Insert")"> 1494 <span class="text-truncate">@Translate("Pack Insert","Pack Insert")</span> <i class="material-icons">get_app</i> 1495 </a> 1496 {{/if}} 1497 {{#if SPC}} 1498 <a target="_blank" data-tracking="{{{trackingName}}} - spc" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{SPC}}" title="@Translate("SPC","SPC")"> 1499 <span class="text-truncate">@Translate("SPC","SPC")</span> <i class="material-icons">get_app</i> 1500 </a> 1501 {{/if}} 1502 {{#if MSDS}} 1503 <a target="_blank" data-tracking="{{{trackingName}}} - msds" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{MSDS}}" title="@Translate("MSDS","MSDS")"> 1504 <span class="text-truncate">@Translate("MSDS","MSDS")</span> <i class="material-icons">get_app</i> 1505 </a> 1506 {{/if}} 1507 </p> 1508 </div> 1509 </div> 1510 </div> 1511 </div> 1512 </div> 1513 {{/each}} 1514 </div> 1515 <p class="js-e-search-products-show-all mt-2 text-center"> 1516 <a href="javascript:void(0);" class="btn btn-primary border px-2 px-md-6">@Translate("Show more products","Show more products") ({{showMoreCount}})</a> 1517 </p> 1518 </div> 1519 </script> 1520 </div> 1521 1522 <div class="js-dvp-search-result-products-suppliesinstrument mb-4"> 1523 <script id="js-e-handlebars-tmpl-dvp-search-result-item-product-suppliesinstrument" type="text/x-handlebars-template"> 1524 <div class="e-products"> 1525 <div class="row"> 1526 <div class="col-12"> 1527 <h4 class="py-1 mb-0 mt-1 bg-blue-light text-white text-center">@Translate("Supplies And Instrument Products","Supplies & Instrument Products")</h4> 1528 </div> 1529 </div> 1530 <div class="row"> 1531 {{#each products}} 1532 <div class="col-12 col-md-4 mt-2 d-flex"> 1533 <div class="e-products-item border"> 1534 <div class="e-products-item-container"> 1535 <a href="{{url}}" class="js-search-tracking" data-tracking="{{{trackingName}}} - click"> 1536 <div class="col-12 dvp-image-container text-center"> 1537 <img src="{{imageLarge}}" alt="{{{trackingName}}}"> 1538 </div> 1539 <div class="col-12 text-center"> 1540 <p class="mb-0 px-1"> 1541 {{{displayName}}} 1542 </p> 1543 </div> 1544 </a> 1545 <div class="col-12 text-center"> 1546 <div class="is-visible-on-hover"> 1547 <p class="e-products-item-text mb-0 mt-2 small"> 1548 {{#if datasheet}} 1549 <a target="_blank" data-tracking="{{{trackingName}}} - datasheet" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{datasheet}}" title="@Translate("Datasheet","Datasheet")"> 1550 <span class="text-truncate">@Translate("Datasheet","Datasheet")</span> <i class="material-icons">get_app</i> 1551 </a> 1552 {{/if}} 1553 </p> 1554 </div> 1555 </div> 1556 </div> 1557 </div> 1558 </div> 1559 {{/each}} 1560 </div> 1561 <p class="js-e-search-products-show-all mt-2 text-center"> 1562 <a href="javascript:void(0);" class="btn btn-primary border px-2 px-md-6">@Translate("Show more products","Show more products") ({{showMoreCount}})</a> 1563 </p> 1564 </div> 1565 </script> 1566 </div> 1567 1568 <div class="js-dvp-search-result-products-diet mb-4"> 1569 <script id="js-e-handlebars-tmpl-dvp-search-result-item-product-diet" type="text/x-handlebars-template"> 1570 <div class="e-products"> 1571 <div class="row"> 1572 <div class="col-12"> 1573 <h4 class="py-1 mb-0 mt-1 bg-blue-light text-white text-center">@Translate("Diet products","Diet products")</h4> 1574 </div> 1575 </div> 1576 <div class="row"> 1577 {{#each products}} 1578 <div class="col-12 col-md-4 mt-2 d-flex"> 1579 <div class="e-products-item border"> 1580 <div class="e-products-item-container"> 1581 <a href="{{url}}" class="js-search-tracking" data-tracking="{{{trackingName}}} - click"> 1582 <div class="col-12 dvp-image-container text-center"> 1583 <img src="{{imageLarge}}" alt="{{{trackingName}}}"> 1584 </div> 1585 <div class="col-12 text-center"> 1586 <p class="mb-0 px-1">{{{displayName}}}</p> 1587 </div> 1588 </a> 1589 <div class="col-12 text-center"> 1590 <div class="is-visible-on-hover"> 1591 <p class="e-products-item-text mb-0 mt-2 small"> 1592 {{#if datasheet}} 1593 <a target="_blank" data-tracking="{{{trackingName}}} - datasheet" class="btn btn-sm btn-secondary mx-1 mb-1 small js-search-tracking" href="{{datasheet}}" title="@Translate("Datasheet","Datasheet")"> 1594 <span class="text-truncate">@Translate("Datasheet","Datasheet")</span> <i class="material-icons">get_app</i> 1595 </a> 1596 {{/if}} 1597 </p> 1598 </div> 1599 </div> 1600 </div> 1601 </div> 1602 </div> 1603 {{/each}} 1604 </div> 1605 <p class="js-e-search-products-show-all mt-2 text-center"> 1606 <a href="javascript:void(0);" class="btn btn-primary border px-2 px-md-6">@Translate("Show more products","Show more products") ({{showMoreCount}})</a> 1607 </p> 1608 </div> 1609 </script> 1610 </div> 1611 </div> 1612 1613 <div id="dvp-scroll-to-therapyarea" class="js-dvp-search-therapy-areas e-search-result-pages is-empty mb-6"> 1614 <script id="js-e-handlebars-tmpl-dvp-search-therapyareas" type="text/x-handlebars-template"> 1615 <div class="row"> 1616 <div class="col-12"> 1617 <div class="pb-1 dvp-search-subject-header"> 1618 <p class="h3 mb-0"><i class="material-icons align-middle">local_hospital</i> <span class="align-middle small ml-1">@Translate("Therapy Areas","Therapy Areas")</span><span class="align-middle small text-muted"> <em>(<span class="js-e-search-therapyarea-count">0</span>)</em> </span></p> 1619 </div> 1620 </div> 1621 </div> 1622 <div class="row"> 1623 <div class="col-12"> 1624 <div class="list-group list-group-flush"> 1625 {{#each therapyareas}} 1626 <a class="js-search-tracking list-group-item list-group-item-action h3 font-weight-normal text-black my-0" data-tracking="{{#if searchFriendlyPageName}}{{searchFriendlyPageName}}{{else}}{{pageName}}{{/if}}" href="{{{url}}}"> 1627 <span class="d-block"> 1628 <u> 1629 {{#if searchFriendlyPageName}} 1630 {{{searchFriendlyPageName}}} 1631 {{else}} 1632 {{{pageName}}} 1633 {{/if}} 1634 </u> 1635 </span> 1636 {{#if searchFriendlyDescription}} 1637 <span class="d-block small font-weight-normal mb-0"> 1638 {{searchFriendlyDescription}} 1639 </span> 1640 {{/if}} 1641 </a> 1642 {{/each}} 1643 </div> 1644 </div> 1645 </div> 1646 </script> 1647 </div> 1648 1649 <div id="dvp-scroll-to-supportmaterials" class="js-dvp-search-supportmaterials e-search-result-products is-empty mb-6"> 1650 <script id="js-e-handlebars-tmpl-dvp-search-supportmaterials" type="text/x-handlebars-template"> 1651 <div class="row"> 1652 <div class="col-12"> 1653 <div class="pb-1 dvp-search-subject-header"> 1654 <p class="h3 mb-0"><i class="material-icons">save_alt</i> <span class="align-middle small ml-1">@Translate("Supplementary Materials","Supplementary Materials")</span><span class="align-middle small text-muted"> <em>(<span class="js-e-search-supportmaterials-count">0</span>)</em> </span></p> 1655 </div> 1656 </div> 1657 </div> 1658 <div class="row"> 1659 <div class="col-12 mt-2"> 1660 {{#if supportmaterials.0.showMaterials}} 1661 {{#each supportmaterials}} 1662 <div class="row pb-1"> 1663 <div class="col-12"> 1664 <p class="{{#compare @@index '!==' 0}}collapsed{{/compare}} mb-0 font-weight-bold" data-toggle="collapse" data-target="#collapse-search-supportmaterials-{{categoryId}}"> 1665 <span class="dvp-collapsed"><i class="material-icons">expand_more</i></span> 1666 <span class="dvp-expanded"><i class="material-icons">expand_less</i></span> 1667 {{categoryName}} <small class="font-weight-normal">({{count}})</small> 1668 </p> 1669 </div> 1670 </div> 1671 <div class="row"> 1672 <div class="col-12"> 1673 <div class="collapse {{#compare @@index '===' 0}}show{{/compare}}" id="collapse-search-supportmaterials-{{categoryId}}"> 1674 <div class="row"> 1675 <div class="col-12 pl-3 pb-2"> 1676 <div class="row border border-top-0 border-right-0 border-left-0"> 1677 {{#each materials}} 1678 <div class="col-12 col-md-6 py-2"> 1679 <div class="row"> 1680 <div class="col-12 col-md-5 text-center"> 1681 <img class="p-img" src="{{imageLarge}}" alt="{{{name}}}"> 1682 </div> 1683 <div class="col-12 col-md-7 pr-1 mt-1"> 1684 <p class="font-weight-bold">{{{name}}}</p> 1685 {{#if download}} 1686 {{#if loginToDownload}} 1687 <a class="js-dvp-extranet-login text-danger" href="javascript:void(0);"><i class="material-icons">lock_outline</i> @Translate("Login to download","Login to download")</a> 1688 {{else}} 1689 <a target="_blank" data-tracking="{{../categoryName}} > {{name}}" class="js-search-tracking" href="{{url}}"><u>@Translate("Download","Download")</u></a> 1690 {{/if}} 1691 {{/if}} 1692 </div> 1693 </div> 1694 </div> 1695 {{/each}} 1696 </div> 1697 </div> 1698 </div> 1699 </div> 1700 </div> 1701 </div> 1702 {{/each}} 1703 {{else}} 1704 <div class="row pb-1"> 1705 <div class="col-12 px-2 pt-4 text-center"> 1706 <p class="mb-1 mt-3 lead text-black font-italic">@Translate("Our Supplementary Materials are intended for healthcare professionals only.","Our Supplementary Materials are intended for healthcare professionals only.")</p> 1707 <p class="mb-0"><a class="js-dvp-extranet-login btn btn-cta btn-sm" href="javascript:void(0);"><i class="material-icons">lock_outline</i> @Translate("Sign in","Sign in")</a></p> 1708 </div> 1709 </div> 1710 {{/if}} 1711 </div> 1712 </div> 1713 </script> 1714 </div> 1715 1716 <div id="dvp-scroll-to-videos" class="js-dvp-search-videos e-search-result-pages is-empty mb-6"> 1717 <script id="js-e-handlebars-tmpl-dvp-search-videos" type="text/x-handlebars-template"> 1718 <div class="row"> 1719 <div class="col-12"> 1720 <div class="pb-1 dvp-search-subject-header"> 1721 <p class="h3 mb-0"><i class="material-icons align-middle">video_library</i> <span class="align-middle small ml-1">@Translate("Videos","Videos")</span><span class="align-middle small text-muted"> <em>(<span class="js-e-search-videos-count">0</span>)</em> </span></p> 1722 </div> 1723 </div> 1724 </div> 1725 {{#if display}} 1726 <div class="row"> 1727 {{#each videos}} 1728 {{#each videos}} 1729 <div class="col-12 col-md-4 mt-2 d-flex"> 1730 <a href="javascript:void(0);" title="{{embedTitle}}" data-tracking="{{embedTitle}}" class="js-dvp-video-modal js-search-tracking"> 1731 <div> 1732 <img class="p-img" src="{{embedThumbnail}}" alt="{{embedTitle}}" /> 1733 <p class="text-center mt-1 mb-3">{{embedTitle}}</p> 1734 </div> 1735 </a> 1736 <sc{{handlebarHack}}ript type="application/json"> 1737 { 1738 "url":"{{../url}}", 1739 "header":"{{embedTitle}}", 1740 "embedUrl":"{{{embedUrl}}}" 1741 } 1742 </sc{{handlebarHack}}ript> 1743 </div> 1744 {{/each}} 1745 {{/each}} 1746 </div> 1747 <p class="js-dvp-search-videos-show-all mt-2 text-center"><a href="javascript:void(0);" class="btn btn-primary border px-2 px-md-6">@Translate("Show more videos", "Show more videos") ({{showMoreCount}})</a></p> 1748 {{else}} 1749 <div class="col-12 text-center"> 1750 <p class="mb-1 mt-3 lead text-black font-italic">@Translate("Please sign in to access our related videos","Please sign in to access our related videos")</p> 1751 <p class="mb-0"><a class="js-dvp-extranet-login btn btn-cta btn-sm" href="javascript:void(0);"><i class="material-icons">lock_outline</i> @Translate("Sign in","Sign in")</a></p> 1752 </div> 1753 {{/if}} 1754 </script> 1755 </div> 1756 1757 <div id="dvp-scroll-to-elearning" class="js-dvp-search-elearning e-search-result-products is-empty mb-6"> 1758 <script id="js-e-handlebars-tmpl-dvp-search-elearning" type="text/x-handlebars-template"> 1759 <div class="row"> 1760 <div class="col-12"> 1761 <div class="pb-1 dvp-search-subject-header"> 1762 <p class="h3 mb-0"><img width="40" src="/Files/Templates/Designs/dechra-dvp/_assets/img/dvp-academy-link.svg" /> <span class="align-middle small ml-1">@Translate("Academy Courses","Academy Courses")</span><span class="align-middle small text-muted"> <em>(<span class="js-e-search-elearning-count">0</span>)</em> </span></p> 1763 </div> 1764 </div> 1765 </div> 1766 <div class="row"> 1767 <div class="col-12"> 1768 <div class="row"> 1769 <div class="col-12 text-white"> 1770 <p class="mb-0 px-2 py-1 bg-academy"> 1771 @{ 1772 string eleaningSearchTranslation = Translate("Based on your search, we have found courses on [{academyLink}]our free eLearning platform for Vets.[{/academyLink}]","Based on your search, we have found courses on [{academyLink}]our free eLearning platform for Vets.[{/academyLink}]"); 1773 string eleaningSearchTranslationTransformed = eleaningSearchTranslation.Replace("[{academyLink}]","<a class='text-white' target='_blank' href='" + academyLink + "'><u>").Replace("[{/academyLink}]","</u></a>"); 1774 } 1775 @eleaningSearchTranslationTransformed 1776 </p> 1777 </div> 1778 </div> 1779 {{# supportmaterials}} 1780 <div class="row"> 1781 <div class="col-12"> 1782 {{#if showMaterials}} 1783 <div class="list-group"> 1784 {{#each materials}} 1785 <a target="_blank" data-tracking="{{name}}" class="js-search-tracking px-2 list-group-item list-group-item-action" href="{{url}}"> 1786 <b>{{name}}</b> 1787 </a> 1788 {{/each}} 1789 </div> 1790 {{else}} 1791 <p class="my-1">@Translate("Please sign in to access our free eLearning courses","Please sign in to access our free eLearning courses")</p> 1792 <p class="mb-0"> 1793 <a class="js-dvp-extranet-login btn btn-cta btn-sm" href="javascript:void(0);"><i class="material-icons">lock_outline</i> @Translate("Sign in","Sign in")</a> 1794 </p> 1795 {{/if}} 1796 </div> 1797 </div> 1798 {{/supportmaterials}} 1799 </div> 1800 </div> 1801 </script> 1802 </div> 1803 1804 1805 <div id="dvp-scroll-to-faq" class="js-dvp-search-faq e-search-result-pages is-empty mb-6"> 1806 <script id="js-e-handlebars-tmpl-dvp-search-faq" type="text/x-handlebars-template"> 1807 <div class="row"> 1808 <div class="col-12"> 1809 <div class="pb-1 dvp-search-subject-header"> 1810 <p class="h3 mb-0"><i class="material-icons align-middle">help</i> <span class="align-middle small ml-1">@Translate("Frequent Product Questions","Frequent Product Questions")</span><span class="align-middle small text-muted"> <em>(<span class="js-e-search-faq-count">0</span>)</em> </span></p> 1811 </div> 1812 </div> 1813 </div> 1814 1815 {{#if display}} 1816 <div class="row"> 1817 <div class="col-12 dvp-faq"> 1818 {{# faqs}} 1819 {{#each faq}} 1820 <div class="border border-top-0 border-right-0 border-left-0 py-2"> 1821 <div class="row"> 1822 <div class="col-12"> 1823 <h3 class="collapsed mb-0" data-toggle="collapse" data-target="#collapse-{{paragraphId}}"> 1824 <span class="dvp-collapsed"><i class="material-icons">expand_more</i></span> 1825 <span class="dvp-expanded"><i class="material-icons">expand_less</i></span> 1826 {{#if ../rangeName}}{{../rangeName}} - {{/if}}{{categoryName}} <small class="font-weight-normal">({{listCount}})</small> 1827 </h3> 1828 </div> 1829 </div> 1830 <div class="row"> 1831 <div class="col-12"> 1832 <div class="collapse" id="collapse-{{paragraphId}}"> 1833 <div class="row"> 1834 <div class="col-12 pl-3"> 1835 {{#each faqList}} 1836 <div class="row"> 1837 <div class="col-12 mt-1"> 1838 <a href="javascript:void(0);" data-tracking="{{../../rangeName}} - {{../categoryName}} - {{listHeader}}" class="js-dvp-faq-modal js-search-tracking"> 1839 {{listHeader}} 1840 </a> 1841 <sc{{handlebarHack}}ript type="application/json"> 1842 { 1843 "url":"{{../../url}}", 1844 "rangeName":"{{../../rangeName}}", 1845 "categoryName": "{{../categoryName}}", 1846 "header":"{{{listHeader}}}", 1847 "content":"{{{listContent}}}" 1848 } 1849 </sc{{handlebarHack}}ript> 1850 </div> 1851 </div> 1852 {{/each}} 1853 </div> 1854 </div> 1855 </div> 1856 </div> 1857 </div> 1858 </div> 1859 {{/each}} 1860 {{/faqs}} 1861 </div> 1862 </div> 1863 <p class="js-dvp-search-faq-show-all mt-2 text-center"><a href="javascript:void(0);" class="btn btn-primary border px-2 px-md-6">@Translate("Show all", "Show all")</a></p> 1864 {{else}} 1865 <div class="col-12 text-center"> 1866 <p class="mb-1 mt-3 lead text-black font-italic">@Translate("Please sign in to access our related FAQs","Please sign in to access our related FAQs")</p> 1867 <p class="mb-0"><a class="js-dvp-extranet-login btn btn-cta btn-sm" href="javascript:void(0);"><i class="material-icons">lock_outline</i> @Translate("Sign in","Sign in")</a></p> 1868 </div> 1869 {{/if}} 1870 </script> 1871 </div> 1872 1873 1874 <div id="dvp-scroll-to-events" class="js-dvp-search-events e-search-result-pages is-empty mb-6"> 1875 <script id="js-e-handlebars-tmpl-dvp-search-events" type="text/x-handlebars-template"> 1876 <div class="row"> 1877 <div class="col-12"> 1878 <div class="pb-1 dvp-search-subject-header"> 1879 <p class="h3 mb-0"><i class="material-icons align-middle">event</i> <span class="align-middle small ml-1">@Translate("Upcoming Events","Upcoming Events")</span><span class="align-middle small text-muted"> <em>(<span class="js-e-search-events-count">0</span>)</em> </span></p> 1880 </div> 1881 </div> 1882 </div> 1883 <div class="flex-table flex-table--stripe cell-columns-2 flex-table--row align-middle"> 1884 <div style="order:0;" class="cell cell-header p-1"> 1885 @Translate("Event","Event") 1886 </div> 1887 <div style="order:0;" class="cell cell-header p-1"> 1888 @Translate("Date and location","Date and location") 1889 </div> 1890 {{#each events}} 1891 <div style="order:{{loopCount}};" class="cell row-first p-1 js-dvp-event-list"> 1892 <p class="mb-0 dvp-event-list-title"> 1893 <strong>{{{title}}}</strong> 1894 </p> 1895 {{#if topic}} 1896 <p class="mb-1 small"> 1897 <strong>@Translate("Topic","Topic"):</strong><br> 1898 {{topic}} 1899 </p> 1900 {{/if}} 1901 {{#if speaker}} 1902 <p class="mb-1 small"> 1903 <strong>@Translate("Speaker","Speaker"):</strong><br> 1904 {{speaker}} 1905 </p> 1906 {{/if}} 1907 {{#if moreInfo}} 1908 {{#compare moreInfoLength '>' 180}} 1909 <p class="mb-0"> 1910 <a data-toggle="collapse" href="#event-search-{{loopCount}}" role="button" aria-expanded="false" aria-controls="event-search-{{loopCount}}"> 1911 @Translate("Read more","Read more") <i class="material-icons">keyboard_arrow_down</i> 1912 </a> 1913 </p> 1914 <div class="dvp-event-list-moreinfo collapse" id="event-search-{{loopCount}}"> 1915 {{{moreInfo}}} 1916 </div> 1917 {{else}} 1918 <div class="dvp-event-list-moreinfo"> 1919 {{{moreInfo}}} 1920 </div> 1921 {{/compare}} 1922 {{/if}} 1923 {{#unless showEvents}} 1924 <p class="mb-0"> 1925 <a class="js-dvp-extranet-login btn btn-cta btn-sm" href="javascript:void(0);"><i class="material-icons">lock_outline</i> @Translate("Read more","Read more")</a> 1926 </p> 1927 {{/unless}} 1928 </div> 1929 <div style="order:{{loopCount}};" class="cell row-last p-1 js-dvp-event-list"> 1930 <p class="mb-1"> 1931 <strong>{{date}}</strong><br> 1932 {{#if locationLink}} 1933 <a href="{{locationLink}}" target="_blank"> 1934 {{/if}} 1935 <i class="material-icons">location_on</i> {{location}} 1936 {{#if locationLink}} 1937 </a> 1938 {{/if}} 1939 {{#if country}} 1940 <img width="20" class="ml-1 p-img" src="/Files/Images/Icons/Flags/{{country}}.svg" alt="{{country}}" /> 1941 {{/if}} 1942 </p> 1943 {{#if registerLink}} 1944 <p class="mb-1"> 1945 <a target="_blank" class="btn btn-primary btn-micro js-search-tracking" data-tracking="{{date}} - {{cleanedTitle}} - register now" href="{{registerLink}}">@Translate("Register now","Register now")</a> 1946 </p> 1947 {{/if}} 1948 {{#if websiteLink}} 1949 <p class="mb-0"> 1950 <a target="_blank" class="js-search-tracking" data-tracking="{{date}} - {{cleanedTitle}} - view website" href="{{websiteLink}}">@Translate("View website","View website")</a> 1951 </p> 1952 {{/if}} 1953 {{#if readMoreLink}} 1954 <p class="mb-0"> 1955 <a target="_blank" class="js-search-tracking" data-tracking="{{date}} - {{cleanedTitle}} - read more" href="{{readMoreLink}}">@Translate("Read more","Read more")</a> 1956 </p> 1957 {{/if}} 1958 </div> 1959 {{/each}} 1960 </div> 1961 </script> 1962 </div> 1963 1964 <div id="dvp-scroll-to-news" class="js-dvp-search-news e-search-result-pages is-empty mb-6"> 1965 <script id="js-e-handlebars-tmpl-dvp-search-news" type="text/x-handlebars-template"> 1966 <div class="row"> 1967 <div class="col-12"> 1968 <div class="pb-1 dvp-search-subject-header"> 1969 <p class="h3 mb-0"><i class="material-icons align-middle">new_releases</i> <span class="align-middle small ml-1">@Translate("News","News")</span><span class="align-middle small text-muted"> <em>(<span class="js-e-search-news-count">0</span>)</em> </span></p> 1970 </div> 1971 </div> 1972 </div> 1973 <div class="list-group"> 1974 {{#each news}} 1975 <a class="px-2 py-2 list-group-item list-group-item-action js-search-tracking" data-tracking="{{url}}" href="{{url}}"> 1976 <div class="row"> 1977 <div class="col-12 col-md-1"> 1978 <div class="d-none d-md-block text-center"> 1979 <p class="h3 my-0">{{year}}</p> 1980 <p class="my-0 font-weight-bold">{{combinedDate}}</p> 1981 </div> 1982 <div class="d-md-none"> 1983 <p class="my-1 font-weight-bold">{{fullDate}}</p> 1984 </div> 1985 </div> 1986 <div class="col-12 col-md-10"> 1987 <p class="h3 mb-1 mb-md-0">{{title}}</p> 1988 <p class="mb-1 mb-md-0">{{teaser}}</p> 1989 </div> 1990 <div class="col-12 col-md-1 my-auto"> 1991 <div class="d-none d-md-block text-center"> 1992 <p class="mb-0"> 1993 <i class="material-icons material-icons-4x">keyboard_arrow_right</i> 1994 </p> 1995 </div> 1996 <div class="d-md-none"> 1997 <p class="mb-0"> 1998 <u>@Translate("Read more","Read more")</u> 1999 </p> 2000 </div> 2001 </div> 2002 </div> 2003 </a> 2004 {{/each}} 2005 </div> 2006 </script> 2007 </div> 2008 2009 <div id="dvp-scroll-to-content" class="js-e-search-result-pages e-search-result-pages is-empty mb-6"> 2010 <script id="js-e-handlebars-tmpl-search-result-item-page" type="text/x-handlebars-template"> 2011 <div class="row"> 2012 <div class="col-12"> 2013 <div class="pb-1 dvp-search-subject-header"> 2014 <p class="h3 mb-0"><i class="material-icons align-middle">format_align_left</i> <span class="align-middle small ml-1">@Translate("Content","Content")</span><span class="align-middle small text-muted"> <em>(<span class="js-e-search-page-count">0</span>)</em> </span></p> 2015 </div> 2016 </div> 2017 </div> 2018 <div class="row"> 2019 {{#each pages}} 2020 <div class="col-12 mt-2"> 2021 <p class="mb-0 h3"><a href="{{{url}}}" data-tracking="{{url}}" class="js-search-tracking text-bold">{{{title}}}</a></p> 2022 <p class="mb-0 text-truncate"> 2023 <a href="{{{url}}}" data-tracking="{{url}}" class="js-search-tracking text-auto text-muted"><span class="d-none d-sm-inline">@GetGlobalValue( "Global:Request.Host" )</span>{{{url}}}</a> 2024 </p> 2025 <p class="mb-0">{{{text}}}...</p> 2026 </div> 2027 {{/each}} 2028 </div> 2029 </script> 2030 </div> 2031 </div> 2032 </div> 2033 </div> 2034 <div class="js-e-search-loading-overlay e-loading-overlay e-search-loading-overlay"> 2035 </div> 2036 </div> 2037 </div> 2038 </div> 2039 </div> 2040 </div> 2041 } 2042 2043 <div class="modal fade dvp-faq-modal"> 2044 <div class="modal-dialog"> 2045 <div class="modal-content" id="js-dvp-modal-faq-content"> 2046 <script id="js-e-handlebars-tmpl-dvp-modal-faq-content" type="text/x-handlebars-template"> 2047 <style type="text/css"> 2048 @@media print { 2049 #js-e-canvas, 2050 .modal-footer, 2051 .close, 2052 .embed-responsive, 2053 .modal-backdrop, 2054 .e-back-to-top, 2055 .e-search { 2056 display: none !important; 2057 } 2058 .modal { 2059 position: static !important; 2060 } 2061 .modal, 2062 .modal-open { 2063 overflow: auto !important; 2064 } 2065 .modal-body { 2066 padding: 0 !important; 2067 } 2068 .modal-content { 2069 box-shadow: none !important; 2070 border: 0 !important; 2071 } 2072 } 2073 </style> 2074 <div class="modal-body pl-1 pr-2 pt-2 pt-md-3 pl-md-4 pr-md-4 pb-0"> 2075 <button type="button" class="close" data-dismiss="modal"> 2076 <i class="material-icons">close</i> 2077 </button> 2078 <div class="container-fluid" id="faq-modal-content"> 2079 <div class="row"> 2080 <div class="col-12"> 2081 <p class="h4">{{categoryName}}</p> 2082 <p class="h2 mt-0">{{{header}}}</p> 2083 </div> 2084 </div> 2085 <div class="row"> 2086 <div class="col-12 dvp-rich-text-content"> 2087 {{{content}}} 2088 </div> 2089 </div> 2090 </div> 2091 </div> 2092 <div class="modal-footer bg-primary py-1 justify-content-start"> 2093 <a class="btn btn-link d-none d-sm-block text-white" href="{{url}}" target="_blank"><i class="material-icons">open_in_new</i> @Translate("Open in new tab","Open in new tab")</a> 2094 <button type="button" class="btn btn-link text-white d-none d-sm-block js-copy-to-clipboard" href="{{url}}"><i class="material-icons">share</i> @Translate("Copy shareable link","Copy shareable link")</button> 2095 <button type="button" class="btn btn-link text-white d-none d-sm-block js-print"><i class="material-icons">print</i> @Translate("Print this","Print this")</button> 2096 <button type="button" class="btn btn-link text-white ml-auto" data-dismiss="modal"><i class="material-icons">close</i> @Translate("Close","Close")</button> 2097 </div> 2098 </script> 2099 </div> 2100 </div> 2101 </div> 2102 <div class="modal fade dvp-video-modal"> 2103 <div class="modal-dialog"> 2104 <div class="modal-content" id="js-dvp-modal-video-content"> 2105 <script id="js-e-handlebars-tmpl-dvp-modal-video-content" type="text/x-handlebars-template"> 2106 <div class="modal-body px-4"> 2107 <button type="button" class="close" data-dismiss="modal"> 2108 <i class="material-icons">close</i> 2109 </button> 2110 <div class="container-fluid" id="video-modal-content"> 2111 <div class="row"> 2112 <div class="col-12"> 2113 <p class="h4">{{header}}</p> 2114 </div> 2115 </div> 2116 <div class="row"> 2117 <div class="col-12"> 2118 <div class="embed-responsive embed-responsive-16by9"> 2119 <iframe class="embed-responsive-item" src="{{embedUrl}}" width="1080" height="608" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> 2120 </div> 2121 </div> 2122 </div> 2123 </div> 2124 </div> 2125 <div class="modal-footer bg-primary py-1 justify-content-start"> 2126 <a class="btn btn-link d-none d-sm-block text-white" href="{{{url}}}" target="_blank"><i class="material-icons">open_in_new</i> @Translate("Open in new tab","Open in new tab")</a> 2127 <button type="button" class="btn btn-link text-white d-none d-sm-block js-copy-to-clipboard" href="{{{url}}}"><i class="material-icons">share</i> @Translate("Copy shareable link","Copy shareable link")</button> 2128 <button type="button" class="btn btn-link text-white ml-auto" data-dismiss="modal"><i class="material-icons">close</i> @Translate("Close","Close")</button> 2129 </div> 2130 </script> 2131 </div> 2132 </div> 2133 </div> 2134 @if( Espresso.Area.Item.BackToTopLink == "True" ){ 2135 <a href="#top" class="e-back-to-top js-e-back-to-top"><i class="material-icons">keyboard_arrow_up</i></a> 2136 } 2137 2138 2139 @using System.Web; 2140 @inherits Co3.Espresso.Website.TemplateBases.Pages.PageBase 2141 2142 @{ 2143 HttpCookie optInLevel = HttpContext.Current.Request.Cookies[ "Dynamicweb.CookieOptInLevel" ]; 2144 bool showCookieWarning = optInLevel == null; 2145 if ( optInLevel != null ) 2146 { 2147 showCookieWarning = optInLevel.Value != "2"; 2148 } 2149 } 2150 2151 @if ( showCookieWarning ) 2152 { 2153 <div class="js-e-cookie e-cookie py-1" hidden=""> 2154 <aside class="e-cookie-wrapper"> 2155 <section class="e-section"> 2156 <div class="container-fluid"> 2157 <div class="row align-items-center"> 2158 <div class="col-12 col-md-9 col-lg-10 my-1"> 2159 <p class="mb-0 text-center text-md-left small"> 2160 <span class="d-none d-md-inline"> 2161 @Translate("Cookie Warning - Message Long - Text", "This website uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our") 2162 </span> 2163 <span class="d-md-none"> 2164 @Translate("Cookie Warning - Message Short - Text", "This website uses cookies to improve your experience. Learn more about our") 2165 </span> 2166 &nbsp; 2167 <a href="@Espresso.Area.Item.CookieMessage"> 2168 @Translate("Cookie Warning - Policy - Link", "cookie policy") 2169 </a> 2170 </p> 2171 </div> 2172 <div class="col-12 col-md-3 col-lg-2 my-1"> 2173 <p class="mb-0 text-center text-md-right"> 2174 <button type="button" class="js-e-cookie-accept-btn e-cookie-accept-btn btn"> 2175 @Translate("Cookie Warning - Accept - Button", "OKAY") 2176 </button> 2177 </p> 2178 </div> 2179 </div> 2180 </div> 2181 </section> 2182 </aside> 2183 </div> 2184 } 2185 2186 @if ( 1 == 2 ) 2187 { 2188 @GetValue( "DwCookieWarning" ) 2189 } 2190 @using Co3.Dechra.DVP.Website.UiServices; 2191 @functions { 2192 public bool validAreaForCountrySelector(Area area, Area currentArea) { 2193 return (area.Active && !string.IsNullOrEmpty(area.DomainLock) && area.UniqueId!=currentArea.UniqueId && area.Item != null && area.Item.ContainsKey( "WebsiteIsLive" ) && area.Item["WebsiteIsLive"].ToString() == "True"); 2194 } 2195 } 2196 @if(Espresso.IsStagingUrl != true) 2197 { 2198 if(string.IsNullOrEmpty(HttpContext.Current.Request["geo"])) 2199 { 2200 if(!RedirectUiService.CookieExist()) 2201 { 2202 Area geoIpCurrentArea = PageView.Current().Area; 2203 2204 AreaService areaService = new AreaService(); 2205 IList< Area > geoIpAreaCollection = areaService.GetAreas(); 2206 2207 Area matchedCountry = null; 2208 Area globalCountry = null; 2209 2210 string geoIpCountryCode = RedirectUiService.LookupCountry(); 2211 2212 if(!string.IsNullOrEmpty(geoIpCountryCode) && !CountryUiService.GetCountryCode(geoIpCurrentArea).Equals(geoIpCountryCode)) 2213 { 2214 globalCountry = geoIpAreaCollection.FirstOrDefault( area => (CountryUiService.GetCountryCode(area).Equals("global")) && (validAreaForCountrySelector(area, geoIpCurrentArea))); 2215 2216 if(geoIpAreaCollection.Any( area => (CountryUiService.GetCountryCode(area).Equals(geoIpCountryCode)) && (validAreaForCountrySelector(area, geoIpCurrentArea)) )) 2217 { 2218 matchedCountry = geoIpAreaCollection.FirstOrDefault( area => (CountryUiService.GetCountryCode(area).Equals(geoIpCountryCode)) && (validAreaForCountrySelector(area, geoIpCurrentArea))); 2219 } 2220 else 2221 { 2222 matchedCountry = globalCountry; 2223 } 2224 2225 <div class="modal fade dvp-geo-ip-country-modal"> 2226 <div class="modal-dialog"> 2227 <div class="modal-content"> 2228 <div class="modal-body px-1 py-1 py-lg-3 py-xl-2"> 2229 <div class="container"> 2230 <div class="row"> 2231 <div class="col-12"> 2232 <div class="px-2 py-2 px-lg-5 py-lg-2 mt-0 mt-md-1 mt-lg-0 mt-xl-1 text-center bg-primary"> 2233 <h3 class="text-white m-0">@Translate("Before you continue","Before you continue")</h3> 2234 <p class="text-white m-0"> 2235 @Translate("To find information that meets your country’s legislation, please consider going to a country website that matches your location.","To find information that meets your country’s legislation, please consider going to a country website that matches your location.") 2236 </p> 2237 </div> 2238 </div> 2239 </div> 2240 <div class="row"> 2241 <div class="col-12"> 2242 <div class="row px-0 py-2 px-lg-5 py-lg-2 mt-0 mt-md-2 mt-lg-0 mt-xl-1"> 2243 @if(matchedCountry != null) 2244 { 2245 string flag = CountryUiService.GetCountryCode(matchedCountry); 2246 string url = $"//{matchedCountry.DomainLock}?geo={geoIpCountryCode}"; 2247 string domainText = matchedCountry.DomainLock; 2248 2249 <div class="col-12 p-0 text-center"> 2250 <a title="Go to @domainText" class="py-1 px-2" href="@url"><span class="mx-auto mr-md-1 mb-1 mb-md-0 d-block d-md-inline-block dvp-flag-icon dvp-flag-icon-40"><img src="/Files/Images/Icons/Flags/@(flag).svg" alt="@flag"></span> @Translate("May we suggest","May we suggest") <u>@domainText</u> ?</a> 2251 <hr> 2252 </div> 2253 } 2254 @foreach(Area area in geoIpAreaCollection.OrderBy(a => CountryUiService.GetCountryCode(a))) 2255 { 2256 string flag = CountryUiService.GetCountryCode(area); 2257 string url = $"//{area.DomainLock}?geo={geoIpCountryCode}"; 2258 string domainText = area.DomainLock; 2259 2260 if(validAreaForCountrySelector(area, geoIpCurrentArea) && area != matchedCountry && area != globalCountry) 2261 { 2262 <div class="col-6 col-md-2"> 2263 <a title="Go to @domainText" class="dropdown-item pt-1 pb-1" href="@url"><span class="mr-1 d-inline-block dvp-flag-icon dvp-flag-icon-40"><img src="/Files/Images/Icons/Flags/@(flag).svg" alt="@flag"></span>@flag</a> 2264 </div> 2265 } 2266 } 2267 @if(globalCountry != null && globalCountry != matchedCountry) 2268 { 2269 string flag = CountryUiService.GetCountryCode(globalCountry); 2270 string url = $"//{globalCountry.DomainLock}?geo={geoIpCountryCode}"; 2271 string domainText = globalCountry.DomainLock; 2272 2273 <div class="col-6 col-md-2"> 2274 <a title="Go to @domainText" class="dropdown-item pt-1 pb-1" href="@url"><span class="mr-1 d-inline-block dvp-flag-icon dvp-flag-icon-40"><img src="/Files/Images/Icons/Flags/@(flag).svg" alt="@flag"></span>Global</a> 2275 </div> 2276 } 2277 </div> 2278 </div> 2279 </div> 2280 <div class="row"> 2281 <div class="col-12"> 2282 <div class="px-2 py-2 px-lg-5 py-lg-2 mt-3 mt-md-2 mt-lg-0 mt-xl-1 text-center bg-primary"> 2283 <p class="text-white m-0">@Translate("If you are unable to find your country location then disregard this popup and proceed to the website.","If you are unable to find your country location then disregard this popup and proceed to the website.")</p> 2284 <p class="m-1"><button type="button" class="btn btn-sm btn-outline-light js-dvp-geo-ip-dismiss-button" data-geo-ip-country="@geoIpCountryCode" data-dismiss="modal">@Translate("Dismiss","Dismiss")</button></p> 2285 </div> 2286 </div> 2287 </div> 2288 </div> 2289 </div> 2290 </div> 2291 </div> 2292 </div> 2293 } 2294 } 2295 } 2296 else 2297 { 2298 if(!RedirectUiService.CookieExist()) 2299 { 2300 RedirectUiService.SetCountry(HttpContext.Current.Request["geo"]); 2301 } 2302 } 2303 } 2304 <script src="/Files/Templates/Designs/dechra-dvp/_assets/_dist/js/default.js?v=asdg1afsasaafsssdasgsasdsssdg2s3" async=""></script> 2305 </body> 2306 2307 @GetValue("CopyRightNotice") 2308 </html> 2309