Error executing template "Designs/ambu/_parsed/ambu-mastersite-espresso.parsed.cshtml"
System.NullReferenceException: Object reference not set to an instance of an object.
at CompiledRazorTemplates.Dynamic.RazorEngine_4337867d94ca42ceb55db19419944333.Execute() in E:\dynamicweb.net\SolutionsCustom\Co3\ambu-com.espresso4.dk\files\Templates\Designs\ambu\_parsed\ambu-mastersite-espresso.parsed.cshtml:line 30
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.<RunCompile>b__0(TextWriter writer)
at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
at Dynamicweb.Rendering.RazorTemplateRenderingProvider.Render(Template template)
at Dynamicweb.Rendering.TemplateRenderingService.Render(Template template)
at Dynamicweb.Rendering.Template.RenderRazorTemplate()
1 @inherits Co3.Espresso.Website.TemplateBases.Pages.PageBase
2 @using Co3.Ambu.Dw.Services;
3 @using Co3.Ambu.Dw.DAL.Models;
4 @using System.Web;
5 @using Co3.Ambu.Dw.Models.Frontend
6 @using Co3.Espresso.Base.Extensions
7 @using Dynamicweb.Frontend;
8 @using Dynamicweb.Rendering;
9 @{
10 string globalAreaLang = GetGlobalValue( "Global:Area.Lang" );
11 //DomainLocalization domainLocalization = LocalizationService.Instance.GetDomainLocalizationIfMatch();
12 string siteHostUrl = HttpContext.Current.Request.Url.Host;
13 string siteHost = GetGlobalValue( "Global:Request.Scheme" ) + "://" + siteHostUrl + "/";
14 int globalAreaID = PageView.Current().Area.ID;
15 16 bool isProductPage = string.IsNullOrEmpty( HttpContext.Current.Request["productid"] ) == false;
17 bool isProductPageSearch = string.IsNullOrEmpty( HttpContext.Current.Request["PageNum"] ) == false;
18 string productTitleSnippetHtml = RenderSnippet( "productTitle" ).ToString().Trim();
19 string eComCanonicalSnippetTag = RenderSnippet( "eComCanonical" ).ToString().Trim();
20 string globalValueUrl = GetGlobalValue( "Global:Pageview.Url" );
21 string pageTitle = GetGlobalValue("Global:Page.Name");
22 if ( GetGlobalValue( "Global:Pageview.Url" ).IndexOf( "?" ) > -1 )
23 {
24 globalValueUrl = GetGlobalValue( "Global:Pageview.Url" ).Substring( 0, GetGlobalValue( "Global:Pageview.Url" ).IndexOf( "?" ) );
25 }
26 string canonicalPageView = String.Format( "{0}://{1}{2}", GetGlobalValue( "Global:Request.Scheme" ), GetGlobalValue( "Global:Request.Host" ), globalValueUrl );
27 string pageCanonical = PageView.Current().Page.MetaCanonical;
28 string OpenGraphURL = GetGlobalValue( "Global:Request.Scheme" ) + "://" + GetGlobalValue( "Global:Request.Host" ) + GetGlobalValue( "Global:Pageview.Url" );
29 30 string scriptHead = (Espresso.Area.Item.ScriptHead != "") ? Espresso.Area.Item.ScriptHead : "";
31 string scriptBodyTop = (Espresso.Area.Item.ScriptBodyTop != "") ? Espresso.Area.Item.ScriptBodyTop : "";
32 string scriptBodyBottom = (Espresso.Area.Item.ScriptBodyBottom != "") ? Espresso.Area.Item.ScriptBodyBottom : "";
33 }
34 <!DOCTYPE html>
35 <html lang="@globalAreaLang">
36 <head>
37 <meta charset="utf-8">
38 @if ( isProductPage == false && isProductPageSearch == false )
39 {
40 <title>@GetValue("Title")</title>
41 @GetValue("CopyRightNotice")
42 43 @GetValue("MetaTags")
44 }
45 else if(isProductPage)
46 {
47 @productTitleSnippetHtml
48 }
49 else
50 {
51 <title>@pageTitle</title>
52 <base href="@siteHost">
53 <meta name="generator" content="Dynamicweb 9">
54 }
55 <meta content="width=device-width, initial-scale=1, shrink-to-fit=no, minimal-ui" name="viewport">
56 <meta content="ie=edge" http-equiv="x-ua-compatible">
57 <meta content="313B624F0C8264FB3B95057AE602F42C" name="msvalidate.01">
58 @using Dynamicweb.Frontend
59 @using Area = Dynamicweb.Content.Area
60 61 62 <!-- Hreflang -->
63 @{
64 @* Get areas from service *@
65 Dynamicweb.Content.AreaService areaService = new Dynamicweb.Content.AreaService();
66 IList<Area> areas = areaService.GetAreas();
67 68 @* Get current page's relation-text from page-item *@
69 string currentPageRelation = PageView.Current().Page.Item["PageRelation"] != null ? PageView.Current().Page.Item["PageRelation"].ToString() : string.Empty;
70 71 @* Frontpage must have 'frontpage' as relation-text *@
72 string CONST_frontpageRelation = "frontpage";
73 74 @* Iterate areas *@
75 foreach ( Area area in areas )
76 {
77 if ( area.Active == true )
78 {
79 80 81 82 @* Get current area's culture *@
83 string culture = area.Culture;
84 @* Check for IsDefault Hreflang on area *@
85 string isDefaultHrefLang = area.Item["IsDefaultHrefLang"] != null ? area.Item["IsDefaultHrefLang"].ToString() : string.Empty;
86 @* Check for override-culture text on area *@
87 string hreflangCultureOverride = area.Item["HreflangLanguageOverride"] != null ? area.Item["HreflangLanguageOverride"].ToString() : string.Empty;
88 89 @* Get scheme and domain *@
90 string scheme = GetGlobalValue( "Global:Request.Scheme" );
91 92 string domain = area.DomainLock;
93 @* If we have a primary domain call pageservice and get pages *@
94 if ( string.IsNullOrEmpty( currentPageRelation ) == false && string.IsNullOrEmpty( domain ) == false && !domain.EndsWith( "espresso4.dk" ) )
95 {
96 Dynamicweb.Content.PageService pageService = new Dynamicweb.Content.PageService();
97 IEnumerable<Dynamicweb.Content.Page> pages = pageService.GetPagesByAreaID( area.ID );
98 99 @* Iterate pages in area - check if is active + has item + has item-pagerelation + item-pagerelation equals current pagerelation *@
100 foreach ( Dynamicweb.Content.Page page in pages.Where( p => p.Published && p.Item != null && p.Item["PageRelation"] != null && p.Item["PageRelation"].ToString().Equals( currentPageRelation ) ) )
101 {
102 string productId = HttpContext.Current.Request["productid"];
103104 string url = string.Empty;
105106 if ( string.IsNullOrEmpty( productId ) == false )
107 {
108 @* Build url to area product page *@
109 string prodUrl = string.Format( "Default.aspx?ID={0}&ProductId={1}", page.ID, productId );
110 url = string.Format( "{0}://{1}{2}", scheme, domain, SearchEngineFriendlyURLs.GetFriendlyUrl( prodUrl, area.EcomLanguageId ) );
111 }
112 else
113 {
114 @* Build url to area page *@
115 url = string.Format( "{0}://{1}{2}", scheme, domain, SearchEngineFriendlyURLs.GetFriendlyUrl( page.GetPageHrefValue() ) );
116 }
117118 @* If our current page relation match frontpage - set link to domain only *@
119 if ( currentPageRelation.ToLower() == CONST_frontpageRelation )
120 {
121 url = string.Format( "{0}://{1}/", scheme, domain );
122 }
123 @* If we have a value in the area-item to overrule the culture, override the value here *@
124 if ( string.IsNullOrEmpty( hreflangCultureOverride ) == false )
125 {
126 culture = hreflangCultureOverride;
127 }
128 @* If our area item has checked in Default hreflang, we render x-default link *@
129 if ( isDefaultHrefLang == "True" )
130 {
131 <link rel="alternate" hreflang="x-default" href="@url">
132 }
133 else
134 {
135 @* Render hreflang-link *@
136 <link rel="alternate" hreflang="@culture.ToLower()" href="@url">
137 }
138139 @* Find all related cultures *@
140 string relatedCulturesString = area.Item["RelatedCultures"] != null ? area.Item["RelatedCultures"].ToString() : string.Empty;
141142 if (!string.IsNullOrWhiteSpace(relatedCulturesString))
143 {
144 @* RelatedCultures is an editable list, which comes comma separated *@
145 string[] relatedCultures = relatedCulturesString.Split(',');
146147 foreach (string relatedCulture in relatedCultures)
148 {
149 <link rel="alternate" hreflang="@relatedCulture.ToLower()" href="@url">
150 }
151 }
152 }
153 }
154 }
155 }
156 }
157 <!-- End Hreflang -->
158159 @if ( globalValueUrl.EndsWith( "/product" ) || globalValueUrl.Contains( "/test-dev" ) || globalValueUrl.Contains( "/test-pages" ) )
160 {
161 <meta content="noindex" name="robots">
162 }
163164 @if ( isProductPage == false )
165 {
166 <link rel="canonical" href="@canonicalPageView">
167 }
168 else
169 {
170 <link rel="canonical" href="@eComCanonicalSnippetTag">
171 @GetValue( "MetaTags" )
172 }
173174 @Espresso.CriticalCSS
175176 @scriptHead
177178 @if ( string.IsNullOrEmpty( Espresso.Area.GoogleTagManagerID ) == false && Espresso.Area.GoogleTagManagerID != "GTM-XXXX" )
179 {
180 <!-- Google Tag Manager -->
181 <script>
182 (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
183 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
184 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
185 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
186 })(window,document,'script','dataLayer','@Espresso.Area.GoogleTagManagerID');
187 </script>
188 <!-- End Google Tag Manager -->
189 }
190191 <link href="/Files/Templates/Designs/ambu/assets/_dist/css/default.css?v=4.037" media="@Espresso.StylesheetAttributeMedia" rel="@Espresso.StylesheetAttributeRel" as="style">
192193194 @Espresso.CriticalJS
195196197 <link rel="shortcut icon" href="@Espresso.Area.Item.Favicon">
198 @if ( Espresso.IsStagingUrl == true || siteHost.Contains( "webtester.dk" ) )
199 {
200 <meta content="noindex,nofollow" name="robots">
201 }
202203 <meta property="og:url" content="@OpenGraphURL">
204 <meta property="og:title" content="@Espresso.OpenGraphTitle">
205 <meta property="og:description" content="@Espresso.OpenGraphDescription">
206 <meta property="og:image" content="@Espresso.OpenGraphImage">
207208 @if ( string.IsNullOrEmpty( Espresso.Area.Item.GoogleSiteVerification ) == false )
209 {
210 <meta name="google-site-verification" content="@Espresso.Area.Item.GoogleSiteVerification">
211 }
212213 @{
214 if ( 1 == 2 )
215 {
216 @GetValue( "Stylesheets" )
217 }
218 }
219220 @*<div class="modal fade ambu-disclaimer-modal" id="ambu-disclaimer" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static">
221 <div class="modal-dialog">
222 <div class="modal-content col-xs-12 col-md-8 col-md-offset-2 p-t-2 p-b-2">
223 <button type="button" class="close" data-dismiss="modal" aria-label="Close">
224 <span aria-hidden="true">×</span>
225 </button>
226 <section class="p-t-3 p-b-3">
227 <div class="container-fluid">
228 <div class="row">
229 <div class="col-xs-12">
230 <div class="row">
231 <div class="js-disclaimer-text-container col-xs-12 col-md-12 " hidden="">
232 <div class="row">
233 <div class="col-xs-12">
234 <h2 class="m-b-0">Disclaimer <span style="font-size: 0.5em;" class="text-primary">(Important)</span></h2>
235 <p class="card-header p-t-3 p-b-3 small m-t-1">
236 ELECTRONIC VERSIONS OF THE MATERIALS YOU ARE SEEKING TO ACCESS ARE BEING MADE AVAILABLE ON THIS WEBPAGE BY AMBU A/S (THE <strong>“COMPANY”</strong>) IN GOOD FAITH AND FOR INFORMATION PURPOSES ONLY. THESE MATERIALS ARE NOT DIRECTED AT OR ACCESSIBLE BY PERSONS LOCATED IN THE UNITED STATES, CANADA, AUSTRALIA AND JAPAN AND ANY OTHER JURISDICTION WHERE THE EXTENSION OR AVAILABILITY OF THE PROPOSED OFFERING (AND ANY OTHER TRANSACTION CONTEMPLATED THEREBY) WOULD BREACH ANY APPLICABLE LAW OR REGULATION (THE <strong>“RESTRICTED JURISDICTIONS”</strong>).</p>
237 <p class="lead">
238 Please read this notice carefully — it applies to all persons who view this webpage. Please note that the disclaimer set out below may be altered or updated from time to time. You should read it in full each time you visit the site.</p>
239 <h3>Basis of access </h3>
240 <p>
241 Access to electronic versions of these materials is being made available by the Company in good faith and for information purposes only. Any person seeking access to this webpage represents and warrants to the Company that they are doing so for information purposes only. Making press announcements and other documents available in electronic format does not constitute an offer to sell or the solicitation of an offer to buy the securities mentioned in such materials (the “Securities”). Further, it does not constitute a recommendation by the Company or any other party to sell or buy the Securities.</p>
242 <h3>Foreign Persons</h3>
243 <p>
244 Viewing the materials on this webpage may not be lawful in certain jurisdictions. In other jurisdictions, only certain categories of person may be allowed to view such materials. Any citizens or residents or, or persons otherwise located in, any Restricted Jurisdiction, who wish to view these materials should satisfy themselves that they are not subject to any local requirements that prohibit or restrict them from doing so.</p>
245 <p>
246 Unless otherwise determined by the Company and permitted by applicable law and regulation, the materials do not constitute or form a part of any offer or solicitation to purchase or subscribe for the Securities by the Company made in the Restricted Jurisdictions or any other jurisdiction in which such offers or sales are unlawful prior to registration or qualification under the securities laws of any such jurisdiction.</p>
247 <p>
248 In particular, the Securities have not been and will not be registered under the United States Securities Act of 1933, as amended (the <strong>“Securities Act”</strong>), and may not be offered or sold in or into the United States except pursuant to an exemption from, or in a transaction not subject to, the registration requirements of the Securities Act. The Securities will not be registered under or offered in compliance with applicable securities laws of any state, province, territory, county or jurisdiction of the United States or the other Restricted Jurisdictions. Accordingly, unless an exemption under the relevant securities law is applicable, the Securities may not be offered, sold, taken up, exercised, renounced, resold, delivered or distributed, directly or indirectly, in or into the United States or the other Restricted Jurisdictions or any other jurisdiction if to do so would constitute a violation of the relevant laws of, or require registration of the Securities in, such jurisdiction. There will be no public offering of the Securities in the United States.</p>
249 <p>
250 If you are not permitted to view materials on this webpage or are in any doubt as to whether you are permitted to view these materials, please exit this webpage.</p>
251 <h3>Confirmation of understanding and acceptance of disclaimer</h3>
252 <p>
253 Electronic versions of these materials are not directed at or accessible by, nor should they be made available to, persons located in the Restricted Jurisdictions or in any other restricted jurisdiction.</p>
254 <p>
255 By clicking on the “Agree” button, I certify that I am not located in any of the Restricted Jurisdictions or in any other restricted jurisdiction.
256 </p>
257 <p>
258 I have read and understood the disclaimer set out above. I understand that it may affect my rights. I agree to be bound by its terms. By clicking on the “Agree” button, I confirm that I am permitted to proceed to electronic versions of these materials.</p>
259 </div>
260 </div>
261 <div class="row">
262263 <div class="m-t-1 col-xs-12 col-md-6">
264 <button class="btn btn-primary btn-sm btn-block js-disclaimer-modal-confirm-again-btn" type="button">Agree</button>
265 </div>
266 <div class="m-t-1 col-xs-12 col-md-6">
267 <button class="btn btn-secondary btn-sm btn-block" type="button" data-dismiss="modal">Disagree</button>
268 </div>
269 </div>
270 </div>
271 <div class="js-disclaimer-select-country-container col-xs-12 col-md-8 col-md-offset-2">
272 <h2 class="text-xs-center">Please confirm your location here</h2>
273 <form class="form-inline"></form>
274 <div class="form-group">
275 <div class="row">
276 <div class="m-t-1 col-xs-12 col-md-8">
277 <select style="height: 100%; padding: 0.1em 0;" class="form-control form-control-lg js-disclaimer-modal-confirm-value">
278 <option selected="" disabled="">Select country</option>
279 <option value="AL">Albania</option>
280 <option value="AR">Argentina</option>
281 <option value="AU">Australia</option>
282 <option value="AT">Austria</option>
283 <option value="BH">Bahrain</option>
284 <option value="BD">Bangladesh</option>
285 <option value="BE">Belgium</option>
286 <option value="BO">Bolivia</option>
287 <option value="BR">Brazil</option>
288 <option value="BG">Bulgaria</option>
289 <option value="CA">Canada</option>
290 <option value="CL">Chile</option>
291 <option value="CN">China</option>
292 <option value="CO">Colombia</option>
293 <option value="CR">Costa Rica</option>
294 <option value="HR">Croatia</option>
295 <option value="CZ">Czech Republic</option>
296 <option value="DK">Denmark</option>
297 <option value="EC">Ecuador</option>
298 <option value="EG">Egypt</option>
299 <option value="SV">El Salvador</option>
300 <option value="EE">Estonia</option>
301 <option value="FI">Finland</option>
302 <option value="FR">France</option>
303 <option value="DE">Germany</option>
304 <option value="GR">Greece</option>
305 <option value="GT">Guatamala</option>
306 <option value="HK">Hong Kong</option>
307 <option value="HU">Hungary</option>
308 <option value="IS">Iceland</option>
309 <option value="IN">India</option>
310 <option value="ID">Indonesia</option>
311 <option value="IR">Iran</option>
312 <option value="IQ">Iraq</option>
313 <option value="IE">Ireland</option>
314 <option value="IL">Israel</option>
315 <option value="IT">Italy</option>
316 <option value="JP">Japan</option>
317 <option value="JO">Jordan</option>
318 <option value="KE">Kenya</option>
319 <option value="KW">Kuwait</option>
320 <option value="LV">Latvia</option>
321 <option value="LB">Lebanon</option>
322 <option value="LY">Libya</option>
323 <option value="LT">Lithuania</option>
324 <option value="LU">Luxembourg</option>
325 <option value="MY">Malaysia</option>
326 <option value="MT">Malta</option>
327 <option value="MK">Marcedonia</option>
328 <option value="MX">Mexico</option>
329 <option value="MA">Morocco</option>
330 <option value="MM">Myanmar</option>
331 <option value="NP">Nepal</option>
332 <option value="NL">Netherlands</option>
333 <option value="NZ">New Zealand</option>
334 <option value="NI">Nicaragua</option>
335 <option value="NO">Norway</option>
336 <option value="OM">Oman</option>
337 <option value="PK">Pakistan</option>
338 <option value="PA">Panana</option>
339 <option value="PY">Paraguay</option>
340 <option value="PE">Peru</option>
341 <option value="PH">Philippines</option>
342 <option value="PL">Poland</option>
343 <option value="PT">Portugal</option>
344 <option value="PR">Puerto Rico</option>
345 <option value="QA">Qatar</option>
346 <option value="DO">República Dominicana</option>
347 <option value="RO">Romania</option>
348 <option value="RU">Russia</option>
349 <option value="SA">Saudi Arabia</option>
350 <option value="RS">Serbia</option>
351 <option value="SG">Singapore</option>
352 <option value="SK">Slovak Republic</option>
353 <option value="SI">Slovenia</option>
354 <option value="ZA">South Africa</option>
355 <option value="KR">South Korea</option>
356 <option value="ES">Spain</option>
357 <option value="LK">Sri Lanka</option>
358 <option value="SE">Sweden</option>
359 <option value="CH">Switzerland</option>
360 <option value="SY">Syria</option>
361 <option value="TW">Taiwan</option>
362 <option value="TH">Thailand</option>
363 <option value="TT">Trinidad & Tobago</option>
364 <option value="TN">Tunisia</option>
365 <option value="TR">Turkey</option>
366 <option value="AE">UAE</option>
367 <option value="GB">United Kingdom</option>
368 <option value="US">United States</option>
369 <option value="UY">Uruguay</option>
370 <option value="VN">Vietnam</option>
371 </select>
372 </div>
373 <div class="m-t-1 col-xs-12 col-md-4">
374 <button class="btn btn-primary btn-sm btn-block js-disclaimer-modal-confirm-btn" type="button">Go</button>
375 </div>
376 </div>
377 </div>
378 </div>
379 <form></form>
380 </div>
381 </div>
382 </div>
383 </div>
384 </section>
385 </div>
386 </div>
387 </div>*@
388389 @GetValue("Stylesheets")
390 @GetValue("Javascripts")
391 </head>
392393 <body class="@Espresso.Item.CustomClasses">
394395 @scriptBodyTop
396397 @if ( string.IsNullOrEmpty( Espresso.Area.GoogleTagManagerID ) == false && Espresso.Area.GoogleTagManagerID != "GTM-XXXX" )
398 {
399 <!-- Google Tag Manager (noscript) -->
400 <noscript>
401 <iframe src="https://www.googletagmanager.com/ns.html?id=@Espresso.Area.GoogleTagManagerID" height="0" width="0" style="display:none;visibility:hidden"></iframe>
402 </noscript>
403 <!-- End Google Tag Manager (noscript) -->
404 }
405406 @using Co3.Ambu.Dw.Services
407 @{
408 if( Espresso.Canvas.ClassList.ToString().Contains("e-page-is-loading") == true ){
409 Espresso.Canvas.ClassList.RemoveClasses("e-page-is-loading");
410 Espresso.Canvas.ClassList.AddClasses("is-loading");
411 }
412 if ( Espresso.Item.HeaderHide == "True" )
413 {
414 Espresso.Canvas.ClassList.AddClasses( "p-t-0" );
415 }
416 }
417418 @if( Espresso.Area.Item.OptimizedLoading == "True" ){
419 <div id="js-e-page-loading-overlay" class="e-page-loading-overlay e-loading-overlay is-loading"><div class="e-loading-spinner"></div></div>
420 }
421422 <div class="@Espresso.Canvas.ClassList" id="js-e-canvas">
423 @{
424 string Logo = Espresso.Area.Item.Logo; string Tagline = Espresso.Area.Item.Tagline;
425 }
426 @if( Espresso.Item.HeaderHide != "True" ){
427 <header class="e-header e-header-mastersite js-e-header is-sticky">
428 <div class="e-header-container">
429 <div class="container-fluid">
430 <div class="row">
431 <div class="col-xs-12">
432 <article class="e-header-wrapper">
433 <div class="e-logo hidden-lg-up">
434 <a href="/" class="e-logo-link">
435 <img src="@Logo" class="e-logo-img" alt="@Tagline">
436 @if( string.IsNullOrEmpty( Tagline ) == false ){
437 <p class="e-logo-tagline">@Tagline</p>
438 }
439 </a>
440 </div>
441 @if( Espresso.Item.NavigationHide != "True" ){
442 @GetValue("DwNavigation(dwnavheadercta)")
443 if( Espresso.Area.Item.Search == "True" ){
444 <div class="e-search-toggle e-header-btn">
445 <a data-toggle="modal" data-target=".modal.e-search" class="btn text-auto">
446 <i class="material-icons m-a-0">search</i>
447 </a>
448 </div>
449 }
450 if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:eCommerce.Order.OrderLines.TotalProductQuantity"))) {
451 if( Espresso.Area.Item.Shop == "True" ){
452 <div class="e-header-btn e-cart-mini">
453 <a href="/quote/cart/" class="btn text-auto">
454 <i class="material-icons m-a-0">shopping_basket</i>
455 <span class="e-cart-count js-e-cart-count">@GetGlobalValue("Global:eCommerce.Order.OrderLines.TotalProductQuantity")</span>
456 </a>
457 </div>
458 }
459 }
460 <div class="e-header-btn e-nav-toggle">
461 <a data-toggle="modal" data-target=".modal.e-nav-container" class="btn text-auto">
462 <i class="material-icons">menu</i>
463 </a>
464 </div>
465 <div class="e-nav-container modal js-e-nav-container" data-backdrop="false">
466 <nav class="e-nav">
467 <div class="e-nav-masthead">
468 <div class="e-logo">
469 <a href="/" class="e-logo-link">
470 <img src="@Logo" class="e-logo-img" alt="@Tagline"> @if( string.IsNullOrEmpty( Tagline ) == false ){
471 <p class="e-logo-tagline">@Tagline</p>
472 }
473 </a>
474 </div>
475 <div class="e-nav-toggle e-header-btn">
476 <button type="button" data-toggle="modal" data-target=".modal.e-nav-container" class="btn text-auto">
477 <i class="material-icons">close</i>
478 </button>
479 </div>
480 @if( Espresso.Area.Item.Search == "True" ){
481 <div class="e-search-toggle e-header-btn">
482 <button type="button" data-toggle="modal" data-target=".modal.e-search" class="btn text-auto">
483 <i class="material-icons">search</i>
484 </button>
485 </div>
486 }
487 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:eCommerce.Order.OrderLines.TotalProductQuantity"))) {
488 if( Espresso.Area.Item.Shop == "True" ){
489 <div class="e-header-btn e-cart-mini">
490 <a href="/quote/cart/" class="btn text-auto">
491 <i class="material-icons m-a-0">shopping_basket</i>
492 <span class="e-cart-count js-e-cart-count">@GetGlobalValue("Global:eCommerce.Order.OrderLines.TotalProductQuantity")</span>
493 </a>
494 </div>
495 }
496 }
497 </div>
498 <section class="e-nav-global">
499 <ul class="nav">
500 @GetValue("DwNavigation(dwnavglobal)")
501 </ul>
502 @if( Espresso.Area.Item.Search == "True" ){
503 <div class="e-search-toggle">
504 <button type="button" data-toggle="modal" data-target=".modal.e-search" class="btn text-auto">
505 <i class="material-icons">search</i>
506 </button>
507 </div>
508 }
509 @if (!string.IsNullOrWhiteSpace(GetGlobalValue("Global:eCommerce.Order.OrderLines.TotalProductQuantity"))) {
510 if( Espresso.Area.Item.Shop == "True" ){
511 <div class="e-cart-mini">
512 <a href="/quote/cart/" class="btn text-auto">
513 <i class="material-icons m-a-0">shopping_basket</i>
514 <span class="e-cart-count js-e-cart-count">@GetGlobalValue("Global:eCommerce.Order.OrderLines.TotalProductQuantity")</span>
515 </a>
516 </div>
517 }}
518 </section>
519 @*@if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavcta)") ) == false ){
520 <section class="e-nav-cta">
521 <ul class="nav">
522 @GetValue("DwNavigation(dwnavcta)")
523 </ul>
524 </section>
525 }*@
526527 <section class="e-nav-utilities-primary">
528 <div class="e-logo">
529 <a href="/" class="e-logo-link hidden-md-down">
530 <img src="@Logo" class="e-logo-img" alt="@Tagline">
531 @if( string.IsNullOrEmpty( Tagline ) == false ){
532 <p class="e-logo-tagline">@Tagline</p>
533 }
534 </a>
535 </div>
536 @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavutilitiesprimary)") ) == false ){
537 <ul class="nav">
538 @if( Espresso.Item.NavigationHide != "True" ){
539 @GetValue("DwNavigation(dwnavutilitiesprimary)")
540 }
541 </ul>
542 }
543 </section>
544 @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavutilitiessecondaryheader)") ) == false ){
545 <section class="e-nav-utilities-secondary">
546 <ul class="nav">
547 @GetValue("DwNavigation(dwnavutilitiessecondaryheader)")
548 </ul>
549 </section>
550 }
551 @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavcontext)") ) == false ){
552 <section class="e-nav-context">
553 <ul class="nav">
554 @GetValue("DwNavigation(dwnavcontext)")
555 </ul>
556 </section>
557 }
558 </nav>
559560 </div>
561 }
562 </article>
563 </div>
564 </div>
565 </div>
566 </div>
567 </header>
568 }
569570 <main class="e-content">
571 @{
572 string eBreadcrumbClasslist = "e-breadcrumb js-e-breadcrumb";
573 if( String.IsNullOrEmpty( Espresso.Item.BreadcrumbColor ) == false && Espresso.Item.BreadcrumbColor != "auto"){
574 eBreadcrumbClasslist += string.Format(" e-breadcrumb-{0}", Espresso.Item.BreadcrumbColor);
575 }
576 }
577 @if( Espresso.Item.BreadcrumbShow == "True" ){
578 <nav class="@eBreadcrumbClasslist">
579 <div class="container-fluid">
580 <div class="row">
581 <div class="col-xs-12">
582 @GetValue("DwNavigation(dwnavbreadcrumb)")
583 </div>
584 </div>
585 </div>
586 </nav>
587 }
588589 <article id="dwcontentmain" class="e-content-main @Espresso.ContentArea.ClassList">
590 @using Dynamicweb.Admin.dk.dynamicweb.templates
591 @{
592 string NavigationLocalHorizontalClassList = "e-nav-local e-nav-local-horizontal js-e-nav-local-horizontal";
593 @* reset-animate *@
594 string NavigationLocalHorizontalContainerClassList = "e-nav-local-container";
595 if( Espresso.Item.NavigationLocalShow == "True" && Espresso.Item.NavigationLocalLayout == "horizontal" ) {
596 NavigationLocalHorizontalClassList += " " + Espresso.Item.NavigationLocalCustomClasses;
597 if( Espresso.Item.NavigationLocalSticky == "True" ) {
598 NavigationLocalHorizontalClassList += " is-sticky";
599 }
600 if( Espresso.Item.NavigationLocalAbsolute == "True" ) {
601 NavigationLocalHorizontalClassList += " is-absolute";
602 }
603 else{
604 if( Espresso.Item.NavigationLocalMarginTop != "0" && Espresso.Item.NavigationLocalMarginTop != "" ) {
605 NavigationLocalHorizontalClassList += " m-t-" + Espresso.Item.NavigationLocalMarginTop;
606 }
607 if( Espresso.Item.NavigationLocalMarginBottom != "0" && Espresso.Item.NavigationLocalMarginBottom != "" ) {
608 NavigationLocalHorizontalClassList += " m-b-" + Espresso.Item.NavigationLocalMarginBottom;
609 }
610 }
611 }
612 }
613614 @if( Espresso.Item.NavigationLocalShow == "True" && Espresso.Item.NavigationLocalLayout == "horizontal" )
615 {
616 string navigation = RenderNavigation( new
617 {
618 id = "dwnav-local-" + Espresso.DynamicwebPage.ID,
619 parentid = string.IsNullOrEmpty( Espresso.Item.NavigationLocalParentPage ) == false ? Espresso.Item.NavigationLocalParentPage : Espresso.DynamicwebPage.ID,
620 template = string.IsNullOrEmpty( Espresso.Item.NavigationLocalTemplate ) == false ? Espresso.Item.NavigationLocalTemplate : "local-" + Espresso.Item.NavigationLocalLayout + ".xslt",
621 startlevel = Espresso.Item.NavigationLocalLevelStart,
622 endlevel = Espresso.Item.NavigationLocalLevelEnd,
623 expandmode = Espresso.Item.NavigationLocalExpandMode,
624 } );
625 if(!string.IsNullOrEmpty(navigation))
626 {
627 <section class="e-section @NavigationLocalHorizontalClassList">
628 <div class="container-fluid">
629 <div class="row">
630 <div class="col-xs-12">
631 <div class="row">
632633 <div class="col-xs-12">
634 <nav id="dwnav-local-@Espresso.DynamicwebPage.ID" class="@NavigationLocalHorizontalContainerClassList">
635 <ul class="nav">
636 @if( Espresso.Item.NavigationLocalHeading != "" ){
637 <li class="e-nav-local-heading"><h2><a class="e-nav-local-heading-link" href="/default.aspx?ID=@Espresso.Item.NavigationLocalParentPage">@Espresso.Item.NavigationLocalHeading</a></h2></li>
638 }
639 @navigation
640 </ul>
641 </nav>
642 </div>
643644 </div>
645 </div>
646 </div>
647 </div>
648 </section>
649 }
650 }
651652 @{
653 string NavigationLocalVerticalClassList = "e-nav-local e-nav-local-vertical js-e-nav-local-vertical reset-animate";
654 string NavigationLocalVerticalContainerClassList = "e-nav-local-container";
655 if( Espresso.Item.NavigationLocalShow == "True" && Espresso.Item.NavigationLocalLayout == "vertical" ) {
656 NavigationLocalVerticalClassList += " " + Espresso.Item.NavigationLocalCustomClasses;
657 //NavigationLocalVerticalClassList += " col-xs-3";
658659 if( Espresso.Item.NavigationLocalMarginTop != "0" && Espresso.Item.NavigationLocalMarginTop != "" ) {
660 NavigationLocalVerticalClassList += " p-t-" + Espresso.Item.NavigationLocalMarginTop;
661 }
662 if( Espresso.Item.NavigationLocalMarginBottom != "0" && Espresso.Item.NavigationLocalMarginBottom != "" ) {
663 NavigationLocalVerticalClassList += " p-b-" + Espresso.Item.NavigationLocalMarginBottom;
664 }
665666 if( Espresso.Item.NavigationLocalSticky == "True" ) {
667 NavigationLocalVerticalClassList += " is-sticky";
668 }
669 if( Espresso.Item.NavigationLocalAbsolute == "True" ) {
670 NavigationLocalVerticalClassList += " is-absolute";
671 }
672 else{
673 Espresso.ContentSection.ClassList.RemoveClasses("col-xs-12 col-md-12 col-lg-12 col-md-10 col-md-11 col-lg-8 col-md-offset-1 col-lg-offset-2");
674 Espresso.ContentSection.ClassList.AddClasses("col-xs-12 col-lg-9 col-lg-offset-3");
675 }
676 }
677 }
678679 @if( Espresso.Item.NavigationLocalShow == "True" && Espresso.Item.NavigationLocalLayout == "vertical" )
680 {
681 string navigation = RenderNavigation( new
682 {
683 id = "dwnav-local-" + Espresso.DynamicwebPage.ID,
684 parentid = string.IsNullOrEmpty( Espresso.Item.NavigationLocalParentPage ) == false ? Espresso.Item.NavigationLocalParentPage : Espresso.DynamicwebPage.ID,
685 template = string.IsNullOrEmpty( Espresso.Item.NavigationLocalTemplate ) == false ? Espresso.Item.NavigationLocalTemplate : "local-" + Espresso.Item.NavigationLocalLayout + ".xslt",
686 startlevel = Espresso.Item.NavigationLocalLevelStart,
687 endlevel = Espresso.Item.NavigationLocalLevelEnd,
688 expandmode = Espresso.Item.NavigationLocalExpandMode,
689 } );
690691 if ( !string.IsNullOrEmpty( navigation ) )
692 {
693 <section class="e-section @NavigationLocalVerticalClassList">
694 <div class="container-fluid">
695 <div class="row">
696 <div class="col-xs-12">
697 <div class="row">
698699 <div class="col-xs-3">
700 <nav id="dwnav-local-@Espresso.DynamicwebPage.ID" class="@NavigationLocalVerticalContainerClassList">
701 <ul class="nav">
702 @if ( Espresso.Item.NavigationLocalHeading != "" )
703 {
704 <li class="e-nav-local-heading">
705 <h2><a class="e-nav-local-heading-link" href="/default.aspx?ID=@Espresso.Item.NavigationLocalParentPage">@Espresso.Item.NavigationLocalHeading</a></h2>
706 </li>
707 }
708 @navigation
709 </ul>
710 </nav>
711 </div>
712713 </div>
714 </div>
715 </div>
716 </div>
717 </section>
718 }
719 }
720721722 <section class="e-section">
723 <div class="container-fluid">
724 <div class="row">
725 <div class="@Espresso.ContentSection.ClassList">
726 <div class="row">
727 @GetValue("DwContent(dwcontentmain)")
728 </div>
729 </div>
730 </div>
731 </div>
732 </section>
733 </article>
734 </main>
735 <footer class="e-footer">
736 <article class="e-footer-wrapper">
737 @if( Espresso.Item.FooterHide != "True" ){
738 if( string.IsNullOrEmpty( Espresso.Area.Item.FooterParagraphs ) == false )
739 {
740 string[] footerParagraphs = Espresso.Area.Item.FooterParagraphs.Split( new char[] { ',' }, StringSplitOptions.None );
741742 if ( footerParagraphs.Length > 0 )
743 {
744 <section class="e-footer-content e-section">
745 <div class="container-fluid">
746 <div class="row">
747 @foreach( string paragraphID in footerParagraphs ){
748 @RenderParagraphContent( int.Parse( paragraphID ) );
749 }
750 @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavutilitiessecondaryfooter)") ) == false ){
751 <div class="col-xs-12">
752 <aside class="e-nav-utilities-secondary">
753 <ul class="nav nav-inline">
754 @GetValue("DwNavigation(dwnavutilitiessecondaryfooter)")
755 </ul>
756 </aside>
757 </div>
758 }
759 </div>
760 </div>
761 </section>
762 }
763 }
764 }
765 <section class="e-footer-copyright e-section">
766 <div class="container-fluid">
767 <div class="row p-t-1">
768 @if( string.IsNullOrEmpty( Espresso.Area.Item.FooterParagraphsUtility ) == false ){
769 foreach( string paragraphID in Espresso.Area.Item.FooterParagraphsUtility.Split( new char[]{','}, StringSplitOptions.None ) ){
770 @RenderParagraphContent( int.Parse( paragraphID ) );
771 }
772 }
773 <div class="p p-imagetext col-xs-12 text-xs-center">
774 <p class="e-copyright p-t-2">
775 @Translate("Footer CopyrightText", "Copyright ©")
776 @GetGlobalValue("Global:Server.Date.Year")
777 @Espresso.Area.Item.CompanyName
778 </p>
779 </div>
780 </div>
781 </div>
782 </section>
783 </article>
784 </footer>
785786 </div>
787 @using Dynamicweb.Admin.dk.dynamicweb.templates
788 @using Dynamicweb.Ecommerce.Products
789 <div class="e-cart-msg" id="js-e-cart-msg">
790 <button class="close" data-dismiss="msg" type="button">
791 <i class="material-icons">close</i>
792 </button>
793 <section class="e-section p-b-3 p-t-3">
794 <div class="container-fluid">
795 <div class="row">
796 <div class="col-xs-12">
797 <div class="js-e-cart-msg-content">
798 <script id="js-handlebars-tmpl-cart-msg-content" type="text/x-handlebars-template">
799 <div class="row">
800 <div class="col-xs-12">
801 <div class="e-cart-msg-last-added p-t-1">
802 <div class="row">
803 <div class="col-xs-12">
804805 <div class="row">
806 <div class="col-xs-12">
807 @if ( GetInteger( "Ecom:Order.OrderLines.TotalProductQuantity" ) > 1 )
808 {
809 <h2 class="m-b-0">{{totalProductQuantity}} @Translate( "Quote requests in your basket", "Quote requests in your basket" )</h2>
810 }
811 else
812 {
813 <h2 class="m-b-0"><i class="material-icons text-success">check</i> {{lastAdded.quantity}} @Translate( "Quote request in your basket", "Quote request in your basket" )</h2>
814 }
815 </div>
816 </div>
817818 <div class="row">
819 <div class="col-xs-12 m-t-3">
820 <div class="">
821 <div class="row">
822 <div class="col-xs-5 col-sm-7">
823 <h3>@Translate( "Product", "Product" )</h3></div>
824 <div class="col-xs-4 col-sm-3">
825 <h3>@Translate( "Product no.", "Product no." )</h3></div>
826 <div class="col-xs-3 col-sm-2 text-xs-center">
827 <h3>@Translate( "QTY", "QTY" )</h3></div>
828 </div>
829 <hr class="m-t-1">
830831 <div class="js-e-cart-orderlines">
832 {{#each orderlines}}
833 <div class="js-e-orderline e-orderline" id="{{id}}">
834 <div class="row">
835 <div class="col-xs-5 col-sm-7 e-orderline-product-text">
836 <p class="m-b-0">
837 <strong>{{{product.name}}}</strong>
838 </p>
839 </div>
840 <div class="col-xs-4 col-sm-3">
841 {{{product.number}}}
842 </div>
843 <div class="col-xs-3 col-sm-2">
844 <div class="row row-xs-center">
845 <div class="col-xs-12">
846 <input class="form-control text-xs-center js-e-orderline-quantity" type="number" value="{{quantity}}" name="QuantityOrderLine{{id}}" data-rule-min="0" data-rule-digits="true">
847 </div>
848 </div>
849 </div>
850 </div>
851 <hr>
852 </div>
853 {{/each}}
854 </div>
855 </div>
856 </div>
857 </div>
858 </div>
859 </div>
860 </div>
861 </div>
862 </div>
863 </script>
864 </div>
865 <div class="col-xs-6 col-xs-offset-6 e-cart-actions m-b-1 text-xs-right">
866 <div class="row">
867 <div class="col-xs-6 hidden-sm-down m-b-1">
868 <a class="btn btn-block btn-outline-success" href="javascript:history.back();">@Translate( "Continue shopping", "Continue shopping" )</a>
869 </div>
870 <div class="col-md-6 col-xs-12 m-b-1">
871 <a class="btn btn-block btn-success" href="/quote/cart">@Translate( "Request Quote", "Request Quote" )</a>
872 </div>
873 </div>
874 </div>
875 </div>
876 </div>
877 </div>
878 </section>
879 </div>
880 @if( Espresso.Area.Item.Search == "True" ){
881 <div class="modal fade e-search js-e-search js-e-search-modal modal-fullscreen" data-backdrop="false">
882 <div class="modal-dialog">
883 <div class="modal-content">
884 <div class="modal-body">
885 <button type="button" class="close" data-dismiss="modal">
886 <i class="material-icons">close</i>
887 </button>
888 <div class="container-fluid">
889890 <div class="e-search-form-container">
891 <div class="row">
892 <div class="col-xs-12 col-md-10 col-lg-8 col-xl-6 col-md-offset-1 col-lg-offset-2 col-xl-offset-3 m-t-3">
893 <form action="" class="e-search-form js-e-search-form">
894 <div class="js-e-search-input-group e-search-input-group is-empty">
895 <label class="e-search-label" for="e-search-input"><i class="material-icons">search</i></label>
896 @{ string Translate_Search_InputDefaultText = Translate("Search InputDefaultText", "Søgning"); }
897 <input type="text" class="js-e-search-input e-search-input form-control" name="q" id="e-search-input" placeholder="@Translate_Search_InputDefaultText">
898 <span class="js-e-search-clear e-search-clear"><i class="material-icons">close</i></span>
899 <button class="e-search-submit btn btn-primary" type="submit"><i class="material-icons p-a-0">search</i></button>
900 </div>
901 </form>
902 </div>
903 </div>
904 </div>
905906 <div class="js-e-search-result-container e-search-result-container">
907 <div class="row">
908909 <div class="col-xs-12 col-md-10 col-lg-8 col-xl-6 col-md-offset-1 col-lg-offset-2 col-xl-offset-3">
910 <p class="e-search-result-info small text-muted m-t-1 m-b-3"><span class="js-e-search-result-count">0</span> @Translate("Search ResultCountText", "resultater")</p>
911 </div>
912913 <div class="col-xs-12 col-xl-10 col-xl-offset-1" style="z-index: 0;">
914 <div class="js-e-search-result-products e-search-result-products is-empty m-b-4">
915 <script id="js-handlebars-tmpl-search-result-item-product" type="text/x-handlebars-template">
916 <div class="e-products">
917 <ul class="e-grid">
918 {{#loop products}}
919 <li class="col-xs-6 col-md-3 m-b-4">
920 <div class="e-product-container">
921 <div class="ambu-products-image-box">
922 <a href="{{{url}}}">
923 <img src="{{imageLarge}}" alt="{{primaryImageAltText}}">
924 </a>
925 </div>
926 <div class="e-product-text-container text-xs-center">
927 <h3 class="e-product-name m-b-0 m-t-2"><a href="{{{url}}}">{{name}}</a></h3>
928 <p class="e-product-text">
929 <a href="{{{url}}}">{{descriptionShortExtra01}}</a>
930 </p>
931 </div>
932 </div>
933 </li>
934 {{/loop}}
935 </ul>
936 <div class="p-txt-container col-xs-12 text-xs-center">
937 <span class="js-e-search-products-show-all"><a href="" class="btn btn-secondary p-x-6">@Translate( "Search ViewAllProductsButtonText", "Vis alle produkter" )</a></span>
938 </div>
939 </div>
940 </script>
941 </div>
942 </div>
943944 <div class="col-xs-12 col-md-10 col-lg-8 col-xl-6 col-md-offset-1 col-lg-offset-2 col-xl-offset-3">
945 <div class="js-e-search-result-pages e-search-result-pages is-empty m-b-1">
946 <script id="js-handlebars-tmpl-search-result-item-page" type="text/x-handlebars-template">
947 <div class="row">
948 {{#loop pages}}
949 <div class="col-xs-12">
950 <p class="m-b-0"><a href="{{{url}}}" class="text-bold">{{{title}}}</a></p>
951 <p class="m-b-0 small text-truncate">
952 <a href="{{{url}}}" class="text-auto text-muted"><span class="hidden-xs-down">@GetGlobalValue( "Global:Request.Host" )</span>{{{url}}}</a></p>
953 <p class="small">{{{text}}}...</p>
954 </div>
955 {{/loop}}
956 </div>
957 </script>
958 </div>
959 </div>
960961 <div class="col-xs-12 col-md-10 col-lg-8 col-xl-6 col-md-offset-1 col-lg-offset-2 col-xl-offset-3" id="downloads-content">
962 <h4 class="e-search-result-header large text-muted m-t-1 m-b-1"><span class="hidden-xs-up">Supplementary Product Information</span></h4>
963 </div>
964965 <div class="col-xs-12 col-md-10 col-lg-8 col-xl-6 col-md-offset-1 col-lg-offset-2 col-xl-offset-3">
966 <div class="js-e-search-result-files e-search-result-files is-empty m-b-3">
967 <script id="js-handlebars-tmpl-search-result-item-file" type="text/x-handlebars-template">
968 <div class="row">
969 {{#loop files}}
970 <div class="col-xs-12">
971 <p class="m-b-1 small text-truncate">
972 <a target="_blank" href="/Files/{{{filepath}}}/{{{filename}}}" class="text-bold">{{{filename}}}</a>
973 </p>
974 </div>
975 {{/loop}}
976 </div>
977 </script>
978 </div>
979 </div>
980981 </div>
982983 <div class="js-e-search-loading-overlay e-loading-overlay e-search-loading-overlay">
984 <div class="e-loading-spinner"></div>
985 </div>
986987 </div>
988989 </div>
990 </div>
991 </div>
992 </div>
993 </div>
994 }
995996 @if( Espresso.Area.Item.BackToTopLink == "True" ){
997 <a href="#top" class="e-back-to-top js-e-back-to-top"><i class="material-icons">keyboard_arrow_up</i></a>
998 }
9991000 @RenderingService.Instance.PartialView( "_partials/redirect.cshtml" )
100110021003 <script async="" src="/Files/Templates/Designs/ambu/assets/_dist/js/default.js?v=4.008"></script>
10041005 @{
1006 SidebarPopup sidebarPopupModel = new SidebarPopup()
1007 {
1008 SidebarPopupContent = Pageview.Area.Item.GetValue<string>( "SidebarPopupContent" ),
1009 SidebarPopupButtonIcon = Pageview.Area.Item.GetValue<string>( "SidebarPopupButtonIcon" ),
1010 SidebarPopupLandingPage = Pageview.Area.Item.GetValue<string>( "SidebarPopupLandingPage" )
1011 };
1012 }
10131014 @RenderingService.Instance.PartialView( "../_partials/ambu-sidebar-popup.cshtml", sidebarPopupModel )
10151016 <div aria-hidden="true" class="ambu-languages fade modal" data-backdrop="true" id="ambu-languages" role="dialog" tabindex="-1">
1017 <button aria-label="Close" class="close" data-dismiss="modal" type="button">
1018 <span aria-hidden="true">×</span>
1019 </button>
1020 <div class="modal-dialog">
1021 <div class="modal-content">
1022 <section class="p-b-3 p-t-3">
1023 <div class="container-fluid">
1024 <div class="row">
1025 <div class="col-xs-12">
1026 <div class="row">
1027 <div class="col-xs-12 m-b-2 text-xs-center">
1028 <img class="col-xs-4 m-b-1" src="/Files/Images/worldmap.svg">
1029 </div>
1030 <div class="col-md-10 col-md-offset-1 col-xs-12">
1031 <p class="h2 text-xs-center">@Translate( "Choose your country", "Find your local Ambu website" )</p>
1032 <ul class="nav small">
1033 @GetValue("DwNavigation(dwnavambulanguages)")
1034 </ul>
1035 <p class="modal-text text-xs-center">@Translate( "Choose your country additional text", "Looking for a local Ambu representative in your country?<br><a href='/Default.aspx?Id=12845'>Go to our local distributors page</a>" )</p>
1036 </div>
1037 </div>
1038 </div>
1039 </div>
1040 </div>
1041 </section>
1042 </div>
1043 </div>
1044 </div>
10451046 <script type="text/javascript">
1047 window.dataLayer = window.dataLayer || [];
1048 var regexname = /^185\.233\.221\.218$|^202\.68\.175\.150$|^80\.14\.131\.94$|^93\.51\.217\.48$|^208\.204\.9\.50$|^50\.203\.113\.7$|^59\.60\.7\.50$|^113\.210\.190\.34$|^23\.97\.167\.114$|^52\.166\.13\.102$|^195\.77\.35\.162$|^46\.17\.165\.212$|^210\.187\.178\.33$|^62\.245\.231\.242$|^201\.174\.154\.58$|^77\.243\.43\.130$|^87\.62\.83\.1$/;
1049 var visitorIp = "@HttpContext.Current.Request.UserHostAddress";
1050 if (visitorIp.match(regexname)) {
1051 window.dataLayer.push({
1052 'Ambu_Internal': 'true'
1053 });
1054 } else {
1055 window.dataLayer.push({
1056 'Ambu_Internal': 'false'
1057 });
1058 }
1059 </script>
10601061 @scriptBodyBottom
10621063 </body>
1064 @GetValue( "CopyRightNotice" )
1065 </html>
1066