Exception in template (Designs/espresso-v4/_parsed/espresso.parsed.cshtml): System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.dcbddcfaedc.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, String cacheName)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()
@inherits Co3.Espresso.Website.TemplateBases.Pages.PageBase @using System.Web; @{ string websiteLang = GetGlobalValue("Global:Area.Lang"); string websiteIntegerSeparator = GetGlobalValue("Global:eCommerce.Currency.IntegerSeparator"); string websiteDecimalSeparator = GetGlobalValue("Global:eCommerce.Currency.DecimalSeparator"); string pageTitle = GetValue("Title").ToString(); } <!DOCTYPE html> <html lang="@websiteLang" data-integer-seperator="@websiteIntegerSeparator" data-decimal-seperator="@websiteDecimalSeparator"> <head> @GetValue("CopyRightNotice") <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, minimal-ui"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>@GetValue("Title")</title> @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/espresso-v4/_assets/_dist/css/default.css" 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" ); } <meta property="og:url" content="@OpenGraphURL"> @if(!string.IsNullOrEmpty(Espresso.OpenGraphTitle)){ <meta property="og:title" content="@Espresso.OpenGraphTitle"> }else{ <meta property="og:title" content="@pageTitle"> } <meta property="og:type" content="website"> @RenderSnippet("MetaTags") @if( string.IsNullOrEmpty( Espresso.Area.Item.GoogleSiteVerification ) == false ){ <meta name="google-site-verification" content="@Espresso.Area.Item.GoogleSiteVerification"> } @{ if(1 == 2){ @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"> <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> </div> </form> </div> <div class="e-header-container navbar"> <div class="row"> <div class="col-12"> <article class="e-header-wrapper"> <div class="e-logo"> <a href="/" class="e-logo-link"> <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-12 col-lg-8 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 btn-primary" type="submit"><i class="material-icons">search</i>Søg</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"> <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; } } } } <section class="@NavigationLocalHorizontalClassList is-sticky"> <div class="nav-global-horizontal-container hidden-print"> <div class="container-fluid"> <div class="row"> <div class="col-12"> <div class="e-nav-global"> <ul class="nav navbar"> @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" target="_blank"><img src="/Files/Templates/Designs/espresso-v4/assets/img/icons-svg/logo_instagram_simple_inverted.svg"></a></li> } @if( string.IsNullOrEmpty( linkedinLink ) == false ){ <li><a href="@linkedinLink" target="_blank"><img src="/Files/Templates/Designs/espresso-v4/assets/img/icons-svg/logo_linkedin_simple_inverted.svg"></a></li> } @if( string.IsNullOrEmpty( twitterLink ) == false ){ <li><a href="@twitterLink" target="_blank"><img src="/Files/Templates/Designs/espresso-v4/assets/img/icons-svg/logo_twitter_simple_inverted.svg"></a></li> } @if( string.IsNullOrEmpty( facebookLink ) == false ){ <li><a href="@facebookLink" target="_blank"><img src="/Files/Templates/Designs/espresso-v4/assets/img/icons-svg/logo_facebook_simple_inverted.svg"></a></li> } </ul> </div> </div> <div class="row hk-custom-footer-row"> @RenderParagraphContent((8033)) @RenderParagraphContent((8031)) @RenderParagraphContent((8030)) </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 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> @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"> <div class="container-fluid"> <div class="row"> <div class="col-10 mt-1"> <h2>Søg på holstebro.dk</h2> </div> <div class="col-2 col-first col-lg-last"> <button type="button" class="close" data-dismiss="modal"> <i class="material-icons">close</i> </button> </div> </div> </div> <div class="container-fluid"> <div class="e-search-form-container"> <div class="row "> <div class="col-12 col-md-12 col-lg-12 col-xl-12"> <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> søg</button> </div> </form> </div> </div> </div> <div class="js-e-search-result-container e-search-result-container"> <div class="row "> <div class="col-12 col-md-12 col-lg-9 col-xl-9"> <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"> <div class="col-8"> <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"> {{#each 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> {{/each}} </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"> <div class="col-12 col-md-12 col-lg-3"> <div class="js-e-search-result-filters"> <script id="js-e-handlebars-tmpl-search-filters" type="text/x-handlebars-template"> {{#each facets}} {{#if optionsCount}} <div class="e-search-filters-group js-e-search-filters-group hk-custom-search-filters"> <fieldset id="e-search-filters-group-{{param}}" class="e-search-filters-group-options js-e-search-filters-group-options mb-2 small"> <div class="js-e-search-filters-options-collapse-peek e-search-filters-options-collapse-peek is-peeking"> <div class="e-search-filters-option reset js-e-search-filters-option"> <label for="reset-filter-{{param}}" class="custom-control custom-checkbox"> <input class="js-e-search-filters-option-reset-group custom-control-input" name="reset-filter-{{param}}" id="reset-filter-{{param}}" type="checkbox" value="true" {{#compare isCleared '||' isEmpty}}checked{{/compare}}> <span class="custom-control-indicator"></span> <span class="custom-control-description small">Nulstil filter / Vis alle <span class="e-search-filters-option-count"><i class="material-icons">autorenew</i></span></span> </label> </div> <h3>Filtrer efter: </h3> {{#each options}} <div class="e-search-filters-option js-e-search-filters-option {{#if isSelected}}is-selected{{/if}} {{#if isDisabled}}is-disabled text-muted{{/if}}"> <label for="{{id}}" class="custom-control custom-checkbox"> <input id="{{id}}" name="{{param}}" class="js-e-search-filter custom-control-input" type="checkbox" value="{{value}}" {{#if isSelected}}checked{{/if}} {{#if isDisabled}}disabled{{/if}}> <span class="custom-control-indicator"></span> <span class="custom-control-description">{{label}} <span class="e-search-filters-option-count small text-muted">{{count}}</span></span> </label> </div> {{/each}} </div> </fieldset> </div> {{/if}} {{/each}} </script> </div> </div> <div class="col-12 col-md-12 col-lg-9"> <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"> {{#each webpages}} {{#compare @@first "===" true}} <div class="col-12"><h3 class="pb-2">Sider <img src="/Files/Images/icons/edit/hk-custom-programming-website.svg"></h3></div> {{/compare}} <div class="col-12 col-xl-6 hk-search-webpage-item js-hk-search-webpage-item {{#compare @@index ">" 5}}d-none{{/compare}}" data-count="{{@@index}}"> <h5 class="mb-0"><a href="{{{url}}}">{{{title}}}</a></h5> <p class="small mb-0"><p class="small mb-1"><small class="mb-0">{{{url}}}</small></p>{{{text}}}...</p> <a class="btn btn-small btn-primary mt-1 mb-2" href="{{{url}}}">Gå til side</a> </div> {{#compare @@index "===" 5}} <div class="col-12 text-center"> <a href class="js-hk-search-webpage-item-show-more hk-custom-search-expand">Se flere sider <i class="material-icons">keyboard_arrow_down</i></a> </div> {{/compare}} {{#compare @@last "===" true}} <div class="col-12 mb-1"><hr></div> {{/compare}} {{/each}} {{#each news}} {{#compare @@first "===" true}} <div class="col-12"><h3 class="pb-2">Nyheder <img src="/Files/Images/icons/edit/hk-custom-newspaper.svg"></h3></div> {{/compare}} <div class="col-12 col-md-12 col-lg-6 col-xl-4 hk-search-news-item js-hk-search-news-item {{#compare @@index ">" 8}}d-none{{/compare}}" data-count="{{@@index}}"> <a class="img-container" href="{{{url}}}"> <img src="/admin/public/getimage.ashx?Image=/Files/Images/{{{image}}}&Width=600&Format=jpg&Quality=75&Crop=3/" /> <span class="date-text">{{{date}}}</span> </a> <div class="news-tags-container"> <span>{{{categoryName}}}</span> </div> <h5 class="mb-1 mt-1"><a href="{{{url}}}">{{{title}}}</a></h5> <p class="small"><small>{{{text}}}...</small></p> </div> {{#compare @@index "===" 8}} <div class="col-12 text-center"> <a href class="js-hk-search-news-item-show-more hk-custom-search-expand">Se flere nyheder <i class="material-icons">keyboard_arrow_down</i></a> </div> {{/compare}} {{#compare @@last "===" true}} <div class="col-12 mb-1"><hr></div> {{/compare}} {{/each}} {{#each employees}} {{#compare @@first "===" true}} <div class="col-12"><h3 class="pb-2">Medarbejdere <img src="/Files/Images/icons/edit/hk-custom-account-group-circle.svg"></h3></div> {{/compare}} <div class="col-12 col-md-6 col-lg-4 col-xl-3 hk-search-employee-item js-hk-search-employee-item mb-1 {{#compare @@index ">" 11}}d-none{{/compare}}" data-count="{{@@index}}"> <div class="employee-wrapper"> <h5 class="mb-0">{{{employeeName}}}</h5> <p class="small">{{{employeeTitle}}}</p> <p class="small">{{{employeeDepartment}}}</p> <a href="mailto:{{{employeeEmail}}}"><i class="material-icons">mail_outline</i>Send email</a><br> <a href="tel:{{{employeePhone}}}"><i class="material-icons">phone</i>{{{employeePhone}}}</a> </div> </div> {{#compare @@index "===" 11}} <div class="col-12 text-center"> <a href class="js-hk-search-employee-item-show-more hk-custom-search-expand">Se flere medarbejdere <i class="material-icons">keyboard_arrow_down</i></a> </div> {{/compare}} {{#compare @@last "===" true}} <div class="col-12 mb-1"><hr></div> {{/compare}} {{/each}} {{#each jobs}} {{#compare @@first "===" true}} <div class="col-12"><h3 class="pb-2">Jobs <img src="/Files/Images/icons/edit/hk-custom-find-job.svg"></h3></div> {{/compare}} <div class="col-12 col-md-12 col-lg-6 hk-search-job-item js-hk-search-job-item mb-2 {{#compare @@index ">" 5}}d-none{{/compare}}" data-count="{{@@index}}"> <h5 class="mb-1"><a href="{{{url}}}">{{{title}}}</a></h5> <p class="small mb-0">{{{text}}}...</p> <a class="btn btn-small btn-primary mt-1 mb-2" href="{{{url}}}">Se mere om jobbet</a> </div> {{#compare @@index "===" 5}} <div class="col-12 text-center"> <a href class="js-hk-search-job-item-show-more hk-custom-search-expand">Se flere jobs <i class="material-icons">keyboard_arrow_down</i></a> </div> {{/compare}} {{#compare @@last "===" true}} <div class="col-12 mb-1"><hr></div> {{/compare}} {{/each}} </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 src="/Files/Templates/Designs/espresso-v4/_assets/_dist/js/default.js?v=1.1" async=""></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> @*}*@ </body> @GetValue("CopyRightNotice") </html>