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