Exception in template (Designs/skolesites/_parsed/espresso.parsed.cshtml): System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.ecffabfebfefb.Execute()
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context)
   at RazorEngine.Templating.TemplateService.Run(ITemplate template, DynamicViewBag viewBag)
   at RazorEngine.Templating.TemplateService.Parse(String razorTemplate, Object model, DynamicViewBag viewBag, String cacheName)
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model, DynamicViewBag viewBag, String cacheName)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()
@inherits Co3.Espresso.Website.TemplateBases.Pages.PageBase @using System.Web; @{ string websiteLang = GetGlobalValue( "Global:Area.Lang" ); string websiteID = GetGlobalValue( "Global:Area.ID" ); string websiteIntegerSeparator = GetGlobalValue( "Global:eCommerce.Currency.IntegerSeparator" ); string websiteDecimalSeparator = GetGlobalValue( "Global:eCommerce.Currency.DecimalSeparator" ); string pageTitle = GetValue( "Title" ).ToString(); } <!DOCTYPE html> <html class="area-@websiteID" lang="@websiteLang" data-integer-seperator="@websiteIntegerSeparator" data-decimal-seperator="@websiteDecimalSeparator"> <head> @GetValue( "CopyRightNotice" ) <meta charset="utf-8"> <meta content="width=device-width, initial-scale=1, shrink-to-fit=no, minimal-ui" name="viewport"> <meta content="ie=edge" http-equiv="x-ua-compatible"> <title>@GetValue("Title")</title> @GetValue("MetaTags") @GetValue("CopyRightNotice") @Espresso.CriticalCSS <link href="https://fonts.googleapis.com/css?family=Material+Icons|Roboto:300,400,700|Roboto+Mono:300,400,700|Montserrat:400,700" media="@Espresso.StylesheetAttributeMedia" rel="@Espresso.StylesheetAttributeRel" as="style"> <link href="/Files/Templates/Designs/skolesites/_assets/_dist/css/default.css?v=1.0.0" media="@Espresso.StylesheetAttributeMedia" rel="@Espresso.StylesheetAttributeRel" as="style"> @Espresso.CriticalJS <link rel="shortcut icon" href="@Espresso.Area.Item.Favicon"> @GetValue( "MetaTags" ) @{ string OpenGraphURL = GetGlobalValue( "Global:Request.Scheme" ) + "://" + GetGlobalValue( "Global:Request.Host" ) + GetGlobalValue( "Global:Pageview.Url" ); string OpenGraphImage = GetGlobalValue( "Global:Request.Scheme" ) + "://" + GetGlobalValue( "Global:Request.Host" ) + Espresso.OpenGraphImage; string noImage = GetGlobalValue( "Global:Request.Scheme" ) + "://" + GetGlobalValue( "Global:Request.Host" ) + "/Files/Images/hk-logo-normal-og.jpg"; string jobPage = GetGlobalValue( "Global:Pageview.LayoutTemplate" ); string pageID = GetGlobalValue( "Global:Page.ID" ); } <meta property="og:url" content="@OpenGraphURL"> <meta content="website" property="og:type"> @if ( jobPage == "holstebro-kommune-job.cshtml" || pageID == "2829" ) { <meta content="https://www.holstebro.dk/job" property="og:url"> <meta content="https://www.holstebro.dk/Files/Images/5-kommunen/nogetfordig.jpg" property="og:image"> } @RenderSnippet( "MetaTags" ) @if ( !string.IsNullOrEmpty( Espresso.OpenGraphTitle ) ) { <meta property="og:title" content="@Espresso.OpenGraphTitle"> } else { <meta property="og:title" content="@pageTitle"> } @if ( !string.IsNullOrEmpty( Espresso.OpenGraphImage ) ) { <meta property="og:image" content="@OpenGraphImage"> } else { <meta property="og:image" content="@noImage"> } @if ( !string.IsNullOrEmpty( Espresso.OpenGraphDescription ) ) { <meta property="og:description" content="@Espresso.OpenGraphDescription"> } @if ( string.IsNullOrEmpty( Espresso.Area.Item.GoogleSiteVerification ) == false ) { <meta name="google-site-verification" content="@Espresso.Area.Item.GoogleSiteVerification"> } @{ if ( 1 == 2 ) { @GetValue( "Stylesheets" ) } } @GetValue("Stylesheets") @GetValue("Javascripts") </head> <body class="@Espresso.Item.CustomClasses"> @using Dynamicweb.Security.UserManagement @{ if( Espresso.Canvas.ClassList.ToString().Contains("e-page-is-loading") == true ){ Espresso.Canvas.ClassList.RemoveClasses("e-page-is-loading"); Espresso.Canvas.ClassList.AddClasses("is-loading"); } bool pageWrapper = false; if(!string.IsNullOrEmpty(Espresso.Item.CustomClasses)){ if(Espresso.Item.CustomClasses.Contains("no-wrapper")){ pageWrapper = true; } } } @if( Espresso.Area.Item.OptimizedLoading == "True" ){ <div id="js-e-page-loading-overlay" class="e-page-loading-overlay e-loading-overlay is-loading"><div class="e-loading-spinner"></div></div> } @{ string Logo = Espresso.Area.Item.Logo; string Tagline = Espresso.Area.Item.Tagline; } @if( Espresso.Item.HeaderHide != "True" ){ <header class="e-header js-e-header hidden-print"> <div class="col-12 p-0 d-lg-none"> <form action="/search" class="e-search-form js-custom-search-form e-search-hk-mobile"> <div class="form-group d-flex"> <input name="q" class="form-control custom-search-input" type="search" placeholder="Hvad kan vi hjælpe dig med?"> @*<button class="btn btn-primary" type="submit"><i class="material-icons">search</i>Søg</button>*@ <button class="btn" type="submit"><i class="material-icons">search</i></button> </div> </form> </div> <div class="e-header-container navbar"> <div class="row"> @*d-lg-flex flex-lg-column-reverse*@ <div class="col-12"> <article class="e-header-wrapper"> <div class="e-logo"> <a href="/" class="e-logo-link" alt="Gå til forside"> <img src="@Logo" class="e-logo-img" alt="@Tagline"> @if( string.IsNullOrEmpty( Tagline ) == false ){ <p class="e-logo-tagline">@Tagline</p> } </a> </div> <div class="col-4 hk-search-input"> <div class="header-search-input"> <form action="/search" class="e-search-form js-custom-search-form"> <div class="form-group"> <div class="e-search-container"> <input name="q" class="form-control custom-search-input" type="search" placeholder="Hvad kan vi hjælpe dig med?"> <button class="btn" type="submit"><i class="material-icons">search</i></button> </div> </div> </form> </div> </div> @if( Espresso.Item.NavigationHide != "True" ){ <div class="e-header-btn e-nav-toggle"> <a data-toggle="modal" data-target=".modal.e-nav-container" class="btn text-auto"> <i class="material-icons">menu</i> </a> </div> <div class="e-nav-container modal js-e-nav-container" data-backdrop="false"> <nav class="e-nav"> <div class="e-nav-masthead"> <div class="e-logo"> <a href="/" class="e-logo-link" alt="Gå til forside"> <img src="@Logo" class="e-logo-img" alt="@Tagline"> @if( string.IsNullOrEmpty( Tagline ) == false ){ <p class="e-logo-tagline">@Tagline</p> } </a> </div> <div class="e-nav-toggle e-header-btn"> <button type="button" data-toggle="modal" data-target=".modal.e-nav-container" class="btn text-auto"> <i class="material-icons">close</i> </button> </div> </div> <section class="e-nav-global js-e-nav-global"> <ul class="nav"> @GetValue("DwNavigation(dwnavglobal)") </ul> </section> @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavutilitiesprimary)") ) == false ){ <section class="e-nav-utilities-primary"> <ul class="nav"> @GetValue("DwNavigation(dwnavutilitiesprimary)") </ul> </section> } @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavutilitiessecondaryheader)") ) == false ){ <section class="e-nav-utilities-secondary"> <ul class="nav"> @GetValue("DwNavigation(dwnavutilitiessecondaryheader)") </ul> </section> } @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavcontext)") ) == false ){ <section class="e-nav-context"> <ul class="nav"> @GetValue("DwNavigation(dwnavcontext)") </ul> </section> } </nav> @* @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavlocalhorizontal)") ) == false ){ <section class="e-nav-local-horizontal"> @GetValue("DwNavigation(dwnavlocalhorizontal)") </section> } *@ </div> } </article> </div> </div> </div> </header> } <div class="@Espresso.Canvas.ClassList" id="js-e-canvas"> @{ string NavigationLocalHorizontalClassList = "e-nav-global-horizontal reset-animate"; @* reset-animate *@ string NavigationLocalHorizontalContainerClassList = "e-nav-local-container"; if( Espresso.Item.NavigationLocalShow == "True" && Espresso.Item.NavigationLocalLayout == "horizontal" ) { NavigationLocalHorizontalClassList += " " + Espresso.Item.NavigationLocalCustomClasses; if( Espresso.Item.NavigationLocalAbsolute == "True" ) { NavigationLocalHorizontalClassList += " is-absolute"; } else{ if( Espresso.Item.NavigationLocalMarginTop != "0" && Espresso.Item.NavigationLocalMarginTop != "" ) { NavigationLocalHorizontalClassList += " mt-" + Espresso.Item.NavigationLocalMarginTop; } if( Espresso.Item.NavigationLocalMarginBottom != "0" && Espresso.Item.NavigationLocalMarginBottom != "" ) { NavigationLocalHorizontalClassList += " mb-" + Espresso.Item.NavigationLocalMarginBottom; } } } } @*container-fluid*@ <section class="@NavigationLocalHorizontalClassList is-sticky"> <div class="nav-global-horizontal-container hidden-print"> <div class="e-header-container"> <div class="row"> <div class="col-12"> <h3 style="display: none;">Hovedmenu</h3> <div class="e-nav-global"> <ul class="nav navbar" aria-labelledby="menu"> @GetValue("DwNavigation(dwnavgloballocal)") @GetValue("DwNavigation(dwnavcta)") </ul> </div> </div> </div> </div> </div> </section> <main class="e-content"> <article id="dwcontentmain" class="e-content-main @Espresso.ContentArea.ClassList"> @{ string eBreadcrumbClasslist = "e-breadcrumb js-e-breadcrumb d-none d-lg-block"; if( Espresso.Item.BreadcrumbColor != "auto" && Espresso.Item.BreadcrumbColor != "none" && String.IsNullOrEmpty( Espresso.Item.Breadcrumb ) == false ){ eBreadcrumbClasslist += string.Format(" e-breadcrumb-{0}", Espresso.Item.Breadcrumb ); } } @if( Espresso.Item.Breadcrumb != "none" && String.IsNullOrEmpty( Espresso.Item.Breadcrumb ) == false ){ <section class="e-section @eBreadcrumbClasslist"> <div class="container-fluid"> <div class="row"> <div class="col-12"> <div class="row"> <div class="col-12"> <nav class="e-breadcrumb-container"> @GetValue("DwNavigation(dwnavbreadcrumb)") </nav> </div> </div> </div> </div> </div> </section> } @{ string NavigationLocalVerticalClassList = "e-nav-local e-nav-local-vertical js-e-nav-local-vertical reset-animate"; string NavigationLocalVerticalContainerClassList = "e-nav-local-container"; if( Espresso.Item.NavigationLocalShow == "True" && Espresso.Item.NavigationLocalLayout == "vertical" ) { NavigationLocalVerticalClassList += " " + Espresso.Item.NavigationLocalCustomClasses; //NavigationLocalVerticalClassList += " col-3"; if( Espresso.Item.NavigationLocalMarginTop != "0" && Espresso.Item.NavigationLocalMarginTop != "" ) { NavigationLocalVerticalClassList += " mt-" + Espresso.Item.NavigationLocalMarginTop; } if( Espresso.Item.NavigationLocalMarginBottom != "0" && Espresso.Item.NavigationLocalMarginBottom != "" ) { NavigationLocalVerticalClassList += " mb-" + Espresso.Item.NavigationLocalMarginBottom; } if( Espresso.Item.NavigationLocalSticky == "True" ) { NavigationLocalVerticalClassList += " is-sticky"; } if( Espresso.Item.NavigationLocalAbsolute == "True" ) { NavigationLocalVerticalClassList += " is-absolute"; } else{ Espresso.ContentSection.ClassList.Clear(); Espresso.ContentSection.ClassList.AddClasses("col-12 col-lg-9 ml-auto"); } } } @if( Espresso.Item.NavigationLocalShow == "True" && Espresso.Item.NavigationLocalLayout == "vertical" ) { <section class="e-section @NavigationLocalVerticalClassList"> <div class="container-fluid"> <div class="row"> <div class="col-12"> <div class="row"> <div class="col-3"> <nav id="dwnav-local-@Espresso.DynamicwebPage.ID" class="@NavigationLocalVerticalContainerClassList"> <ul class="nav flex-column"> @if( Espresso.Item.NavigationLocalHeading != "" ){ <li class="e-nav-local-heading"><h2>@Espresso.Item.NavigationLocalHeading</h2></li> } @RenderNavigation( new { id = "dwnav-local-" + Espresso.DynamicwebPage.ID, parentid = string.IsNullOrEmpty( Espresso.Item.NavigationLocalParentPage ) == false ? Espresso.Item.NavigationLocalParentPage : Espresso.DynamicwebPage.ID, template = string.IsNullOrEmpty( Espresso.Item.NavigationLocalTemplate ) == false ? Espresso.Item.NavigationLocalTemplate : "local-" + Espresso.Item.NavigationLocalLayout + ".xslt", startlevel = Espresso.Item.NavigationLocalLevelStart, endlevel = Espresso.Item.NavigationLocalLevelEnd, expandmode = Espresso.Item.NavigationLocalPageTreeExpand == "True" ? "all" : "path", } ) </ul> </nav> </div> </div> </div> </div> </div> </section> } <section class="e-section"> @if(pageWrapper == true){ @:<div class="inner-section-wrapper"> @:<section class="e-section"> } <div class="container-fluid"> <div class="row"> <div class="@Espresso.ContentSection.ClassList"> <div class="row"> @GetValue("DwContent(dwcontentmain)") </div> </div> </div> </div> @if(pageWrapper == true){ @:</section> @:</div> } </section> </article> </main> </div> @{ string LogoInverted = Espresso.Area.Item.LogoInverted; string facebookLink = Espresso.Area.Item.FacebookLink; string twitterLink = Espresso.Area.Item.TwitterLink; string linkedinLink = Espresso.Area.Item.LinkedinLink; string instagramLink = Espresso.Area.Item.InstagramLink; string sitemapLink = Espresso.Area.Item.Sitemap; string cookiesLink = Espresso.Area.Item.CookieMessage; } <footer class="e-footer hidden-print"> <article class="e-footer-wrapper"> @if( Espresso.Item.FooterHide != "True" ){ <section class="e-footer-content e-section"> <div class="footer-container"> <div class="container-fluid"> @*<div class="row"> <div class="col-12 col-sm-6 footer-logo-container"> <img src="@LogoInverted" class="e-logo-img" alt="@Tagline"> </div> <div class="col-12 col-sm-6"> <ul class="social-media-footer float-right"> @if( string.IsNullOrEmpty( instagramLink ) == false ){ <li><a href="@instagramLink" alt="Instagram" target="_blank"><img src="/Files/Templates/Designs/skolesites/assets/img/icons-svg/logo_instagram_simple_inverted.svg" alt="Instagram"></a></li> } @if( string.IsNullOrEmpty( linkedinLink ) == false ){ <li><a href="@linkedinLink" alt="Linkedin" target="_blank"><img src="/Files/Templates/Designs/skolesites/assets/img/icons-svg/logo_linkedin_simple_inverted.svg" alt="Linkedin"></a></li> } @if( string.IsNullOrEmpty( twitterLink ) == false ){ <li><a href="@twitterLink" alt="Twitter" target="_blank"><img src="/Files/Templates/Designs/skolesites/assets/img/icons-svg/logo_twitter_simple_inverted.svg" alt="Twitter"></a></li> } @if( string.IsNullOrEmpty( facebookLink ) == false ){ <li><a href="@facebookLink" alt="FaceBook" target="_blank"><img src="/Files/Templates/Designs/skolesites/assets/img/icons-svg/logo_facebook_simple_inverted.svg" alt="FaceBook"></a></li> } </ul> </div> </div> <div class="row hk-custom-footer-row"> @RenderParagraphContent((26713)) @RenderParagraphContent((8031)) @RenderParagraphContent((8030)) </div>*@ <div class="row"> @if( string.IsNullOrEmpty( Espresso.Area.Item.FooterParagraphs ) == false ){ foreach( string paragraphID in Espresso.Area.Item.FooterParagraphs.Split( new char[]{','}, StringSplitOptions.None ) ){ @RenderParagraphContent( int.Parse( paragraphID ) ); } } </div> @if( string.IsNullOrEmpty( GetString("DwNavigation(dwnavutilitiessecondaryfooter)") ) == false ){ <div class="col-12"> <aside class="e-nav-utilities-secondary"> <ul class="nav nav-inline"> @GetValue("DwNavigation(dwnavutilitiessecondaryfooter)") </ul> </aside> </div> } </div> </div> </section> } <section class="e-footer-copyright e-section"> <div class="footer-container"> <div class="container-fluid"> <div class="row row-xs-center"> <div class="col-12"> @{ @RenderParagraphContent(36389) } @*<p> <span>Holstebro Kommune</span> <span>7500 Holstebro</span> <span>Tlf: 9611 7500</span> <span>www.holstebro.dk</span> <span>Cookies og privatlivspolitik</span> </p>*@ </div> @*<div class="col-12 col-sm-7"> <p> <a href="@cookiesLink">Cookies</a>&nbsp;&nbsp;&nbsp; <a href="@sitemapLink">Sitemap</a> </p> </div> <div class="col-12 col-sm-5 text-left text-sm-right"> <p class="e-copyright"> Copyright &copy; @GetGlobalValue( "Global:Server.Date.Year" ) @Espresso.Area.Item.CompanyName. Alle rettigheder forbeholdt.</p> </div>*@ </div> </div> </div> </section> </article> </footer> <div class="e-cart-msg" id="js-e-cart-msg"> <button type="button" class="close" data-dismiss="msg"> <i class="material-icons">close</i> </button> <section class="e-section p-t-3 p-b-3"> <div class="container-fluid"> <div class="row"> <div class="col-xs-12"> <div class="js-e-cart-msg-content"> <script id="js-handlebars-tmpl-cart-msg-content" type="text/x-handlebars-template"> <div class="row"> <div class="col-xs-12 col-md-6"> <div class="e-cart-msg-last-added p-t-1"> <div class="row"> <div class="col-xs-2 text-xs-right"> <p class="h2"><i class="material-icons text-success">check</i></p> </div> <div class="col-xs-10"> <div class="row"> <div class="col-xs-12"> <h2>Varen er lagt i kurven</h2> <div class="row"> <div class="col-xs-4"> <p><img class="img-fluid" src="{{lastAdded.imageLargeClean}}" alt=""></p> </div> <div class="col-xs-8"> <h3>{{lastAdded.name}}</h3> <p class="">{{lastAdded.quantity}} á {{{lastAdded.price}}}</p> </div> </div> </div> </div> </div> </div> </div> </div> <div class="col-xs-12 col-md-6"> <div class="e-cart-msg-info p-t-1"> <div class="row"> <div class="col-xs-2 text-xs-right"> <p class="h2"><i class="material-icons">shopping_cart</i></p> </div> <div class="col-xs-10"> <h2>Få gratis levering</h2> <p> Køb for <strong>{{{shippingmethod.diffPriceForFreeFee}}}</strong> mere og få gratis levering. </p> <p> <a href="/shop/cart" class="btn btn-primary">Vis kurv ({{totalProductQuantity}})</a> </p> </div> </div> </div> </div> </div> </script> </div> </div> </div> </div> </section> </div> <!-- search --> @if( Espresso.Area.Item.Search == "True" ){ <div class="modal fade e-search js-e-search js-e-search-modal modal-fullscreen d-print-none" data-backdrop="false" data-keyboard="true" data-focus="true"> <div class="modal-dialog"> <div class="modal-content "> <div class="modal-body"> <button type="button" class="close" data-dismiss="modal"> <i class="material-icons">close</i> </button> <div class="container-fluid"> <div class="e-search-form-container"> <div class="row justify-content-center"> <div class="col-12 col-md-10 col-lg-8 col-xl-6 mt-3"> <form action="" class="e-search-form js-e-search-form"> <div class="js-e-search-input-group e-search-input-group is-empty"> <label class="e-search-label" for="e-search-input"><i class="material-icons">search</i></label> @{ string Translate_Search_InputText = Translate("Search - Input Placeholder - Text", "Search"); } <input type="text" class="js-e-search-input e-search-input form-control-plaintext" name="q" id="e-search-input" placeholder="@Translate_Search_InputText"> <span class="js-e-search-clear e-search-clear"><i class="material-icons">close</i></span> <button class="e-search-submit btn btn-primary" type="submit"><i class="material-icons pa-0">search</i></button> </div> </form> </div> </div> </div> <div class="js-e-search-result-container e-search-result-container"> <div class="row justify-content-center"> <div class="col-12 col-md-10 col-lg-8 col-xl-6"> <p class="e-search-result-info small text-muted mt-1 mb-3"><span class="js-e-search-result-count">0</span> @Translate("Search - Result Count - Text", "results")</p> </div> </div> <div class="row justify-content-center"> <div class="col-12 col-xl-10"> <div class="js-e-search-result-products e-search-result-products is-empty mb-4"> <script id="js-e-handlebars-tmpl-search-result-item-product" type="text/x-handlebars-template"> <div class="e-products"> <div class="row"> {{#loop products}} <div class="col-2 col-sm-2 col-md-3 col-lg-4 col-xl-5"> <div class="e-products-item"> <div class="e-products-item-container"> <div class="e-products-item-image-container"> <a class="e-products-item-image-wrapper" href="{{url}}"> <img src="{{imageLarge}}" alt="" class="e-products-item-image"> </a> </div> <div class="e-products-item-text-container text-center small"> <h3 class="e-products-item-name mb-0"><a href="{{url}}">{{name}}</a></h3> {{#if descriptionShortExtra01}} <p class="e-products-item-text mb-0 small"> <a href="{{url}}"> {{descriptionShortExtra01}} </a> </p> {{/if}} <p class="e-products-item-text mb-0 small"> <span class="e-products-item-price"> <a href="{{url}}"> {{{price}}} </a> </span> </p> </div> </div> </div> </div> {{/loop}} </div> <p class="js-e-search-products-show-all text-center"><a href="" class="btn btn-outline-primary px-6">@Translate("Search - View All Products - Button", "View All Products")</a></p> </div> </script> </div> </div> </div> <div class="row justify-content-center"> <div class="col-12 col-md-10 col-lg-8 col-xl-6"> <div class="js-e-search-result-pages e-search-result-pages is-empty mb-3"> <script id="js-e-handlebars-tmpl-search-result-item-page" type="text/x-handlebars-template"> <div class="row"> {{#loop pages}} <div class="col-12"> <p class="mb-0"><a href="{{{url}}}" class="text-bold">{{{title}}}</a></p> <p class="mb-0 small text-truncate"> <a href="{{{url}}}" class="text-auto text-muted"><span class="d-none d-sm-inline">@GetGlobalValue( "Global:Request.Host" )</span>{{{url}}}</a></p> <p class="small">{{{text}}}...</p> </div> {{/loop}} </div> </script> </div> </div> </div> <div class="js-e-search-loading-overlay e-loading-overlay e-search-loading-overlay"> <div class="e-loading-spinner"></div> </div> </div> </div> </div> </div> </div> </div> } @* @if( Espresso.Area.Item.Search == "True" ){ <div class="modal fade e-search js-e-search js-e-search-modal modal-fullscreen d-print-none" data-backdrop="false" data-keyboard="true" data-focus="true"> <div class="modal-dialog"> <div class="modal-content "> <div class="modal-body"> <button type="button" class="close" data-dismiss="modal"> <i class="material-icons">close</i> </button> <div class="container-fluid"> <div class="e-search-form-container"> <div class="row justify-content-center"> <div class="col-12 col-md-10 col-lg-8 col-xl-6 mt-3"> <form action="" class="e-search-form js-e-search-form"> <div class="js-e-search-input-group e-search-input-group is-empty"> <label class="e-search-label" for="e-search-input"><i class="material-icons">search</i></label> @{ string Translate_Search_InputText = Translate("Search - Input Placeholder - Text", "Search"); } <input type="text" class="js-e-search-input e-search-input form-control-plaintext" name="q" id="e-search-input" placeholder="@Translate_Search_InputText"> <span class="js-e-search-clear e-search-clear"><i class="material-icons">close</i></span> <button class="e-search-submit btn btn-primary" type="submit"><i class="material-icons pa-0">search</i></button> </div> </form> </div> </div> </div> <div class="js-e-search-result-container e-search-result-container"> <div class="row justify-content-center"> <div class="col-12 col-md-10 col-lg-8 col-xl-6"> <p class="e-search-result-info small text-muted mt-1 mb-3"><span class="js-e-search-result-count">0</span> @Translate("Search - Result Count - Text", "results")</p> </div> </div> <div class="row justify-content-center"> <div class="col-12 col-xl-10"> <div class="js-e-search-result-products e-search-result-products is-empty mb-4"> <script id="js-e-handlebars-tmpl-search-result-item-product" type="text/x-handlebars-template"> <div class="e-products"> <div class="row"> {{#loop products}} <div class="col-2 col-sm-2 col-md-3 col-lg-4 col-xl-5"> <div class="e-products-item"> <div class="e-products-item-container"> <div class="e-products-item-image-container"> <a class="e-products-item-image-wrapper" href="{{url}}"> <img src="{{imageLarge}}" alt="" class="e-products-item-image"> </a> </div> <div class="e-products-item-text-container text-center small"> <h3 class="e-products-item-name mb-0"><a href="{{url}}">{{name}}</a></h3> {{#if descriptionShortExtra01}} <p class="e-products-item-text mb-0 small"> <a href="{{url}}"> {{descriptionShortExtra01}} </a> </p> {{/if}} <p class="e-products-item-text mb-0 small"> <span class="e-products-item-price"> <a href="{{url}}"> {{{price}}} </a> </span> </p> </div> </div> </div> </div> {{/loop}} </div> <p class="js-e-search-products-show-all text-center"><a href="" class="btn btn-outline-primary px-6">@Translate("Search - View All Products - Button", "View All Products")</a></p> </div> </script> </div> </div> </div> <div class="row justify-content-center"> <div class="col-12 col-md-10 col-lg-8 col-xl-6"> <div class="js-e-search-result-pages e-search-result-pages is-empty mb-3"> <script id="js-e-handlebars-tmpl-search-result-item-page" type="text/x-handlebars-template"> <div class="row"> {{#loop pages}} <div class="col-12"> <p class="mb-0"><a href="{{{url}}}" class="text-bold">{{{title}}}</a></p> <p class="mb-0 small text-truncate"> <a href="{{{url}}}" class="text-auto text-muted"><span class="d-none d-sm-inline">@GetGlobalValue( "Global:Request.Host" )</span>{{{url}}}</a></p> <p class="small">{{{text}}}...</p> </div> {{/loop}} </div> </script> </div> </div> </div> <div class="js-e-search-loading-overlay e-loading-overlay e-search-loading-overlay"> <div class="e-loading-spinner"></div> </div> </div> </div> </div> </div> </div> </div> } *@ @if( Espresso.Area.Item.BackToTopLink == "True" ){ <a href="#top" class="e-back-to-top js-e-back-to-top d-print-none"><i class="material-icons">keyboard_arrow_up</i></a> } @{ string responsibleEditor = Espresso.Item.ResponsibleEditor ?? string.Empty; List<User> users = new List<User>(); foreach( string user in responsibleEditor.Split( ',' ) ) { int currentId; if( int.TryParse( user, out currentId ) ){ User current = User.GetUserByID( currentId ); if( current != null ){ users.Add( current ); } } } } <span class="siteimprove_trackeditor" style="display: none;"> @Translate("Last_updated","Sidst opdateret") @Espresso.DynamicwebPage.Audit.LastModifiedAt.ToString("dd. MMMM yyyy") af @foreach( User user in users ){<a class="siteimprove-tag" href="mailto:@user.Email">@user.Name</a>} </span> <script async="" src="/Files/Templates/Designs/skolesites/_assets/_dist/js/default.js?v=1.2"></script> @* @if( Espresso.DynamicwebPage.ID != 1469) { *@ <script type="text/javascript"> /*<![CDATA[*/ (function() { var sz = document.createElement('script'); sz.type = 'text/javascript'; sz.async = true; sz.src = '//siteimproveanalytics.com/js/siteanalyze_273490.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sz, s); })(); /*]]>*/ </script> @*}*@ <!-- Facebook Pixel Code --> <script> !function(f, b, e, v, n, t, s) { if (f.fbq) return; n = f.fbq = function() { n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments) }; if (!f._fbq) f._fbq = n; n.push = n; n.loaded = !0; n.version = '2.0'; n.queue = []; t = b.createElement(e); t.async = !0; t.src = v; s = b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t, s) }(window, document, 'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '823823277983966'); fbq('track', 'PageView'); </script> <noscript> <img height="1" src="https://www.facebook.com/tr?id=823823277983966&ev=PageView&noscript=1" style="display: none" width="1"> </noscript> <!-- End Facebook Pixel Code --> </body> @GetValue( "CopyRightNotice" ) </html>