Error executing template "Designs/dechra-com/_parsed/espresso.parsed.cshtml"
System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.RazorEngine_ff8a26e9741342d59e485db60188e14e.Execute() in D:\Dynamicweb.NET\Solutions\com.dvp.dechra.espresso4.dk\Files\Templates\Designs\dechra-com\_parsed\espresso.parsed.cshtml:line 6
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.b__0(TextWriter writer)
   at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()

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