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