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