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